User Tools

Site Tools


devop:screen

Table of Contents

screen

keep running sessions despite logout

some tutorials

~/.screenrc

i slightly modified - based on https://linuxize.com/post/how-to-use-linux-screen/

# Turn off the welcome message
# startup_message off

# Disable visual bell
vbell off

# Set scrollback buffer to 10000
defscrollback 10000

# Customize the status line
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%S][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %Y-%m-%d %{W}%c %{g}]'

# Enable mouse scrolling and scroll bar history scrolling
# Ctrl-A Esc  (Ctrl-B / Ctrl-B / Up / Down)* .. Esc or Enter
termcapinfo xterm* ti@:te@
devop/screen.txt · Last modified: 2022/07/11 (external edit)