[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using gpm in emacs
From: |
David Kastrup |
Subject: |
Re: Using gpm in emacs |
Date: |
Wed, 15 Dec 2004 10:20:21 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Nick Roberts <address@hidden> writes:
> 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.
;;; gpm.el --- Support the mouse when emacs run on a Linux console.
;; Copyright (C) 1999 Free Software Foundation
;; Author: William Perry <address@hidden>
;; Keywords: mouse, terminals
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum