bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Problem with printing 5000 lines to a coprocess


From: Aharon Robbins
Subject: Re: [bug-gawk] Problem with printing 5000 lines to a coprocess
Date: Wed, 24 Dec 2014 19:58:21 +0200
User-agent: Heirloom mailx 12.5 6/20/10

Hi. Sorry I haven't been able to be involved in the discussion.

If I understand how things work, using ptys solves the problem because
the tty driver always returns data to the read system call after one line
has been seen (the newline character). So the program at the other end
can try to read as much as it wants, but it only gets one line at a time.

The main caveat is that the pty won't pass all binary data; some control
characters have an influence on how it behaves (such as ^D for EOF).

I will try to add something to manual, but am not sure when I'll get to it.

Thanks,

Arnold



reply via email to

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