events: better naming for event functions. added aeventopen, aeventclose.
- this naming makes more sense.
- open and close functions mean the program does not
need to manually set w->eventfd.
events: store source window in AEvent struct.
this allows a program to return the event to the source window
given only the AEvent struct. in a multithreaded program this allows
a program to delegate event processing to one thread for all windows.
libacme.man: update to match changes
awincreate, awinclose: open and close the right files
awinload: oops had these fds backwards
awinsave -> awinput: this didn't match up with the header file. oops :P
fix getrune, getdata, getc so aeventnext works
oops, the file is event not events
clean up. remove print fns, use fprint instead
expose aeventnext, it's useful to be able to write a custom aeventlisten
fix double-free in aeventproc
make print fns and ctl fn return what the vfprint call returns
don't hold some fds open. add function for opening file with bio
awincat: take an fd not a path
aeventproc: malloc the Biobuf, it was overflowing the stack
awincat: fix sucide. we want an 8k buffer not a int sized buffer