Query on VMIN/VTIME in termio

From: Mark_H_Johnson@Raytheon.com
Date: Tue Jun 13 2000 - 11:34:00 EST


The interface termio (and its successor termios) defines control fields
"VMIN" and "VTIME" which have been used in Unix (and Posix) to define how
to handle "raw" (non-canonical processing) input from a terminal interface.
You use them to reduce the CPU load and simplify code that is reading a raw
interface. In reviewing the kernel code, I can't seem to find any use of
these values from this data structure. My questions are:
 - are these functions implemented for any or all terminal interfaces?
 - if yes, are there restrictions I should be aware of?
 - if yes, where should I look to understand what's implemented?
Based on what I see so far in the code and comments, I'm assuming that VMIN
and VTIME are both zero. This means a read will return immediately with the
characters available [limited by the size of my buffer]. Please confirm
this interpretation as well.
Thanks.
--Mark H Johnson
  <mailto:Mark_H_Johnson@raytheon.com>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:31 EST