Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.mathworks.com!uunet!in2.uu.net!news.TACONIC.NET!usenet
From: Bill Kish <kish@browncow.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Subtle difference between "real" ksh and FreeBSD ksh ?
Date: Tue, 26 Nov 1996 14:06:39 -0500
Organization: Brown Cow Engineering Inc
Lines: 32
Message-ID: <329B3FBF.446B@browncow.com>
References: <stanbE1EpwA.Gqv@netcom.com>
NNTP-Posting-Host: co_anx_p14.taconic.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)
To: Stan Brown <stanb@netcom.com>
--
Stan,
I use the following:
XTERM_PROMPT (){
print '^N^M^N^[]0;$HOSTNAME:$PWD^G^N$ '
}
The ^Ns & ^M are intended to keep ksh from counting the length
of this potentially long "Prompt" string from being counted in
the line length. The ^G is a non printing terminator which may be what
is causing your problem.
Good luck,
-BK
----------------------------------------------------------------------
Brown Cow Engineering, Inc
Unix internals development, Distributed Systems, Scalable servers
Email: kish@browncow.com
----------------------------------------------------------------------