delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/10/17:15:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42D190F6.5F837D9D@dessent.net>
Date: Sun, 10 Jul 2005 14:19:50 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: bash 3.0-7 bug - prompt length with non-printing characters
References: <048601c58582$58876c80$6508a8c0 AT chimaera>
X-Spam-Report: -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Max Bowsher wrote:

> I have a prompt ($PS1) which includes non-printing characters. They are
> enclosed with \[ .... \] so that bash knows not to count them in discovering
> the length of the prompt in order to position the cursor correctly.

Yes, this has already been reported. 
<http://cygwin.com/ml/cygwin/2005-07/msg00259.html>

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019