From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 4 Jun 2010 19:06:50 -0300 Message-ID: From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] a very silly program Topicbox-Message-UUID: 2fa6e826-ead6-11e9-9d60-3106f5b1d025 what about just using pipefile(1) and a filter like accupoint(1) does On Fri, Jun 4, 2010 at 12:34 PM, ron minnich wrote: > http://bitbucket.org/rminnich/plan9tools/src/tip/catmouse.c > > I sort of wanted to learn what it would take to interpose a program > between /dev/mouse and something else. Now I've learned and this > clunker is the result. It's sort of amusing. > > to test, get thee to a window and: > 8.catmouse > rio > > obviously the map() function could use some improvement :-) > > ron > > -- Federico G. Benavento