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

后端 未结 7 1408
醉酒成梦
醉酒成梦 2020-12-13 04:15

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

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 04:46

    As max_cantor says in the SuperUser Answer, an escape character for the session name should be added to version 4.1.0. It looks like the escape character function was added with a relatively small patch back in 2008. So if you're feeling brave, you can git yourself a copy of the development version 4.1.0 and try it out.

    I'll try this with the development version when I get a chance.

提交回复
热议问题