On 07/11/2011 18:23, Jon TURNEY wrote:
> On 03/11/2011 19:27, Timothy Madden wrote:
>> On 24.10.2010 04:59, Jerry Cloe wrote:
>>> When I start individual windows between two linux boxes I always get the
>>> host name in the title bar of the window.
>>>
>>> For example from my desktop linux box:
>>>
On 03/11/2011 19:27, Timothy Madden wrote:
On 24.10.2010 04:59, Jerry Cloe wrote:
When I start individual windows between two linux boxes I always get the
host name in the title bar of the window.
For example from my desktop linux box:
ssh -X jerry@prodserver
then
gedit&
The title bar of the
On Thu, Nov 03, 2011 at 09:27:16PM +0200, Timothy Madden wrote:
> On 24.10.2010 04:59, Jerry Cloe wrote:
> >When I start individual windows between two linux boxes I always get the
> >host name in the title bar of the window.
> >
> >For example from my desktop linux box:
> >
> >ssh -X jerry@prodser
You can put what you want in the title by setting PROMPT_COMMAND - e.g., set
PROMPT_COMMAND="setWindowTitle $(uname -n)"
where setWindowTitle is a shell script like:
echo -ne "\e]2;$*\a"
by putting it in the PROMPT_COMMAND you handle the case where some command sets
the window title while it i
On 04.11.2011 11:09, Csaba Raduly wrote:
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
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++ UL
On 24.10.2010 04:59, Jerry Cloe wrote:
When I start individual windows between two linux boxes I always get the
host name in the title bar of the window.
For example from my desktop linux box:
ssh -X jerry@prodserver
then
gedit&
The title bar of the resulting gedit window will be along the lin