X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Fscreenrc;h=3cabb03c09677c680478cda7632072bd6ad75733;hb=HEAD;hp=8fab37f3f2d0f986218c66337af009615feb25a8;hpb=8050e93ca39dde364a3a2cd3163b6b60ed6d8dd7;p=grml-etc-core.git diff --git a/etc/grml/screenrc b/etc/grml/screenrc index 8fab37f..3cabb03 100644 --- a/etc/grml/screenrc +++ b/etc/grml/screenrc @@ -1,19 +1,18 @@ -# Filename: screenrc -# Purpose: config file for GNU screen +# Filename: /etc/grml/screenrc +# Purpose: main configuration file for GNU screen # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Sep 28 23:35:32 CEST 2007 [mika] ################################################################################ backtick 1 0 60 /usr/bin/cpu-screen backtick 2 0 60 /usr/bin/ip-screen - caption always "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`) %-21=%{kw}%D %d.%m.%Y %0c" - hardstatus alwayslastline "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?" + caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`) %-21=%{wk}%D %Y-%m-%d %0c" + hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}" # switch order of caption and hardstatus: -# hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`) %-21=%{kw}%D %d.%m.%Y %0c" -# caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?" +# hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`) %-21=%{kw}%D %Y-%m-%d %0c" +# caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? %{wk}" # detach on hangup autodetach on # default: on @@ -37,7 +36,7 @@ # fix the "screen.linux" terminal problem (see Debian BTS #238355 + #239776) # term linux - shell /bin/zsh +# shell /bin/zsh # "sorendition": set the colors for # the "messages" and "text marking" @@ -63,8 +62,12 @@ # them to "nothing" (empty right-hand-side): # bind . dumptermcap # default bind . - bind ^\ - bind \\ +# bind ^\ +# bind \\ + bind . + bind k + bind ^k + bind ^h # 040126 To be able to select windows with n > 9 -> # press "C-a - #" instead of just "C-a #" @@ -97,13 +100,6 @@ # bindkey -k F1 prev # bindkey -k F2 next -# remove some stupid / dangerous key bindings - bind k - bind ^k - bind . - bind ^\ - bind \\ - bind ^h bind h hardcopy # make them better bind 'K' kill @@ -111,9 +107,6 @@ bind 'O' login off bind '}' history - bind G screen -t 'google' w3m www.google.com - bind H screen -t HeiseTicker w3m www.heise.de/newsticker/pda/data/paket4.html - # Paste - use 'P' instead of ']': # bind P # unbound by default bind P paste . @@ -129,13 +122,13 @@ bind X lockscreen # 030511 Workaround for stupid machines without xmodmap ;-) - bindkey -t °a stuff "ä" - bindkey -t °A stuff "Ä" - bindkey -t °o stuff "ö" - bindkey -t °O stuff "Ö" - bindkey -t °u stuff "ü" - bindkey -t °U stuff "Ü" - bindkey -t °s stuff "ß" + bindkey -t °a stuff "ä" + bindkey -t °A stuff "Ä" + bindkey -t °o stuff "ö" + bindkey -t °O stuff "Ö" + bindkey -t °u stuff "ü" + bindkey -t °U stuff "Ü" + bindkey -t °s stuff "ß" msgwait 1 version @@ -150,3 +143,6 @@ # Welcome the user: echo "welcome BoFH!" + +# vim: ft=screen +## END OF FILE #################################################################