This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

-----Original Message-----
From: Igor Pechtchanski []
Sent: Tuesday, September 24, 2002 2:08 PM
To: Gord Wait
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".
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]