This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: bash window title - can I add hostname to it?
- From: "Gord Wait" <Gord_Wait at spectrumsignal dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 24 Sep 2002 14:24:32 -0700
- Subject: RE: bash window title - can I add hostname to it?
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:pechtcha@cs.nyu.edu]
Sent: Tuesday, September 24, 2002 2:08 PM
To: Gord Wait
Cc: cygwin@cygwin.com
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/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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/