Every time I work in the console I use GNU Screen. I have a custom .screenrc file with several settings. Among others I have the setting that shows 'tabs' in the bottom:
hardstatus alwayslastline
hardstatus string "%{= g} %{= w}%-w%{=r}%n %t%{-}%+W"
It works well, but I want to add to the tabs some symbol that shows what tab was previously active. How can this be done?
Log files of current screen sessions can be started with the Ctrl+a H command, which will make a file called screenlog. X where X is the number of your screen session. A screenshot of what is currently in your screen window can be invoked with Ctrl+a h, creating a file called hardcopy.
GNU Screen is a terminal multiplexer, a software application that can be used to multiplex several virtual consoles, allowing a user to access multiple separate login sessions inside a single terminal window, or detach and reattach sessions from a terminal.
Downloading GNU Screen GNU Screen can be found on http://ftp.gnu.org/gnu/screen/ [via http] and ftp://ftp.gnu.org/gnu/screen/ [via FTP]. It can also be found on one of our FTP mirrors; please use a mirror if possible.
You can use can use following string:
hardstatus string "%{= g} %{= w}%-Lw%{=r}%n%f* %t%{-}%+LW"
Than window with focus will be marked with symbol '*' and previous one - with '-'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With