39 lines
1007 B
Plaintext
39 lines
1007 B
Plaintext
# look and feel
|
|
caption always "%{= kw}%-w%{= BW} %t %{-}%+w %-= $HOSTNAME"
|
|
|
|
# skip the startup message
|
|
startup_message off
|
|
|
|
# go to home dir
|
|
chdir /root
|
|
|
|
# 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
|
|
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'
|
|
screen -t xrsh 2
|