1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
# default screenrc file for cereal screen sessions
#
# This file is licensed under the GNU General Public License,
# version 3 or (at your option) any later version (GPL-3.0-or-later).
# SPDX-License-Identifier: GPL-3.0-or-later
#############################################################
### IMPORTANT CEREAL SETTINGS BELOW. MODIFY WITH CAUTION ###
# use C-\ as the escape character
escape \034\034
# necessary for cereal logging to work properly
logfile ./socket
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}cereal console %{-b}(\"C-\ d\" to detach) %= %{+b y}%t%{-b w} %= %Y-%m-%d %c"
caption always "%{= bw}%f %{+b w}cereal console: %{+b y}%t%{-b w} %= %Y-%m-%d %c %= %{-b}\"C-\ d\" to detach"
startup_message off
defscrollback 1024
### IMPORTANT CEREAL SETTINGS ABOVE. MODIFY WITH CAUTOIN ###
#############################################################
|