On Thu, Oct 11, 2007 at 01:21:14PM +0200, <[EMAIL PROTECTED]>:
~> mkfifo $HOME/pipe
~> echo "test"> $HOME/pipe &
~> exec /usr/local/bin/dwm < $HOME/pipe
~>
~> "test" does not appear in the statusbar
~> What am I missing?
if(readin)
FD_SET(STDIN_FILENO, &rd);
[...]
case 0:
strncpy(stext, "EOF", 4);
readin = False; <--- when EOF is read, no more input is taken
break;
try instead:
while [ 0 ]; do echo "test "; sleep 1; done > $HOME/pipe
--
:wq!
"I don't know nothing" The One Who reached the Thinking Matter '.'
[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9 5277 BFF8 037E 441C F0EE ]