Monday, 27 January 2020

How do I display the current "session" name or "sockname" of a screen session in the status bar?


I run multiple screen sessions each created with 'screen -S name' and I would like to be able to display in the status bar the name I used to create the current screen session.


However, I cannot seem to accomplish this. Any ideas?



Answer



This is coming in the next version: http://savannah.gnu.org/bugs/index.php?23738


Also, you can use the terminal variable $STY, though people seem to get inconsistent results with it.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...