I have written (and committed) code that allows Emacs to communicate with Gpm (a mouse server for a console) through a Unix socket. I still need to read and set the position of the mouse pointer. There is a library call, Gpm_GetSnapshot, to read it in Gpm, but I can't get it to work in with Emacs. To display the pointer position, I have used the console ioctl and the selection buffer (TIOCLINUX, subcode=3). Does anyone know if there other ioctls that can read and set the position of the mouse pointer? Is there any other way of doing this? TIA, Nick http://www.inet.net.nz/~nickrob -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ