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