3bf693dde1
(class fhandler_pty_master): Add echo_r and echo_w handles constituting read and write side of new echo pipe. * select.cc (peek_pipe): On pty masters, check additionally if input from the echo pipe is available. * fhandler_tty.cc (fhandler_pty_master::doecho): Drop output_mutex locking. Write output to echo pipe. (fhandler_pty_master::process_slave_output): Check if input is available in echo pipe and prefer to read from it, if so. (fhandler_pty_slave::write): Drop output_mutex locking. (fhandler_pty_master::fhandler_pty_master): Initialize echo pipe handles to NULL. (fhandler_pty_master::close): Close and NULL echo pipe handles. (fhandler_pty_master::setup): Create echo pipe, close in case of error. |
||
---|---|---|
.. | ||
1.7.10 | ||
1.7.11 | ||
1.7.12 | ||
1.7.13 | ||
1.7.14 | ||
1.7.15 | ||
1.7.16 | ||
1.7.17 | ||
1.7.18 | ||
1.7.19 | ||
1.7.20 | ||
1.7.21 | ||
1.7.22 | ||
1.7.23 | ||
1.7.24 | ||
1.7.25 | ||
1.7.26 | ||
1.7.27 | ||
1.7.28 | ||
1.7.29 | ||
1.7.30 | ||
1.7.31 | ||
1.7.32 | ||
1.7.33 | ||
1.7.34 | ||
1.7.35 | ||
1.7.36 |