From: Al Petrofsky <al@petrofsky.org>
Cc: emacs-devel@gnu.org
Subject: Re: PATCH: focus follows mouse in C
Date: Sat, 9 Feb 2002 13:40:31 -0800 [thread overview]
Message-ID: <200202092140.NAA26251@radish.petrofsky.org> (raw)
In-Reply-To: <m3zo2i4o5k.fsf@Janik.cz> (Pavel@Janik.cz)
> From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=)
> From: "Eli Zaretskii" <eliz@is.elta.co.il>
>
> > And what about the tty version with xt-mouse or an equivalent?
>
> It is not possible at all in xterm, because xterm can not sent mouse
> movement events, only button presses/releases (see ctlseqs.PS from
> X documentation, page 5). The same is stated in the xterm manual page:
>
> Xterm allows character-based applications to receive mouse
> events (currently button-press and release events, and
> button-motion events) as keyboard control sequences. See
> Xterm Control Sequences for details.
In x11r6.5, xterm cannot send any motion events, but in XFree86 3.3
and later, xterm can send both button-motion events (i.e. motion
events while a button is pressed) and regular pointer-motion events.
Some of the documentation is still a little behind.
> On the other hand, it is doable on a virtual console (at least on my system
> which is based on Linux kernel) because t-mouse.el (resp. mev program from
> gpm suite) can report mouse movements (current t-mouse.el which is part of
> gpm, ignores mouse movements, because the cmdline argument "-e-move" is
> used for mev).
The gpm design has always seemed fundamentally broken to me, because
it sends mouse events over a completely separate channel (a unix
domain socket) rather than through the tty. This makes it impossible
to rlogin to a remote host and have applications on the remote host
receive the mouse events.
-al
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-09 21:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3665ewgv8.fsf@Janik.cz>
2002-02-07 14:56 ` PATCH: focus follows mouse in C Richard Stallman
2002-02-07 21:31 ` Pavel Janík
2002-02-08 23:24 ` Richard Stallman
2002-02-09 7:29 ` Pavel Janík
2002-02-09 10:01 ` Eli Zaretskii
2002-02-09 11:53 ` Pavel Janík
2002-02-09 14:52 ` Eli Zaretskii
2002-02-09 15:08 ` Pavel Janík
2002-02-09 16:26 ` Pavel Janík
2002-02-09 21:40 ` Al Petrofsky [this message]
2002-02-10 11:15 ` Eli Zaretskii
2002-02-10 17:52 ` Al Petrofsky
2002-02-16 10:35 ` Pavel Janík
2002-02-16 16:46 ` Eli Zaretskii
2002-02-11 2:08 ` Richard Stallman
2002-02-11 5:45 ` Pavel Janík
2002-02-12 15:24 ` Richard Stallman
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=200202092140.NAA26251@radish.petrofsky.org \
--to=al@petrofsky.org \
--cc=emacs-devel@gnu.org \
/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).