X-Recipient: archive-cygwin AT delorie DOT 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=QaOiZDWXdu9G19ona6+yFk/sVAl/Vis+njMk8MPQeFV rJgWyM/9EHH0VRZbGAGQGN95Tm/N3QDJXE1SRKoXRNrGwP/QSe1/ESQreBaot15C 1ZiPft8NtwEn7m7bNP+kvUbZ6fI5YRONoEMiZxPWftH8cVrn7fstq7r5nRjGOoG8 = 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=srTupkKOkiMYYU2yEks32+cQYcE=; b=B670oEFEG4KHzQyAe FIyEpBDegVSuHPR73S/l9GYwf6GsNeby6BR9hfKKR66AZMmCahjUQHfByB6WNb1F DAts1Rm0P/yj9VBtS6wcISVCnUW/LCm2HJsa8FA+dwcENOYvznSTlfM6CJiD/lkK ayXV8wLCuSvg9pFBI46EBN4VOs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Items, States, United, united X-HELO: mail-wm0-f54.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=JEdRSiCf/Mw3jurqjpKkRznj4LSnKILz68r3h0BVzM8=; b=EoPN69yGI3KI3E8QIWMKQy8Nz3TE18xuXeZJBF2m/LmUnyA4uqGz0SjoR6SuUOXZ0l PAhJcvsKb6SLEoFAldeN4iguyi34fxkASLqy6+S3MB7cwZU1KE/MKTfN1u0P7fkVcO5f wP8Ga82LFygyaAeER0cWPI5RyH3pmV2halp6/T4tjnS6saQj0MSPgRzI3K9UWK1o38XO xUOVvcDmEgjy+8+kfZzuFfQgkEkxFk2iQK9iUts9NdlN0VjGGgAY89aVWcEaKN463SiB fwRqRGS3Z0IoFkTJ3OxSB/l+iLzLbwX1pzwv8N9RWZ5RjFH0W0v9EcEE/BjCZ9OaufMH 3Z+Q== X-Gm-Message-State: APt69E3/QrIsKn4G5ezfLQtrHdX47go0aEpY9HUGUjhhNNGAfONmaW6n laQsAzrl82S1CZwf+BGA/kAYu0oFy3GErd4thq8LzBay X-Google-Smtp-Source: ADUXVKLZKAJpZ9kPERvyYSHAC4GXgmUgN0Ct9XMvYc8BzhPmrRlBDPzRxFzO7KChUSxEM4kxT9CBXmYavETGCmA1sV8= X-Received: by 2002:aa7:c6c3:: with SMTP id b3-v6mr5558537eds.302.1528324394025; Wed, 06 Jun 2018 15:33:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <636f4ac0-bd18-5ba0-5b81-c67f6d8fea96@dronecode.org.uk> References: <0f87d9a8-4e32-4edb-26b4-648b28358309 AT gmail DOT com> <636f4ac0-bd18-5ba0-5b81-c67f6d8fea96 AT dronecode DOT org DOT uk> From: Matt Nicholas Date: Wed, 6 Jun 2018 15:33:13 -0700 Message-ID: Subject: Re: xterm / Windows 10 question To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w56MXbjR020403 Hi Jon, 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)*. 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.) Best Regards, --- Matt On Wed, Jun 6, 2018 at 1:17 PM, Jon Turney wrote: > On 05/06/2018 18:19, Matt Nicholas wrote: > >> Hi David, >> Thanks for the suggestion. Unfortunately, toggling the input method does >> not make a difference in an xterm window. (It does, by the way, have the >> effect you mention in a Cygwin64 terminal window.) >> > > The X server does not use the Windows input method, but tries to setup an > appropriate X keyboard configuration based on the Windows keyboard layout > selected when it starts up. > > I suspect that an unexpected keyboard configuration is being used, if it > has dead keys when you don't want them. > > Can you show /var/log/XWin.0.log, or at least the portion of that > describing what keyboard configuration is being selected, e.g.: > > [1236607.031] (--) Windows keyboard layout: "00000809" (00000809) "United >> Kingdom", type 4 >> [1236607.031] (--) Found matching XKB configuration "English (United >> Kingdom)" >> [1236607.031] (--) Model = "pc105" Layout = "gb" Variant = "none" Options >> = "none" >> > > --- Matt >> >> >> On Mon, Jun 4, 2018 at 7:21 PM, David Billinghurst >> wrote: >> >> On 2018-06-05 10:47, Matt Nicholas wrote: >>> >>> I recently obtained a Dell Precision laptop running Windows 10. >>> >>>> I installed 64-bit Cygwin, including various packages that are not part >>>> of >>>> the minimal install. >>>> >>>> >>> The problem I'm having is that when I type single quote or double quote >>> >>>> characters in the xterm window, no character appears with the first >>>> keystroke. >>>> >>>> This may be an issue with the input method configured for the keyboard. >>> You can toggle this with +. Many Dell machines are >>> configured to use the US-international keyboard that encodes " to >>> an >>> umlaut, so "e to ë and so on. As a monlingual Aussie I find the plain >>> "US >>> Keyboard" has fewer surprises. >>> >> > -- 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