[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
<> and | symbols under symbols/is on pc104 keyboards
- To: helgi <helgip ( at ) callplus ( dot ) co ( dot ) nz>, rglug <rglug ( at ) rglug ( dot ) org>, xkeyboard-config <xkb ( at ) listserv ( dot ) bat ( dot ) ru>
- Subject: <> and | symbols under symbols/is on pc104 keyboards
- From: "Ãvar ArnfjÃrà Bjarmason" <avarab ( at ) gmail ( dot ) com>
- Date: Thu, 17 Jul 2008 10:03:30 +0000
- Delivered-to: mailing list rglug@rglug.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=mj3Vv/1VFL7UHHEyqTOS5g6ySFgrWrzG50RsQ+ZSMp0=; b=HMDL+2F+rjvZlmlG4xsW1JyGBGcxkbJFWeXFp24x4jayw4IhCfNqRWhOEApMuYeuUp vC8XiIzPkoh8iCtYJAKn+eVJ+/rsUPikTcirkEwWjOU13lUyhP2/tRc1kz+GFshCXmgN 7tZxaEOF0CEH5JEc5dpdJvSjzcH1G1HyOkSzU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=XUVNRQAloa8WUtUZ/23VTDpWgGxDlJxtFJ3bdsM2FC6xg4B0GgQ8Ofocinl5xucDtg mnAZt8sENakLD9KqWBaWdWbyYFluWoN9Ku1W0+Nal9JRtWPl0ggmaA3skCK7XtLKSu1y 9FiCTp01WennvyP3bl/wQRXyYBRXySJpdGZBs=
- List-help: <mailto:rglug-help@rglug.org>
- List-post: <mailto:rglug@rglug.org>
- List-subscribe: <mailto:rglug-subscribe@rglug.org>
- List-unsubscribe: <mailto:rglug-unsubscribe@rglug.org>
- Mailing-list: contact rglug-help@rglug.org; run by ezmlm
2008/7/16 helgi <helgip ( at ) callplus ( dot ) co ( dot ) nz>:
> SÃll,
>
> Ãg nota IS à Linux og er meà US hnappaborÃ. hvernig lÃst ÃÃr à aà not
> Ãessa skrà (viÃfest).
>
> munurinn er bara à ,.à Ãar sem Ãg hef breytt alt-gr à 'less','greater'
> og 'bar'
>
> Ãaà er ekkert annaà plÃss à borÃinu fyrir Ãessi tÃkn, og Ãg nota Ãau
> mikiÃ.
[Translation: The user wants to be able to type <> and | on pc104
keyboards which have no LSGT key (pc105 keyboards have them, pc104
keyboards don't) and proposes to modify AB08-AB10 keys on is(basic)
and is(nodeadkeys) for this purpose.]
This is most certainly a problem which everyone using the is layout[1]
runs into on pc104 keyboards which don't have an LSGT key (<>|) next
to AB01 (zZ).
I've thought about doing similar modifications on the is(basic) layout
but refrained from doing so since they've been unchanged for ages, and
someone might be using the Alt-Gr symbols defined on AB08-AB10
although I doubt it.
In particular I think changing AE02 (2) to have â and " accessible
through Alt-Gr instead of twosuperior and oneeighth (those could be
moved to the TLDE key) would be a good change since people using is
under X[1] can't type proper Icelandic quotation marks.
It might be better to define a new variant instead like the attached
patch to the xkeyboard-config git repository[2] does, it implements a
is(nolsgt) variant which does what you need.
But then again, maybe it wouldn't be so bad to deviate more from the
standard latin(basic) Alt-Gr keys on the is(basic) layout.
I'm forwarding this E-Mail to the rglug mailing list since it probably
has the highest number of people who care about the is layouts, and
the xkeyboard-config mailing list. Maybe there's another solution to
this problem that someone there knows about, like some composing of
the is(basic) layout and some existing pc104 compatibility layout.
1. Except is(mac) and is(dvorak)
2. Repository at git://anongit.freedesktop.org/git/xkeyboard-config
// $XKeyboardConfig: xkbdesc/symbols/is,v 1.8 2006/10/01 21:35:25 svu Exp $
// based on
// XKB keyboard by Hrafnkell Eiriksson - hkelle ( at ) rhi ( dot ) hi ( dot ) is
// fixes by Olafur Osvaldsson - oli ( at ) isnic ( dot ) is
//
// $XFree86: xc/programs/xkbcomp/symbols/is,v 1.3 2002/11/26 01:57:25 dawes Exp $
default partial alphanumeric_keys
xkb_symbols "basic" {
include "latin(type4)"
name[Group1]="Iceland";
key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
key <AE04> { [ 4, dollar, onequarter, currency ] };
key <AE11> { [odiaeresis, Odiaeresis, backslash, questiondown ] };
key <AE12> { [ minus, underscore, ccedilla, dead_ogonek ] };
key <AD11> { [ eth, ETH, dead_diaeresis, dead_abovering ] };
key <AD12> { [apostrophe, question, asciitilde, dead_macron ] };
key <AC10> { [ ae, AE, asciicircum, dead_doubleacute ] };
key <AC11> { [dead_acute, Adiaeresis, dead_circumflex, dead_caron] };
key <TLDE> { [ degree, diaeresis, notsign, notsign ] };
key <BKSL> { [ plus, asterisk, grave, dead_breve ] };
key <AB08> { [ comma, semicolon, less ] };
key <AB09> { [ period, colon, greater ] };
key <AB10> { [ thorn, THORN, bar ] };
include "level3(ralt_switch)"
};
partial alphanumeric_keys
xkb_symbols "Sundeadkeys" {
// modify the basic Icelandic layout to use Sun dead keys
include "is(basic)"
name[Group1]="Iceland - Sun dead keys";
key <TLDE> { [SunFA_Circum, degree, notsign, notsign ] };
key <AE12> { [SunFA_Acute, SunFA_Grave, SunFA_Cedilla, SunFA_Cedilla ] };
key <AD11> { [udiaeresis, Udiaeresis, SunFA_Diaeresis, SunFA_Diaeresis ] };
key <AD12> { [ plus, asterisk, SunFA_Tilde, dead_macron ] };
key <AC10> { [odiaeresis, Odiaeresis, SunFA_Acute, SunFA_Acute ] };
key <AC11> { [adiaeresis, Adiaeresis, SunFA_Circum, SunFA_Circum ] };
key <BKSL> { [numbersign, acute, SunFA_Grave, SunFA_Grave ] };
};
partial alphanumeric_keys
xkb_symbols "nodeadkeys" {
// modify the basic Icelandic layout to not have any dead keys
include "is(basic)"
name[Group1]="Iceland - Eliminate dead keys";
key <TLDE> { [asciicircum, degree, notsign, notsign ] };
key <AE12> { [apostrophe, grave, cedilla, cedilla ] };
key <AD11> { [udiaeresis, Udiaeresis, diaeresis, diaeresis ] };
key <AD12> { [ plus, asterisk, asciitilde, macron ] };
key <AC10> { [odiaeresis, Odiaeresis, acute, acute ] };
key <AC11> { [adiaeresis, Adiaeresis, asciicircum, asciicircum ] };
key <BKSL> { [numbersign, acute, grave, grave ] };
key <AB08> { [ comma, semicolon, less ] };
key <AB09> { [ period, colon, greater ] };
key <AB10> { [ thorn, THORN, bar ] };
};
// Copyright (C) 2004, 2006 �var Arnfjörð Bjarmason <avarab ( at ) gmail ( dot ) com>
//
// = HISTORY
// * 2004-09-28:
// Initial cleanroom writing of the keymap, I just booted Mac OS X, opened
// TextEdit.app and wrote down what the value produced by each key was when I
// pressed it, a for a, A for shift + a, å for lalt + a etc and made the
// keymap from that information
//
// * 2006-01-14:
// Revised the comments in the file
//
// = NOTES
// * 20 characters in this keymap have no named character defined in
// include/keysymdef.h and as a result their Unicode code points in
// hexadecimal are listed here, these can be generated with the following
// perl command:
// $ perl -CA -e 'printf "U%x\n", ord shift' Ã?
// and converted back like:
// $ perl -CO -le '$_=shift;s/[^a-f0-9]//ig;print chr hex' Uc6
// * The Apple logo appears twice on this keymap like the Mac OS and Mac OS X
// keymaps. In the MacRoman encoding it has the code point 0xF0 (240) but it
// has no assigned code point in Unicode, the code point Apple uses for it is
// U+F8FF (63743) which is in the BMP's Private Use Area (U+E000â??U+F8FF)
// * This keymap has only been tested on a PowerBook6,5 (iBook G4) but it
// should work on other Apple laptop models which use the same keyboard
// layout. It will probably work on standard sized keyboards with little or
// no modification but it might not support them fully, please report if
// you're able to get it running with such a keyboard
// Copied from macintosh_vndr/is
partial alphanumeric_keys
xkb_symbols "mac" {
name[Group1]= "Iceland - Macintosh";
//-- Row 5 (E) --//
key <TLDE> { [ sterling, section, UF8FF, apostrophe ] };
key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] };
key <AE02> { [ 2, quotedbl, at, VoidSymbol ] };
key <AE03> { [ 3, numbersign, U2122, sterling ] };
key <AE04> { [ 4, dollar, U00A2, EuroSign ] };
key <AE05> { [ 5, percent, U2030, infinity ] };
key <AE06> { [ 6, ampersand, asciicircum, U2044 ] };
key <AE07> { [ 7, slash, backslash, U00F7 ] };
key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
key <AE09> { [ 9, parenright, bracketright, braceright ] };
key <AE10> { [ 0, equal, U2260, U2248 ] };
key <AE11> { [ odiaeresis, Odiaeresis, oslash, Ooblique ] };
key <AE12> { [ minus, underscore, endash, emdash ] };
//-- Row 4 (D) --//
key <AD01> { [ q, Q, paragraph, VoidSymbol ] };
key <AD02> { [ w, W, U2211, VoidSymbol ] };
key <AD03> { [ e, E, dead_grave, VoidSymbol ] };
key <AD04> { [ r, R, registered, VoidSymbol ] };
key <AD05> { [ t, T, degree, VoidSymbol ] };
key <AD06> { [ y, Y, yen, VoidSymbol ] };
key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] };
key <AD08> { [ i, I, U0131, U00AA ] };
key <AD09> { [ o, O, dead_circumflex,U00BA ] };
key <AD10> { [ p, P, Greek_pi, Greek_PI ] };
key <AD11> { [ eth, Eth, U201e, U201c ] };
key <AD12> { [ apostrophe, question, questiondown, U00B7 ] };
//-- Row 3 (C) --//
key <AC01> { [ a, A, aring, Aring ] };
key <AC02> { [ s, S, ssharp, abovedot ] };
key <AC03> { [ d, D, U2202, U2DA ] };
key <AC04> { [ f, F, U192, macron ] };
key <AC05> { [ g, G, copyright, breve ] };
key <AC06> { [ h, H, bar, VoidSymbol ] };
key <AC07> { [ j, J, U2206, U2dd ] };
key <AC08> { [ k, K, U00AC, VoidSymbol ] };
key <AC09> { [ l, L, U2026, caron ] };
key <AC10> { [ ae, AE, oe, OE ] };
key <AC11> { [ dead_acute, dead_diaeresis, U201A, U2018 ] };
key <BKSL> { [ plus, asterisk, U2022, plusminus ] };
//-- Row 2 (B) --//
key <LSGT> { [ less, greater, section, UF8FF ] };
key <AB01> { [ z, Z, U3A9, VoidSymbol ] };
key <AB02> { [ x, X, asciitilde, VoidSymbol ] };
key <AB03> { [ c, C, ccedilla, Ccedilla ] };
key <AB04> { [ v, V, U221A, U25CA ] };
key <AB05> { [ b, B, U222B, VoidSymbol ] };
key <AB06> { [ n, N, dead_tilde, VoidSymbol ] };
key <AB07> { [ m, M, U00B5, VoidSymbol ] };
key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] };
key <AB09> { [ period, colon, greaterthanequal,guillemotright ] };
key <AB10> { [ thorn, Thorn, U2019, U201d ] };
include "level3(ralt_switch)"
};
From 59f06317dcc39429e1df01420530fed7aaaebc3c Mon Sep 17 00:00:00 2001
From: =?utf-8?q?=C3=86var_Arnfj=C3=B6r=C3=B0_Bjarmason?= <avar ( at ) cpan ( dot ) org>
Date: Thu, 17 Jul 2008 09:52:46 +0000
Subject: [PATCH] is(nolsgt) layout
Signed-off-by: �var Arnfjörð Bjarmason <avar ( at ) cpan ( dot ) org>
---
rules/base.xml.in | 6 ++++++
symbols/is | 15 +++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/rules/base.xml.in b/rules/base.xml.in
index 20502d7..ec8d5e9 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -2600,6 +2600,12 @@
</variant>
<variant>
<configItem>
+ <name>nolsgt</name>
+ <_description>Lesser, greater and bar signs for keyboards with no LSGT key</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>mac</name>
<_description>Macintosh</_description>
</configItem>
diff --git a/symbols/is b/symbols/is
index ce03b3b..0bc3485 100644
--- a/symbols/is
+++ b/symbols/is
@@ -68,6 +68,21 @@ xkb_symbols "nodeadkeys" {
key <AB10> { [ thorn, THORN, dead_belowdot, abovedot ] };
};
+partial alphanumeric_keys
+xkb_symbols "nolsgt" {
+
+ // modify the basic Icelandic to have <> and | on e.g. pc104 (US)
+ // keyboards which have no LSGT key
+
+ include "is(basic)"
+
+ name[Group1]="Iceland - LSGT keys moved for pc104 keyboards";
+
+ key <AB08> { [ comma, semicolon, less ] };
+ key <AB09> { [ period, colon, greater ] };
+ key <AB10> { [ thorn, THORN, bar ] };
+};
+
// Copyright (C) 2004, 2006 �var Arnfjörð Bjarmason <avarab ( at ) gmail ( dot ) com>
//
// = HISTORY
--
1.5.2