update
[configs.git] / .screenrc
1
2 # term vt100
3 term screen-256color
4
5 deflogin on
6
7 vbell on
8 vbell_msg "   Maou !! Maaaaaaaou !    "
9
10 # define a bigger scrollback, default is 100 lines
11 defscrollback 65536
12
13 escape ^pp
14
15 # Remove some stupid / dangerous key bindings
16 bind ^k
17 #bind L
18 bind ^\
19 # Make them better
20 bind \\ quit
21 bind K kill
22 bind I login on
23 bind O login off
24 bind } history
25
26 # The vt100 description does not mention "dl". *sigh*
27 #termcapinfo vt100 dl=5\E[M
28
29
30 hardstatus on
31 hardstatus alwayslastline
32 #hardstatus string "%{= kw}%w"
33 #hardstatus string "%h%? users: %u%?"
34
35 # An alternative hardstatus to display a bar at the bottom listing the
36 # windownames and highlighting the current windowname in blue. (This is only
37 # enabled if there is no hardstatus setting for your terminal)
38 #
39 #hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
40 hardstatus string "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
41
42 # set these terminals up to be 'optimal' instead of vt100
43 termcapinfo xterm*|linux*|rxvt*|Eterm* OP
44
45 # Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
46 # (This fixes the "Aborted because of window size change" konsole symptoms found
47 #  in bug #134198)
48 termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
49
50 # Enable non-blocking mode to better cope with flaky ssh connections.
51 defnonblock 5
52
53 # STARTUP SCREENS
54 # ------------------------------------------------------------------------------
55
56 # Example of automatically running some programs in windows on screen startup.
57 #
58 #   The following will open top in the first window, an ssh session to monkey
59 #   in the next window, and then open mutt and tail in windows 8 and 9
60 #   respectively.
61 #
62 # screen top
63 # screen -t monkey ssh monkey
64 # screen -t mail 8 mutt
65 # screen -t daemon 9 tail -f /var/log/daemon.log
66