]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/screenrc.in
shell: set GOTOOLCHAIN=local
[config/dotfiles.git] / shell / screenrc.in
index d45da635fe757410e45c0925a3215187eed51798..75f3f2dd22f0a6250c8ada43219026f7e66aeaae 100644 (file)
@@ -1,6 +1,6 @@
 # GNU screen configuration file.
 #
-# (BATTERY) is only used on laptops, (ROOT) only if running as root.
+# (NAME) is used to selectively disable features, see setup.sh for details.
 
 # Copyright (C) 2011-2018  Simon Ruderich
 #
@@ -35,8 +35,8 @@ defscrollback 50000
 ignorecase on
 
 # I prefer zsh as my shell. GNU screen displays a warning if the shell isn't
-# available.
-shell zsh
+# available. Also used for $SHELL environment variable.
+shell ZSH
 
 # Don't "login" windows (= add them to the utmp database) by default. Not
 # useful for me and the "$" flag clutters the window flags (displayed with
@@ -57,7 +57,8 @@ attrcolor b ".I"
 # CAPTION AND HARDSTATUS
 
 # Use white on light blue background for highlighting and text messages (and
-# for window borders in split mode).
+# for window borders in split mode). For remote hosts this is changed to dark
+# blue to increase the contrast of nested screens.
 sorendition = Bw
 
 # Display current battery charge if running on a laptop. Redisplay every 3
@@ -74,8 +75,8 @@ unsetenv s
 # Always display the status line with open windows and the hostname.
 setenv s "$s%Lw" # - number and names of windows, L displays window flags
 setenv s "$s%="  # - right align the following text
-setenv s "$s "   # - space
-setenv s "$s%H"  # - hostname
+setenv s "$s "   # - space          (REMOTE)
+setenv s "$s%H"  # - hostname       (REMOTE)
 setenv s "$s "   # - space          (TEMPERATURE)
 setenv s "$s%2`" # - temperature    (TEMPERATURE)
 setenv s "$s "   # - space          (BATTERY)
@@ -101,6 +102,17 @@ bind ^Q # xon
 bind q  # xon
 bind ^G # visual bell
 bind D  # power detach
+bind M  # monitor
+bind _  # silence
+bind H  # log
+bind L  # login
+bind .  # dumptermcap
+bind O  # login on
+bind I  # login off
+bind h  # hardcopy
+bind <  # readbuf
+bind >  # writebuf
+bind =  # removebuf
 
 # Bindings for fast switching to windows 10 to 19. Thanks to skizzhg in
 # #screen on Freenode (2010-10-31 21:49 CET) for the suggestion.