public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Matt Nicholas <mattdn@gmail.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: xterm / Windows 10 question
Date: Tue, 12 Jun 2018 08:53:00 -0000	[thread overview]
Message-ID: <CAJuLzxA8xP0fT=c0NV1ouy-5R4beWOvV9CH-tHv8BGZU3sDKDw@mail.gmail.com> (raw)
In-Reply-To: <058ccbd0-ecc4-87db-85c4-1447e28d589e@dronecode.org.uk>

Hi Jon,

Thanks for the additional comments.

The two keyboard layouts that are installed are "ENG US" and "ENG INTL".
(These are the two I see when I toggle through them using <Windows
Key>+space.)

I just rebooted the laptop and did not observe the problem with xterm
windows that prompted my initial post.  I suppose this all makes sense
based on the fact that xterm windows use the layout that was in effect when
the X Server was started.  I.e., you can't subsequently change the behavior
of xterm by selecting a different layout using <Windows Key>+space.  (At
that point can use "setxkbmap us".)

My understanding at this point is that the only thing necessary is to make
sure the desired layout (in my case "ENG US") is selected before starting
the X Server.

--- Matt




On Sun, Jun 10, 2018 at 1:52 PM, Jon Turney <jon.turney@dronecode.org.uk>
wrote:

> On 06/06/2018 23:33, Matt Nicholas wrote:
>
>> That was the clue I needed.  Thanks!
>>
>> Here are the relevant lines from my */var/log/xwin/XWin.0.log*:
>>
>> [494293.296] (--) Windows keyboard layout: "00020409" (00020409) "United
>> States-International", type 7
>> [494293.296] (--) Found matching XKB configuration "English
>> (USA,International)"
>> [494293.296] (--) Model = "pc105" Layout = "us_intl" Variant = "none"
>> Options = "none"
>> [494293.296] Rules = "base" Model = "pc105" Layout = "us_intl" Variant =
>> "none" Options = "none"
>>
>> I'm not sure why the X server starts with *Layout = "us_intl"*, because if
>> I look in *Control Panel > All Control Panel Items > Language* it says the
>> language is *English (United States)*.
>>
>
> "Display language" and "Keyboard Layout/Input method" are different
> concepts, although they seem to be somewhat combined in the settings app
> now.
>
> However, I found that if I enter the command "*setxkbmap us*" in an xterm
>> window it solves the problem (i.e., single quote and double quote
>> characters are no longer dead keys).
>>
>> I'm still not sure how best to configure it so that the X server starts
>> with "us" instead of "us_intl" automatically, but that's a minor issue in
>> any case -- entering the "setxkbmap us" command is easy enough.
>> (I can probably put the "setxkbmap us" command in ".bash_profile", if I
>> don't find a more appropriate place.)
>>
>
> I don't think this is working as intended.  If you don't have the US
> international keyboard layout active when the X server is started (which
> I'm assuming isn't the case, or you wouldn't be surprised by the deadkeys
> that layout uses), it shouldn't be selected.
>
> Perhaps you can clarify what keyboard layouts you have installed?
>
> --
> Jon Turney
> Volunteer Cygwin/X X Server maintainer
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2018-06-12  2:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-05  0:47 Matt Nicholas
2018-06-05  0:51 ` Matt Nicholas
2018-06-05  4:04   ` Marco Atzeri
2018-06-05  6:21     ` Thomas Wolff
2018-06-05 15:35     ` Andrey Repin
2018-06-05  2:21 ` David Billinghurst
2018-06-05 17:19   ` Matt Nicholas
2018-06-06 20:18     ` Jon Turney
2018-06-06 22:33       ` Matt Nicholas
2018-06-06 22:46         ` Stefan Baur
2018-06-10 20:52         ` Jon Turney
2018-06-12  8:53           ` Matt Nicholas [this message]
2018-06-13  8:10             ` Andrey Repin
2018-06-13 21:22               ` Matt Nicholas

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='CAJuLzxA8xP0fT=c0NV1ouy-5R4beWOvV9CH-tHv8BGZU3sDKDw@mail.gmail.com' \
    --to=mattdn@gmail.com \
    --cc=cygwin@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).