Took longer than I wanted it to, and decided to use rc rather than a c program with plan9 gui control.h
but it works if you are seeing this, because i'm using it to make this entry!