screen-users
[Top][All Lists]
Advanced

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

Re: screen inside screen (via ssh)


From: Hr. Daniel Mikkelsen
Subject: Re: screen inside screen (via ssh)
Date: Thu, 6 Jan 2005 01:29:05 +0100 (CET)

On Thu, 6 Jan 2005 address@hidden wrote:

> 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
> windows;
>
> 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.

This is all straight forward. The "closest" screen catches your escape key. If
you want to reach the second screen, you have to double escape it - like you do
when you want a plain ^A.

^A0 -> Go to the closest screen's window 0.
^AA0 -> Go to the nested screen's window 0 (if you're in the window of the
  closest screen that contains the nested screen of course).

If you do this often, you could consider binding one of the screens to another
escape key. Adding this to your ~/.screenrc will switch from ^A til ^Z:

  escape "^zz"

-- 
Daniel Mikkelsen
Copyleft Software AS





reply via email to

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