emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse events in the margin using an xterm


From: Eli Zaretskii
Subject: Re: Mouse events in the margin using an xterm
Date: Fri, 10 Dec 2004 13:29:35 +0200

> From: Stefan Monnier <address@hidden>
> Date: Thu, 09 Dec 2004 09:02:28 -0500
> Cc: address@hidden
> 
> > t-mouse.el allows you to use the mouse on a text-only terminal.
> 
> AFAIU, t-mouse is basically like xt-mouse, except it does not use special
> escape codes sent by the terminal to encode mouse-click info.  Instead it
> uses a separate socket to communicate directly with the `gpm' daemon.

More accurately, t-mouse.el uses start-process to run the `mev'
program, which in turn communicates with `gpm', and feeds any mouse
events to the Emacs event queue through the process-filter.

FWIW, I'd rather had the equivalent of `mev'/`gpm' in Emacs sources,
not unlike what the DOS port does to support the mouse, instead of
using a horrible design such as running an async subprocess that talks
to a daemon.  It reminds me of the timers implementation of yore that
used an external program to deliver a signal to Emacs.

But that's me.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]