Does anyone know how to set the mouse (Unix Sys V) in such a state where mouse button-up events can be detected with standard C, without the use of packages like Sunview, etc. (perhaps using some ioctl() calls)? I would appreciate any e-mail reply on this matter.