Thanks for the quick reply. This is my $PS1: \[\ek\e\\\]\[...@\h[\#]\w;\e\\\]${debian_chroot:+($debian_chroot)}...@\h[\#]:\w\$ I use a freshly cloned screen.
I have figured out the issue. Adding this to screenrc: bind c screen bash caused new windows to exhibt this strange behavior. Regards 2009/12/15, Sadrul Habib Chowdhury <ima...@gmail.com>: > * Artur Skonecki had this to say on [14 Dec 2009, 18:55:23 +0100]: >> Hi, >> I have following escape in my $PS1: '\[\ek\e\\\]' >> which is supposed to cause screen to modify window title to the name >> of a running command. Currently, it works only in the FIRST window >> created by screen ( the escape used for displaying current directory >> works well). > > What version of screen are you using? > > Also, the exact $PS1 you have, and the relevant commands in your > .screenrc will be useful in figuring out what may have broke this. > > Cheers, > Sadrul > -- Artur Skonecki http://adb.cba.pl