From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17222 invoked by alias); 10 Jun 2011 09:33:18 -0000 Received: (qmail 17214 invoked by uid 22791); 10 Jun 2011 09:33:18 -0000 X-SWARE-Spam-Status: No, hits=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fmmailgate03.web.de (HELO fmmailgate03.web.de) (217.72.192.234) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Jun 2011 09:33:02 +0000 Received: from smtp02.web.de ( [172.20.0.184]) by fmmailgate03.web.de (Postfix) with ESMTP id 1B434192121BF for ; Fri, 10 Jun 2011 11:33:01 +0200 (CEST) Received: from [84.150.150.234] (helo=dlp122) by smtp02.web.de with asmtp (WEB.DE 4.110 #2) id 1QUy5M-0004PY-00 for cygwin-xfree@cygwin.com; Fri, 10 Jun 2011 11:33:00 +0200 From: "Paul Maier" To: Subject: I lose characters because keycode of Fn is same than DEL Date: Fri, 10 Jun 2011 09:33:00 -0000 Message-ID: <612FC9F74FD24AD98964B222EA085F89@sulzer.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Sender: svn-user@web.de X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-06/txt/msg00008.txt.bz2 Hi, on a a IBM Lenovo Laptop T60 there is a "Fn" key to adjust the screen brightness and such. That "Fn" key has the same keycode than the DEL key. Therefore I can't change the Fn key with xmodmap (because I would change the DEL key the same way.) When I adjust the screen brightness, I lose characters in the editor. Unfortunately the Fn key REPEATS firing delete while the key is pressed. And several times I didn't notice the loss before saving and leaving the editor. Here is the output of xev when I press the Fn key: (Pressing the DEL key would yield the very same output.) KeyPress event, serial 20, synthetic NO, window 0xa00001, root 0x101, subw 0xa00002, time 42594031, (35,42), root:(259,282), state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES, XLookupString gives 1 bytes: (7f) "<7f>" XFilterEvent returns: False What can we do? Thank you! Paul -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/