🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6148

Re: Difference between "ESC" and "8" ??

#6148
From: Fuzzy Fox
Date: Mon, 21 Dec 1992 18:53
15 lines
1013 bytes
slindsay@nyx.cs.du.edu (Steve Lindsay) writes:

>Sorry people.... I meant to say in this original post how
>do you make it tell the difference between the "8" key and
>the "Backspace" key not the ESC key...

When I read the keyboard with getch(), the backspace key returns 0x08,
and the 8 key returns 0x38.  What method are you using to read the
keyboard?

-- 
#ifdef TRUE        | Fuzzy Fox (a.k.a. David DeSimone)       fuzzy@netcom.com
#define  TRUE   0  |
#define  FALSE  1  |  "You have been recruited by the Star League to defend
#endif             |     the Frontier against Xur and the Kodan Armada."
Technical Details
Message-ID: <1992Dec21.185303.2327@rei.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!rei2!fox
References: <1992Dec19.044654.25980@mnemosyne.cs.du.edu> <1992Dec19.051917.28801@mnemosyne.cs.du.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!rei2!fox
From: fox@rei.com (Fuzzy Fox)
Subject: Re: Difference between "ESC" and "8" ??
Message-ID: <1992Dec21.185303.2327@rei.com>
Date: Mon, 21 Dec 1992 18:53:03 GMT
References: <1992Dec19.044654.25980@mnemosyne.cs.du.edu> <1992Dec19.051917.28801@mnemosyne.cs.du.edu>
Organization: Recognition Equipment, Inc.
Lines: 15