*BSD News Article 14060


Return to BSD News archive

Xref: sserve comp.unix.amiga:4272 comp.unix.questions:32894 comp.unix.bsd:11755 comp.unix.misc:6929 comp.sys.amiga.datacomm:11676 comp.sys.amiga.misc:28659
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!sun-barr!cs.utexas.edu!uunet!haven.umd.edu!news.umbc.edu!math9.math.umbc.edu!rouben
From: rouben@math9.math.umbc.edu (Rouben Rostamian)
Newsgroups: comp.unix.amiga,comp.unix.questions,comp.unix.bsd,comp.unix.misc,comp.sys.amiga.datacomm,comp.sys.amiga.misc
Subject: Re: Esc sequences in prompts (why doesn't it work)
Date: 6 Apr 1993 00:15:16 GMT
Organization: University of Maryland, Baltimore County Campus
Lines: 17
Distribution: world
Message-ID: <1pqi2k$4cg@news.umbc.edu>
References: <1993Apr5.005712.15667@cs.aukuni.ac.nz> <SIGNALS.93Apr5112617@krypton.Mankato.MSUS.EDU> <1993Apr5.170600.24477@mnemosyne.cs.du.edu>
NNTP-Posting-Host: math9.math.umbc.edu

In article <1993Apr5.170600.24477@mnemosyne.cs.du.edu> rduta@nyx.cs.du.edu (Fb<A!R>x/G{p!Z}) writes:
>I'm trying to create a tcsh prompt that uses regular vt100 escape sequences.,
>the only problem is that it doesn't work.  It seem that all the escape
>characters are just displayd with the ^[***.  Is there any way to fix this
>problem.  

If you do:

set prompt = "This %Uis%u a test# "

the "is" will be underlined.  This may not work in the old releases of
tcsh, or in installations that are not eight bit clean.  The newest
release of tcsh is 6.03.  Read the man page, or RTFM, to put it more
gently.

--
Rouben Rostamian