delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/01/02:03:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <5.2.0.9.2.20030131225310.027f32e8@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 31 Jan 2003 23:00:55 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: bash & $PS1 (display error)
In-Reply-To: <83040F98B407E6428FEC18AC720F5D73E501CD@exchange.tropicnetw
orks.com>
Mime-Version: 1.0

At 20:37 2003-01-31, Rolf Campbell wrote:
>My prompt is (from the script below) "PS1='$PWD> '".  All of the
>characters are 'printable' and none are \[\] enclosed.


Rolf,

Is 'printable' different than plain old printable?


Anyway, I can repeat this (and other concomitant artifacts, too).

It looks like a bug.

I like current directory feedback, too, but I hate it in the prompt. 
Putting it in the window title bar is nice, however. If you like that 
idea, try this or something similar:

PS1=$'\[\e]0; \u :: \W (\w)\a\]\!> '

Randall Schulz 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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