>> I ssh to a lot of servers and every time I have to do C-a A to rename
>> the screen session to the hostname I ssh to.

I run screen on remote servers. All servers have something like this
in my user's .bashrc:

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;[EMAIL PROTECTED]:\[\0
33[01;34m\]\w\[\033[00m\]\$ '

That gives me a prompt and window titles that incorporate the
servername, like the following (cut'n'pasted from the window list):

 12 [EMAIL PROTECTED]:~/src/gplus-0.40.00
 13 [EMAIL PROTECTED]:~/mense/jean_jordaan/smsbackup

On my local machine, the screen escape key is ctrl-z. On remote ones,
I leave it as ctrl-a. That way, the right screen gets the message when
I join a remote screen session from a window of the local session.

-- 
jean . .. .... //\\\oo///\\


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to