OSDN Git Service

* fhandler.h (fhandler_tty_slave): Declare new methods.
authorduda <duda>
Sun, 18 Mar 2001 18:05:01 +0000 (18:05 +0000)
committerduda <duda>
Sun, 18 Mar 2001 18:05:01 +0000 (18:05 +0000)
commit9a06eab1197a505f90fd83f1bbdd6e859d2facb0
treef0bfb3400d3d8381c837f7c579428b8d581e2e02
parenta9e152d27adcbc4c2d85ebbee839097adf200373
* fhandler.h (fhandler_tty_slave): Declare new methods.
* select.cc (fhandler_tty_slave::select_read): New method.
* select.cc (fhandler_tty_slave::ready_for_read): Ditto.
* select.cc (verify_tty_slave): New function.
* fhandler_termios.cc (fhandler_termios::line_edit): Empty input
buffer on signal.
* fhandler_tty.cc (fhandler_tty_slave::read): Check for input data
after reading from pipe. Reset event if input pipe is empty.
* tty.h (class tty): Allow creating events with manual reset.
* tty.cc (tty::get_event): Use manual_reset flag.
* tty.cc (tty::common_init): Create input_available_event with
manual reset.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_termios.cc
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/select.cc
winsup/cygwin/tty.cc
winsup/cygwin/tty.h