On Tue, May 27, 2008 at 06:54:10PM -0700, Micah Cowan wrote:
> Trent W. Buck wrote:
> > 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 renam
Trent W. Buck wrote:
> 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 sc
"Trent W. Buck" <[EMAIL PROTECTED]> said
(on Tue, May 27, 2008 at 08:39:50PM +1000):
> > ssh() { screen -X title "[EMAIL PROTECTED]"; command ssh "$@"; }
>
> I think the OP wants to change the session name, not the screen
> (window) title.
Also, isn't setting the title best done w
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 automatical
>> 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
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
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?
Thanks for any help.
___
screen-users mailing lis