GNU bug report logs - #10642
xt-mouse: Support extended coordinates

Previous Next

Package: emacs;

Reported by: Egmont Koblinger <egmont <at> gmail.com>

Date: Sun, 29 Jan 2012 19:30:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 10642 <at> debbugs.gnu.org (full text, mbox):

From: Egmont Koblinger <egmont <at> gmail.com>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 10642 <at> debbugs.gnu.org
Subject: Re: bug#10642: xt-mouse: Support extended coordinates
Date: Mon, 6 Aug 2012 22:38:27 +0200
[Message part 1 (text/plain, inline)]
Thanks very much, Chong!

Just for the record, I've implemented the 1006 support to Gnome-Terminal
and Konsole; I hope they will accept my patches and this 1006 extension
will become quite mainstream across terminal emulators.

https://bugzilla.gnome.org/show_bug.cgi?id=681329
https://bugs.kde.org/show_bug.cgi?id=304686

thanks,
egmont

On Sat, Jul 14, 2012 at 5:46 PM, Chong Yidong <cyd <at> gnu.org> wrote:

> Egmont Koblinger <egmont <at> gmail.com> writes:
>
> > When running in terminal, Emacs only supports mouse clicks up to
> > column or row 223, due to a limitation in the original mouse protocol.
> > However, there is an extension (well, unfortunately, there are a
> > couple of extensions) to overcome this limit.
> >
> > This request is hereby for emacs to implement one of them, so that
> > mouse click works on arbitrary coordinates.
>
> Thanks; the detailed information in your report was very useful.  I've
> implemented the 1006 protocol handling, and committed it to trunk.
>
> The code assumes that if the terminal does not support 1006 mode,
> sending the \e[?1006h sequence is a no-op, and mouse click events are
> received using the old protocol.  We look for both \e[M and \e[< events
> and handle them.  This seems to work on XTerms supporting 1006 mode
> (tested with xterm-281) as well as older ttys (tested with xterm-271 and
> xfce4-terminal 0.4.8).
>
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.