Newsgroups: comp.sys.sgi
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!theory.TC.Cornell.EDU!christos
From: christos@theory.TC.Cornell.EDU (Christos S. Zoulas)
Subject: Re: tcsh question
Message-ID: <1991May22.184231.26138@batcomputer.tn.cornell.edu>
Sender: news@batcomputer.tn.cornell.edu
Nntp-Posting-Host: theory.tc.cornell.edu
Organization: Electrical Engineering, Cornell University, Ithaca NY
References: <9105220715.AA22652@>
Date: Wed, 22 May 1991 18:42:31 GMT

In article <9105220715.AA22652@> brad@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@ee.cornell.edu | Cornell University, Ithaca NY 14853.
christos@crnlee.bitnet  | Phone: (607) 255 0302, Fax: (607) 255 9072
