[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] sed unbuffered
From: |
Paul Jarc |
Subject: |
Re: [PATCH] sed unbuffered |
Date: |
Fri, 03 May 2002 16:30:44 -0400 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) |
Roger Luethi <address@hidden> wrote:
> The current sed buffers input and output. Exceptions are made for input if
> it is a tty [1] and for output if we are writing to a file. For instance,
> if sed is reading from a pipe, it will hang on fread(3) until the input
> buffer is filled or EOF occurs [2].
Another way to deal with this kind of problem, without having to
modify each individual program that behaves this way: use the
ptybandage wrapper from Dan Bernstein's ptyget package.
<URL:http://multivac.cwru.edu./ptyget/>
paul