raw character input under BSD
Paul T. Shannon
pts at mendel.acc.Virginia.EDU
Tue Jul 24 01:50:04 AEST 1990
I'm porting some libraries from SYSV to BSD (specifically, from a Masscomp
to a NeXT) and I've run into incompatibilities. My two reference works
don't help (Unix System Programming, Haviland and Salama, and Rochkind's
Advanced Unix Programming) because they stick to System V.
Here are the functions I'd like to implement for BSD:
void putTerminalInRawMode (void);
char getRawKeyStroke (void);
void putTerminalInCanonicalMode ();
Their purpose is to let me get characters, undisplayed and
uninterpreted, from the keyboard. I'll be grateful for any
references, tips, or sample code. As I don't regularly read
this newsgroup, please send any replies via email; if there's
any interest, I'll post a summary. Thanks.
- Paul Shannon
pts at virginia.edu
More information about the Comp.unix.questions
mailing list