2024-09-11 14:58:31 +02:00
|
|
|
# look and feel
|
2024-09-11 19:07:44 +02:00
|
|
|
caption always "%{= kw}%-w%{= BW} %t %{-}%+w %-= $HOSTNAME"
|
2024-09-11 14:58:31 +02:00
|
|
|
|
|
|
|
# skip the startup message
|
|
|
|
startup_message off
|
|
|
|
|
|
|
|
# go to home dir
|
2024-09-11 19:07:44 +02:00
|
|
|
chdir /root
|
2024-09-11 14:58:31 +02:00
|
|
|
|
|
|
|
# Automatically detach on hangup.
|
|
|
|
autodetach on
|
|
|
|
|
|
|
|
# Change default scrollback value for new windows
|
|
|
|
defscrollback 10000
|
|
|
|
|
|
|
|
# start with visual bell as default
|
|
|
|
vbell on
|
|
|
|
vbell_msg "bell on %t (%n)"
|
|
|
|
|
|
|
|
|
|
|
|
bind x # Do not lock screen
|
|
|
|
bind ^x # Idem
|
|
|
|
|
|
|
|
activity "activity in %t(%n)"
|
|
|
|
|
|
|
|
shelltitle "xrsh"
|
|
|
|
shell -$SHELL
|
|
|
|
|
|
|
|
# correct colors
|
|
|
|
attrcolor b ".I" # allow bold colors - necessary for some reason
|
|
|
|
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # tell screen how to set colors. AB = background, AF=foreground
|
|
|
|
term xterm-256color
|
|
|
|
defbce on # use current bg color for erased chars
|
|
|
|
|
|
|
|
# setup windows
|
2024-09-23 17:53:59 +02:00
|
|
|
screen -t manual 0 /bin/sh --noprofile --norc -c '/bin/infinite help'
|
|
|
|
screen -t logs 1 /bin/sh --noprofile --norc -c '/bin/infinite tail -n1 -f /dev/browser/console /var/log/messages'
|
2024-09-15 11:18:36 +02:00
|
|
|
screen -t xrsh 2
|