From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 13 20:31:41 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0C692243; Wed, 13 Aug 2014 20:31:41 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBEA42AE2; Wed, 13 Aug 2014 20:31:40 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id h3so2967348igd.8 for ; Wed, 13 Aug 2014 13:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=iFLP8dFNRnAxAoUa0S2w1ivaM6KIB61lt8uckOyGvzM=; b=KuN9w5ND57htgPK540ub3/L3wSvkQvPMBO3kcAQvw+UAD35WM8KRtFH6T3l+Q6bS/e Tf7xIVT/MOq/J6AxnUSs6ElcuRVuo8a+Jxit2tqiFCKYxcLq5ZNQJPKQJIV8khHgIaVW C4kkfcFPxuzS1ztwT9s9WjylLzr0TPvHyusy39wUlpW+3LUz1nmLIoDtbk4FWrd8kQ7v WDLw4wkOzbTwDuqRHD6tTrnnlPC5a+YHoSoZAkVALV4Z1XaCfFkz1ag1AKkKk80tmJzM jTstqE4AEUQyS3HvjRF/TfULmHlRgu7DxpFxx48680b8zdneyHNMB5Q/mtfQp8GSH2lG /FOQ== X-Received: by 10.50.6.77 with SMTP id y13mr10892497igy.21.1407961900141; Wed, 13 Aug 2014 13:31:40 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.131.38 with HTTP; Wed, 13 Aug 2014 13:31:20 -0700 (PDT) In-Reply-To: <53EB0DA0.5000305@freebsd.org> References: <53EA0EC2.2070601@freebsd.org> <53EA1E5A.5020707@FreeBSD.org> <53EA2D00.7010307@freebsd.org> <53EB0DA0.5000305@freebsd.org> From: Ed Maste Date: Wed, 13 Aug 2014 16:31:20 -0400 X-Google-Sender-Auth: ZnuYBixi2mhUJWHsyvQIBTae2NM Message-ID: Subject: Re: Keymap definitions for VT / NEWCONS To: Stefan Esser Content-Type: text/plain; charset=UTF-8 Cc: "Andrey V. Elsukov" , Aleksandr Rybalko , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 20:31:41 -0000 On 13 August 2014 03:02, Stefan Esser wrote: > > I have renamed the files to 2-character ISO country code names, and > have used the form "fr_CH.kbd" (instead of "swisscfrench.iso.kbd") > where there are several locales within a country. This sounds good to me. > Unresolved: > > - Shall keymap names for countries where language and country are > identical (e.g. "pt.kbd") be converted to "pt_PT.kbd"? > (I'd say yes ...) We already had ua.kbd and pl.kbd and I just now brought over the ??.iso.kbd files before catching up on this thread. It seems reasonable to me to use only the language code unless we need to be more specific. > - In the example of Switzerland, "swissgerman.kbd" becomes "de_CH.kbd". Sounds good to me. > * Do we want to add "ch.kbd", too? > * Should it be a symlink to one of the other keymap files (the > majority of the Swiss population would use de_CH, I guess) ... > That would imply, that for every locale selected by a user, there > is a matching default keyboard. I wouldn't worry about this unless there's a precedent in X11 or the Linux console. > And after all these normalizations have been performed: > > - How do we deal with accented versions of keymaps? > (Those with ".acc." in their names ...) I think we can just bring them over as ??.acc.kbd once we've verified they work as expected. > - Do we keep all those variants that only differe in the handling > of the Caps-Lock key (which often is mapped to an additional > Control key)? I don't see why not. Oh, one other point: I'll add a stripped-down share/vt/INDEX.keymaps shortly, and we can add new entries there as we bring the keymaps over. We'll also need UTF-8 encoded translations of the names. -Ed