This adds support for GPM on multiple VCs using 'gnuclient', adds a
lisp-level (gpm-enabled-p) function, and reworks the gpm.el code. It also
now hooks delete-device-hook instead of kill-emacs-hook, so that the GPM
stuff gets shut down correctly if you connect to a XEmacs running in X,
then kill the tty connection.
It is also safe now to call
(progn
(gpm-enable nil t)
(gpm-enable nil nil)
(gpm-enable nil nil))
Last round of patches it would explode because of insufficient checking of
the return value of Fget_process. The GPM processes are now named uniquely
for what TTY they are attached to.
Well, lunch is over, time to get back to real work. :(
No patch because they are all longer than the files now. If anybody on
linux could try this out, I would appreciate it. With this, I'm pretty
close to happy using it instead of X on my linux w/frame-buffer support
compiled in. The screen is sure a lot wider :)
-Bill P.