screen-users
[Top][All Lists]
Advanced

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

Re: windowlist string & title not working with -d -m


From: Sadrul Habib Chowdhury
Subject: Re: windowlist string & title not working with -d -m
Date: Mon, 9 Nov 2009 19:15:09 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

* Peder Stray had this to say on [09 Nov 2009, 23:45:43 +0100]:
> On Mon, 9 Nov 2009, Sadrul Habib Chowdhury wrote:
>
>> * Peder Stray had this to say on [09 Nov 2009, 21:44:46 +0100]:
>>
>>> Not that often i start screen with -d -m, but i did today and noticed 
>>> that some settings wasn't used from my .screenrc, namely "windowlist  
>>> string" and "windowlist title".  Looking through the source i notice  
>>> that windowlist has the NEED_DISPLAY flag in comms (in comm.c).  
>>> Guess thats not 100% correct as the sting and title subcommands 
>>> doesn't need a screen to work, but the other does.  Not sure how to 
>>> fix it the right way, but removing NEED_DISPLAY from the flags does 
>>> at least set those strings when using -d -m.
>>
>> Indeed. It has long been fixed in the code (commit b90451c8a, dated May 
>> 2006). You can get the latest code (with a whole lot of other fixes and 
>> features) here: http://git.savannah.gnu.org/cgit/screen.git
>
> Ah, good, but shouldn't there be a release soon as its over 3 years since 
> last?

We need help mostly for the documentation update. Contributions are very
welcome!

> 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?

Sadrul




reply via email to

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