[Top][All Lists]

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

Re: screen inside screen (via ssh)

From: jmartin
Subject: Re: screen inside screen (via ssh)
Date: Wed, 5 Jan 2005 18:54:42 +0000 (Local time zone must be set--see zic manual page)

Your command key will be caught by the first instance of screen that sees it. In this case, if you log into screen-A, and in one window ssh to and log into screen-B, screen-A will get the command escape.

With screen you can tell it to pass the control key to the window by (assuming you haven't modified yours) typing ^a then hitting a. That will pass ^a to the application running in the window, in this case, ssh & screen-B. So if you wanted to create a new window on screen-B, you would do ^a a c.

I recommend if you do this regularly to set the command escape key to something different for one of the screens in .screenrc. i.e.:

escape ^Ww

Hope I didn't confuse you.


On Thu, 6 Jan 2005 address@hidden wrote:

Hi all,

when you run screen on machine A and log from there in to machine B (via
ssh), can you

a) if screen is already running on machine B, choose which screen should
listen to your commands, the one on A or on B? for example, switching

b) if screen is not running on B, create a new screen session on B and not a
new window on A?

There is probably no real difference between a) and b), but anyway.

Thanks for your thoughts!

+++ Sparen Sie mit GMX DSL +++
AKTION f?r Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben

screen-users mailing list

reply via email to

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