Article View: comp.unix.programmer
Article #95FAQ - keyboard input
From: Shannon W. Price
Date: Thu, 23 Jul 1992 17:26
Date: Thu, 23 Jul 1992 17:26
23 lines
1193 bytes
1193 bytes
This must be without a doubt a FAQ, but I was unable to find a FAQ list among unread messages.... I'd like to accept three different types of input from a keyboard (Sun IPC - running OpenWindows 3.0, 4.1.2) using C. The c.lang FAQ stated that this sort of thing is a system dependent question rather than a C question. The three types of input are : A single enter (e.g. Press enter to continue...) A single character (e.g. a menu selection) A character string that may have imbedded blanks (e.g. a data item) I've been racking my brain, trying different combinations, asking everyone I could and none of the suggestions seem to work. -shannon price auburn university sprice@humsci.auburn.edu :wq
Technical Details
Message-ID:
<sprice.920723122640@eng.auburn.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!spriceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!sprice From: sprice@eng.auburn.edu (Shannon W. Price) Newsgroups: comp.unix.programmer Subject: FAQ - keyboard input Message-ID: <sprice.920723122640@eng.auburn.edu> Date: 23 Jul 92 17:26:41 GMT Sender: usenet@news.duc.auburn.edu (News Account) Distribution: usa Organization: Auburn University Engineering Lines: 23 Nntp-Posting-Host: wilbur.eng.auburn.edu