This is the mail archive of the
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: dash-0.5.8-3
Am 14.02.2017 um 21:29 schrieb Thomas Wolff:
Also, I've tried both options in mintty. Setting the flag on the master
side has weird effects, initially blocking the terminal process.
Setting it on the slave side works fine. I've uploaded that to the git
Am 14.02.2017 um 20:56 schrieb Eric Blake:
This does not comply with my (limited) understanding of pty stuff. In
mintty, forkpty will create a master/slave pty; mintty feeds it on the
master side, while the client program (usually a shell) reads from the
slave side. Mintty never handles BS for input, it simply feeds it into
the pty. "Line disciplines" like cooked mode must be handled on the
On 02/14/2017 01:40 PM, Thomas Wolff wrote:
No. We're talking about a function in the master side of the tty,
the applications started in the terminal are on the slave side.
I am not familiar with the concept of setting termios properties on
either the master or slave side of a pty. I've only ever set them in
client application, including my tests about IUTF8 which worked. Would
setting on the master side imply it's set for the clients implicitly,
and can it be changed later, e.g. when mintty character encoding is
being changed from the Options dialog?
And you say the function of erasing characters on BS is in the master
side? To be honest, this confuses me. I thought it's a client function,
like readline() would perform if used (apparently not by dash),
kind of an enhanced version of the tty cooked mode and used to work
without the new flag, right?
The readline source code does not mention IUTF8; and neither bash nor
dash need to reference it, because if the tty handling code sets it
correctly for what the terminal is going to display, then the clients
that are read()ing from the tty never even see BS in cooked mode (the
master side of the terminal handles BS before the read() completes in
the slave, if I'm understanding it correctly).
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple