[Top][All Lists]

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

[Groff] Re: pipeline problems with groff

From: Kees Zeelenberg
Subject: [Groff] Re: pipeline problems with groff
Date: Tue, 2 Dec 2003 20:35:12 +0100

MSDN has several examples on how to use pipes and how to port fork /exec to
MS-Windows. See
It seems pipeline.c conforms exactly to these examples.

The only problems with _pipe and _cwait reported on MSDN refer to the case
where the buffer is full, and the writing process must wait until some of
the buffer has been emptied by the reading process; see
So, the reverse case from the one reported on the groff list.

Furthermore, some experiments indicate that groff seems to hang at the end
of the program, since in spite of the error, it produces a valid Postscript

Kees Zeelenberg

----- Oorspronkelijk bericht ----- 
Van: "Werner LEMBERG" <address@hidden>
Aan: <address@hidden>
Verzonden: dinsdag 2 december 2003 10:54
Onderwerp: pipeline problems with groff

> [Originally sent to address@hidden; please send an answer to this
> list also.]
> Folks,
> does anybody know a program either native to Windows or ported to
> Windows which does something similar to groff, this is, using pipes to
> communicate with child processes?  Perhaps this helps to identify the
> bug which makes groff hang if there isn't enough output (the problem
> seems to be related to _cwait).
>     Werner

reply via email to

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