On Mon, 28 Feb 2000, Hugh Lawson wrote:
> However, I'd like to know how to control the way keys are passed to
> applications when 'dos' is running in an xterm: say WordPerfect 5.1 is
> running in dosemu, which is running in an xterm. Just idle curiosity!
Try <Ctrl>^h (2 strokes: first '<Ctrl>^' then 'h'). You'll get help
on what is possible. Example:
Pressing <Ctrl>^s followed by <Ctrl>^3 results in SHIFT-F3.
Well, normally people are used to read ^H as <Ctrl>H and using just
this '^' as 'escchar' realy is confusing. However, on an US keyboard,
the '^' is 'above' number '6', so the above example could be written in a
more usual way such as
Pressing ^6s followed by ^63 results in SHIFT-F3.
or
Pressing ^^s followed by ^^3 results in SHIFT-F3.
(grrh...)
Ok, here is the complete help from ^6h (aka <Ctrl>^h aka ^^h) and
'translated' to use '^6' as the prefix for all those special typings:
Hope this helps and doesn't give more confusion ;-)
Hans
<[EMAIL PROTECTED]>
----------------------------------------------------------------------------
NOTE: see dosemu.conf 'terminal {escchar}' to change '^6' .
Function Keys:
F1: ^61 F2: ^62 ... F9: ^69 F10: ^60 F11: ^6- F12: ^6=
Key Modifiers:
Normal: ^6s SHIFT KEY, ^6a ALT KEY, ^6c CTRL KEY, ^6g ALTGR KEY
Sticky: ^6S SHIFT KEY, ^6A ALT KEY, ^6C CTRL KEY, ^6G ALTGR KEY
Substitute keys:
^6K0 Insert, ^6K7 Home, ^6K3 PgDn, ^6Kd Delete, ^6Kp PrtScn, etc.
Notes:
The numbers are the same as those on the key on the numeric keypad.
To cancel the sticky key, press it again or use ^6 Space.
Examples:
Pressing ^6s followed by ^63 results in SHIFT-F3.
Pressing ^6C Up Up Up ^6C results in Ctrl-Up Ctrl-Up Ctrl-Up.
Pressing ^6c ^6K1 results in Ctrl-End
Miscellaneous:
^6^R : Redraw display ^6^L : Redraw the display.
^6^Z : Suspend dosemu ^6b : Select BEST monochrome mode.
^6 Up Arrow: Force the top of DOS screen to be displayed.
^6 Dn Arrow: Force the bottom of DOS screen to be displayed.
^6 Space: Reset Sticky keys and Panning to automatic panning mode.
^6? or ^6h: Show this help screen.
^6^6: Send the ^6 character to dos.
----------------------------------------------------------------------------