xrsh-buildroot/buildroot-v86/board/v86/rootfs_overlay/root/.screenrc

39 lines
1007 B
Plaintext
Raw Permalink Normal View History

2024-09-11 14:58:31 +02:00
# look and feel
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
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
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