From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Al Petrofsky Newsgroups: gmane.emacs.devel Subject: Re: PATCH: focus follows mouse in C Date: Sat, 9 Feb 2002 13:40:31 -0800 Message-ID: <200202092140.NAA26251@radish.petrofsky.org> References: <200202071456.g17EujV04572@aztec.santafe.edu> <200202082324.g18NON305738@aztec.santafe.edu> <6480-Sat09Feb2002120145+0200-eliz@is.elta.co.il> <5137-Sat09Feb2002165228+0200-eliz@is.elta.co.il> NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013291510 32082 195.204.10.66 (9 Feb 2002 21:51:50 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 9 Feb 2002 21:51:50 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16ZfPR-0008LL-00 for ; Sat, 09 Feb 2002 22:51:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZfG3-00056d-00; Sat, 09 Feb 2002 16:42:07 -0500 Original-Received: from radish.petrofsky.org ([216.240.48.33]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZfEk-00055f-00 for ; Sat, 09 Feb 2002 16:40:46 -0500 Original-Received: (from al@localhost) by radish.petrofsky.org (8.9.3/8.9.3/Debian 8.9.3-21) id NAA26251; Sat, 9 Feb 2002 13:40:31 -0800 Original-To: Pavel@Janik.cz In-reply-to: (Pavel@Janik.cz) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:928 > From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) > From: "Eli Zaretskii" > > > 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