From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) Newsgroups: gmane.emacs.devel Subject: Re: PATCH: focus follows mouse in C Date: Sat, 09 Feb 2002 17:26:55 +0100 Message-ID: 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 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: quimby2.netfonds.no 1013273136 18790 195.204.10.66 (9 Feb 2002 16:45:36 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 9 Feb 2002 16:45:36 GMT Cc: rms@gnu.org, 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 16Zad5-0004sy-00 for ; Sat, 09 Feb 2002 17:45:35 +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 16ZaTv-0001Iq-00; Sat, 09 Feb 2002 11:36:07 -0500 Original-Received: from p0070.as-l043.contactel.cz ([194.108.242.70] helo=SnowWhite.SuSE.cz) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16ZaR3-00011Y-00; Sat, 09 Feb 2002 11:33:10 -0500 Original-Received: by SnowWhite.SuSE.cz (PJ, from userid 500) id E1483441C0; Sat, 9 Feb 2002 17:35:29 +0100 (CET) Original-To: Eli Zaretskii Mail-Copies-To: never X-Face: $"d&^B_IKlTHX!y2d,3;grhwjOBqOli]LV`6d]58%5'x/kBd7.MO&n3bJ@Zkf&RfBu|^qL+ ?/Re{MpTqanXS2'~Qp'J2p^M7uM:zp[1Xq#{|C!*'&NvCC[9!|=>#qHqIhroq_S"MH8nSH+d^9*BF: iHiAs(t(~b#1.{w.d[=Z In-Reply-To: <5137-Sat09Feb2002165228+0200-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Sat, 09 Feb 2002 16:52:29 +0200") User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i386-suse-linux-gnu) Original-Lines: 24 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:920 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:920 From: "Eli Zaretskii" Date: Sat, 09 Feb 2002 16:52:29 +0200 > 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. 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). -- Pavel Janík Use data arrays to avoid repetitive control sequences. -- The Elements of Programming Style (Kernighan & Plaugher) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel