X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Fscreenrc;h=3cabb03c09677c680478cda7632072bd6ad75733;hb=ad9e192f110397e4aaf7efa4b60654cca75f2aed;hp=5ec5c5fac815949c889032eeff6ee09127d173f0;hpb=7cc2caca91496fa75453311738a6bb3aa2980f8f;p=grml-etc-core.git diff --git a/etc/grml/screenrc b/etc/grml/screenrc index 5ec5c5f..3cabb03 100644 --- a/etc/grml/screenrc +++ b/etc/grml/screenrc @@ -1,16 +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: Don Okt 26 11:20:24 CEST 2006 [mika] ################################################################################ backtick 1 0 60 /usr/bin/cpu-screen backtick 2 0 60 /usr/bin/ip-screen - 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 "%{bw}%1`%= " + 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 %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 @@ -34,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" @@ -60,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 #" @@ -94,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 @@ -108,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 . @@ -126,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 @@ -147,3 +143,6 @@ # Welcome the user: echo "welcome BoFH!" + +# vim: ft=screen +## END OF FILE #################################################################