-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenrc
More file actions
36 lines (26 loc) · 978 Bytes
/
screenrc
File metadata and controls
36 lines (26 loc) · 978 Bytes
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
# fixing backspace bug
# https://bugs.launchpad.net/ubuntu/+source/screen/+bug/29787
bindkey -d ^@ stuff ^?
# Skip startup message
startup_message off
# Force 256 colors terminal
term "screen-256color"
# Scroll
termcapinfo xterm* ti@:te@
# Change default scrollback value for new windows
defscrollback 100000 # default: 100
# Define the time that all windows monitored for silence should
# wait before displaying a message. Default 30 seconds.
silencewait 15 # default: 30
shell -$SHELL
# Use audible bell
vbell off
vbell_msg " -- Ring, Ring!! -- " # default: "Wuff,Wuff!!"
# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
caption always "[%H] %y-%m-%d %c:%s%{=b kg} %l %{=r gk}%-w%{=b wb}%50>%n%f* %t%{-}%+Lw%<%{- Wk}"
# tell screen that you term can scroll
termcapinfo xterm ti@:te@
# bind Shift+PgUp/PgDn
bindkey -m "^[[5;2~" stuff ^b
bindkey -m "^[[6;2~" stuff ^f