--- a/Keyboard.wsp Tue Aug 01 13:55:44 2006 +0200
+++ b/Keyboard.wsp Tue Aug 08 13:14:20 2006 +0200
@@ -4,115 +4,114 @@
Notice1:
for most systems: the CMD-key is mapped to the left ALT-key.
- for WINDOWS: it is mapped to the CTRL-key.
+
Notice2:
case matters; CMD-a is different from CMD-A (CMD-Shift-a)
+ case matters; Ctrl-a is different from Ctrl-A (Ctrl-Shift-a)
Notice3:
the settings are defined during startup, by reading the
file: 'keyboard.rc' - if you dont like the settings, change them !
-In the table below,
- (1) means: CTRL-<char> under windows.
- (2) means: not available as keyboard shortCut under windows.
-CMD-a (1) Accept (compile or save)
-CMD-b (1) Backward search (last pattern backward)
-CMD-c (1) Copy
-CMD-d (1) DoIt
-CMD-e (1) ExplainIt
-CMD-f (1) Forward search (last pattern forward)
-CMD-g (1) Goto lineNumber
-CMD-h (1) Help (= explain)
-CMD-i (1) InspectIt
-CMD-m (1) select up to Matching parenthesis
-CMD-p (1) PrintIt
-CMD-r (1) Replace
-CMD-s (1) Search (open search dialog)
-CMD-v (1) paste
-CMD-w (1) select Word under cursor
-CMD-x (1) cut
-CMD-z (1) popUpMenu
-
-CMD-A (1) select All
-CMD-B (1) BrowseIt
-CMD-L (1) enter/leave Learn-macro mode (CMD-M to replayMacro)
-CMD-M (1) execute keyboard Macro (CMD-L to learn)
-CMD-S (1) Save as (a file)
-
-CMD-Tab focus next (unless eaten by windowManager)
-CMD-CRSR-x focus next/previous (unless eaten by windowManager)
-
-CTRL-a (2) goto begin of line
-CTRL-b (2) backward one page
-CTRL-c (2) interrupt - enter debugger
-CTRL-d (2) down half a page
-CTRL-e (2) goto end of line
-CTRL-f (2) forward one page
-CTRL-l expand selection by one line
-CTRL-m search matching parenthesis
-CTRL-u (2) up half a page
-CTRL-w forward to next word
-CTRL-x (2) delete a line (cursor line)
-CTRL-y interrupt - abort operation. do not enter debugger
-
-
-CTRL-A select from begin of text
-CTRL-E select from end of text
-CTRL-Home (2) goto begin of page/text
-CTRL-End (2) goto end of page/text
-CTRL-Tab (2) toggle 4/8 tabs (unless eaten by windowManager)
-CTRL-X (2) flush (trow away) typeahead input
-
-CTRL-2 enclose the selected text in parenthesis / remove parenthesis
-CTRL-9 enclose the selected text in parenthesis / remove parenthesis
-
-F1 Again (repeat last cut/replace)
-F2 Code Completion (in new browser only) - experimental
-F3 Comment selection
-F4 Uncomment Selection
-F5 Paste unix-shell output (disabled)
-F6 Selection to UpperCase-first words
-F7 Selection to LowerCase
-F9 Undent by 4
-F10 Indent by 4
-F11 Undent by 1
-F12 Indent by 1
-
-PageUp backward one page
-PageDown forward one page
-Home begin of line
-Shift-Home begin of text
-End end of line
-Shift-End end of text
-
-Insert Paste
-Home Cursor Home
-Shift-Home Cursor to begin of text
-End Cursor to end of line
-Shift-End Cursor to end of text
-
-CTRL(right) Compose (try: <Compose> <"> <a> )
+For Smalltalkers, the most useful key first:
+ CTRL-c (unix) or Pause/Break (win) is: "interrupt & enter debugger"
-Under Windows, the some keys are different:
+Unix Windows Function
+
+CMD-a CTRL-s Accept / Save (compile or save)
+CMD-b CTRL-b Backward search (selection or previous search pattern)
+CMD-c CTRL-c Copy
+CMD-d CTRL-d DoIt (evaluate selection)
+
+CMD-f Forward search (selection or previous search pattern)
+CMD-g CTRL-g Goto lineNumber
+CMD-h F1 Help (= explain)
+CMD-i CTRL-q InspectIt
+CMD-m CMD-m select up to Matching parenthesis
+CMD-p CTRL-p PrintIt (evaluate selection and paste result)
+CMD-r CTRL-r Replace
+CMD-s CTRL-f Search (open search dialog)
+CMD-v CTRL-v paste
+CMD-w CMD-w select Word under cursor
+CMD-x CTRL-x cut
+CMD-z CMD-z popUpMenu
+
+CMD-A CTRL-a select All
+CMD-B CTRL-B BrowseIt
+CMD-L CTRL-F2 enter/leave Learn-macro mode (CMD-M to replayMacro)
+CMD-M CMD-F2 execute keyboard Macro (CMD-L to learn)
+CMD-S CMD-S Save as (a file)
+
+CMD-Tab focus next (unless eaten by windowManager)
+CMD-CRSR-x focus next/previous (unless eaten by windowManager)
+
+CTRL-c BREAK interrupt - enter debugger
+CMD-. CMD-. interrupt - enter debugger
+
+CTRL-y CTRL-y interrupt - abort operation. do not enter debugger
+
+CTRL-Tab backtab
+Shift-Tab non-inserting tab (cursor movement only)
+
+Shift-Return non-inserting return (cursor movement only)
-F1 Help/Explain
-F8 Again (repeat last cut/replace)
-Pause/Break interrupt - enter debugger
+HOME HOME goto begin of line
+POS1 POS1 goto begin of line
+END END goto end of line
+
+Ctrl-HOME Ctrl-HOME goto begin of page/text (press twice for begin of text)
+Ctrl-POS1 Ctrl-POS1 goto begin of page/text (press twice for begin of text)
+Ctrl-END Ctrl-END goto end of page/text (press twice for end of text)
+
+Shift-HOME Shift-HOME select from begin of line
+Shift-POS1 Shift-POS1 select from begin of line
+Shift-END Shift-END select to end of line
+
+CTRL-W CTRL-W forward to end-of this / begin of next word
+CTRL-w CTRL-w forward to begin next word
+CTRL-l CTRL-l expand selection by one line
+
+CTRL-A CTRL-A select from begin of text
+CTRL-E CTRL-E select from end of text
+CTRL-X CTRL-X flush (trow away) typeahead input
+
+CTRL-2 enclose the selected text in parenthesis / remove parenthesis
+CTRL-9 enclose the selected text in parenthesis / remove parenthesis
+
+F8 F8 Again (repeat last cut/replace)
+F2 F2 Code Completion (in new browser only) - experimental
+F3 F3 Comment selection
+F4 F4 Uncomment Selection
+F6 F6 Selection to LowerCase
+F7 F7 Selection to UpperCase-first words
+CTRL-F7 CTRL-F7 Selection to UpperCase
+F9 F9 Undent by 4
+F10 F10 Indent by 4
+F11 F11 Undent by 1
+F12 F12 Indent by 1
+
+PageUp PageUp backward one page
+PageDown PageDown forward one page
+
+Insert Insert Paste
-
-Notice3: we will change CMD- to CTRL- for compatibility with other systems.
- Be prepared.
Notice4: You can add your own keyboard macros and/or change the shortKey
mapping by modifying the file 'keyboard.rc'
-Special (national) Characters (Unix only):
-==========================================
+Special (national) Characters:
+=============================
+There is a virtual keyboard found on the popUpMenu, under "others"-"others"-"special keys".
+Keep this view open, beside your editor and click on a character to insert it.
+
+
+Unix only:
+==========
The right CTRL-key is used as a Compose key
(this can be changed in the "keyboard.rc" file).
Composed national characters are entered as a 3-character sequence:
@@ -120,7 +119,8 @@
press them in sequence - not at the same.
For example, the french e-accentGrave is entered as:
COMPOSE e `
-
+and the german ä (umlaut-a) is entered as:
+ COMPOSE a "
A full list is found in the Method "WindowSensor initializeComposeKeyTable".