
12 Mar
2009
12 Mar
'09
10 p.m.
On 2009 Mar 12, at 13:23, Xie Hanjian wrote:
01:19:~$ cat /dev/shm/lrcfifo|xmobar -b <stdin>: hGetLine: end of file
Is this a haskell issue? Google told me haskell has problem like this when read from a pipe .. How can I fix this?
That's unrelated; the FIFO is behaving the way it's supposed to, the listener has to open for read+write to keep it around. xmobar does so with its PipeOpen; cat doesn't, and the shell pipe doesn't (and can't). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH