docs:tips_n_tricks:screen.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:tips_n_tricks:screen.html [13.07.2022 00:44 CEST] – [sample .screenrc file] peter | docs:tips_n_tricks:screen.html [16.03.2024 00:38 CET] (current) – [Logging and reading logs] peter | ||
---|---|---|---|
Line 125: | Line 125: | ||
# # hardware status line text | # # hardware status line text | ||
# caption string " | # caption string " | ||
- | # windowlist string | ||
- | # show window title if set, | + | # # show window title if set, else hardware status line text |
- | # else hardware status line text | + | # windowlist string "%3n %? |
- | windowlist string "%3n %? | + | # windowlist title "Num Name|HW Status" |
+ | # # show window title and hardware status line text if set | ||
+ | # windowlist string "%3n %t %? | ||
+ | # windowlist title "Num Name [HW Status]" | ||
+ | # # Use approximately original windowlist string appended by hardware statusline if set | ||
+ | windowlist string "%3n %t%=%? | ||
+ | windowlist title "Num Name%=[HW Status] Flags" | ||
# # show clock in caption line | # # show clock in caption line | ||
# caption | # caption | ||
Line 157: | Line 162: | ||
__References__: | __References__: | ||
* [[https:// | * [[https:// | ||
+ | ===== Starting root shell in new screen with non-default shell ===== | ||
+ | |||
+ | screen -t root sudo ZDOTDIR=$HOME -i /bin/zsh - | ||
+ | |||
+ | screen -t root sudo su - -c " |
docs/tips_n_tricks/screen.html.1657665861.txt.gz · Last modified: 13.07.2022 00:44 CEST by peter