How can I obtain information (title, created time, visible content) about windows in a screen session? I need to do this in a script, so I am not looking for key bindings or interactive commands.
Something like tmux's list-windows would be great.
|
How can I obtain information (title, created time, visible content) about windows in a screen session? I need to do this in a script, so I am not looking for key bindings or interactive commands. Something like tmux's |
||||
|
|
|
According to this thread in screen-users such a functionality has been implemented in screen.
Apparently I don't have a recent enough version for it to work but this should work in recent versions of screen. [Edit] I just tried with the latest git, it work even if it's not documented in
The first appearance of the |
||||
|
|
|
Try the sequence Personally, I use a .screenrc file that keeps this information on the bottom of the screen at all times (like a Windows task bar). My screen config (~/.screenrc) looks like:
|
|||||
|