Using screen
Jacob Hurley
jacobh at aos5.com
Thu Feb 20 05:22:44 CST 2003
Hmm, I am fairly new to the screen command but I have tried to do what
you have mentioned. Here is what is happening for me:
I ssh to machine one, run screen and then a couple extra ctl-a+c for a
few more screens, then I do ctl-a+" to see a listing of my screens, I
then go to screen 3 and ssh to another machine. If I jump back to screen
1 this is what I see:
bash-2.05b$ w
10:58pm up 9 days, 6:10, 5 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
AOS5+jac pts/0 nocuser.aos5.com 10:53pm 0.00s 0.04s 0.00s screen
AOS5+jac pts/1 - 10:54pm 1:33 0.00s 0.00s w
AOS5+jac pts/2 - 10:54pm 0.00s 0.02s 0.01s
/bin/bash
AOS5+jac pts/3 - 10:54pm 47.00s 0.33s 0.24s ssh -p
24 -l hurleyj 172.16.2.199
AOS5+jac pts/4 - 10:56pm 1:42 0.01s 0.01s
/bin/bash
Which all looks normal, so now I go to the screen where I have my ssh
session opened up, and run screen there:
hurleyj at 00YP5UV:~> w
11:00pm up 21 days, 8:24, 3 users, load average: 0.04, 0.01, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
hurleyj pts/1 172.16.2.243 10:52pm 0.00s 0.04s 0.01s screen
hurleyj pts/2 - 10:52pm 6:52 0.02s 0.02s
/bin/bash
hurleyj pts/3 - 10:53pm 0.00s 0.02s 0.00s w
which looks okay here too (but I had to actually type 'screen' for these
new ones, since a ctl-a+c would open a new screen on the original ssh
session).. and I cant get any ctl-a command to work with this second
session, I can't rotate through or select the screen I want because it
just uses the screen session from the first ssh connection.. hmm.. I
know there is a way to use ctl-a with certain applications within a
screen (looking through ctl-a+? now, but not sure) is this what I need
to do?
Can you explain more on how you used the command, and what the
interesting effect is? Cause I am wanting to be able to use the screen
command confidently and I am curious as to what you are speaking about.
Thanks, and BTW I originally ssh'ed in with secureCRT client, and I
didn't set the term on any of my screens in case you were curious.
Thanks again,
Jacob Hurley
Network Operations Center
Alexander Open Systems
-----Original Message-----
From: Jonathan Hutchins [mailto:hutchins at tarcanfel.org]
Sent: Wednesday, February 19, 2003 5:56 PM
To: kclug at kclug.org
Subject: Using screen
An interesting effect can be obtained by using screen, the connecting
to another computer via ssh, and running screen again.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the Kclug
mailing list