This is the mail archive of the 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]
Other format: [Raw text]

Re: small tty problem? Re: Updated: cygwin-1.3.18-1

On Sat, Dec 28, 2002 at 01:25:14AM -0500, Christopher Faylor wrote:
> Well, surprise, this bugged me enough that I had to track it down.  The
> order of acceptance of input and echoing of input seemed to have been
> changed by Steve's recent patches, so I put it back the way it was
> before.


Just got back from holiday and followed your fix trajectory for this. 
Nice.  Removing always_accept may remove the requirement for the 
post-loop setting of ret to line_edit_input_done.  I'll have to stare
at it some more though.

As for the placement of doecho, it was moved after accept_input since
doecho is not undoable.  So, if accept_input fails repeatedly, the current
code could echo a character multiple times.  However, given the 
circumstances, I agree that moving doecho back is the correct thing to do
in the short term. 

My next set of patches should remedy this by adding an echobuf that
will essentially make echo characters be read before the slave input. 
Undoubtedly, someone will find a case where this isn't correct, but 
for now I can't think of what that case may be. 

Thank you, cgf, for taking time out of your holidays to look at this.


Unsubscribe info:
Bug reporting:

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