Re: send function keys to a legacy DOS program

2011-03-29 Thread Justin Ezequiel
On Tue, Mar 29, 2011 at 9:59 PM, Alexander Gattin wrote: > I'm not sure regarding the ASCII part. I think it > might need to be set to 0x00 for all functional > keys instead of 0x3F/0x3C/0x41, but probably no > application actually cares. > > Another thing is that you may need to send key > releas

Re: send function keys to a legacy DOS program

2011-03-29 Thread Mel
Alexander Gattin wrote: > Another thing is that you may need to send key > release after key press in order for the > application to trigger the F5/F2/F7 event. I'm not > sure what the scan codes for F5/F2/F7 releases > are, but think that they may be: > > F5: 0xBF > F2: 0xBC > F7: 0xC1 True. The

Re: send function keys to a legacy DOS program

2011-03-29 Thread Alexander Gattin
Hello, On Sun, Mar 20, 2011 at 06:59:46PM -0700, Justin Ezequiel wrote: > On Mar 20, 7:30 am, Alexander Gattin > wrote: > > You need to place 2 bytes into the circular buffer > > to simulate key press. Lower byte is ASCII code, > > higher byte is scan code (they are the same for > > functional ke

Re: send function keys to a legacy DOS program

2011-03-20 Thread Justin Ezequiel
On Mar 20, 7:30 am, Alexander Gattin wrote: > On Sun, Mar 20, 2011 at 12:52:28AM +0200, > > You need to place 2 bytes into the circular buffer > to simulate key press. Lower byte is ASCII code, > higher byte is scan code (they are the same for > functional keys, whe using default keycode set#1): >

Re: send function keys to a legacy DOS program

2011-03-20 Thread LehH Sdsk8
On Mar 10, 9:58 pm, Justin Ezequiel wrote: > Greetings, > > We have an old barcode program (MSDOS and source code unavailable.) > I've figured out how to populate the fields (by hacking into one of > the program's resource files.) > However, we still need to hit the following function keys in sequ

Re: send function keys to a legacy DOS program

2011-03-19 Thread John Nagle
On 3/10/2011 4:58 PM, Justin Ezequiel wrote: Greetings, We have an old barcode program (MSDOS and source code unavailable.) I've figured out how to populate the fields (by hacking into one of the program's resource files.) However, we still need to hit the following function keys in sequence. F5

Re: send function keys to a legacy DOS program

2011-03-19 Thread Alexander Gattin
On Sun, Mar 20, 2011 at 12:52:28AM +0200, Alexander Gattin wrote: > On Thu, Mar 10, 2011 at 04:58:53PM -0800, Justin > Ezequiel wrote: > > We have an old barcode program (MSDOS and source code unavailable.) > > I've figured out how to populate the fields (by hacking into one of > > the program's re

Re: send function keys to a legacy DOS program

2011-03-19 Thread Alexander Gattin
Hello, On Thu, Mar 10, 2011 at 04:58:53PM -0800, Justin Ezequiel wrote: > We have an old barcode program (MSDOS and source code unavailable.) > I've figured out how to populate the fields (by hacking into one of > the program's resource files.) > However, we still need to hit the following functio

Re: send function keys to a legacy DOS program

2011-03-11 Thread Emile van Sebille
On 3/10/2011 4:58 PM Justin Ezequiel said... Greetings, We have an old barcode program (MSDOS and source code unavailable.) I've figured out how to populate the fields (by hacking into one of the program's resource files.) However, we still need to hit the following function keys in sequence. F5

Re: send function keys to a legacy DOS program

2011-03-11 Thread jr
On Mar 10, 7:58 pm, Justin Ezequiel wrote: > Greetings, > > We have an old barcode program (MSDOS and source code unavailable.) > I've figured out how to populate the fields (by hacking into one of > the program's resource files.) > However, we still need to hit the following function keys in sequ

Re: send function keys to a legacy DOS program

2011-03-10 Thread MRAB
On 11/03/2011 00:58, Justin Ezequiel wrote: Greetings, We have an old barcode program (MSDOS and source code unavailable.) I've figured out how to populate the fields (by hacking into one of the program's resource files.) However, we still need to hit the following function keys in sequence. F5,

send function keys to a legacy DOS program

2011-03-10 Thread Justin Ezequiel
Greetings, We have an old barcode program (MSDOS and source code unavailable.) I've figured out how to populate the fields (by hacking into one of the program's resource files.) However, we still need to hit the following function keys in sequence. F5, F2, F7 Is there a way to pipe said keys into