tab title buffer increased to 4kb
[k8sterm.git] / .sterm.rc
blobd010c11e6b2e62bc70905f7a800926f938f2d8ca
1 # select one of two predefined terminals below
2 #term  xterm
3 term  rxvt
5 title  sterm
6 class  sterm
8 doubleclicktimeout  300
9 tripleclicktimeout  600
11 drawtimeout  20
12 maxdrawtimeout 2500  # 100..60000, milliseconds
13 swapdrawtimeout 200  # max timeout after screen swapping
14 fastredraw no  # don't set this to yes, it actually will SLOWDOWN redraw
16 audiblebell  1
18 # set 'urgent' flag on '\a' if terminal window is inactive
19 urgentbell  1
22 # set to 1 if you want sterm to ignore WM close requests
23 # set to 0 if you want close query
24 # set to -1 if you want sterm to die silently
25 ignoreclose 0
28 #visiblebell  0  # not yet
30 ptrblank 1500
31 #tabcount 2
32 #tabposition 1
34 fontnorm  "-*-terminus-bold-*-*-*-20-*-*-*-*-*-*-*"
35 fontbold  "-*-terminus-bold-*-*-*-20-*-*-*-*-*-*-*"
36 #fonttab   "-*-andale mono-*-*-*-*-17-*-*-*-*-*-*-*"
37 fonttab   "-*-calibri-medium-r-*-*-17-*-*-*-*-*-*-*"
39 tabsize  8
41 # default shell to use if SHELL is not set in the env
42 shell /bin/sh
44 # 8 normal colors
45 color.0   "#000000"
46 color.1   "#b21818"
47 color.2   "#18b218"
48 color.3   "#b26818"
49 color.4   "#1818b2"
50 color.5   "#b218b2"
51 color.6   "#18b2b2"
52 color.7   "#b2b2b2"
53 # 8 bright colors
54 color.8   "#686868"
55 color.9   "#ff5454"
56 color.10  "#54ff54"
57 color.11  "#ffff54"
58 color.12  "#5454ff"
59 color.13  "#ff54ff"
60 color.14  "#54ffff"
61 color.15  "#ffffff"
64 # xterm colors
65 ## color.0   "#000000"
66 ## color.1   "#cd0000"
67 ## color.2   "#00cd00"
68 ## color.3   "#cdcd00"
69 ## color.4   "#0000ee"
70 ## color.5   "#cd00cd"
71 ## color.6   "#00cdcd"
72 ## color.7   "#e5e5e5"
73 ## color.8   "#7f7f7f"
74 ## color.9   "#ff0000"
75 ## color.10  "#00ff00"
76 ## color.11  "#ffff00"
77 ## color.12  "#5c5cff"
78 ## color.13  "#ff00ff"
79 ## color.14  "#00ffff"
80 ## color.15  "#ffffff"
83 # more colors can be added after 255 to use with DefaultXX
84 color.256  "#cccccc"
85 color.257  "#333333"
86 # root terminal fg and bg
87 color.258  "#809a70"
88 color.259  "#002000"
89 # bold and underline
90 color.260  "#00afaf"
91 color.261  "#00af00"
93 defaultFG        7
94 defaultBG        0
95 defaultCursorFG  0
96 defaultCursorBG  256
97 defaultInactiveCursorFG  0
98 defaultInactiveCursorBG  -1
100 defaultBoldFG       260
101 defaultUnderlineFG  261
102 drawunderline  0  # heh; draw 'underline underline'?
104 normalTabFG  258
105 normalTabBG  257
106 activeTabFG  258
107 activeTabBG  0
110 #cursorBlink 0 -- turn off; time in milliseconds
111 #cursorBlink  800
112 #cursorBlinkInactive  1  # boolean
115 maxhistory 512
118 # unicode --> linedrawing
119 # TODO: double-frames (160-190)
120 # 'alt' means 'alternate (line drawing) charset'
121 # '0' is special value: 'inverted space'
122 #unimap 0x2000 0x3F
123 #unimap 0x2592 0x61 alt
124 #unimap 0x2588 0x00 alt
125 #unimap 0x2589 0x00 alt
127 unimap 0x2518 0x6a alt
128 unimap 0x2510 0x6b alt
129 unimap 0x250c 0x6c alt
130 unimap 0x2514 0x6d alt
131 unimap 0x253c 0x6e alt
132 unimap 0x2500 0x71 alt
133 unimap 0x251c 0x74 alt
134 unimap 0x2524 0x75 alt
135 unimap 0x2534 0x76 alt
136 unimap 0x252c 0x77 alt
137 unimap 0x2502 0x78 alt
139 unimap 0x2580 0x8b
140 unimap 0x2584 0x8c
141 unimap 0x258c 0x8e
142 unimap 0x2590 0x8f
144 unimap 0x2588 0x8d
145 unimap 0x25a0 0x8d
146 unimap 0x2591 0x90
147 unimap 0x2592 0x91
148 unimap 0x2593 0x92
151 # key bindings
152 keybind reset
154 # X11 clipboards
155 keybind shift+Insert      PastePrimary
156 keybind alt+Insert        PasteClipboard
157 keybind alt+shift+Insert  PasteSecondary
159 # new tab
160 keybind ctrl+alt+t  NewTab
161 keybind ctrl+alt+m  NewTab; exec mc
163 # new utf-8 tab
164 keybind ctrl+alt+u  NewTab; UTF8Locale tan
166 # new root tab
167 #keybind ctrl+alt+r  NewTab; defaultFG 258; defaultBG 259; exec su -
168 keybind ctrl+alt+r  NewTab; mono 2; defaultBG 259; exec su -
169 keybind ctrl+alt+p  NewTab; mono 2; defaultFG 258; defaultBG 259; exec su -l -c mc
171 # on-the-fly switching between UTF-8 and default locale
172 keybind win+alt+8  UTF8Locale tan
173 keybind win+alt+1  UTF8Locale ona
175 keybind win+alt+b  AudibleBell toggle
177 # press win+c to enter 'command mode'
178 keybind win+c  CommandMode
180 keybind ctrl+win+q  CloseTab
181 keybind ctrl+win+k  KillTab
183 keybind ctrl+alt+Left   SwitchToTab prev nowrap
184 keybind ctrl+alt+Right  SwitchToTab next nowrap
185 keybind ctrl+alt+Home   SwitchToTab first
186 keybind ctrl+alt+End    SwitchToTab last
188 keybind ctrl+alt+1      SwitchToTab 1
189 keybind ctrl+alt+2      SwitchToTab 2
190 keybind ctrl+alt+3      SwitchToTab 3
191 keybind ctrl+alt+4      SwitchToTab 4
192 keybind ctrl+alt+5      SwitchToTab 5
193 keybind ctrl+alt+6      SwitchToTab 6
194 keybind ctrl+alt+7      SwitchToTab 7
195 keybind ctrl+alt+8      SwitchToTab 8
196 keybind ctrl+alt+9      SwitchToTab 9
197 keybind ctrl+alt+0      SwitchToTab 0
199 keybind alt+shift+Left   MoveTabTo prev nowrap
200 keybind alt+shift+Right  MoveTabTo next nowrap
202 keybind alt+Up     ScrollHistoryLineUp
203 keybind alt+Down   ScrollHistoryLineDown
204 keybind alt+Prior  ScrollHistoryPageUp
205 keybind alt+Next   ScrollHistoryPageDown
206 keybind alt+Home   ScrollHistoryTop
207 keybind alt+End    ScrollHistoryBottom
209 # keypad translation for keymap (only!)
210 keytrans reset
211 keytrans KP_Home    Home
212 keytrans KP_Left    Left
213 keytrans KP_Up      Up
214 keytrans KP_Right   Right
215 keytrans KP_Down    Down
216 keytrans KP_Prior   Prior
217 keytrans KP_Next    Next
218 keytrans KP_End     End
219 keytrans KP_Begin   Begin
220 keytrans KP_Insert  Insert
221 keytrans KP_Delete  Delete
224 # keycodes
225 # modificators: ctrl, shift, alt, win, any
226 keymap reset
227 keymap BackSpace  \177
228 keymap Insert     \e[2~
229 keymap Delete     \e[3~
230 ifterm "rxvt"
231   keymap Home       \e[7~
232   keymap End        \e[8~
233 else
234   keymap Home       \e[1~
235   keymap End        \e[4~
236 endif
237 keymap Prior      \e[5~
238 keymap Next       \e[6~
240 keymap ctrl+Home    \e[1^
241 keymap ctrl+Insert  \e[2^
242 keymap ctrl+Delete  \e[3^
243 keymap ctrl+End     \e[4^
244 keymap ctrl+Prior   \e[5^
245 keymap ctrl+Next    \e[6^
247 ifterm "xterm"
248   # xterm
249   keymap F1   \eOP
250   keymap F2   \eOQ
251   keymap F3   \eOR
252   keymap F4   \eOS
253 else
254   # rxvt
255   keymap F1   \e[11~
256   keymap F2   \e[12~
257   keymap F3   \e[13~
258   keymap F4   \e[14~
259 endif
260 keymap F5   \e[15~
261 keymap F6   \e[17~
262 keymap F7   \e[18~
263 keymap F8   \e[19~
264 keymap F9   \e[20~
265 keymap F10  \e[21~
266 keymap F11  \e[23~
267 keymap F12  \e[24~
269 keymap shift+F1   \e[23~
270 keymap shift+F2   \e[24~
271 keymap shift+F3   \e[25~
272 keymap shift+F4   \e[26~
273 keymap shift+F5   \e[28~
274 keymap shift+F6   \e[29~
275 keymap shift+F7   \e[31~
276 keymap shift+F8   \e[32~
277 keymap shift+F9   \e[33~
278 keymap shift+F10  \e[34~
280 keymap ctrl+F1   \e[11^
281 keymap ctrl+F2   \e[12^
282 keymap ctrl+F3   \e[13^
283 keymap ctrl+F4   \e[14^
284 keymap ctrl+F5   \e[15^
285 keymap ctrl+F6   \e[17^
286 keymap ctrl+F7   \e[18^
287 keymap ctrl+F8   \e[19^
288 keymap ctrl+F9   \e[20^
289 keymap ctrl+F10  \e[21^
291 keymap ctrl+shift+F1   \e[11@
292 keymap ctrl+shift+F2   \e[12@
293 keymap ctrl+shift+F3   \e[13@
294 keymap ctrl+shift+F4   \e[14@
295 keymap ctrl+shift+F5   \e[15@
296 keymap ctrl+shift+F6   \e[17@
297 keymap ctrl+shift+F7   \e[18@
298 keymap ctrl+shift+F8   \e[19@
299 keymap ctrl+shift+F9   \e[20@
300 keymap ctrl+shift+F10  \e[21@
302 ifterm "xterm"
303  # xterm
304  keymap Up     \eOA
305  keymap Down   \eOB
306  keymap Right  \eOC
307  keymap Left   \eOD
308 else
309  # rxvt
310   keymap Up     \e[A
311   keymap Down   \e[B
312   keymap Right  \e[C
313   keymap Left   \e[D
314 endif
316 ### keymap kpad+Up     \eOA
317 ### keymap kpad+Down   \eOB
318 ### keymap kpad+Right  \eOC
319 ### keymap kpad+Left   \eOD
321 keymap shift+Up     \e[1;2A
322 keymap shift+Down   \e[1;2B
323 keymap shift+Right  \e[1;2C
324 keymap shift+Left   \e[1;2D
326 keymap alt+Up     \e[1;3A
327 keymap alt+Down   \e[1;3B
328 keymap alt+Right  \e[1;3C
329 keymap alt+Left   \e[1;3D
331 keymap shift+alt+Up     \e[1;4A
332 keymap shift+alt+Down   \e[1;4B
333 keymap shift+alt+Right  \e[1;4C
334 keymap shift+alt+Left   \e[1;4D
336 keymap ctrl+Up     \e[1;5A
337 keymap ctrl+Down   \e[1;5B
338 keymap ctrl+Right  \e[1;5C
339 keymap ctrl+Left   \e[1;5D
341 keymap ctrl+shift+Up     \e[1;6A
342 keymap ctrl+shift+Down   \e[1;6B
343 keymap ctrl+shift+Right  \e[1;6C
344 keymap ctrl+shift+Left   \e[1;6D
346 keymap ctrl+alt+Up     \e[1;7A
347 keymap ctrl+alt+Down   \e[1;7B
348 keymap ctrl+alt+Right  \e[1;7C
349 keymap ctrl+alt+Left   \e[1;7D
351 keymap ctrl+alt+shift+Up     \e[1;8A
352 keymap ctrl+alt+shift+Down   \e[1;8B
353 keymap ctrl+alt+shift+Right  \e[1;8C
354 keymap ctrl+alt+shift+Left   \e[1;8D
356 #keymap alt+Return  \e\x0a
359 ifterm "rxvt"
360   keymap Ctrl+Prior  \e\133\065\136
361   keymap Ctrl+Next   \e\133\066\136
362   keymap Ctrl+Home   \e\133\067\136
363   keymap Ctrl+End    \e\133\070\136
364   keymap Shift+Home  \e\133\067\044
365   keymap Shift+End   \e\133\070\044
366   keymap Shift+F1    \e\133\062\063\176
367   keymap Shift+F2    \e\133\062\064\176
368   keymap Shift+F3    \e\133\062\065\176
369   keymap Shift+F4    \e\133\062\066\176
370   keymap Shift+F5    \e\133\062\070\176
371   keymap Shift+F6    \e\133\062\071\176
372   keymap Shift+F7    \e\133\063\061\176
373   keymap Shift+F8    \e\133\063\062\176
374   keymap Shift+F9    \e\133\063\063\176
375   keymap Shift+F10   \e\133\063\064\176
376   #keymap Alt+Return  \e\012
377   #keymap Alt+Tab     \e\t
378 endif