public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Paul Maier" <svn-user@web.de>
To: "'cygwin-xfree'" <cygwin-xfree@cygwin.com>
Cc: "'Jon TURNEY'" <jon.turney@dronecode.org.uk>
Subject: AW: 'de' keyboard layout issues (Re: AW: AW: AltGr key mostly fires an additional CONTROL key)
Date: Mon, 08 Aug 2011 23:17:00 -0000	[thread overview]
Message-ID: <001c01cc5621$4ae653e0$e0b2fba0$@de> (raw)
In-Reply-To: <4E40016D.2080801@dronecode.org.uk>

Hi Jon,


1. Tilde sign
-------------

> > Tilde sign (~) should be a normal (not a blind) key.
> >    In Windows I hit AltGr+"+" to get ~, in XWin I need to type AltGr+"+" then space to
> get a ~.
> >    See attachment for the initial XWin xmodmap -pke table.
> >    Possible xmodmap correction (works fine):
> >    keycode  35 = plus asterisk plus asterisk asciitilde
> 
> This is a can of worms I don't want to open :-)
> 
> At the moment, in the 'de' layout, the tilde deadkey will add a macron
> diacritic, e.g. AltGr + "+" + a = ã.
> 
> I really lack the expertise to determine if this is a bug in xkeyboard-config
> (if this german keyboard behavior is something no german keyboard user would
> ever expect or want)
> 
> The xkb configurations we use come from the xkeyboard-config project, and
> aren't trying to be identical to Windows, but to conform to the appropriate
> national standards and user expectations.
> 
> However, I can see in the case of XWin this is problematic, as it will be
> confusing to switch between X and normal Windows windows which have different
> keyboard behavior.

I did some research: German computer keyboard layout is defined in DIN 2137-2.
And to my surprise I found, that tilde is a dead key there.
That means, that the xkeyboard-config project perfectly matches the DIN norm,
while Windows (where the key is not dead) does not match it.
So I understand, that you may want to stick to the DIN norm.
A workaround for guys like me, who want the XWin keyboard work the same like Windows,
is possible with xmodmap, so yeah ... let's close this point.


2. Euro currency sign
---------------------

> > Euro Currency sign doesn't work.
> >    I know - it's not a latin1 character, but together with CP1252 this xmodmap
> correction works like Windows:
> >    keycode  26 = e E e E 0x0080
> 
> I guess this is another symptom of Xlib not understanding the de_DE.CP1252 locale.
> This works fine in the de_DE.UTF-8 locale.

I agree to concentrate on more important stuff.


3. Non breaking space (NBSP) on ALT+space
-----------------------------------------

> > ALT+Space produces a NBSP character (HEX A0) in Windows, but not in XWin.
> >    xmodmap correction is unfortunately not possible, because the xmodmap setting on
> ISO_Level3_Shift+Space is just thrown away:
> >    Something like
> >    keycode  65 = space NoSymbol space NoSymbol nobreakspace
> >    or
> >    keycode  65 = space space space space nobreakspace
> >    doesn't work: it's discarded and the setting is not shown on a "xmodmap -pke".
> >    So I put nobreakspace to the fifth place of another key - there it works.
> >    That would be good if key 65 (space key) would accept above xmodmap setting or have
> it initially.
> 
> Reading [1], this looks like an (undocumented) Windows-ism
> 
> http://en.wikipedia.org/wiki/Non-breaking_space#Keyboard_entry_methods

I found out, that DIN 2137-2:2003-09 defines two different keyboard layouts, the one having ALT+space
undefinied (the common layout with an extra "<"/">" key left to the y key; see page 27 of that DIN norm), 
the other one defining ALT+space as NBSP (see page 9 of that DIN norm, table 2, line 1).

So it's fine, that ALT+space is undefined by default. But it wouldn't harm anybody, if
ALT+space were xmodmap redefinable, so that those guys, who got used to using ALT+space
in Windows, have a chance to xmodmap it themselves.

And: for all other keys you can xmodmap what you like on ALT+key, so why not for ALT+space?
I can easily xmodmap the NBSP onto another key, but if you try to do the same with the space key,
XWin doesn't take it:

Try xmodmapping
  keycode  65 = space NoSymbol space NoSymbol nobreakspace
    or
  keycode  65 = space space space space nobreakspace
then issue a "xmodmap -pke" ... and the NBSP is not on the space key.


4. Number block
---------------

> I can't reproduce this problem.
> 
> I wonder if this is a problem with handling numpad overlaid onto normal keys
> on a laptop keypad?  Again, -logverbose 3 output together with xev output
> would be helpful.

That was referring to plugging an external (USB) keyboard to the Laptop.
I got a new external keyboard recently.
The number block was not working with my old external keyboard, but with
the new one I can't reproduce the problem, with other words, it is working there.
Unfortunately I don't have the old keyboard any more, so I can't help you
debugging this issue. Maybe somebody else calls.


Regards,
  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-08-08 23:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <006301cc4fb3$2696d060$73c47120$@de>
2011-08-01 14:57 ` AltGr key mostly fires an additional CONTROL key Jon TURNEY
     [not found]   ` <000001cc5085$6b711fb0$42535f10$@de>
2011-08-03 13:15     ` AW: " Jon TURNEY
2011-08-04  2:22       ` AW: " Paul Maier
2011-08-08 15:32         ` 'de' keyboard layout issues (Re: AW: AW: AltGr key mostly fires an additional CONTROL key) Jon TURNEY
2011-08-08 23:17           ` Paul Maier [this message]
2011-08-10 12:12             ` AW: " Jon TURNEY
2011-08-12  6:49               ` Paul Maier
2011-08-16 13:10                 ` Jon TURNEY
2011-10-03 11:29                   ` AW: AW: 'de' keyboard layout issues Paul Maier
2012-08-06 12:49                     ` Jon TURNEY
2012-07-22  0:22                   ` Paul Maier
2012-08-06 12:22                   ` AW: 'de' keyboard layout issues (Re: AW: AW: AltGr key mostly fires an additional CONTROL key) Jon TURNEY
2011-10-03 10:16       ` AW: AW: AltGr key mostly fires an additional CONTROL key Paul Maier

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='001c01cc5621$4ae653e0$e0b2fba0$@de' \
    --to=svn-user@web.de \
    --cc=cygwin-xfree@cygwin.com \
    --cc=jon.turney@dronecode.org.uk \
    /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).