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

_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to