screen-users
[Top][All Lists]
Advanced

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

Re: rename each screen according to hostname


From: Trent W. Buck
Subject: Re: rename each screen according to hostname
Date: Tue, 27 May 2008 20:39:50 +1000
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote:
> On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote:
> > 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. Is there anyway screen
> > can automatically change the name to the host I am connected to?
> [...]
> 
> ssh() { screen -X title "address@hidden"; command ssh "$@"; }

I think the OP wants to change the session name, not the screen
(window) title.




reply via email to

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