screen-users
[Top][All Lists]
Advanced

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

Re: Get session name in caption?


From: Gerhard Siegesmund
Subject: Re: Get session name in caption?
Date: Sat, 18 Nov 2006 15:17:41 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Jorge

> It seems this should be easy to do. However, I can't seem to find the
> way. Any ideas?
> There's the sessionname command, that invoked without arguments should
> give the session name. How do I get this output into a variable for
> using it in the caption?

Try

echo $STY

The sessionname is saved in this environment-variable on screen startup.

Greetings.

-- 
cu
  --== Jerri ==--
Homepage: http://www.jerri.de/   ICQ: 54160208
Public PGP Key: http://www.jerri.de/jerris_public_key.asc

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]