This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tty-slave read() patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]