Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

screen (was: Update from my personal hell)



"James R. Van Zandt" <jrvz at comcast.net> wrote:
> I've been using screen to control simulation runs that run anywhere up
> to several hours.  I use the -S option to give each session a
> meaningful name.  One thing I've missed is a way to change that name.
> I've found that each session has a pipe in /var/run/screen/S-jrv, but
> renaming that pipe breaks the session.  Is there a way?

I don't know how to do it from outside the session.  However, you can
do it within the session without disturbing what's running there.
First, resume the session (if needed):

	screen -r whateversession

Then type ^A : (control-A, colon) immediately followed by:

	sessionname newsessionname

The session's name will change from "whateversession" to "newsessionname",
as shown by 'screen -list' or by 'ls -l /var/run/screen/S-jrv'.

Is that what you wanted?

-- 
Bob Leigh	bobleigh at twomeeps.com




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org