home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-