> Date: Mon, 28 Feb 2000 05:05:32 -0600
>> On Sat, Feb 19, 2000 at 09:05:37PM +0100, [EMAIL PROTECTED] wrote:
>> >From: [EMAIL PROTECTED]
>> >Who can point me to documentation on faking odd key combinations 
>> >through dosemu?  Things like <alt>F1, <ctrl><alt>F5, and things like 
>> I wrote a program which sends these combinations from terminal
>> (needs DOS PC to be used as terminal, and it converts all keys
>>  to combinations DosEmu on Linux machine understands).
>> I supose its source contains the documentation you need.
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> To get it: go to my page http://www.fuw.edu.pl/~jt,
>> click "my plans" then "here" in line containg "DosEmu".
>> You can get some help from DosEmu: press Ctrl-^ then ?.
>I downloaded your program and it seems to be something to use on a true 
>DOS machine?  Perhaps I mis-stated my problem.  Whether I use dosemu 
>directly through a virtual console or telnet (from another Linux 
>machine), certain key combinations are not passed to the DOS program 
>that is running under dosemu.  For instance, <alt> F-keys are used by 

And you can simulate them. To send Alt-F5 you type Ctrl-6 a Ctrl-6 5.

Here is the doc extracted from my program source:
; DosEmu key sequences (all start from code 1Eh):
; 1234567890-=          F1-F12
; ?hH                   help
; acgsACGS              Alt Ctrl rAlt Shift (uppercase=stick)
; with k:       789456123       Home,Up,PgUp,Left,'5',Right,End,Down,PgDn
;       0/*-+<Enter>    Ins,/,*,-,+,Enter
;       other:          1Eh,'k' is ignored and the code is passed
; with K: dhnpsy.               eDel,Pause,NumLock,PrtSc/SysReq,ScrollLock,
                                SysReq,eDel
;       (case ignored)
;       digits:         same as with k except enhanced unless 5.
; what with '<'? scan code 56h (57h=F11, 58h=F12)

For instance, for DosEmu to see SysReq (Alt-PrtSc) you need send:
Ctrl-6 a Ctrl-6 K p  (enable Alt and send PrtSc/SysReq).

Seems there are some bugs in DosEmu (seems I tested it up to 0.98.8):
it cannot get Del (only Enhanced Del), and it cannot get normal '<'
- I remember some problems with Norton Commander because of it.

Jerzy

Reply via email to