TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Vitus Jensen
from: Paul Edwards
date: 1995-03-06 17:24:02
subject: 32-bit Input

On Aug 05 01:21 94, Vitus Jensen of 2:2474/100.20 wrote:

VJ> Chris Mcbrien wrote in a message to Vitus Jensen:

CM> However, how do I retrieve just one character?  For example,
CM> is the simple situation of "Press any key to continue".
VJ> Check your documentation of DosDevIOCtl. Category 4, 
VJ> Function 0x74 and 0x75 work find here.

CM> I tried that.  No matter what I did, the DOSDEVIOCTL would
CM> always return the Invalid Parameter error.  Care to post a
CM> snippet of the code you used to make this work?

VJ> Oh, I retried it and DosDevIOCtl returned error 22! Rechecking the dox (I 
VJ> WANT paper!), I realized that this IOCtl don't work in a PM window!

VJ> In case Fullscreen is OK for you:

I didn't think it was possible to be able to write a fullscreen
application (like MSGED, Binkley, micro-emacs et al) without using 
the Vio*, Mou* and Kbd* functions, but seeing this message made me 
think again.  I went and tried your code, and I also got error 22.
But that was in a fullscreen session.  I'm not sure if I'm using
the same terminology as you, but to me:

PM - graphical program
Fullscreen - an OS/2 session started by clicking on the "OS/2 fullscreen"
  icon in PM's "OS/2 System", "Command Prompts" folder.
OS/2 Window - an OS/2 session started by clicking on "OS/2 window" in
  PM's "OS/2 System", "Command Prompts" folder.

There is another mode, which I don't know how to get into, where PM is
not even loaded!  I don't have a name for that, because I've never
known how to do that, if indeed it is possible.

Paul
@EOT:

---
* Origin: This is just another kludge line like SEENBY (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.