GNU screen hacking question

Paul Lussier p.lussier at comcast.net
Fri Jun 8 15:26:19 EDT 2007


"Ben Scott" <dragonhawk at gmail.com> writes:

> On 6/8/07, Paul Lussier <p.lussier at comcast.net> wrote:
>>    C-a :screen -t root at foo ssh -l root foo
>>    C-a :screen -t foo ssh  foo
>
>   Hmmm.  To turn the question on it's head: Does anyone know if it's
> possible to set the title of a screen from the encapsulated program?
> I've already got my PROMPT_COMMAND pimped to set my xterm window title
> (to include things like the hostname, username, and/or directory, as
> appropriate).  It would be neat to have it do the same to the screen
> title.

I'm not what you mean here. Can you provide an example?  Are you
trying to have the command run within screen do the equivalent of
setting 'C-a A:foo' (or screen -t foo) ?

-- 
Seeya,
Paul


More information about the gnhlug-discuss mailing list