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: Re: Using gpm in emacs Date: Wed, 15 Dec 2004 23:46:23 +1300 Message-ID: <16832.5631.765784.204789@farnswood.snap.net.nz> References: <16831.34776.189931.303836@farnswood.snap.net.nz> <51585.217.194.34.123.1103103371.squirrel@wwws.franken.de> 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 1103108500 6876 80.91.229.6 (15 Dec 2004 11:01:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2004 11:01:40 +0000 (UTC) Cc: Stephan Stahl , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 15 12:01:28 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 1CeWuO-0000oY-00 for ; Wed, 15 Dec 2004 12:01:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeX4O-0005HA-1t for ged-emacs-devel@m.gmane.org; Wed, 15 Dec 2004 06:11:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CeX3V-0004zj-SM for emacs-devel@gnu.org; Wed, 15 Dec 2004 06:10:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CeX0z-0003oN-BF for emacs-devel@gnu.org; Wed, 15 Dec 2004 06:08:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeWxw-00038l-JN for emacs-devel@gnu.org; Wed, 15 Dec 2004 06:05:09 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CeWlU-0006mm-Dj; Wed, 15 Dec 2004 05:52:16 -0500 Original-Received: from farnswood.snap.net.nz (p209-tnt1.snap.net.nz [202.124.110.209]) by viper.snap.net.nz (Postfix) with ESMTP id 73936D5708; Wed, 15 Dec 2004 23:52:12 +1300 (NZDT) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 40E2C6283F; Wed, 15 Dec 2004 10:46:24 +0000 (GMT) Original-To: David Kastrup In-Reply-To: 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:31148 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31148 > >> ;;; gpm.el --- Support the mouse when emacs run on a Linux console. > >> > >> ;; Copyright (C) 1999 Free Software Foundation > >> > >> ;; Author: William Perry > >> ;; Keywords: mouse, terminals What is your point exactly? This appears to be part of XEmacs. William Perry is not the author of gpm. I don't know how to get the mouse to work at all with XEmacs, either in an xterm or a text-only terminal. Loading gpm doesn't seem to do it. Alessandro Rubini has also written a mode called t-mouse.el. This works with Emacs but provides incomplete support in 21.3.50 for a mouse in a text-only terminal. My idea is to address those shortcomings. > > What about: > > > > ;;; xt-mouse.el --- support the mouse when emacs run in an xterm > > > > ;; Author: Per Abrahamsen > > ;; Keywords: mouse, terminals > > > > ... > > > > ;;; Commentary: > > > > ;; Enable mouse support when running inside an xterm or Linux console. > > > Does this mean gpm.el is not really needed? I don't think this mode works on a text-only terminal. This file also says: ;; The xterm mouse escape codes are supposedly also supported by the ;; Linux console, but I have not been able to verify this. I can't see how this can work outside the context of X. Nick