www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/12/12:41:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <h5uqn7$2mn$2@ger.gmane.org>
References: <20090812155808 DOT 311470 AT gmx DOT net> <4A82EB12 DOT 2040206 AT bopp DOT net> <f60fe000908120921nd75630akcec54a3d20f1cf2 AT mail DOT gmail DOT com> <h5uqn7$2mn$2 AT ger DOT gmane DOT org>
Date: Wed, 12 Aug 2009 12:41:20 -0400
Message-ID: <f60fe000908120941s3c2b1a76r74ddcbe2910a4af1@mail.gmail.com>
Subject: Re: Issue with the titlebar
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Wed, Aug 12, 2009 at 12:30 PM, Andrew DeFaria wrote:
> It was my understanding that one of those escape sequences told the shell
> not to count these characters.

Ah, you're right!  Things between \[...\] in the prompt string aren't
counted.  I missed that little detail.

I retract my objection.

> What's PROMPT_COMMAND?

bashism. A string of shell commands that gets run immediately before
every prompt is displayed.

-- 
Mark J. Reed <markjreed AT gmail DOT com>

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

- Raw text -


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