screen-users
[Top][All Lists]
Advanced

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

Re: Setting window title in ssh'ed host


From: Robin Lee Powell
Subject: Re: Setting window title in ssh'ed host
Date: Wed, 5 Nov 2008 22:53:11 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Nov 05, 2008 at 10:50:31PM -0800, Micah Cowan wrote:
> I don't really see how that does what the thread's talking about;
> namely, set the window title to the hostname that's connected by
> ssh.

You set your remote shell's PS1 to tell screen to set the title to
$(uname -n) or whatever.

> As previously mentioned in these threads (IIRC?), the problem with
> prompt hacks is you don't always have control over the prompts in
> remote shells (and even when you do, it's a bit of a pain to set
> up in every host you ever visit).

True enough.  The LocalCommand hack is kinda neat.

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm thinking:  "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/




reply via email to

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