Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Robert Praetorius" <RPraetorius@AspenRes.Com>
Organization: Ministry of Hobo Regalia, Gauntlet Division
To: Chris Abbey <cabbey@bresnanlink.net>
Date: Wed, 20 Sep 2000 00:08:45 +1000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: odd bash wrapping due to ansi codes
Reply-to: RPraetorius@AspenRes.Com
CC: cygwin@sourceware.cygnus.com
Message-ID: <39C8000D.9495.1D41E706@localhost>
In-reply-to: <4.3.2.7.0.20000917030431.00bd6a10@pop>
X-mailer: Pegasus Mail for Win32 (v3.12c)

> '<0x1b>]0;\w<0x07><0x1b>[1m<0x1b>[34m\w<0x1b>[0m $ '

     I've found that bash is happier when I wrap ANSI (or ANSIesque) 
escape and control sequences inside \[ . . . \].  To quote from the 
bash man page:

          \[   begin a sequence of non-printing characters, which
               could be used to embed a terminal control sequence
               into the prompt
          \]   end a sequence of non-printing characters


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

