there's also /n/sources/contrib/fst/tippi.c i am adding a feature to tippi to create a thumbnail of /dev/screen and mark the mouse location in the thumbnail. i had planned to use resample to create it but it is slow and doesn't seem to correct for color (color is intensified). there might be a better way too.
-Skip > 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