added '-S' description to man
[k8sterm.git] / .sterm.rc
blobde44f6d6e5128346a6a00f01deefcb3afdf87604
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
14 #visiblebell  0  # not yet
16 ptrblank 1500
17 #tabcount 2
18 #tabposition 1
20 fontnorm  "-*-terminus-bold-*-*-*-20-*-*-*-*-*-koi8-u"
21 fontbold  "-*-terminus-bold-*-*-*-20-*-*-*-*-*-koi8-u"
22 fonttab   "-*-andale mono-*-*-*-*-17-*-*-*-*-*-koi8-u"
24 tabsize  8
26 # default shell to use if SHELL is not set in the env
27 shell /bin/sh
29 # 8 normal colors
30 color.0   "#000000"
31 color.1   "#b21818"
32 color.2   "#18b218"
33 color.3   "#b26818"
34 color.4   "#1818b2"
35 color.5   "#b218b2"
36 color.6   "#18b2b2"
37 color.7   "#b2b2b2"
39 # 8 bright colors
40 color.8   "#686868"
41 color.9   "#ff5454"
42 color.10  "#54ff54"
43 color.11  "#ffff54"
44 color.12  "#5454ff"
45 color.13  "#ff54ff"
46 color.14  "#54ffff"
47 color.15  "#ffffff"
49 # more colors can be added after 255 to use with DefaultXX
50 color.256  "#cccccc"
51 color.257  "#333333"
52 # root terminal fg and bg
53 color.258  "#809a70"
54 color.259  "#002000"
55 # bold and underline
56 color.260  "#00afaf"
57 color.261  "#00af00"
59 defaultFG        7
60 defaultBG        0
61 defaultCursorFG  0
62 defaultCursorBG  256
63 defaultInactiveCursorFG  0
64 defaultInactiveCursorBG  -1
66 defaultBoldFG       260
67 defaultUnderlineFG  261
69 normalTabFG  258
70 normalTabBG  257
71 activeTabFG  258
72 activeTabBG  0
75 maxhistory 512
78 # unicode --> linedrawing
79 # 'alt' means 'alternate (line drawing) charset'
80 # '0' is special value: 'inverted space'
81 #unimap 0x2000 0x3F
82 unimap 0x2592 0x61 alt
83 unimap 0x2588 0x00 alt
84 unimap 0x2589 0x00 alt
85 unimap 0x2518 0x6a alt
86 unimap 0x2510 0x6b alt
87 unimap 0x250c 0x6c alt
88 unimap 0x2514 0x6d alt
89 unimap 0x253c 0x6e alt
90 unimap 0x2500 0x71 alt
91 unimap 0x251c 0x74 alt
92 unimap 0x2524 0x75 alt
93 unimap 0x2534 0x76 alt
94 unimap 0x252c 0x77 alt
95 unimap 0x2502 0x78 alt
98 # key bindings
99 keybind reset
101 # X11 clipboards
102 keybind shift+Insert      PastePrimary
103 keybind alt+Insert        PasteSecondary
104 keybind alt+shift+Insert  PasteCliboard
106 # new tab
107 keybind ctrl+alt+t  NewTab
108 keybind ctrl+alt+m  NewTab; exec mc
110 # new utf-8 tab
111 keybind ctrl+alt+u  NewTab; UTF8Locale tan
113 # on-the-fly switching between UTF-8 and default locale
114 keybind win+alt+8  UTF8Locale tan
115 keybind win+alt+1  UTF8Locale ona
117 keybind win+alt+b  AudibleBell toggle
119 # press win+c to enter 'command mode'
120 keybind win+c  CommandMode
122 # new root tab
123 keybind ctrl+alt+r  NewTab; defaultFG 258; defaultBG 259; exec su -
125 keybind ctrl+win+q  CloseTab
126 keybind ctrl+win+k  KillTab
128 keybind ctrl+alt+Left   SwitchToTab prev nowrap
129 keybind ctrl+alt+Right  SwitchToTab next nowrap
131 keybind ctrl+alt+1      SwitchToTab 1
132 keybind ctrl+alt+2      SwitchToTab 2
133 keybind ctrl+alt+3      SwitchToTab 3
134 keybind ctrl+alt+4      SwitchToTab 4
135 keybind ctrl+alt+5      SwitchToTab 5
136 keybind ctrl+alt+6      SwitchToTab 6
137 keybind ctrl+alt+7      SwitchToTab 7
138 keybind ctrl+alt+8      SwitchToTab 8
139 keybind ctrl+alt+9      SwitchToTab 9
140 keybind ctrl+alt+0      SwitchToTab 0
142 keybind alt+shift+Left   MoveTabTo prev nowrap
143 keybind alt+shift+Right  MoveTabTo next nowrap
145 keybind alt+Up     ScrollHistoryLineUp
146 keybind alt+Down   ScrollHistoryLineDown
147 keybind alt+Prior  ScrollHistoryPageUp
148 keybind alt+Next   ScrollHistoryPageDown
149 keybind alt+Home   ScrollHistoryTop
150 keybind alt+End    ScrollHistoryBottom
152 # keypad translation for keymap (only!)
153 keytrans reset
154 keytrans KP_Home    Home
155 keytrans KP_Left    Left
156 keytrans KP_Up      Up
157 keytrans KP_Right   Right
158 keytrans KP_Down    Down
159 keytrans KP_Prior   Prior
160 keytrans KP_Next    Next
161 keytrans KP_End     End
162 keytrans KP_Begin   Begin
163 keytrans KP_Insert  Insert
164 keytrans KP_Delete  Delete
167 # keycodes
168 # modificators: ctrl, shift, alt, win, any
169 keymap reset
170 keymap BackSpace  \177
171 keymap Insert     \e[2~
172 keymap Delete     \e[3~
173 ifterm "rxvt"
174   keymap Home       \e[7~
175   keymap End        \e[8~
176 else
177   keymap Home       \e[1~
178   keymap End        \e[4~
179 endif
180 keymap Prior      \e[5~
181 keymap Next       \e[6~
183 keymap ctrl+Home    \e[1^
184 keymap ctrl+Insert  \e[2^
185 keymap ctrl+Delete  \e[3^
186 keymap ctrl+End     \e[4^
187 keymap ctrl+Prior   \e[5^
188 keymap ctrl+Next    \e[6^
190 ifterm "xterm"
191   # xterm
192   keymap F1   \eOP
193   keymap F2   \eOQ
194   keymap F3   \eOR
195   keymap F4   \eOS
196 else
197   # rxvt
198   keymap F1   \e[11~
199   keymap F2   \e[12~
200   keymap F3   \e[13~
201   keymap F4   \e[14~
202 endif
203 keymap F5   \e[15~
204 keymap F6   \e[17~
205 keymap F7   \e[18~
206 keymap F8   \e[19~
207 keymap F9   \e[20~
208 keymap F10  \e[21~
209 keymap F11  \e[23~
210 keymap F12  \e[24~
212 keymap shift+F1   \e[23~
213 keymap shift+F2   \e[24~
214 keymap shift+F3   \e[25~
215 keymap shift+F4   \e[26~
216 keymap shift+F5   \e[28~
217 keymap shift+F6   \e[29~
218 keymap shift+F7   \e[31~
219 keymap shift+F8   \e[32~
220 keymap shift+F9   \e[33~
221 keymap shift+F10  \e[34~
223 keymap ctrl+F1   \e[11^
224 keymap ctrl+F2   \e[12^
225 keymap ctrl+F3   \e[13^
226 keymap ctrl+F4   \e[14^
227 keymap ctrl+F5   \e[15^
228 keymap ctrl+F6   \e[17^
229 keymap ctrl+F7   \e[18^
230 keymap ctrl+F8   \e[19^
231 keymap ctrl+F9   \e[20^
232 keymap ctrl+F10  \e[21^
234 keymap ctrl+shift+F1   \e[11@
235 keymap ctrl+shift+F2   \e[12@
236 keymap ctrl+shift+F3   \e[13@
237 keymap ctrl+shift+F4   \e[14@
238 keymap ctrl+shift+F5   \e[15@
239 keymap ctrl+shift+F6   \e[17@
240 keymap ctrl+shift+F7   \e[18@
241 keymap ctrl+shift+F8   \e[19@
242 keymap ctrl+shift+F9   \e[20@
243 keymap ctrl+shift+F10  \e[21@
245 ifterm "xterm"
246  # xterm
247  keymap Up     \eOA
248  keymap Down   \eOB
249  keymap Right  \eOC
250  keymap Left   \eOD
251 else
252  # rxvt
253   keymap Up     \e[A
254   keymap Down   \e[B
255   keymap Right  \e[C
256   keymap Left   \e[D
257 endif
259 ### keymap kpad+Up     \eOA
260 ### keymap kpad+Down   \eOB
261 ### keymap kpad+Right  \eOC
262 ### keymap kpad+Left   \eOD
264 keymap shift+Up     \e[1;2A
265 keymap shift+Down   \e[1;2B
266 keymap shift+Right  \e[1;2C
267 keymap shift+Left   \e[1;2D
269 keymap alt+Up     \e[1;3A
270 keymap alt+Down   \e[1;3B
271 keymap alt+Right  \e[1;3C
272 keymap alt+Left   \e[1;3D
274 keymap shift+alt+Up     \e[1;4A
275 keymap shift+alt+Down   \e[1;4B
276 keymap shift+alt+Right  \e[1;4C
277 keymap shift+alt+Left   \e[1;4D
279 keymap ctrl+Up     \e[1;5A
280 keymap ctrl+Down   \e[1;5B
281 keymap ctrl+Right  \e[1;5C
282 keymap ctrl+Left   \e[1;5D
284 keymap ctrl+shift+Up     \e[1;6A
285 keymap ctrl+shift+Down   \e[1;6B
286 keymap ctrl+shift+Right  \e[1;6C
287 keymap ctrl+shift+Left   \e[1;6D
289 keymap ctrl+alt+Up     \e[1;7A
290 keymap ctrl+alt+Down   \e[1;7B
291 keymap ctrl+alt+Right  \e[1;7C
292 keymap ctrl+alt+Left   \e[1;7D
294 keymap ctrl+alt+shift+Up     \e[1;8A
295 keymap ctrl+alt+shift+Down   \e[1;8B
296 keymap ctrl+alt+shift+Right  \e[1;8C
297 keymap ctrl+alt+shift+Left   \e[1;8D
299 #keymap alt+Return  \e\x0a
302 ifterm "rxvt"
303   keymap Ctrl+Prior  \e\133\065\136
304   keymap Ctrl+Next   \e\133\066\136
305   keymap Ctrl+Home   \e\133\067\136
306   keymap Ctrl+End    \e\133\070\136
307   keymap Shift+Home  \e\133\067\044
308   keymap Shift+End   \e\133\070\044
309   keymap Shift+F1    \e\133\062\063\176
310   keymap Shift+F2    \e\133\062\064\176
311   keymap Shift+F3    \e\133\062\065\176
312   keymap Shift+F4    \e\133\062\066\176
313   keymap Shift+F5    \e\133\062\070\176
314   keymap Shift+F6    \e\133\062\071\176
315   keymap Shift+F7    \e\133\063\061\176
316   keymap Shift+F8    \e\133\063\062\176
317   keymap Shift+F9    \e\133\063\063\176
318   keymap Shift+F10   \e\133\063\064\176
319   #keymap Alt+Return  \e\012
320   #keymap Alt+Tab     \e\t
321 endif