-# 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 <mika@grml.org>
# 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 %d.%m.%Y %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%? %{wk}"
# detach on hangup
autodetach on # default: on
# 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"
# 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 #"
# 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
# Welcome the user:
echo "welcome BoFH!"
+
+# vim: ft=screen
+## END OF FILE #################################################################