TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Bruce Hoyt
from: Roger Sen Montero
date: 1996-03-09 22:59:44
subject: All keys for KbdCharIn

Hola Bruce!

28 Feb 96 09:04, Bruce Hoyt wrote to David Muir:

 DM>> okay.. simple question. KbdCharIn() and KbdPeek() do not
 DM>> recognize the  following three characters as input from the
 DM>> keyboard.. CTRL-P CTRL-S CTRL-T What can I do to intercept the
 DM>> pressing of these three control keys (in  addition to all other
 DM>> combinations of course)?
 BH> I assumed that setting binary mode using DosDevIOCtl category 4
 BH> function 0x51 would work but I get an error 0x16 which is
 BH> Unknown_Command. Here's my code:

 Don't you think it's easier to install a new exception handler to ignore de Ctrl-C?

Saludos.
Roger. -  rogersm{at}bbs-ce.uab.es
            http://tau.uab.es/~rogersm

... The truth is rarely pure, and never simple.
--- FMail/386 1.0g
* Origin: Albedo (2:343/128.15)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 343/128 129 140 143 254/153 106/2000 396/1 270/101 712/515 711/808
@PATH: 711/809 934

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™.