Re: /dev/one - why not /dev/repeat?

jens@pinguin.conetix.de
Wed, 23 Dec 1998 19:23:56 +0100


On Tue, Dec 22, 1998 at 11:52:40PM +0100, Lars Marowsky-Brée wrote:

>> Are there advantages in having something like /dev/repeat?
> I suggest we implement a /dev/calculator, so everyone who needs to solve
> an equation can do it just by using cat/echo:
> echo 2+3*4 >/dev/calculator
> cat /dev/calculator
> 14
> Maybe we could make it understand RPN!

What about an X server as a device?

while true ; do
cat /dev/x-display | svgalib_pixmap_viewer
kill svgalib_pixmap_viewer
done

SCNR ;-)

-- 
_ciao, Jens_______________________________ http://www.pinguin.conetix.de
    cat /dev/boiler/water | tea | sieve > /cup
    mount -t hdev /dev/human/mouth01 /mouth ; cat /cup >/mouth/gulp

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/