X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fscreenrc.in;h=19bd786650db471461ef6badf1361dc4aae4bb44;hp=a40308357d8428d1d5135e2aa02c93ebf3dd9f48;hb=9e4b2aff9242c3e72c714c3bf01c670b576e6627;hpb=f7a8615b16edb9065f10f89560c995e05c823cc5 diff --git a/shell/screenrc.in b/shell/screenrc.in index a403083..19bd786 100644 --- a/shell/screenrc.in +++ b/shell/screenrc.in @@ -1,12 +1,8 @@ # GNU screen configuration file. # -# Features which are only available in (very) recent screen releases or in -# current Git are marked with "(GIT)" so they can be removed by the setup -# script on machines with older versions. -# -# (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-2013 Simon Ruderich +# Copyright (C) 2011-2018 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -61,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 @@ -75,25 +72,11 @@ backtick 2 60 60 $HOME/.shell/bin/temperature.pl -s TEMPERATURE # (TEMPERATURE) # #screen on Freenode (2010-03-10 16:11 CET) for reminding me of it and # searching it again. unsetenv s - -# Always display the caption. -setenv s "$s%{= Bw}" # - white on light blue background, also reset all - # attributes (necessary so everything is displayed - # correctly) -setenv s "$s%?%P" # - is copy mode enabled? (GIT) -setenv s "$s%{= wB}" # - if so change colors to light blue on white (GIT) -setenv s "$s%?" # - end if (GIT) -setenv s "$s%3n" # - window number -setenv s "$s " # - space -setenv s "$s%t" # - window name -caption always "$s" -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%l" # - load average -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) @@ -119,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.