Cygwin 1.7.x upgrade: Xterm history messes up prompt

Derek Greer
Fri Jan 15 17:27:00 GMT 2010

I discovered that the problem is specific to my PS1 settings, but a bug
nevertheless.  The prompt I've used for years is:

PS1='\[\033]0;\w\007\033[32m\][\h]: \[\033[33m ${PWD##*/}\033[0m\] > '

This shows "[current machine] : current folder >" where the current machine
is greenish and the current folder is yellowish.  Something about the latest
version doesn't like the special characters that produce the colors anymore
... at least how I have them specified.
View this message in context:
Sent from the cygwin-xfree mailing list archive at

Unsubscribe info:
Problem reports:

More information about the Cygwin-xfree mailing list