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 Mime-Version: 1.0 X-Sender: rschulz AT pop DOT teknowledge DOT com Message-Id: In-Reply-To: <4.3.2.7.0.20000919222650.00b67670@pop.bresnanlink.net> References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000917030431 DOT 00bd6a10 AT pop> <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000919222650 DOT 00b67670 AT pop DOT bresnanlink DOT net> Date: Tue, 19 Sep 2000 21:21:36 -0700 To: Chris Abbey , cygwin AT sourceware DOT cygnus DOT com From: Randall R Schulz Subject: [patch] Re: odd bash wrapping due to ansi codes Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-MDaemon-Deliver-To: cygwin AT sourceware DOT cygnus DOT com X-Return-Path: rschulz AT teknowledge DOT com Chris, Well, I cannot say that I like the new default prompt, but I'm a customization freak and tweak everything to my liking, anyway. But the thing that gets on my nerves after about 45 seconds is the "neon sign store window" effect of all that hiddeous colorization! I had to add a few lines to my .vimrc to turn search highlighting and "syntax coloring" off. I also added some macros to easily switch the colorization mode on and off when I want a glimpse of the colors to check for a runaway string. Anyway, I really wrote to make sure you knew that the BASH behavior you're discovering is common to all BASH shells, not just Cygwin. I don't know for a fact, but that behavior might actually originate in the readline library. Randall Schulz Teknowledge Corp. Palo Alto, CA USA At 22:35 -0500 9/19/00, Chris Abbey wrote: >At 00:08 9/20/00 +1000, Robert Praetorius wrote: >> 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 > > >BINGO! ... I've cleared up 95% of the problems... > >I've discovered that the default configuration is *far* less susceptible >to these problems due to it's multi line nature and 80 column width. >However I think this can be considered "doing the right thing" and will >make the default configuration a better starting point for those who >tweak the shell to feel more like their other systems. > >... -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com