More readline configuration
[dotfiles] / .screenrc
1 # ------------------------------------------------------------------------------
2 # SCREEN SETTINGS
3 # ------------------------------------------------------------------------------
4
5 startup_message off     # Turn off the introductory startup message.
6 #autodetach off         # Close associated programs when screen closes.
7 defscrollback 1024      # Define a longer scrollback.
8 vbell off                       # Turn off screen flashing for bell.
9
10 # ------------------------------------------------------------------------------
11 # SCREEN KEYBINDINGS
12 # ------------------------------------------------------------------------------
13
14 escape ^]]              # Use <control>+] instead of <control>+a for screen commands.
15
16 # Remove some stupid / dangerous key bindings
17 bind ^k
18 bind L
19 bind ^\
20
21 # Make them better
22 bind \\ quit
23 bind K kill
24
25 # ------------------------------------------------------------------------------
26 # TERMINAL SETTINGS
27 # ------------------------------------------------------------------------------
28
29 # The vt100 description does not mention "dl". *sigh*
30 termcapinfo vt100 dl=5\E[M
31
32 # Set the hardstatus prop on gui terms to set the titlebar/icon title
33 termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
34
35 # List the open screens, with the current screen highlighted.
36 # Also list the time and date.
37 hardstatus on
38 hardstatus alwayslastline "%{= kW} %= %?%-w%? (%{W}%n %t%?(%u)%?) %?%+w%? %="
39
40 # set these terminals up to be 'optimal' instead of vt100
41 termcapinfo xterm*|linux*|rxvt*|Eterm* OP
42
43 # Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
44 # (This fixes the "Aborted because of window size change" konsole symptoms found
45 # in bug #134198)
46 termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
47
48 # Enable non-blocking mode to better cope with flaky ssh connections.
49 defnonblock 5
50
51 # ------------------------------------------------------------------------------
52 # STARTUP SCREENS
53 # ------------------------------------------------------------------------------
54 screen -t bash bash
55 screen -t editor bash
56 select 0