|
From: | Peder Stray |
Subject: | Re: windowlist string & title not working with -d -m |
Date: | Tue, 10 Nov 2009 01:50:50 +0100 (CET) |
User-agent: | Alpine 2.00 (LRH 1167 2008-08-23) |
On Mon, 9 Nov 2009, Sadrul Habib Chowdhury wrote:
And while we talk about bleeding edge screen... is there a way to use the session-name in the config file to load session-spesific settings? Right now i use export SESSION=foo; screen -S $SESSION and use $SESSION in the config, but it's a bit hacky.With the very latest pair of commits, you can use ${PID} and/or ${STY} in your screenrc (whichever meets your needs in your script). Or did I misunderstand your question?
Unless it has been changed, $STY does contain the pid too. but if its just the session name in the new screen, that would work just fine.
-- Peder Stray
[Prev in Thread] | Current Thread | [Next in Thread] |