Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Robert Praetorius" Organization: Ministry of Hobo Regalia, Gauntlet Division To: Chris Abbey 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 AT AspenRes DOT Com CC: cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com