Thanks, works perfectly! I just added my own \u@\h to the default PS1 in my .bash_profile.. Gord
-----Original Message----- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 2:08 PM To: Gord Wait Cc: [EMAIL PROTECTED] Subject: Re: bash window title - can I add hostname to it? On Tue, 24 Sep 2002, Gord Wait wrote: > I've been starting to use the telnet feature in cygwin's inetutils a lot > lately, and it would be great if I could learn how to set the label of > the bash window to include hostname as well as the current directory it > displays now. I can't tell which of the two bash windows is which since > both are running a 24 hour long FPGA compile.. > > Is there a way to do this? > I'd be happy if it was a copy of the "PS1" value.. > > Gord Wait Search the archives for "settitle". Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/