Sponsored Content
Full Discussion: set prompt in sh
Top Forums UNIX for Dummies Questions & Answers set prompt in sh Post 35023 by norsk hedensk on Tuesday 25th of March 2003 07:20:39 PM
Old 03-25-2003
try entering it right at the command line first to see if it works, what you have there should work right.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

kill, set prompt

ok, there is a way to nicely kill a suspended job and to terminate another without using the mass -KILL command. also, how can I set my prompt temporarly without using the .bash_profile that uses the PS1. Thanks:) (1 Reply)
Discussion started by: bitwize
1 Replies

2. UNIX for Advanced & Expert Users

"Set prompt"

Hi Currently amending my bash profiles, there is a command that makes my session jump into another location. I just wonder if I could pre-define my prompt to begin with "cd " from this location (in order to navigate further into sub-directories). Is there any way of doing that? An important thing... (0 Replies)
Discussion started by: Indalecio
0 Replies

3. UNIX for Dummies Questions & Answers

Set prompt, problems and tricks

I'm using a csh shell (or, that'd be my guess from the .cshrc file I see) and I'm looking to change my prompt. There are about 10 other threads, I know, but this question is a little more specific. I want to know, is there a way to list the current directory from a certain level or directory... (6 Replies)
Discussion started by: HybridLogic
6 Replies

4. Shell Programming and Scripting

set timeout for ssh prompt

Hi all, I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell. How can this be achieved ?? I am using Linux RHEL 5 and Solaris 10. Pls help. Thanks in adv. VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies

5. Shell Programming and Scripting

CWD in prompt only showing the directory when set

Hi Gurus, I am working in tcsh and i set the prompt with this. set prompt = "$cwd>" But I see teh prompt only gets reflected with the directory where I set the prompt. After i cd to another directory it still shows the old directory. Please advise (1 Reply)
Discussion started by: kinny
1 Replies

6. Shell Programming and Scripting

tcsh/csh: set prompt in production to color red

Hi folks This is our prompt at the moment oracle@pinkipinki:/opt/oracle> grep 'set prompt' .cshrc set prompt = "$user@`uname -n`:$cwd> " We wish to have in production the same prompt, but red. Howto do that? I tried a lot a internet manuals, but it doesn't work. (1 Reply)
Discussion started by: slashdotweenie
1 Replies

7. UNIX for Dummies Questions & Answers

set prompt = pwd

Assume that you want to set your prompt to display the current working directory followed by a percent symbol and then a space. The command pwd can be used to display this information, so explain why the following command does not have the expected result: set prompt=" `pwd`'%' " Its a... (7 Replies)
Discussion started by: Blockshelf
7 Replies

8. HP-UX

Unable to Set Prompt to current working DIR

HPUX does not recognise \h,\w,\u to display the hostname,working directory and username respectively. So how do i set the PS1 variable to display my current working Directory as my prompt? I also tried PS1=$PWD, But it keeps showing the same directory path as prompt which PWD was holding at... (3 Replies)
Discussion started by: Amit Kulkarni
3 Replies

9. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

10. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
DV4LSTART(1)						      General Commands Manual						      DV4LSTART(1)

NAME
dv4lstart - redirect V4L API to access a camcorder from a V4L program SYNOPSIS
dvlstart [options] command [argument ...] DESCRIPTION
dv4lstart enables command to access a dv1394 (Firewire) camcorder by using the video4linux (V4L) API. dv4lstart uses the LD_PRELOAD facil- ity to intercept calls to the V4L API and make the camcorder's videostream available. Check that LD_PRELOAD works in your environment by starting $ dv4lstart ls -l /dev/video0 The resulting output should look like crw-rw---- 0 root video 81, 0 Jan 1 1970 /dev/video0 Check your 1394 driver config by starting $ gst-launch-0.10 dv1394src ! dvdemux ! dvdec ! xvimagesink from your shell. After turning on your camera, a video window should appear. If this works, dv4lstart should work as well. Inside command, use /dev/video0. Any existing, real V4L device named /dev/video0 can not be accessed from an application started with dv4lstart (applications started normally can access the real /dev/video0) OPTIONS
-c, --color-correction Set this option if red objects look blue. -n, --new-dev Tell dv4lstart to simulate a new video device rather than overriding /dev/video0. Set this option if your application needs to access other video devices. -r, --rgb-only Set this option to prevent V4L applications from choosing YUV palettes. Try this option if you get low frame rates. -v, --verbose level Set the amount of debugging messages. A level of 0 means no output at all, 1 is the default, 3 enables all messages. -h, --help displays a help message EXAMPLES
The command $ dv4lstart v4l-info outputs some information about the simulated V4L device. $ dv4lstart -c gqcam -v /dev/video0 starts the gqcam webcam viewer, swapping red and blue colors. LIMITATIONS
Programs using exotic ways to access the V4L API will not work. Some environments don't allow the use of LD_PRELOAD for security reasons. dv4lstart will not work there. If dv4lstart does not work, try dv4l instead. SEE ALSO
dv4l(1) DV4LSTART(1)
All times are GMT -4. The time now is 11:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy