Non-block read

Charles Hannum CMH117 at psuvm.psu.edu
Fri Feb 23 07:22:49 AEST 1990


The "cbreak()" function sets the terminal to raw i/o mode, which allows
getchar() to get one character at a time.

Virtually,
- Charles Martin Hannum II       "Klein bottle for sale ... inquire within."
    (That's Charles to you!)     "To life immortal!"
  cmh117 at psuvm.{bitnet,psu.edu}  "No noozzzz izzz netzzzsnoozzzzz..."
  c9h at psuecl.{bitnet,psu.edu}    "Mem'ry, all alone in the moonlight ..."



More information about the Comp.lang.c mailing list