From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: Re: Num_Lock under solaris 5.8 Date: Fri, 12 May 2006 13:02:26 +0200 Message-ID: References: <4464610D.608@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1147431835 17717 80.91.229.2 (12 May 2006 11:03:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 May 2006 11:03:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 12 13:03:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FeVQz-0001cT-QY for ged-emacs-devel@m.gmane.org; Fri, 12 May 2006 13:03:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeVQz-0007K3-DT for ged-emacs-devel@m.gmane.org; Fri, 12 May 2006 07:03:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeVPj-0006ne-2l for emacs-devel@gnu.org; Fri, 12 May 2006 07:02:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeVPi-0006nF-9F for emacs-devel@gnu.org; Fri, 12 May 2006 07:02:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeVPh-0006n6-UC for emacs-devel@gnu.org; Fri, 12 May 2006 07:02:29 -0400 Original-Received: from [192.11.222.161] (helo=ihemail1.lucent.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeVRR-0007q0-0W for emacs-devel@gnu.org; Fri, 12 May 2006 07:04:17 -0400 Original-Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by ihemail1.lucent.com (8.12.11/8.12.11) with ESMTP id k4CB2RMg027635 for ; Fri, 12 May 2006 06:02:28 -0500 (CDT) Original-Received: from sfsws1.de.lucent.com (sfsws1 [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p2+Sun/8.11.7) with ESMTP id k4CB2QT16583 for ; Fri, 12 May 2006 13:02:26 +0200 (MEST) Original-Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.11.7p2+Sun/8.8.5) with ESMTP id k4CB2Qp27792 for ; Fri, 12 May 2006 13:02:26 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id k4CB2Qa10702; Fri, 12 May 2006 13:02:26 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@lucent.com using -f Original-To: emacs-devel@gnu.org X-Flame: Only a racist like you would say that trees are sadistic. In-Reply-To: <4464610D.608@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Fri, 12 May 2006 12:18:53 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54313 Archived-At: >>>>> "Jan" =3D=3D Jan Dj=E4rv writes: Jan>=20 Jan> Start xev (you may have to get it from somewhere) and press Num_Lo= ck Jan> and see what keysym it generates. Num_Lock alone: KeyPress event, serial 29, synthetic NO, window 0x8400001, root 0x25, subw 0x0, time 673410572, (125,124), root:(201,244), state 0x0, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES, XLookupString gives 0 characters: "" Num_lock + KP_End: KeyPress event, serial 29, synthetic NO, window 0x8400001, root 0x25, subw 0x0, time 675139460, (118,91), root:(238,255), state 0x20, keycode 96 (keysym 0xff9c, KP_End), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 29, synthetic NO, window 0x8400001, root 0x25, subw 0x0, time 675139556, (118,91), root:(238,255), state 0x20, keycode 96 (keysym 0xff9c, KP_End), same_screen YES, XLookupString gives 0 characters: "" KP_End alone: KeyPress event, serial 29, synthetic NO, window 0x8400001, root 0x25, subw 0x0, time 675241060, (57,119), root:(177,283), state 0x0, keycode 96 (keysym 0xff9c, KP_End), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 29, synthetic NO, window 0x8400001, root 0x25, subw 0x0, time 675241180, (57,119), root:(177,283), state 0x0, keycode 96 (keysym 0xff9c, KP_End), same_screen YES, XLookupString gives 0 characters: "" This looks good to me (though it doesn't tell me much). state is set to 0x20 when Num_lock is pressed. --=20 ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- Experience is something you don't get until just after you need it. -- Olivier