Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 00:53:15 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why csh on Root?
Message-ID:  <20061019215315.GB1683@gothmog.pc>
In-Reply-To: <200610192030.k9JKU7U6051880@dc.cis.okstate.edu>
References:  <200610192030.k9JKU7U6051880@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-10-19 15:30, Martin McCormick <martin@dc.cis.okstate.edu> wrote:
> Alex Zbyslaw writes:
> > set prompt="hello%{^G%}there "
> > 
> > where ^G is a single control char, not two chars.
> 
> 	Thanks.  It works perfectly.  I am reading the man for
> tcsh again to attempt to figure out what I missed the first time.

This part:

        %{string%}
            Includes string as a literal escape sequence.  It should be
            used only to change terminal attributes and should not move
            the  cursor  location.  This cannot be the last sequence in
            prompt.

:)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061019215315.GB1683>