aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2009-10-09 12:47:56 -0400
committerJamie McClelland <jm@mayfirst.org>2009-10-09 12:47:56 -0400
commitce60078a6c70a8ea6b30405b4c1709a8e4800a98 (patch)
treebd7672a3114ae7912126f933a6c52346b874ef91
parentabb5ab7f5a76b16079aae39e1f25b36e2ca0d55f (diff)
parente52263d09ac234c90e254712ca336363d34b8b59 (diff)
downloadkvm-manager-ce60078a6c70a8ea6b30405b4c1709a8e4800a98.tar.gz
kvm-manager-ce60078a6c70a8ea6b30405b4c1709a8e4800a98.tar.bz2
Merge branch 'master' of git://lair.fifthhorseman.net/~dkg/kvm-manager
-rw-r--r--screenrc.kvm-manager84
1 files changed, 84 insertions, 0 deletions
diff --git a/screenrc.kvm-manager b/screenrc.kvm-manager
new file mode 100644
index 0000000..56c7b44
--- /dev/null
+++ b/screenrc.kvm-manager
@@ -0,0 +1,84 @@
+# default screenrc file for kvm-manager sessions (copied from cereal's screenrc)
+
+# use C-\ as the escape character
+escape \034\034
+
+logfile ./servicelog
+logfile flush 1
+
+# unset important key bindings
+## prevent external command execution
+bind :
+## prevent opening new windows
+bind c
+bind ^c
+## prevent ability to turn off logging
+bind H
+## prevent terminal reset
+bind Z
+## unset kill commands, sincepreference is to "detach")
+## (should unset "quit" too, or is it useful to have a backup "kill"?)
+bind ^k
+bind k
+bind K
+bind \
+bind \\
+bind ^\
+## no lockscreen:
+bind ^x
+bind x
+## no monitor, prev, next:
+bind M
+bind ^@
+bind n
+bind ^N
+bind ' '
+bind ^H
+bind ^P
+bind p
+bind ^?
+# no number:
+bind N
+# no clear:
+bind C
+# no displays or dumptermcap:
+bind *
+bind .
+# no window switching:
+bind -
+bind 0
+bind 1
+bind 2
+bind 3
+bind 4
+bind 5
+bind 6
+bind 7
+bind 8
+bind 9
+## no window splitting:
+bind S
+# no title change
+bind A
+# no remove
+bind X
+# no windows:
+bind ^w
+bind w
+# no suspend:
+bind ^z
+# no focus:
+bind ^i
+# no windowlist:
+bind \"
+
+# set default shell to be /bin/false
+# this is a little redundant with unsetting the create new window keys
+shell /bin/false
+
+# set a nice, informative caption
+caption always "%{= bw}%f %{+b w}KVM console: %{+b y}%t%{-b w} %= %Y-%m-%d %c %= %{-b}\"C-\ d\" to detach"
+
+startup_message off
+defscrollback 1024
+