Return to BSD News archive
Xref: sserve comp.unix.amiga:4269 comp.unix.questions:32882 comp.unix.bsd:11749 comp.unix.misc:6921 comp.sys.amiga.datacomm:11671 comp.sys.amiga.misc:28650 Newsgroups: comp.unix.amiga,comp.unix.questions,comp.unix.bsd,comp.unix.misc,comp.sys.amiga.datacomm,comp.sys.amiga.misc Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!news.tufts.edu!news.tufts.edu!gowen From: gowen@jade.tufts.edu (G. Lee Owen) Subject: Re: Esc sequences in prompts (why doesn't it work) In-Reply-To: rduta@nyx.cs.du.edu's message of Mon, 5 Apr 93 17:06:00 GMT Message-ID: <GOWEN.93Apr5161117@jade.tufts.edu> Lines: 8 Sender: news@news.tufts.edu (USENET News System) Organization: Tufts University - Medford, MA References: <1993Apr5.005712.15667@cs.aukuni.ac.nz> <SIGNALS.93Apr5112617@krypton.Mankato.MSUS.EDU> <1993Apr5.170600.24477@mnemosyne.cs.du.edu> Date: Mon, 5 Apr 1993 20:09:12 GMT I have a tcsh prompt that is underlined. I do it by cat'ing files containing the sequences. So, you use emacs to quote into a file, say, ^[[4m (or, escape-[-4-m) and then ^[[0m (or, escape-[-4-m). There may be an easier way to do it, but I inherited it from a friend and never mucked with it much. Greg