author | Claus Gittinger <cg@exept.de> |
Wed, 30 Apr 2014 12:36:45 +0200 | |
changeset 1345 | 2e5d534aa913 |
parent 1340 | 65b404d51704 |
child 1373 | 7363f394fdca |
permissions | -rw-r--r-- |
41 | 1 |
"* |
609 | 2 |
* Encoding: iso8859-1 |
3 |
* |
|
41 | 4 |
* $Header$ |
5 |
* |
|
399 | 6 |
* MIMEType: application/x-smalltalk-source |
7 |
* |
|
209 | 8 |
* ST/X startup configuration file: |
9 |
* |
|
41 | 10 |
* sample keyboard.rc - file |
11 |
* |
|
719 | 12 |
* this file defines some mappings for common function keys. |
13 |
* These definitions used to be in 'private.rc', |
|
41 | 14 |
* but have been extracted into this separate file to allow easier |
15 |
* sharing of rc files (users having different private files, but want |
|
54 | 16 |
* to use the same keyboard mappings / keyboard macros) |
41 | 17 |
* |
719 | 18 |
* A copy of this file can reside in $home/.smalltalk/keyboard.rc or |
1127
601cd02e5a4b
ctrlbackspace is deleteword, not shift-backspace
Claus Gittinger <cg@exept.de>
parents:
1121
diff
changeset
|
19 |
* in the current directory. After a change, file it in the running st/x, |
601cd02e5a4b
ctrlbackspace is deleteword, not shift-backspace
Claus Gittinger <cg@exept.de>
parents:
1121
diff
changeset
|
20 |
* using the fileBrowser's fileIn function. |
54 | 21 |
* |
719 | 22 |
* These are my personal preferrences which may not be |
402 | 23 |
* correct for your environment. |
24 |
* |
|
609 | 25 |
* WARNING: |
402 | 26 |
* please keep the expressions below free from manipulating |
27 |
* global state - all that should be done here is to set up the current |
|
28 |
* screens keyboard map. |
|
29 |
* Reason: in multihead applications, this will be consulted for each |
|
30 |
* new display screen. |
|
41 | 31 |
*" |
1243
1fc6b3f01e48
End chung after initial comment / encoding spec
Stefan Vogel <sv@exept.de>
parents:
1196
diff
changeset
|
32 |
! |
719 | 33 |
Smalltalk fileIn:'keyboardMacros.rc'. |
86 | 34 |
! |
35 |
||
92 | 36 |
"* |
37 |
* key bindings common to all display types |
|
38 |
* use event monitor, to see what the Xserver sends us; |
|
39 |
* put display-specific stuff into a d_hostName.rc file. |
|
40 |
*" |
|
402 | 41 |
|map screen| |
86 | 42 |
|
402 | 43 |
screen := Screen current. |
44 |
map := screen keyboardMap. |
|
86 | 45 |
|
1277 | 46 |
#( |
1313 | 47 |
#Cmd #Alt |
1277 | 48 |
#Cmd #Menu |
49 |
#Menu #Appl |
|
50 |
#Menu #CtrlAppl |
|
51 |
#Menu #CmdAppl |
|
52 |
||
53 |
"/ #'Hardcopy' #'Super_R' |
|
54 |
#'Alt' #'Super_L' |
|
55 |
#'Alt' #'Hyper_R' |
|
56 |
||
57 |
#UserInterrupt #Break "WIN" |
|
58 |
#UserAbort #CtrlCancel "WIN: abort window process, but no debugger" |
|
59 |
#UserAbort #CtrlPause |
|
60 |
#UserAbort #CtrlBreak "X11: abort window process, but no debugger" |
|
1340 | 61 |
#UserAbort #CmdY |
1277 | 62 |
#FlushInput #CtrlX "flush typeahead input" |
63 |
#DestroyView #CmdCtrlX "to destroy dead views" |
|
64 |
#DestroyTopView #CmdCtrlx "to destroy dead views" |
|
65 |
||
66 |
#CloseWindowRequest #CmdF4 |
|
67 |
||
68 |
#DoIt #Cmdd "i e Cmd-d / Alt-d (sometimes Meta-d)" |
|
69 |
#DoIt #Ctrld |
|
70 |
#InspectIt #Cmdi "evaluate & inspect result" |
|
71 |
#InspectIt #Ctrlq |
|
72 |
#PrintIt #Cmdp "evaluate and paste result" |
|
73 |
#PrintIt #Ctrlp |
|
74 |
#ReplaceIt #CmdP "evaluate and replace selection by result" |
|
75 |
#BrowseIt #CmdB |
|
76 |
#BrowseIt #CtrlB |
|
77 |
#ImplementorsOfIt #CtrlI |
|
78 |
#ImplementorsOfIt #CmdI |
|
79 |
"/ #SendersOfIt #CtrlS |
|
80 |
"/ #SendersOfIt #CmdS |
|
81 |
||
82 |
#ToggleInsertMode #CtrlInsert |
|
83 |
||
84 |
#Copy #Cmdc "copy selection to buffer" |
|
85 |
#Copy #Ctrlc "copy selection to buffer" |
|
86 |
||
87 |
#Cut #Cmdx "cut selection into buffer" |
|
88 |
#Cut #Ctrlx |
|
89 |
#Paste #Cmdv "paste buffer or external selection" |
|
90 |
#Paste #Ctrlv |
|
1306 | 91 |
#PasteFromHistory #CmdV "show paste history" |
92 |
#PasteFromHistory #CtrlV "show paste history" |
|
1277 | 93 |
#Replace #Cmdr |
94 |
#Replace #Ctrlr |
|
95 |
#Join #Ctrlj "join lines" |
|
96 |
#Join #Cmdj "join lines" |
|
97 |
#Find #Cmds "open searchbox" |
|
98 |
#Find #Ctrlf |
|
99 |
#FindNext #Cmdf "search fwd for last searchpattern or selection" |
|
100 |
#FindPrev #Cmdb "search bwd for last searchpattern or selection" |
|
101 |
#FindPrev #Ctrlb |
|
102 |
#SelectAll #CmdA "that is Alt-shift-a" |
|
103 |
#SelectAll #Ctrla |
|
104 |
#GotoLine #Ctrll |
|
105 |
#GotoLine #Ctrlg |
|
106 |
#SelectWord #Cmdw "select word under cursor" |
|
107 |
#Undo #Ctrlz |
|
108 |
#Redo #Ctrly |
|
109 |
||
110 |
#Accept #Cmda |
|
111 |
#Accept #Ctrls |
|
112 |
||
113 |
#Explain #Cmde |
|
114 |
#Explain #Cmdh |
|
115 |
#Format #CmdF "that is Alt-shift-F" |
|
116 |
"/ #Format #CtrlF "that is Ctrl-shift-F" |
|
117 |
||
118 |
"/ #DeleteLine #CtrlX |
|
119 |
||
120 |
#NextPage #Next "typically labelled PageDown on keyboard" |
|
121 |
#PreviousPage #Prior "typically labelled PageUp on keyboard" |
|
931 | 122 |
|
1277 | 123 |
"/ #PreviousPage #Ctrlb "vi behavior" |
124 |
"/ #NextPage #Ctrlf "vi behavior" |
|
125 |
"/ #HalfPageUp #Ctrlu |
|
126 |
"/ #HalfPageDown #Ctrld |
|
127 |
||
128 |
"/ old setting: |
|
129 |
"/ #BeginOfText #Home "some prefer to bind #BeginOfLine to #Home" |
|
130 |
"/ #EndOfText #End "some prefer to bind #EndOfLine to #End" |
|
131 |
"/ |
|
132 |
"/ new setting: |
|
133 |
#BeginOfLine #Home |
|
134 |
#EndOfLine #End |
|
135 |
#BeginOfText #CtrlHome |
|
136 |
#EndOfText #CtrlEnd |
|
137 |
||
138 |
#EndOfLine #Ctrle |
|
139 |
#NextWord #Ctrlw |
|
140 |
#EndOfWord #CtrlW |
|
141 |
||
142 |
#NextWord #CtrlCursorRight |
|
143 |
#PreviousWord #CtrlCursorLeft |
|
144 |
||
145 |
#ScrollUp #CtrlCursorUp |
|
146 |
#ScrollDown #CtrlCursorDown |
|
147 |
||
148 |
#SearchMatchingParent #Ctrlm |
|
149 |
#SelectMatchingParents #Cmdm |
|
150 |
||
151 |
#SelectToEnd #CtrlE "that is ctrl-shift-e" |
|
152 |
#SelectFromBeginning #CtrlA "that is ctrl-shift-a" |
|
153 |
#ExpandSelectionByLine #Cmdl "try multiple Cmd-l's ..." |
|
1340 | 154 |
#ExpandSelectionByWord #CmdW "try multiple Cmd-shift-w's ..." |
1277 | 155 |
|
156 |
#ZoomIn #'Ctrl+' |
|
157 |
#ZoomOut #'Ctrl-' |
|
252
5d4a68556e45
ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents:
209
diff
changeset
|
158 |
|
1277 | 159 |
"Notice: |
160 |
Cmd-CursorLeft/Right and Alt-CursorLeft/Right |
|
161 |
are also used by some winmdowmanagers (fvwm) |
|
162 |
if this is the case on your system, either |
|
163 |
change the following to use different keys, |
|
164 |
or change the windowmanagers configuration file |
|
165 |
(usr/lib/X11/xxxwm/*rc) |
|
166 |
The above is the reason that the following defines Ctrl-xxx |
|
167 |
as an alternative (mwm in the INDY also uses the alt-sequences) |
|
168 |
" |
|
169 |
||
170 |
#FocusNext #CmdCursorRight "experimental" |
|
171 |
#FocusPrevious #CmdCursorLeft "experimental" |
|
172 |
#FocusNext #CmdCursorDown "experimental" |
|
173 |
#FocusPrevious #CmdCursorUp "experimental" |
|
174 |
||
175 |
#FocusNext #AltCursorRight "experimental" |
|
176 |
#FocusPrevious #AltCursorLeft "experimental" |
|
177 |
#FocusNext #AltCursorDown "experimental" |
|
178 |
#FocusPrevious #AltCursorUp "experimental" |
|
179 |
"/ #FocusNext #CtrlCursorRight "experimental" |
|
180 |
"/ #FocusPrevious #CtrlCursorLeft "experimental" |
|
181 |
||
182 |
||
183 |
#NonInsertingTab #ShiftTab |
|
184 |
"/ #BackTab #ShiftTab |
|
185 |
#BackTab #CtrlTab |
|
186 |
#NonInsertingTab #'ISO_Left_Tab' |
|
187 |
"/ #ToggleTabs #CtrlTab |
|
188 |
||
189 |
"/ #FocusNext #CtrlTab "experimental" |
|
190 |
#FocusNext #CmdTab "experimental" |
|
191 |
"/ #FocusPrevious #'ISO_Left_Tab' |
|
192 |
#FocusPrevious #'CmdISO_Left_Tab' |
|
193 |
"/ map bindValue:#Tab #'ISO_Left_Tab' |
|
194 |
#Menu #Cmdz |
|
195 |
) pairWiseDo:[:symbolic :key | |
|
196 |
map bindValue:symbolic to:key. |
|
609 | 197 |
]. |
252
5d4a68556e45
ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents:
209
diff
changeset
|
198 |
|
1196
72b2cb293f6a
abort key under mswindows (strange)
Claus Gittinger <cg@exept.de>
parents:
1127
diff
changeset
|
199 |
OperatingSystem isMSWINDOWSlike ifTrue:[ |
1277 | 200 |
map bindValue:#UserAbort to:#Pause. |
1196
72b2cb293f6a
abort key under mswindows (strange)
Claus Gittinger <cg@exept.de>
parents:
1127
diff
changeset
|
201 |
] ifFalse:[ |
1277 | 202 |
map bindValue:#UserInterrupt to:#Pause. "X11" |
1196
72b2cb293f6a
abort key under mswindows (strange)
Claus Gittinger <cg@exept.de>
parents:
1127
diff
changeset
|
203 |
]. |
92 | 204 |
|
122 | 205 |
"* |
1277 | 206 |
* ISO LATIN 1 symbolic characters - map to iso8859-1/unicode values |
122 | 207 |
* not all Xservers send those correctly. |
208 |
* As a fall back, dieresis mappings using Alt-key sequences are found at |
|
209 |
* the end. |
|
92 | 210 |
*" |
122 | 211 |
|
212 |
#( |
|
213 |
"/ dieresis characters |
|
214 |
||
215 |
Udiaeresis 16rDC |
|
216 |
Adiaeresis 16rC4 |
|
217 |
Odiaeresis 16rD6 |
|
218 |
udiaeresis 16rFC |
|
219 |
adiaeresis 16rE4 |
|
220 |
odiaeresis 16rF6 |
|
221 |
ydiaeresis 16rFF |
|
222 |
||
223 |
"/ grave |
|
224 |
||
225 |
Agrave 16rC0 |
|
226 |
Egrave 16rC8 |
|
227 |
Igrave 16rCC |
|
228 |
Ograve 16rCC |
|
229 |
Ugrave 16rD9 |
|
230 |
agrave 16rE0 |
|
231 |
egrave 16rE8 |
|
232 |
igrave 16rEC |
|
233 |
ograve 16rF2 |
|
234 |
ugrave 16rF9 |
|
235 |
||
236 |
"/ acute |
|
237 |
||
238 |
Aacute 16rC1 |
|
239 |
Eacute 16rC9 |
|
240 |
Iacute 16rCD |
|
241 |
Oacute 16rD3 |
|
242 |
Uacute 16rDA |
|
243 |
Yacute 16rDD |
|
244 |
aacute 16rE1 |
|
245 |
eacute 16rE9 |
|
246 |
iacute 16rED |
|
247 |
oacute 16rF3 |
|
248 |
uacute 16rFA |
|
249 |
yacute 16rFD |
|
250 |
||
251 |
"/ circumflex |
|
252 |
||
253 |
Acircumflex 16rC2 |
|
609 | 254 |
Ecircumflex 16rCA |
255 |
Icircumflex 16rCE |
|
256 |
Ocircumflex 16rD4 |
|
257 |
Ucircumflex 16rDB |
|
258 |
acircumflex 16rE2 |
|
259 |
ecircumflex 16rEA |
|
260 |
icircumflex 16rEE |
|
261 |
ocircumflex 16rF4 |
|
262 |
ucircumflex 16rFB |
|
122 | 263 |
|
264 |
"/ tilde |
|
265 |
||
609 | 266 |
Atilde 16rC3 |
267 |
Ntilde 16rD1 |
|
268 |
atilde 16rE3 |
|
269 |
ntilde 16rF1 |
|
122 | 270 |
|
271 |
"/ ring |
|
272 |
||
609 | 273 |
Aring 16rC4 |
274 |
aring 16rE4 |
|
122 | 275 |
|
276 |
"/ ligatures |
|
277 |
||
609 | 278 |
AE 16rC5 |
279 |
ae 16rE5 |
|
122 | 280 |
ssharp 16rDF |
281 |
||
282 |
"/ cedilla |
|
283 |
||
609 | 284 |
Ccedilla 16rC7 |
285 |
ccedilla 16rE7 |
|
122 | 286 |
|
287 |
"/ slashed |
|
288 |
||
609 | 289 |
Ooblique 16rD8 |
290 |
oslash 16rF8 |
|
122 | 291 |
|
292 |
"/ misc (if on your keyboard) |
|
293 |
||
1279 | 294 |
Eth 16rD0 "/ some old servers still use this |
609 | 295 |
ETH 16rD0 |
296 |
eth 16rF0 |
|
297 |
multiply 16rD7 |
|
122 | 298 |
Thorn 16rDE "/ some old servers still use this |
299 |
THORN 16rDE "/ some old servers still use this |
|
1278 | 300 |
acute 16rEF |
609 | 301 |
division 16rF7 |
302 |
thorn 16rFE |
|
122 | 303 |
|
304 |
section 16rA7 |
|
1279 | 305 |
rightdoublequotemark 16rAB |
306 |
leftdoublequotemark 16rBB |
|
307 |
notsign 16rAC |
|
122 | 308 |
degree 16rB0 |
309 |
twosuperior 16rB2 |
|
310 |
threesuperior 16rB3 |
|
311 |
mu 16rB5 |
|
1279 | 312 |
cedilla 16rB8 |
313 |
onesuperior 16rB9 |
|
314 |
onequarter 16rBC |
|
315 |
onehalf 16rBD |
|
316 |
threequarter 16rBE |
|
1277 | 317 |
EuroSign 16r20AC |
122 | 318 |
) pairWiseDo:[:symbolic :numeric | |
319 |
map bindValue:(Character value:numeric) to:symbolic. |
|
320 |
]. |
|
92 | 321 |
|
322 |
"* |
|
122 | 323 |
* need more here (katakana, arabic, cyrillic, greek etc.) |
92 | 324 |
*" |
325 |
||
326 |
"* |
|
327 |
* numeric keypad - binding to normal numeric keys |
|
328 |
*" |
|
329 |
"/ map bindValue:$0 to:#'KP_Insert'. |
|
330 |
"/ map bindValue:$1 to:#'KP_End'. |
|
331 |
"/ map bindValue:$2 to:#'KP_Down'. |
|
332 |
"/ map bindValue:$3 to:#'KP_Next'. |
|
333 |
"/ map bindValue:$4 to:#'KP_Left'. |
|
334 |
"/ map bindValue:$5 to:#'KP_Begin'. |
|
335 |
"/ map bindValue:$6 to:#'KP_Right'. |
|
336 |
"/ map bindValue:$7 to:#'KP_Home'. |
|
337 |
"/ map bindValue:$8 to:#'KP_Up'. |
|
338 |
"/ map bindValue:$9 to:#'KP_Prior'. |
|
380 | 339 |
map bindValue:#Return to:#'KP_Enter'. |
340 |
map bindValue:#Delete to:#'KP_Delete'. |
|
92 | 341 |
|
342 |
||
86 | 343 |
"/ remove these lines, if your keyboard has a COMPOSE-key. |
344 |
"/ None of our Xdisplays here has one - so we simulate it using CTRL-R ... |
|
609 | 345 |
"/ which on some (of our) servers comes pretranslated as Multi_key, |
327 | 346 |
"/ CtrlMulti_key or even Mode_switch. |
86 | 347 |
|
327 | 348 |
map bindValue:#Compose to:#'Control_R'. "/ the right compose key |
455
1bc57270b5d7
added Cmd-Shift-B as BrowseIt shortCut
Claus Gittinger <cg@exept.de>
parents:
442
diff
changeset
|
349 |
"/ map bindValue:#Compose to:#'Control_L'. "/ the right compose key |
327 | 350 |
map bindValue:#Compose to:#'Multi_key'. "/ the right compose key |
351 |
map bindValue:#Compose to:#'CtrlMulti_key'. "/ the right compose key |
|
609 | 352 |
"/ map bindValue:#Compose to:#'Mode_switch'. |
86 | 353 |
|
354 |
||
355 |
"/ a kludge: some Xservers send #Delete for both the backspace |
|
356 |
"/ and the Delete key. In this case, we use the Backspace function |
|
357 |
"/ for both keys. If your Xserver does not do this (it should not) |
|
358 |
"/ remove or comment the following 'bindValue:#BackSpace'-line: |
|
359 |
"/ |
|
360 |
||
356 | 361 |
"/ map bindValue:#BackSpace to:#Delete. |
1127
601cd02e5a4b
ctrlbackspace is deleteword, not shift-backspace
Claus Gittinger <cg@exept.de>
parents:
1121
diff
changeset
|
362 |
map bindValue:#DeleteWordBeforeCursor to:#CtrlBackSpace. |
1253
c4fe978d8015
ALT-Backspace is Delete (for reduced keyboards)
Claus Gittinger <cg@exept.de>
parents:
1243
diff
changeset
|
363 |
map bindValue:#Delete to:#CmdBackSpace. |
86 | 364 |
|
41 | 365 |
"/ |
366 |
"/ my personal preferences - comment it, if you do not like them |
|
367 |
"/ bind function and other keys as: |
|
368 |
"/ |
|
715
529ebe47d1e9
Change default window style to #mswindowsXP
Stefan Vogel <sv@exept.de>
parents:
705
diff
changeset
|
369 |
"/ F1 - help |
1063 | 370 |
"/ F2 - rename (old: completion) |
41 | 371 |
"/ F3 - comment-it |
372 |
"/ F4 - uncomment-it |
|
373 |
"/ F5 - paste shell output |
|
715
529ebe47d1e9
Change default window style to #mswindowsXP
Stefan Vogel <sv@exept.de>
parents:
705
diff
changeset
|
374 |
"/ F8 - again |
41 | 375 |
"/ F9 - undent by 4 |
376 |
"/ F10 - indent by 4 |
|
377 |
"/ Control-R - Compose key |
|
378 |
"/ Break - UserInterrupt |
|
379 |
||
380 |
"/ |
|
381 |
"/ convenient functions on the keyboard |
|
382 |
"/ |
|
942 | 383 |
map bindValue:#Help to:#F1. |
384 |
map bindValue:#Again to:#F8. |
|
89 | 385 |
"/ map bindValue:#PrintIt to:#Print. "/ called PrintScreen on most keyboards |
386 |
"/ map bindValue:#InspectIt to:#Execute. "/ called SysReq on most keyboards |
|
41 | 387 |
|
922 | 388 |
map bindValue:#SaveAs to:#CtrlS. |
88 | 389 |
map bindValue:#SaveAs to:#CmdS. |
390 |
||
481 | 391 |
"/ xxxF5 -> macro ReplaceSelectionByUnixCommandsOutput (unix command output paste) |
460 | 392 |
"/ CtrlTab -> macro ToggleTabs (toggle 4/8 tabs) |
393 |
"/ F10 -> macro IndentBy4 (indent by 4) |
|
394 |
"/ F9 -> macro UndentBy4 (undent by 4) |
|
395 |
"/ F12 -> macro IndentBy1 (indent by 1) |
|
396 |
"/ F11 -> macro UndentBy1 (undent by 1) |
|
1063 | 397 |
"/ F2 -> rename (old: completion) |
292 | 398 |
"/ F3 -> commentSelection |
399 |
"/ F4 -> uncommentSelection |
|
41 | 400 |
|
481 | 401 |
"/ map bindValue:#ReplaceSelectionByUnixCommandsOutput to:#F5. |
41 | 402 |
"/ map bindValue:#CmdF97 to:#F7. |
403 |
"/ map bindValue:#CmdF96 to:#F6. |
|
643 | 404 |
|
460 | 405 |
map bindValue:#IndentBy4 to:#F10. |
406 |
map bindValue:#UndentBy4 to:#F9. |
|
41 | 407 |
|
460 | 408 |
map bindValue:#IndentBy1 to:#F12. |
409 |
map bindValue:#UndentBy1 to:#F11. |
|
292 | 410 |
|
726 | 411 |
map bindValue:#ConvertSelectionToLowercaseOrUppercaseOrUppercaseFirst to:#F6. |
728 | 412 |
map bindValue:#ConvertSelectionToUppercase to:#CtrlF6. |
457 | 413 |
|
1063 | 414 |
map bindValue:#Rename to:#F2. |
41 | 415 |
map bindValue:#CommentSelection to:#F3. |
416 |
map bindValue:#UncommentSelection to:#F4. |
|
417 |
||
719 | 418 |
map bindValue:#ParenthizeSelection to:#'Cmd('. |
419 |
map bindValue:#UnparenthizeSelection to:#'Cmd)'. |
|
420 |
||
699 | 421 |
map bindValue:#LearnKeyboardMacro to:#CtrlF2. |
422 |
map bindValue:#ExecuteKeyboardMacro to:#CmdF2. |
|
438 | 423 |
|
1063 | 424 |
"/ map bindValue:#CodeCompletion to:#F2. |
1318 | 425 |
map bindValue:#CodeCompletion to:#'Ctrl '. "that is Ctrl-Space" |
426 |
map bindValue:#CodeCompletion to:#'Ctrlspace'. "mhmh - why is this sent on linux, and the above on windows (must check) ?" |
|
942 | 427 |
|
943 | 428 |
map bindValue:#ExpandAbbreviation to:#'Cmd '. "that is Alt-Space" |
438 | 429 |
|
609 | 430 |
"/ map bindValue:#PasteBlockEvaluationsOutput to:#CmdV. |
487 | 431 |
|
41 | 432 |
"/ |
433 |
"/ since some of my machines have german keyboards ;-) |
|
434 |
"/ and I like to be able to edit my files on all machines, |
|
435 |
"/ I need a translation in both ways. |
|
436 |
"/ you'd normally not define things in both directions. |
|
437 |
"/ |
|
609 | 438 |
"/ actually, these things belong into the servers modmap or |
57 | 439 |
"/ into a display specific d_<displayName>.rc ... |
41 | 440 |
"/ |
441 |
"/ german national characters on a US keyboard: |
|
140 | 442 |
"/ comment this, if you have a german keyboard. |
41 | 443 |
"/ |
140 | 444 |
"/map bindValue:(Character value:16rFC) to:#'Cmd['. "/ u dieresis |
445 |
"/map bindValue:(Character value:16rE4) to:#'Cmd'''. "/ a dieresis |
|
446 |
"/map bindValue:(Character value:16rF6) to:#'Cmd;'. "/ o dieresis |
|
447 |
"/map bindValue:(Character value:16rDC) to:#'Cmd{'. "/ U dieresis |
|
448 |
"/map bindValue:(Character value:16rC4) to:#'Cmd"'. "/ A dieresis |
|
449 |
"/map bindValue:(Character value:16rD6) to:#'Cmd:'. "/ O dieresis |
|
450 |
"/map bindValue:(Character value:16rDF) to:#'Cmd-'. "/ s-sharp |
|
41 | 451 |
|
452 |
"/ |
|
122 | 453 |
"/ US characters on national keyboards: |
454 |
"/ (on many national keyboards, the x-server does NOT correctly |
|
455 |
"/ xlate characters .... on others, it does and you may remove/comment |
|
456 |
"/ the following.) |
|
41 | 457 |
"/ |
458 |
map bindValue:$[ to:#'Alt['. |
|
459 |
map bindValue:$] to:#'Alt]'. |
|
460 |
map bindValue:$| to:#'Alt|'. |
|
461 |
map bindValue:${ to:#'Alt{'. |
|
57 | 462 |
map bindValue:$} to:#'Alt}'. |
122 | 463 |
map bindValue:$\ to:#'Alt\'. |
140 | 464 |
map bindValue:$~ to:#'Alt~'. |
465 |
map bindValue:$@ to:#'Alt@'. |
|
466 |
||
609 | 467 |
map bindValue:$[ to:#'Cmd['. |
140 | 468 |
map bindValue:$] to:#'Cmd]'. |
469 |
map bindValue:$| to:#'Cmd|'. |
|
470 |
map bindValue:${ to:#'Cmd{'. |
|
471 |
map bindValue:$} to:#'Cmd}'. |
|
472 |
map bindValue:$\ to:#'Cmd\'. |
|
473 |
map bindValue:$~ to:#'Cmd~'. |
|
474 |
map bindValue:$@ to:#'Cmd@'. |
|
497 | 475 |
map bindValue:$# to:#'Cmd#'. |
140 | 476 |
|
690 | 477 |
map bindValue:#UserInterrupt to:#'Cmd.' . "/ for squeak compatibility |
1330
5a64cf920fd2
CTRL-. is also user interrupt
Claus Gittinger <cg@exept.de>
parents:
1318
diff
changeset
|
478 |
map bindValue:#UserInterrupt to:#'Ctrl.' . "/ for vw compatibility |
122 | 479 |
|
41 | 480 |
! |