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

44 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-09-11 14:58:31 +02:00
# look and feel
#caption always "%{i0}^{=}" #"%{= bb}%n%{+b w}%t %{= db} ${USER}@xrsh.iso"
#hardstatus alwayslastline "%-Lw%{= BW} %{=B}%t%{-B} %{-}%+Lw%<"
#caption always "%{= bb}%{+b w}%n %t %h %=%l %H %c"
hardstatus alwayslastline "%{= Bb}%-Lw%{= BW}%50> %t %{-}<"
# skip the startup message
startup_message off
# go to home dir
chdir
# 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 jsconsole 0 tail -f /dev/browser/console
screen -t xrsh 1
If you want it to start with a particular window active, you can add a line like the following:
select 1