screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting title for ssh windows


From: Xavier Nicollet
Subject: Re: Setting title for ssh windows
Date: Wed, 24 Aug 2005 00:44:37 +0200
User-agent: Mutt/1.5.9i

Le 23 août 2005 à 13:23, Svend Sorensen a écrit:
> Is it possible to automatically set the title of a ssh window to the
> hostname of the remote machine?  How would this be done?

Personnaly, I use this script:

ssr

----
#! /bin/sh -

#name=`ssh address@hidden "hostname"`
name=$1
screen -X title $name
ssh address@hidden
screen -X title bash
----

Then "ssr remotehost" instead of "ssh remotehost" would do the trick.

-- 
Xavier Nicollet
http://nicollet.jeru.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]