Re: tcsh, colorful prompt

2005-01-07 Thread Thanos Tsouanas
On Fri, Jan 07, 2005 at 04:06:59AM +0100, Mario Hoerich wrote:
 # Thanos Tsouanas:
  I dont really care for the color of the prompt, but I would like
  to see what i type (input) with a specific color.
 [...]
  In short, i would like the color to end upon \n...
 
 I think you can do this with
 
 alias postcmd 'echo ESC[0m'
 
 For the ESC character, press ctrl-v and then esc
 (which inserts a ^[-character as literal). 

thanks!

tput sgr0 also does the trick :)

-- 
Thanos Tsouanas [EMAIL PROTECTED] .: Sians
http://thanos.sians.org/   .: http://www.sians.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcsh, colorful prompt

2005-01-06 Thread Mario Hoerich
# Thanos Tsouanas:
 I dont really care for the color of the prompt, but I would like
 to see what i type (input) with a specific color.
[...]
 In short, i would like the color to end upon \n...

I think you can do this with

alias postcmd 'echo ESC[0m'

For the ESC character, press ctrl-v and then esc
(which inserts a ^[-character as literal). 

HTH,
Mario
-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tcsh, colorful prompt

2005-01-05 Thread Thanos Tsouanas
Hello..

I have set up a colorful prompt for tcsh.  It ends in default
color so that whatever I type after it has default color.
I dont really care for the color of the prompt, but I would like
to see what i type (input) with a specific color.

If I end the prompt with an open (say) green color, then my
command is typed indeed in green but if the output has no color
it's all in green (output of ps for example)

In short, i would like the color to end upon \n...

Any ideas of how to accomplish such a thing??

-- 
Thanos Tsouanas [EMAIL PROTECTED] .: Sians
http://thanos.sians.org/   .: http://www.sians.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]