On Thu, 29 Jul 2004 13:29:30 -0000
"Dan" <[EMAIL PROTECTED]> wrote:

> Where and how do you set the prompt to show what user name that  your  on IE ROOT or 
> user johndoe.
> Eample of what the end results I would like to see.
> # router1.pdx/chatusa.com user johndoe.

In tch I use this prompt (which also has some colors taht I cannot
reproduce here):

[EMAIL PROTECTED]> current_path [current_time] last_command_exit_code

[EMAIL PROTECTED]> /usr/ports/converters/php4-recode [20:35:57] 0                      
_ #_

which is done by adding this two lines in ~/.cshrc
        set prompt = "[EMAIL PROTECTED] -s`> %{\e[0;31m%}%/%{\e[0m%} [%P] 
                                   %s\n%B%U %{\e[0;31m%}#%{\e[0m%} %u%b"

Unregistered ;) FreeBSD "user"

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to