This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Title bar of X apps, no host name?
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 4 Nov 2011 10:09:13 +0100
- Subject: Re: Title bar of X apps, no host name?
- References: <5F294971C00A184CB8687A4A191A9CD00133043B@JTCLOE3> <j8upui$9lu$1@dough.gmane.org>
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, Nov 3, 2011 at 8:27 PM, Timothy Madden wrote:
>
> Does anyone know how to change the window title to include the hostname
> please ?
>
Put the following into your PS1 (on the remote machines) :
\[\e]0;\h:\w\a\]
Or you could google for "xterm window title"
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/