Hi.. actually I'm working on a small suckless app displaying a string from stdin on a fullscreen X Window in the style of an screensaver/conky.
e.g. to display a clock date '+%T' | figlet | myapp Unfortunately I couldn't manage reading from stdin more than one time. How can I read from stdin several times so I get a refreshed 'date' input? An approach using shell commands a la ' while true; do date '+%T' | figlet | myapp; sleep 1; done' is working but unsatisfying becauce I want to close the "screensaver" event based (mouse movement, key pressed). Cheers, Cengiz