tcsh question

Christos S. Zoulas christos at theory.TC.Cornell.EDU
Thu May 23 04:42:31 AEST 1991


In article <9105220715.AA22652@> brad at lsr-vax.UUCP (Brad Zoltick - LMO) writes:

>Is there a way to insert ANSI escape sequences into the prompt
>string?  Under the C shell, you can customize your prompt by inserting
>ANSI escape sequences. I have not been successful in getting any
>escape sequences to work with the new prompt string within the TC shell.

In 5.20.02 and above you can have escape sequences in the prompt inside
%{<your escape sequence goes here>%}
For example on a vt100 to turn reverse video on: %{\e[7m%}

RT?M
christos
-- 
Christos Zoulas         | 389 Theory Center, Electrical Engineering,
christos at ee.cornell.edu | Cornell University, Ithaca NY 14853.
christos at crnlee.bitnet  | Phone: (607) 255 0302, Fax: (607) 255 9072



More information about the Comp.sys.sgi mailing list