<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>German keyboard layout kinesis ego advantage2</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/690 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="690"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="image"&gt;&lt;img src="690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/2020-09-10 xkbcomp umlauts escape characters.png" alt="2020-09-10 xkbcomp umlauts escape characters.png"/&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/2020-09-10 xkbcomp umlauts escape characters.png" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/690#2020-09-10 xkbcomp umlauts escape characters.png"&gt;2020-09-10 xkbcomp umlauts escape characters.png&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="xkb"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;partial
xkb_types &amp;quot;complete&amp;quot; {
&amp;#160; &amp;#160; type &amp;quot;FOUR_LEVEL_RALT&amp;quot; {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; modifiers= Shift+LevelThree;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; map[Shift]= Level2;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; map[LevelThree]= Level3;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; map[Shift+LevelThree]= Level4;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; level_name[Level1]= &amp;quot;Base&amp;quot;;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; level_name[Level2]= &amp;quot;Shift&amp;quot;;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; level_name[Level3]= &amp;quot;Level3&amp;quot;;
&amp;#160; &amp;#160; &amp;#160; &amp;#160; level_name[Level4]= &amp;quot;Shift Level3&amp;quot;;
&amp;#160; &amp;#160; };
};
&amp;#160;
partial
xkb_symbols &amp;quot;pc+de(nodeadkeys)+us:2+de:3+inet(evdev)&amp;quot; {
&amp;#160; &amp;#160; include &amp;quot;pc+de(nodeadkeys)+us:2+de:3+inet(evdev)&amp;quot;
&amp;#160;
&amp;#160; &amp;#160; key &amp;lt;AC01&amp;gt; {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group1]= &amp;quot;FOUR_LEVEL_ALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group2]= &amp;quot;FOUR_LEVEL_RALT&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group3]= &amp;quot;FOUR_LEVEL_ALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group1]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; a, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; A, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;ae, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;AE ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group2]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; a, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; A, &amp;#160; &amp;#160; &amp;#160;adiaeresis, &amp;#160; &amp;#160; &amp;#160;Adiaeresis ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group3]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; a, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; A, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;ae, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;AE ]
&amp;#160; &amp;#160; };
&amp;#160; &amp;#160; key &amp;lt;AC02&amp;gt; {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group1]= &amp;quot;FOUR_LEVEL_SEMIALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group2]= &amp;quot;FOUR_LEVEL_RALT&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group3]= &amp;quot;FOUR_LEVEL_SEMIALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group1]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; s, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; S, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U017F, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U1E9E ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group2]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; s, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; S, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;ssharp, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;ssharp ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group3]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; s, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; S, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U017F, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U1E9E ]
&amp;#160; &amp;#160; };
&amp;#160;
&amp;#160; &amp;#160; key &amp;lt;AD03&amp;gt; {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group1]= &amp;quot;FOUR_LEVEL_SEMIALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group2]= &amp;quot;FOUR_LEVEL_RALT&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group3]= &amp;quot;FOUR_LEVEL_SEMIALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group1]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; e, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; E, &amp;#160; &amp;#160; &amp;#160; &amp;#160;EuroSign, &amp;#160; &amp;#160; &amp;#160; &amp;#160;EuroSign ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group2]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; e, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; E, &amp;#160; &amp;#160; &amp;#160; &amp;#160;EuroSign, &amp;#160; &amp;#160; &amp;#160; &amp;#160;EuroSign ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group3]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; e, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; E, &amp;#160; &amp;#160; &amp;#160; &amp;#160;EuroSign, &amp;#160; &amp;#160; &amp;#160; &amp;#160;EuroSign ]
&amp;#160; &amp;#160; };
&amp;#160; &amp;#160; key &amp;lt;AD07&amp;gt; {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group1]= &amp;quot;FOUR_LEVEL_SEMIALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group2]= &amp;quot;FOUR_LEVEL_RALT&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group3]= &amp;quot;FOUR_LEVEL_SEMIALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group1]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; u, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U, &amp;#160; &amp;#160; &amp;#160; downarrow, &amp;#160; &amp;#160; &amp;#160; &amp;#160; uparrow ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group2]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; u, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U, &amp;#160; &amp;#160; &amp;#160;udiaeresis, &amp;#160; &amp;#160; &amp;#160;Udiaeresis ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group3]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; u, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; U, &amp;#160; &amp;#160; &amp;#160; downarrow, &amp;#160; &amp;#160; &amp;#160; &amp;#160; uparrow ]
&amp;#160; &amp;#160; };
&amp;#160; &amp;#160; key &amp;lt;AD09&amp;gt; {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group1]= &amp;quot;FOUR_LEVEL_ALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group2]= &amp;quot;FOUR_LEVEL_RALT&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; type[group3]= &amp;quot;FOUR_LEVEL_ALPHABETIC&amp;quot;,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group1]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; o, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; O, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;oslash, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;Oslash ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group2]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; o, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; O, &amp;#160; &amp;#160; &amp;#160;odiaeresis, &amp;#160; &amp;#160; &amp;#160;Odiaeresis ],
&amp;#160; &amp;#160; &amp;#160; &amp;#160; symbols[Group3]= [ &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; o, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; O, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;oslash, &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;Oslash ]
&amp;#160; &amp;#160; };
};
&amp;#160;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/cweiske-kinesis.xkb" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/690#cweiske-kinesis.xkb"&gt;cweiske-kinesis.xkb&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.bash .de1, .bash .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.bash  {font-family:monospace;}
.bash .imp {font-weight: bold; color: red;}
.bash li, .bash .li1 {color: #DDD;}
.bash .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.bash .kw1 {color: #000000; font-weight: bold;}
.bash .kw2 {color: #c20cb9; font-weight: bold;}
.bash .kw3 {color: #7a0874; font-weight: bold;}
.bash .co0 {color: #666666; font-style: italic;}
.bash .co1 {color: #800000;}
.bash .co2 {color: #cc0000; font-style: italic;}
.bash .co3 {color: #000000; font-weight: bold;}
.bash .co4 {color: #666666;}
.bash .es1 {color: #000099; font-weight: bold;}
.bash .es2 {color: #007800;}
.bash .es3 {color: #007800;}
.bash .es4 {color: #007800;}
.bash .es5 {color: #780078;}
.bash .es_h {color: #000099; font-weight: bold;}
.bash .br0 {color: #7a0874; font-weight: bold;}
.bash .sy0 {color: #000000; font-weight: bold;}
.bash .st0 {color: #ff0000;}
.bash .st_h {color: #ff0000;}
.bash .nu0 {color: #000000;}
.bash .re0 {color: #007800;}
.bash .re1 {color: #007800;}
.bash .re2 {color: #007800;}
.bash .re4 {color: #007800;}
.bash .re5 {color: #660033;}
.bash span.xtra { display:block; }
&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="bash"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;&lt;span class="co0"&gt;#!/bin/sh&lt;/span&gt;
xkbcomp ~&lt;span class="sy0"&gt;/&lt;/span&gt;.config&lt;span class="sy0"&gt;/&lt;/span&gt;xkb-keyboard&lt;span class="sy0"&gt;/&lt;/span&gt;cweiske-kinesis-full.xkb &lt;span class="re1"&gt;$DISPLAY&lt;/span&gt;
&amp;#160;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/fix-xmodmap-kinesis.sh" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/690#fix-xmodmap-kinesis.sh"&gt;fix-xmodmap-kinesis.sh&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;only strange characters were shown on the shell when pressing mapped key combos (altr+a, altr+s etc), see screenshot.&lt;/p&gt;
&lt;p&gt;When using &amp;quot;read&amp;quot; on cli, I got:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
^[ä
^[ß
&lt;/pre&gt;
&lt;p&gt;In emacs, I got the following message:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
M-ä is undefined
&lt;/pre&gt;
&lt;p&gt;So somehow some escape sequence was inserted in addition to the character itself.&lt;/p&gt;
&lt;p&gt;The final solution was to remove this line:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
modifier_map Mod1 { &amp;lt;RALT&amp;gt; };
&lt;/pre&gt;
&lt;p&gt;The keyboard map mapped the key combo (e.g. altr+a) to the correct character (ä), but xkb also sent the modifier key Mod1, which was interpreted by the shell and emacs as some control key.&lt;/p&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/problems.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/690#problems.rst"&gt;problems.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;[tab]&amp;gt;[caps]&#13;
[caps]&amp;gt;[tab]&#13;
[Z]&amp;gt;[Y]&#13;
[Y]&amp;gt;[Z]&#13;
[rwin]&amp;gt;[ralt]&#13;
[kp-rwin]&amp;gt;[kp-ralt]&#13;
{rctrl}{f8}&amp;gt;{-lctrl}{t}{+lctrl}&#13;
{lctrl}{f8}&amp;gt;{-lctrl}{t}{+lctrl}&#13;
{rctrl}{t}&amp;gt;{-lshift}{4}{+lshift}{t}{h}{i}{s}{hyphen}{-lshift}{.}{+lshift}&#13;
{lctrl}{t}&amp;gt;{-lshift}{4}{+lshift}{t}{h}{i}{s}{hyphen}{-lshift}{.}{+lshift}&#13;
{rctrl}{bspace}&amp;gt;{-lalt}{tab}{+lalt}&#13;
{lctrl}{bspace}&amp;gt;{-lalt}{tab}{+lalt}&#13;
{rctrl}{=}&amp;gt;{space}{=}{-lshift}{.}{+lshift}{space}&#13;
{lctrl}{=}&amp;gt;{space}{=}{-lshift}{.}{+lshift}{space}&#13;
{rctrl}{hyphen}&amp;gt;{hyphen}{-lshift}{.}{+lshift}&#13;
{lctrl}{hyphen}&amp;gt;{hyphen}{-lshift}{.}{+lshift}&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/qwerty.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/690#qwerty.txt"&gt;qwerty.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;startup_file=qwerty.txt&#13;
key_click_tone=OFF&#13;
toggle_tone=ON&#13;
macro_disable=OFF&#13;
macro_speed=9&#13;
status_play_speed=4&#13;
power_user=true&#13;
program_key_lock=OFF&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/690/rev-raw/2f202557f24cec13b8b9614f1dcbaeac048b54c2/state.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/690#state.txt"&gt;state.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
