From: Chong Yidong <cyd@gnu.org>
To: Egmont Koblinger <egmont@gmail.com>
Cc: 10642@debbugs.gnu.org
Subject: bug#10642: xt-mouse: Support extended coordinates
Date: Sat, 14 Jul 2012 23:46:35 +0800 [thread overview]
Message-ID: <87obni8hwk.fsf@gnu.org> (raw)
In-Reply-To: <CAGWcZkLk4DRhjW7ukxsgMTw6vAVkarN6K-9tVTxBy3Lwvekmmw@mail.gmail.com> (Egmont Koblinger's message of "Sun, 29 Jan 2012 17:27:43 +0100")
Egmont Koblinger <egmont@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).
next prev parent reply other threads:[~2012-07-14 15:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-29 16:27 bug#10642: xt-mouse: Support extended coordinates Egmont Koblinger
2012-07-14 15:46 ` Chong Yidong [this message]
2012-08-06 20:38 ` Egmont Koblinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87obni8hwk.fsf@gnu.org \
--to=cyd@gnu.org \
--cc=10642@debbugs.gnu.org \
--cc=egmont@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).