From owner-freebsd-bugs@freebsd.org Tue May 29 12:50:30 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7877DF7A23C for ; Tue, 29 May 2018 12:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0B53C68822 for ; Tue, 29 May 2018 12:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B66C8F7A229; Tue, 29 May 2018 12:50:29 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91834F7A228 for ; Tue, 29 May 2018 12:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C6436881F for ; Tue, 29 May 2018 12:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 80F0A96FA for ; Tue, 29 May 2018 12:50:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4TCoSb5088122 for ; Tue, 29 May 2018 12:50:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4TCoSHI088121 for bugs@FreeBSD.org; Tue, 29 May 2018 12:50:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228588] [PATCH] Keymap file to provide Irish language support Date: Tue, 29 May 2018 12:50:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: micheal.maclochlainn@oegaillimh.ie X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 12:50:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228588 Bug ID: 228588 Summary: [PATCH] Keymap file to provide Irish language support Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: micheal.maclochlainn@oegaillimh.ie Created attachment 193812 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193812&action= =3Dedit Keymap file to provide Irish language support Hello. I'm new to the FreeBSD community. I've read the rules but please be understanding if I accidentally break any :) I needed an Irish language keymap for use in the vt console but, as far as I can tell, FreeBSD doesn't have one so I made my own and I offer it here as a patch. Basically, I took the uk.kbd keymap as a starting point and 'overlayed' Iri= sh mappings, following those used in the Irish keyboard layout of X.Org. I took this approach for cross-*nix consistency; also for internal consistency with X.Org installs on FreeBSD. For the same reason, I moved the Euro symbol from Alt Gr + e to Alt Gr + 4. I did make _one_ unique tweak: I added a mapping (Shift + Alt Gr + spacebar) for the non-breaking hyphen, which is typographically very useful in Irish. I'd wanted to fully-emulate the Irish X.Org keyboard layout but I couldn't = get a lot (most?) of its dead keys to work so I settled for a 'basic' layout th= at supports a working subset of X.Org's Irish modifier key mappings and also accent/deadkey mappings for the grave accent. This subset includes all the linguistic essentials for Irish and, because of the grave accent key mappin= gs, also provides support for Scottish Gaelic, which is closely-related to Iris= h. I can see no reason why this keymap shouldn't be perfectly usable to any Ir= ish (or even UK) user working in English. All the commonly-used characters have been left exactly where you'd expect to find them on an Irish- or UK English keyboard. I've tested this keymap over the past month and a half and it seems to work fine - but with two caveats: 1. I have non-breaking space (again, typographically very useful) mapped to= Alt Gr + spacebar but I can't get it to work at all: you press the key combinat= ion but nothing happens. This is the only mapping that doesn't result in the correct character being entered. 2. Several of the Irish characters lack glyph support in the 'native' conso= le fonts available to vt, and you only get an unknown-glyph square - or an amp= ty space, depending on the font - when you enter them. I tested to make sure it _was_ just a matter of glyph support by taking a Unifont .bdf file, feeding= it to vtfontcvt to make a vt-compatible .fnt file and then running vidcontrol = -f to load it. All characters _except_ non-breaking space then rendered perfec= tly. (I've also created an Irish locale (ga_IE.UTF-8) for vt but that's really a different matter so I've offered it as a separate patch (228587).) --=20 You are receiving this mail because: You are the assignee for the bug.=