X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:cc:reply-to:from
	:message-id:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=jqrOhTVS/01Dgi0E
	G79FbalS9b5zj+mBNw3MumepIISCzTo4/vwzGsTMVkns/F/QrOgJwbHiG8wtGmT/
	W5VdF7eYCicm+YJiK91/hzVR7buvwMpkS3j0Wt6oq2Cv2fA4F6EoYjQBgId0BvSM
	viCuO/g05bNPm53anlkMiuve1e0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:cc:reply-to:from
	:message-id:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=VNHbeROsRy/m3SLo2RP7iI
	n07mA=; b=vJCH0QJRfH8QAwSv8VMikGVGLuGS8CBh7HTd8URvYSMkwlPFq5+poo
	Jgg4fpOPcqTEYGHK/1wCEwSOGsPNnUt0kezMXMY9o8ljrg4qDaKPhZza70+TmTOH
	QlWXEdB160dSmbfVpnbB97x+ASXrimFxdb18gavgQos70XcS2bC4M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Control, display, Cygwin, keys
X-HELO: out1-smtp.messagingengine.com
X-ME-Proxy: <xmx:co8dW0zpkpT9pLGvxhMAdWuMrdh-twGlSERJ7M4YiuYwBtnX8Pyecw>
X-ME-Proxy: <xmx:co8dWw7hhTF3AAZpI2TzbDg8RIoTq9s9i6nzHIcFjPgdUpHLfDMkpQ>
X-ME-Proxy: <xmx:co8dW9w5APJz8RMpsCwFfcuhhpTiiaFpMWVXkXlkQ7baYF9O7CWvWg>
X-ME-Proxy: <xmx:co8dW8dlryyAbB9vbfYFkkK40lNDVmRQmtGZ5hA0LWIuypxzGFDrzA>
X-ME-Proxy: <xmx:co8dW6CKxL634890b3YCtVLEGAcVofpcC_f5FEVpL3rCKRYXWTlVjw>
X-ME-Proxy: <xmx:co8dW7egSzTKbhmohz_HQaOVY0242qWBfVqrCEjb5agKO9g2AJqwyA>
X-ME-Sender: <xms:co8dW6BGRMWR6PXVfMRtXcjRNBHYAJEgUYjfcjJ87qPMJ1Mpto8AJA>
Subject: Re: xterm / Windows 10 question
To: The Cygwin Mailing List <cygwin@cygwin.com>
References: <CAJuLzxBtLCYDs6tm3Q7+0imQqX+SgGd3=8aKJsGcU7Ling2mYw@mail.gmail.com> <0f87d9a8-4e32-4edb-26b4-648b28358309@gmail.com> <CAJuLzxDpFHjo_bMnnSBd2qbeK9iTx54Y=p85u3Quwegt4Y8A8w@mail.gmail.com> <636f4ac0-bd18-5ba0-5b81-c67f6d8fea96@dronecode.org.uk> <CAJuLzxAi00DMuHc9XgPc-7S_XD0MpzFZWGqPnV2eho34v645Bw@mail.gmail.com>
Cc: Matt Nicholas <mattdn@gmail.com>
Reply-To: The Cygwin Mailing List <cygwin@cygwin.com>
From: Jon Turney <jon.turney@dronecode.org.uk>
Message-ID: <058ccbd0-ecc4-87db-85c4-1447e28d589e@dronecode.org.uk>
Date: Sun, 10 Jun 2018 21:52:00 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <CAJuLzxAi00DMuHc9XgPc-7S_XD0MpzFZWGqPnV2eho34v645Bw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

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

