On Tue, May 14, 2013 at 09:53:29AM EDT, t1jump wrote:

> I am using screen on a remote device (BeagleBone) through my Ubuntu
> PC. I enter a screen session through the Ubuntu Gnome terminal (screen
> /dev/ttyUSB1 115200). Once on the BeagleBone I start a screen session
> and try to name a screen (screen -S 1) which I thought would create
> a screen named "1". I start a second screen (screen -S 2). Now when
> I try to get to screen 1 and I (screen -r 1) I get a message there is
> no screen with name "1". 

> If I (screen -ls) I see two attached sessions but they have numbers
> like 790.1 and 3256.2. What am I missing here to get screen names as
> I set them?

>From "screen -h":

-S sockname   Name this session <pid>.sockname instead of <pid>.<tty>.<host>.

This comes in handy when dealing with multiple disconnected screen
sessions, for instance. If you disconnect from both the above sessions,
a simple "screen -r 1" or "screen -r 2" should let you reconnect to
either session -- whatever their current pid.

CJ

-- 
Alex Perez is aliveeeeeeee!!!

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to