changing cygwin's console window title

Lee Maschmeyer lee_maschmeyer@wayne.edu
Thu Jan 7 22:04:00 GMT 2010


Using the console window, I keep the Cygwin window title the same as much as 
I can. It works pretty well (for the commands I happen to use) by setting 
notitle in the CYGWIN variable and putting these lines in .bashrc:

    settitle() { printf %s $'\033'"]2;$@"$'\007\033'"]1;$@"$'\007'; }
    export PROMPT_COMMAND='settitle "Cygwin Bash shell"'

-- 
Lee Maschmeyer
Wayne State University Computing Center
5925 Woodward, #281
Detroit MI 48202
USA 


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



More information about the Cygwin mailing list