wmperry(a)aventail.com (William M. Perry) writes:
Here is a reworked version of the GPM support. This is equivalent
functionality-wise to the current implementation, but does not sink its
teeth into all the console and event loops like the old one.
Cool... The patch is mangled however. It has broken lines and there is
the tab vs space problem.
-----------------
`gpm-mode' is a built-in function
(gpm-mode &optional ARG)
How do you suppose this gets enabled? I would love for this to be
still the default.
- if ((mousefd >= 0) &&
!filedesc_to_what_closure[mousefd]) {
- select_filedesc (mousefd, console);
}
- }
-#endif
-}
You really don't want to delete that brace.
However if you want to progress from mere coolness to utter
enlightenment then you should
0. make sure the case when we have frames on more than one VC works
1. make sure the xterm mouse stuff works.
2. [Bonus points] include the xterm only file that libgpm supports in
the source so that if you are not on Linux you still get xterm
mouse support.
3. Make XEmacs support the GPM selection protocol.
Jan