[xmonad] xmobar PipeReader doesn't work
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Thu Mar 12 18:00:22 EDT 2009
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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090312/6607d401/PGP-0001.bin
More information about the xmonad