changing bash window title

Weiqi Gao weiqi.gao@nisc.cc
Thu Jun 19 22:30:00 GMT 2003


Sanjay Goel wrote:

> Hi,
> the bash window has title Cygwin by default .. whenever I do a telnet or
> lynx .. it changes the title .. how do I restore it again or change it to
> something custom ..

You can do a

     $ cmd /c title whatever

To change the title.  I have a bash script named "t" that contains the 
line "cmd /c title bash" in my path.  Every time my title is messed up 
(almost always after using lynx), I simply type "t" and the title is 
restored.

Not as politically correct as the "^[e;!@#$%^&*" alternative but it works.

--
Weiqi Gao
weiqigao@networkusa.net



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



More information about the Cygwin mailing list