public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bash-2.05b-14 broken!
@ 2003-09-13 15:10 Sam Steingold
  2003-09-13 16:15 ` Rolf Campbell
  2003-09-15  9:11 ` Ronald Landheer-Cieslak
  0 siblings, 2 replies; 3+ messages in thread
From: Sam Steingold @ 2003-09-13 15:10 UTC (permalink / raw)
  To: cygwin

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.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Profanity is the one language all programmers know best.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bash-2.05b-14 broken!
  2003-09-13 15:10 bash-2.05b-14 broken! Sam Steingold
@ 2003-09-13 16:15 ` Rolf Campbell
  2003-09-15  9:11 ` Ronald Landheer-Cieslak
  1 sibling, 0 replies; 3+ messages in thread
From: Rolf Campbell @ 2003-09-13 16:15 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bash-2.05b-14 broken!
  2003-09-13 15:10 bash-2.05b-14 broken! Sam Steingold
  2003-09-13 16:15 ` Rolf Campbell
@ 2003-09-15  9:11 ` Ronald Landheer-Cieslak
  1 sibling, 0 replies; 3+ messages in thread
From: Ronald Landheer-Cieslak @ 2003-09-15  9:11 UTC (permalink / raw)
  To: cygwin

This will be fixed in the next release (coming shortly - building & testing 
under way).

rlc

On Sat, Sep 13, 2003 at 11:01:56AM -0400, 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.
> 
> -- 
> Sam Steingold (http://www.podval.org/~sds) running w2k
> <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
> <http://www.mideasttruth.com/> <http://www.honestreporting.com>
> Profanity is the one language all programmers know best.
> 
> 
> --
> 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/

-- 
Vitamin C deficiency is apauling.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-15  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-13 15:10 bash-2.05b-14 broken! Sam Steingold
2003-09-13 16:15 ` Rolf Campbell
2003-09-15  9:11 ` Ronald Landheer-Cieslak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).