screen (was: Update from my personal hell)

Bob Leigh bobleigh at twomeeps.com
Thu Nov 20 01:06:04 EST 2003


"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



More information about the Discuss mailing list