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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4A82EDF4.8080304@bopp.net>
Date: Wed, 12 Aug 2009 11:29:40 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Issue with the titlebar
References: <20090812155808 DOT 311470 AT gmx DOT net> <4A82EB12 DOT 2040206 AT bopp DOT net> <f60fe000908120921nd75630akcec54a3d20f1cf2 AT mail DOT gmail DOT com>
In-Reply-To: <f60fe000908120921nd75630akcec54a3d20f1cf2@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Mark J. Reed wrote:
> Putting title-setting escape sequences in PS1 has the unfortunate side
> effect that the shell thinks that it has output those characters, and
> shrinks the length of the line readline has to work with by that
> amount.

I have set everything in PS1 for a long time without any apparent issue,
even using extremely long command lines.  In fact, I think I got this
from an early version of /etc/profile from Cygwin originally, and it
looks like Cygwin's /etc/profile still does something similar by setting
everything in PS1.

What symptoms should I expect to see using this method, or how would I
go about triggering a problem?

-Jeremy

--
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