| delorie.com/archives/browse.cgi | search |
| 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 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.6249.0 |
| Subject: | RE: bash & $PS1 (display error) |
| Date: | Sat, 1 Feb 2003 13:15:00 -0500 |
| Message-ID: | <83040F98B407E6428FEC18AC720F5D732DB7B1@exchange.tropicnetworks.com> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Rolf Campbell" <rcampbell AT tropicnetworks DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h11IFCF32316 |
> -----Original Message----- > From: Randall R Schulz [mailto:rrschulz AT cris DOT com] > Sent: Saturday, February 01, 2003 2:01 AM > To: cygwin AT cygwin DOT com > Subject: RE: bash & $PS1 (display error) > > > 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? No. > 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\]\!> ' I tried just setting my prompt to some long static string (200 a's), and it produced the same result. This problem has nothing to do with printing a path in a prompt. -Rolf -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |