wmperry(a)aventail.com (William M. Perry) writes:
> Cool... The patch is mangled however. It has broken lines and
there is
> the tab vs space problem.
Tabs are your friend. :)
Tabs are evil. However regardless of that you should never
re-/untabify the result of diff because patch thinks there are
difference and won't apply the chunk.
Neither of course should you break lines.
I failed hand applying your patch (i.e. get weird errors where the
DEFSUBR in syms_of_gpmevent calls assert).
Could you please make a new patch?
> How do you suppose this gets enabled? I would love for this to
be still
> the default.
We could throw a call to it in syms_of_gpmevent() if you want.
I was rather thinking of a function to call in after make-device on a
tty. BTW I don't like the idea of making gpm-mode a C function. You
really should do the interface in lisp. Then you can much easier do
things like call hooks and avoid loading the C module if we are not on
a linux tty etc.
> 0. make sure the case when we have frames on more than one VC
works
There is no way to get this working using GPM, because it requires you to
use a GPM function to read characters from the terminal
:-(
Jan