Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 158 lines (120 sloc) 4.132 kB
15e5f7a @frioux initial commit
authored
1 #change the hardstatus settings to give an window list at the bottom of the
2 #Screen, with the time and date and with the current window highlighted
3 hardstatus alwayslastline
0b84667 @frioux more awesome footer things
authored
4 #hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %h%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
5 #hardstatus string " [ %H ] %{wb} %c:%s | %d.%m.%Y %{wr} %w "
6 #hardstatus string "%{+b Rk}(%{-b g}$LOGNAME@%H%{+b R}) (%{-b g}%C %a%{+b R}) %{-b g} %n %t"
7 #hardstatus string "%{.kK}[%10%H] updates :: %20=%-w[%n %t]%+w"
8 hardstatus string '%{= kK}%{w}%H %{K}%= %{= kw}%?%-Lw%?%{B}(%{W}%n*%f %t%?(%u)%?%{B})%{w}%?%+Lw%?%?%= %{K}%{B} %{w}%c%{K}'
15e5f7a @frioux initial commit
authored
9
534480f @frioux woo! 256 color console
authored
10 term screen-256color
11
15e5f7a @frioux initial commit
authored
12 #I hate Ctrl+a Try just plain backtick
13 escape ``
14
5254def @frioux I use znc now
authored
15 screen irssi
ee42d83 @frioux autostart IRC
authored
16 title "IRSSI"
17 screen zsh
15e5f7a @frioux initial commit
authored
18
19 #
20 # Example of a user's .screenrc file
21 #
22
23 # This is how one can set a reattach password:
24
25 # no annoying audible bell, please
26 vbell off
27
28 # detach on hangup
29 autodetach on
30
31 # don't display the copyright page
32 startup_message off
33
34 # emulate .logout message
35 pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
36
37 # advertise hardstatus support to $TERMCAP
38 #termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
39
40 # set every new windows hardstatus line to somenthing descriptive
41 # defhstatus "screen: ^En (^Et)"
42
43 defscrollback 1000
44
45 # don't kill window after the process died
46 # zombie "^["
47
48 ################
49 #
50 # xterm tweaks
51 #
52
53 #xterm understands both im/ic and doesn't have a status line.
54 #Note: Do not specify im and ic in the real termcap/info file as
55 #some programs (e.g. vi) will not work anymore.
56 #termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
57 #terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
58
59 #80/132 column switching must be enabled for ^AW to work
60 #change init sequence to not switch width
61 #termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
62
63 # Make the output buffer large for (fast) xterms.
64 #termcapinfo xterm* OL=10000
65 #termcapinfo xterm* OL=100
66
67 # tell screen that xterm can switch to dark background and has function
68 # keys.
69 #termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
70 #termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
71 #termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
72
73 # special xterm hardstatus: use the window title.
74 termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
75
76 #terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
77 #termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
78
79 # emulate part of the 'K' charset
80 #termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
81
82 # xterm-52 tweaks:
83 # - uses background color for delete operations
84 #termcapinfo xterm* be
85
86 ################
87 #
88 # wyse terminals
89 #
90
91 #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
92 #essential to have it here, as this is a slow terminal.
93 #termcapinfo wy75-42 xo:hs@
94
95 # New termcap sequences for cursor application mode.
96 #termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
97
98 ################
99 #
100 # other terminals
101 #
102
103 # make hp700 termcap/info better
104 #termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
105
106 # Extend the vt100 desciption by some sequences.
107 #termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
108 #terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
109 #termcapinfo linux C8
110 # old rxvt versions also need this
111 # termcapinfo rxvt C8
112
113
114 ################
115 #
116 # keybindings
117 #
118
119 #remove some stupid / dangerous key bindings
120 bind k
121 bind ^k
122 bind .
123 bind ^\
124 bind \\
125 bind ^h
126 bind h
127
128 #make them better
129 bind 'K' kill
130 bind 'I' login on
131 bind 'O' login off
132 bind '}' history
133
134 # Yet another hack:
135 # Prepend/append register [/] to the paste if ^a^] is pressed.
136 # This lets me have autoindent mode in vi.
137 register [ "\033:se noai\015a"
138 register ] "\033:se ai\015a"
139 bind ^] paste [.]
140
141 ################
142 #
143 # default windows
144 #
145
146
147 # caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
148 # hardstatus alwaysignore
149 # hardstatus alwayslastline "%Lw"
150
151 # bind = resize =
152 # bind + resize +1
153 # bind - resize -1
154 # bind _ resize max
155 #
156 # attrcolor u "-u b"
157 # attrcolor b "R"
Something went wrong with that request. Please try again.