public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Paul Maier" <svn-user@web.de>
To: <cygwin-xfree@cygwin.com>
Subject: I lose characters because keycode of Fn is same than DEL
Date: Fri, 10 Jun 2011 09:33:00 -0000	[thread overview]
Message-ID: <612FC9F74FD24AD98964B222EA085F89@sulzer.de> (raw)

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/


             reply	other threads:[~2011-06-10  9:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10  9:33 Paul Maier [this message]
2011-06-23 11:34 ` Jon TURNEY
2011-06-30  8:40   ` Phil Betts
2011-06-30 16:51     ` Jon TURNEY
2011-07-01 11:21       ` Phil Betts
2011-07-01 15:14         ` Jon TURNEY
2011-07-05 12:50           ` Phil Betts
2011-07-06  8:16             ` Jon TURNEY

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=612FC9F74FD24AD98964B222EA085F89@sulzer.de \
    --to=svn-user@web.de \
    --cc=cygwin-xfree@cygwin.com \
    /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.
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).