From owner-freebsd-x11@FreeBSD.ORG Wed Apr 28 04:20:34 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA06B1065672 for ; Wed, 28 Apr 2010 04:20:34 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by mx1.freebsd.org (Postfix) with ESMTP id 91FCA8FC0A for ; Wed, 28 Apr 2010 04:20:34 +0000 (UTC) Received: by gxk3 with SMTP id 3so6728137gxk.13 for ; Tue, 27 Apr 2010 21:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aWbJMsKzO+OkGFvUXSDhBPniTxoQX5YIDiKaNmUpCj4=; b=NTrMreNqG2oehq6eEFx99XnkJREikDSkIrS75Bf2dEttFWxlrFUqeHkjy3TiMA23q4 zjgvS/GLaYpxsVzNfipUVjCn/G2ITc+BxD3eXvX8rfj1aWUopf6doCynXK9wvyAiFpI1 vVemPzWfcTMWOt45SbaiDFRyM18j+kssjwsXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bsr44UAZ18oe1pL/oJWAnr+gaw4kw0xgsHXLq5OAEgW07CQ7UbKSQ+qwDx4JN3CqcG W4vknjU07uTiZ4sbnLFMv5mAU1XeNnHrGFAnkJvsgwckUkLtYx1NQSvd3pvC8cdDf/mu TXoTP+jDdGjddbRUGSOJcNWEPcrkm4aQlnnA4= MIME-Version: 1.0 Received: by 10.90.38.13 with SMTP id l13mr3245880agl.119.1272428429422; Tue, 27 Apr 2010 21:20:29 -0700 (PDT) Received: by 10.90.120.20 with HTTP; Tue, 27 Apr 2010 21:20:29 -0700 (PDT) In-Reply-To: <4BD6D06D.6010601@icyb.net.ua> References: <4BD6D06D.6010601@icyb.net.ua> Date: Tue, 27 Apr 2010 21:20:29 -0700 Message-ID: From: John W To: Andriy Gapon Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-x11@freebsd.org Subject: Re: Compose key oddity X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 04:20:35 -0000 On Tue, Apr 27, 2010 at 4:54 AM, Andriy Gapon wrote: > on 27/04/2010 07:39 John W said the following: >> >> Is there some other configuration file(s) that are influencing things? > > ~/.XCompose > And also your keyboard layout, of course. > Perhaps when you press '.' button you indeed get dead_abovedot symbol in = X? > > What's your keyboard layout? > What happens if you just pres (without Compose key)? > You can also run xev and see what keyboard events get generated on variou= s key > presses. > I have no ~/.XCompose file, so that's out. If I press , I get two periods, so it can't be a dead key, it seems. I think a dead key will not register the first time you press it, if I understand correctly. Running xev (thanks for telling me about that one!) gives interesting outpu= t. typing gives these events: KeyPress for keycode 115 (which is rwin) KeyRelease for keycode 115 KeyPress for '.' KeyRelease for '.' KeyPress for '.' KeyPress for '=85' <-- It sees the ellipsis! KeyRelease for '.' In fact the DOT ABOVE character doesn't show up in xev's output at all. And yet it shows up everywhere else I try it. To my surprise, I haven't yet found a good way to simply print out what my current keyboard layout is... Also I'm not sure if there's a separate layout for X and for the OS in general, I think they're different. For OS keyboard map: I don't have anything defined in rc.conf, so I'm just using the kernel default, I think. However, looking at /usr/src/sys/amd64/conf/NOTES, I see these lines: # Options for atkbd: options ATKBD_DFLT_KEYMAP # specify the built-in keymap makeoptions ATKBD_DFLT_KEYMAP=3Djp.106 Can that really mean that I'm using a japanese keyboard layout by default? If so, that seems wrong for me. I will keep trying to find a way to simply determine what layout is currently being used - there must be some command for it. For X side of things, I see this in my Xorg.0.log: (**) Option "XkbModel" "pc105" (**) AT Keyboard: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) AT Keyboard: XkbLayout: "us" I couldn't find a better way to determine my current in-use keyboard map. Perhaps there's some command for that? 'setxkbmap -print' had some cryptic output. >> This is FreeBSD 7.2-RELEASE, with Xorg 7.4.2; X.Org X Server 1.6.1, in >> case that matters. > > I don't think that this is a FreeBSD-specific issue. > There is a specialized xkb mailing list: > http://listserv.bat.ru/xkb/List.html > Thanks for that link, I'll nose around there. -John