From xemacs-m  Sat May 10 15:13:41 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA20853
	for <xemacs-beta@xemacs.org>; Sat, 10 May 1997 15:13:40 -0500 (CDT)
Received: from kramer.in.aventail.com.aventail.com (wmperry@[192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with SMTP id NAA08992;
	Sat, 10 May 1997 13:13:40 -0700 (PDT)
To: Martin Buchholz <mrb@Eng.Sun.COM>
Cc: xemacs-beta@xemacs.org
Subject: Re: GPM support, patches
References: <199705092105.OAA06380@newman.aventail.com> <199705092342.QAA10844@xemacs.eng.sun.com>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;
From: wmperry@aventail.com (William M. Perry)
Date: 10 May 1997 13:13:40 -0700
In-Reply-To: Martin Buchholz's message of Fri, 9 May 1997 16:42:27 -0700
Message-ID: <86k9l7ytjf.fsf@kramer.in.aventail.com>
Lines: 29
X-Mailer: Gnus v5.4.49/Emacs 19.34

Martin Buchholz <mrb@Eng.Sun.COM> writes:

> >>>>> "Bill" == William M Perry <wmperry@aventail.com> writes:
> 
> Bill> Here is a patch that enables GPM support based against 20.2-b5 -
> Bill>seems to work fine for me under linux.
> 
> Bill> Basically, this patches the event-Xt loop to also check the
> Bill>mouse fd used by GPM for events, and dispatch them.  Also
> Bill>included is a patch to lisp/prim/mouse.el and lisp/x11/x-mouse.el
> Bill>to make them less annoying.  x-mouse.el was unconditionally
> Bill>setting mouse-yank-function to 'x-yank-selection', which
> Bill>completely fails on a TTY.  I replaced it with a version that
> Bill>switches off of the device-type, and it seems to work fine.
> 
> I have incorporated gpm support into the new configure system that is
> slated for 20.3.  As with much of my changes, I have no Linux system
> available to conveniently test this on, so there are likely to be bugs.
> I assume gpm support will *not* be added to 20.2, but will be in 20.3.

  I would definitely wait.

> Bill or Steven, one of you'll likely have to re-patch this sometime in
> 20.3 to add the non-configure part of the gpm support.

  No problem.  After 20.2 is released I'll probably post the patch to
comp.emacs.xemacs for people to play with.

-Bill P.

