This is the mail archive of the
cygwin-patches@sources.redhat.com
mailing list for the Cygwin project.
tty-slave read() patch
- To: cygwin-patches at cygwin dot com
- Subject: tty-slave read() patch
- From: Egor Duda <deo at logos-m dot ru>
- Date: Wed, 28 Feb 2001 19:23:51 +0300
- Organization: DEO
- Reply-To: Egor Duda <cygwin-patches at cygwin dot com>
Hi!
i've changed the way fhandler_tty_slave::read communicates with
master. it addresses a couple of problems. currently, when in
non-canonical mode and vmin=1, read() never reads more then 1 byte
from the pipe, even if more input is available. the result is
following: when user presses F1 key in ssh window, this keypress is
actually sent to server not in one packet but in 4. This is very
noticeable on slow links. it also eliminates pipe polling.
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
tty-slave-read.diff
tty-slave-read.ChangeLog