| 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 |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | Rolf Campbell <Endlisnis AT mailc DOT net> |
| Subject: | Re: bash-2.05b-14 broken! |
| Date: | Sat, 13 Sep 2003 12:14:57 -0400 |
| Lines: | 27 |
| Message-ID: | <bjvfq3$8mi$1@sea.gmane.org> |
| References: | <ur82khguz DOT fsf AT gnu DOT org> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 |
| X-Accept-Language: | en-us, en |
| In-Reply-To: | <ur82khguz.fsf@gnu.org> |
Yeah, this bash has the same problems that -12 did, and more.
PS1='\[[02;34m\]$PWD\[[02;33m\]>\[[0m\] '
There are some literal escape chars in that...
I get a colored prompt like this:
/home/rcampbell>
if I type t<tab><tab>, then I see a list of possible completions, and:
/home/rcampbell> t t
^^
These 2 characters have magically appeared, and are not erasable.
Sam Steingold wrote:
> PS1="\[\e[33;1m\]\t\[\e[m\] \[\e[36;1m\]\w [\#]\\$\[\e[m\] "
> there are two spaces after "$", not one as it should be
> (and as it was with bash-2.05b-13 and on all the other unixes).
>
> another manifestation of the same bug: when the command line is folded,
> it folds one extra line.
>
> apparently, the prompt output code prints one extra space which it does
> not account for internally.
>
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |