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 [EMAIL PROTECTED] "hostname"`
name=$1
screen -X title $name
ssh [EMAIL PROTECTED]
screen -X title bash
----

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

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


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to