xterm not accepting Window Title name changes

Brian Dessent brian@dessent.net
Tue Oct 23 04:49:00 GMT 2007


Paul McFerrin wrote:

> I can't seem to get xterm to recognize Window Title name changes via the
> following:
> 
>     echo "\0332;new_title\07\c"

You were just recently posting in the thread where this came up before:
<http://cygwin.com/ml/cygwin/2007-10/threads.html#00188> and
<http://cygwin.com/ml/cygwin/2007-10/msg00202.html>.  Specifically, the
default Cygwin prompt (PS1) contains characters that set the title so
anything you do that doesn't involve changing PS1 will have no effect --
or more precisely, your echo command above does set the title for a few
milliseconds, until the next prompt overwrites it.   (In your rxvt
example, you aren't starting a login shell and thus /etc/profile isn't
sourced and PS1 isn't set, which is presumably why it works there.)

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list