dotfiles/.screenrc-zapp

77 lines
2.2 KiB
Text

# Set a reattach password.
# To generate the crypted password for below:
# Hit Ctl+a ':', then type "password" and hit enter.
# Follow the on screen prompts. NOTE: The password is immediately active.
# Press Ctl+a ']'. The crypted password is shown on screen.
# Replace the 'CRYPTED_PASSWORD' text below with the crypted password shown.
# password CRYPTED_PASSWORD
# Use a custom shell rather than the one in $SHELL.
# The '-' prefix makes the shell a login/interactive shell.
shell -/bin/bash
# Change how screen operates.
deflogin on
defscrollback 100000
defutf8 on
# Change the output from screen.
startup_message off
vbell off
bell_msg "^GBell in window %n - %t"
vbell_msg "Bell in window %n - %t"
rendition bell =b y
rendition monitor =b g
rendition silence =b c
# Linux console doesn't support underlining, so use a colour attribute instead.
attrcolor u "-u c"
# Use a custom hardstatus line.
# No hostname, no clock: hardstatus alwayslastline "%{=b B} %-w%{=b R}%40L>%n %t%{=b B}%+w%<"
# No hostname, with clock: hardstatus alwayslastline "%{=b B}%01=%-w%40L>%{=b R}%n %t%{=b B}%+w%-09= %{= w}| %{= Y}%c "
# With hostname, with clock:
hardstatus alwayslastline "%{= g}%01=%H%011= %{= w}|%014=%{=b B}%-w%40L>%{=b R}%n %t%{=b B}%+w%-09= %{= w}| %{= Y}%c"
# Rebind keys.
bind ^k
bind k
bind K kill
bind ^\
bind \\ quit
bind s
bind q select 11
bind w select 12
bind e select 13
bind r select 14
bind t select 15
bind y select 16
bind u select 17
bind i select 18
bind o select 19
# bind p select 20
bind b next
# Start window numbering from 1, not 0.
bind c screen 1
bind ^c screen 1
bind 0 select 10
# Screens to create.
screen -t Email 1 pine
screen -t IRC 2 irssi
screen -t ChangeLog -M 3 colour-changelog -w -r 300 -l 100
screen -t Fry -M 4 ssh fry
screen -t Bender -M 5 ssh bender
screen -t Leela -M 6 ssh leela
screen -t Amy -M 7 ssh amy
screen -t Zapp -M 8
screen -t Kif -M 9 ssh kif
screen -t Mirror -M 10 ssh mirror
screen -t Seedbox -M 11 ssh seedbox
screen -t Backup -M 12 ssh backup
select 1
# Allow remote 'screen' command in all windows.
# aclchg :window: +x "#screen"
# To open a new screen remotely:
# echo -ne "\e]83;screen 1 <cmd>^G" # Where ^G is a literal Ctl+G