Re: [Fwd: Re: Last item on TODO list for mc before 4.6.1]



Hello Roland,

On Wed, 2004-09-22 at 19:55, Roland Illig wrote:
> Leonard den Ottolander wrote:
> > When the viewer uses a filter, the filtering program (e.g. gzip) can 
> > return errors to stderr even before it completes.

> > I believe the right 
> > solution would be to use our own popen replacement that would intercept 
> > strerr properly.

Those of course were Pavel Roskin's words that I forwarded.

> I had just written one two days ago:
> 
> int pipethrough(const char *command,
>                  const struct const_buffer *stdin_buf,
>                  /* out@*/ struct buffer *stdout_buf,
>                  /* out@*/ struct buffer *stderr_buf,
>                  /* out@*/ int *status);

> I am planning to write an extended version which does not simply fill 
> buffers but uses callback routines whenever one of the streams (stdin, 
> stdout, stderr) is ready.
> 
> Interested?

Sure :-) !

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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