bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] coprocess pseudo-tty bug


From: arnold
Subject: Re: [bug-gawk] coprocess pseudo-tty bug
Date: Wed, 03 Jan 2018 13:38:25 -0700
User-agent: Heirloom mailx 12.4 7/29/08

Root cause is that Linux requires the slave to be opened and configured
in the parent, before the child process is forked.

AIX can't hack that, which is what broke Linux. It's gonna take a
more serious fix, which I'll work on over the next day or so.

Thanks,

Arnold

"Andrew J. Schorr" <address@hidden> wrote:

> Hi,
>
> On Wed, Jan 03, 2018 at 09:33:54AM -0700, address@hidden wrote:
> > address@hidden wrote:
> > 
> > > Yep, I'll look into it.  Really annoying.
> > 
> > Fix is below. I'll get it into git.
>
> That doesn't work for me. The result is still upper-case, although it does
> remove the carriage return:
>
> master branch:
> bash-4.2$ ./gawk -f /tmp/pty.awk | od -c
> 0000000   A   B   C   D  \n
> 0000005
>
> 4.1.2:
> bash-4.2$ /bin/gawk -f /tmp/pty.awk | od -c
> 0000000   a   b   c   d  \n
> 0000005
>
> Regards,
> Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]