Re: sockname in hardstatus

2008-09-23 Thread Christian Mongeau
On 2008-09-18, Jaap Taal wrote: > I'm looking on the net for a method to print the sockname/sessionname in > the hardstatus.> I was trying the following workaround: > [...] > screenrc: > backtick 84 0 0 /home/jtaal/bin/screen_sockname > hardstatus string "%84` ..." > > and the following bashscrip

Re: sockname in hardstatus

2008-09-21 Thread Thomas Adam
Hello -- 2008/9/18 Jaap Taal <[EMAIL PROTECTED]>: > Is the backtick command executed with the original enviroment instead of the > environment a shell inside screen would have? Yes. And note that in the GIT version of screen, there's now a "%S" identifier to do what you want. -- Thomas Adam _

sockname in hardstatus

2008-09-21 Thread Jaap Taal
I'm looking on the net for a method to print the sockname/sessionname in the hardstatus. I've only found some messages from 2003 that say this would be nice to have => directed to wishlist. I was trying the following workaround: screenrc: backtick 84 0 0 /home/jtaal/bin/screen_sockname hardsta