>maybe there is something i forgot to tell. I don't control the app running on those devices. i need something external, something installed on the OS, or a FPDOS program that captures the key, but, remeber the focus is on the other app. the key is press on the device app, not in mine.
>
>so, i don't think is that simple as "use lastkey() command "
>
I forgot most of the details. As far as I remember, you can create a resident program that trap Interrupt 9h. From there you can read the Keyboard BIOS area.
Try google for DOS TSR code.
Good luck!
Herman