From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Using gpm in emacs Date: Wed, 15 Dec 2004 13:39:52 +1300 Message-ID: <16831.34776.189931.303836@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103071699 29843 80.91.229.6 (15 Dec 2004 00:48:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2004 00:48:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 15 01:48:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CeNKu-0003GV-00 for ; Wed, 15 Dec 2004 01:48:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeNV4-0002gz-7a for ged-emacs-devel@m.gmane.org; Tue, 14 Dec 2004 19:58:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CeNUQ-0002eg-Bt for emacs-devel@gnu.org; Tue, 14 Dec 2004 19:58:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CeNUN-0002cx-LA for emacs-devel@gnu.org; Tue, 14 Dec 2004 19:57:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeNUN-0002cW-IM for emacs-devel@gnu.org; Tue, 14 Dec 2004 19:57:59 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CeNJH-0006Dc-LJ for emacs-devel@gnu.org; Tue, 14 Dec 2004 19:46:31 -0500 Original-Received: from farnswood.snap.net.nz (p66-tnt1.snap.net.nz [202.124.110.66]) by viper.snap.net.nz (Postfix) with ESMTP id 719A6C0B57 for ; Wed, 15 Dec 2004 13:46:29 +1300 (NZDT) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id D8CB26283F; Wed, 15 Dec 2004 00:39:52 +0000 (GMT) Original-To: emacs-devel@gnu.org X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31133 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31133 Following the earlier discussion on emacs-pretest-bug about mouse support for Emacs in a text-only terminal, I contacted the main author of gpm/mev (Alessandro Rubini). He thought that including gpm in Emacs might not be the right thing to do and that it would be best to connect to the gpm socket and use its own protocol. He pointed out that gpm is specific to the Linux kernel and many users already have it installed and configured by their distribution. I guess thats similar to X, where, I presume, the mouse movements are communicated to the application by the X server, the difference being that X is ported more widely. So I propose to tinker with the gpm library and try to connect things up with Emacs (presumbly with pointers like mouse_position_hook?). Clearly, if anybody who knows what they are doing is interested, that would be a better bet. Nick