lkml.org 
[lkml]   [1998]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /dev/one - why not /dev/repeat?
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.111 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site