Unix administration - How can I use screen in a remote machine in one windows of my screen session

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > May 2007 > How can I use screen in a remote machine in one windows of my screen session





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How can I use screen in a remote machine in one windows of my screen session
zhengquan

2007-05-25, 7:17 am

Hi:
I am now using screen in mlterm,and in one of the windows in the
screen session,I ssh to a remote machine,I started a screen session on
the remote machine,and tried to c-a c to create another window in the
screen session of theremote machine, but it turned out that a new
window was created in the screen session on my machine...

Is there anyway to do with that?

Thanks!

Zhengquan

Barry Margolin

2007-05-26, 1:21 am

In article <1180094103.927105.133170@x18g2000prd.googlegroups.com>,
zhengquan <zhang.zhengquan@gmail.com> wrote:

> Hi:
> I am now using screen in mlterm,and in one of the windows in the
> screen session,I ssh to a remote machine,I started a screen session on
> the remote machine,and tried to c-a c to create another window in the
> screen session of theremote machine, but it turned out that a new
> window was created in the screen session on my machine...
>
> Is there anyway to do with that?


To send C-a to the remote machine you have to type C-a a, so type C-a a
c to create another window on the remote machine.

You can also change screen's escape character by using the -e option or
the "escape" command in your .screenrc. By using different escape
characters on the local and remote machines you won't have the above
problem.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
zhengquan

2007-05-26, 7:21 am

On May 26, 9:22 am, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article <1180094103.927105.133...@x18g2000prd.googlegroups.com>,
>
> zhengquan <zhang.zhengq...@gmail.com> wrote:
>
>
> To send C-a to the remote machine you have to type C-a a, so type C-a a
> c to create another window on the remote machine.
>
> You can also change screen's escape character by using the -e option or
> the "escape" command in your .screenrc. By using different escape
> characters on the local and remote machines you won't have the above
> problem.
>
> --
> Barry Margolin, bar...@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***


Thanks! it works.

zhengquan

2007-05-26, 7:21 am

On May 25, 9:28 pm, Jammer <ask...@mail.com> wrote:
> zhengquan wrote:
>
>
>
>
> Try typing Typing control + F1.
>
> PTY List
> One process of mlterm may have multiple sessions and screens. The
> sessions may or may not have corresponding screen, i.e., the number of
> sessions can be more than the number of screens. Such situation can be
> achieved by using -P/--ptys option or closing a part of multiple screens
> from -@/--screens option. In such case, the screen-less session can be
> designated to one of screens by choosing the session (pty) from this
> list and push "select" button.
>
> MULTIPLE PTY
> This is one of most unique features of mlterm. The number of windows can
> be specified using -P option. Typing control + F1 opens another window
> which shares the same process. The maximum number of windows depends on
> your platform. Mostly it is 32 or 64.


I am puzzled... But c-f1 did launched another mlterm...

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com