Re: new behavior of named pipes

Ronald Wahl (
Tue, 2 Apr 1996 23:36:52 +0200 (MET DST)

On Tue, 2 Apr 1996, Ronald Wahl wrote:

> Hi,
> I noticed a change in the code of named pipes in 1.3.81. Now xconsole
> doesn't work properly if it reads from a named pipe. xconsole uses
> XtAddInput (which uses select internally) to wait for data from the pipe.
> A "tail -f" process writes data to the pipe. But nothing happens.
> "strace -p" shows that xconsole hangs in a select call. Is there a patch
> for xconsole available that work with kernels >=1.3.81? I wont patch the
> kernel to use the SUNOS behavior if there is a better solution.

I found the problem by myself. I piped the output of "tail -f" through
a awk script which closes the fifo after every line to flush the output.


\ Ronald Wahl ---   \
 \ WWW:             \
  \ Talk:            \
   \ PGP key available by finger to my email address \