-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? <No>
sudo shutdown -h now
And it works! Now I am just missing "|" and "¦".
I have tried "Generic 105-key PC (intl.)" and "Generic 102-key PC
(intl.)" in the menue following the command 'dpkg-reconfigure
keyboard-configuration' (see above), but there is no difference between
105 and 102 wrt what the Teres keyboard produce on screen (see below).
I have also tried with an USB keyboard which has one extra key between
<left shift> and <z>. That extra key delivers "|") and "¦" with both
"Generic 105-key PC (intl.)" and "Generic 102-key PC (intl.)" (and Swedish).
I can of course use the USB keyboard with my laptop, but it would be
more convenient if I could get the Teres keyboard to do "|" and "¦".
So, does anyone know how to make the Teres keyboard not only output
Swedish letters, but also "|" and "¦"?
Maybe there is a "keyboard model" I can choose that is a better fit than
"Generic 105-key PC (intl.)" and"Generic 102-key PC (intl.)"?
Thank you for your time.
//Erik
<snip>
On Sat, May 4, 2019 at 10:37 AM Erik Josefsson wrote:
<snip>-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? <No>
sudo shutdown -h now
And it works! Now I am just missing "|" and "¦".
With US Keyboards, I see either of those characters, right of the "p" key. I was not aware that there were two, distinct characters.
One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for when I "pipe" the results of one command into another.
Which?
Actually, I'm just missing pipe (for exactly that reason).
The "¦" symbol is apparently called "broken bar" and happens to
be the what my "scandinavian" USB- keyboard gives when the
physical key between the <z> and the <left shift> key
is pressed together with <alt gr>+<shift>. I have
never used it before and I don't think it has a function in any
language, see wikipedia:
https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar
I have not yet figured out how to make the Teres keyboard do the pipe.
//Erik
What is on the last key on the right, directly above the right Enter key? On a US keyboard, the is a back slant (unshifted) and the pipe, shifted. You haven't mentioned that key at all.
Found that keyboard model "Generic 102-key PC (intl.)" and keyboard layout "Finnish - Finnish (Winkeys)" works for me (the rest as above).
At last! :-)
With some stickers to put onto the printed keys I'll be fine.
Grateful for pointers to such.
Sorry for the noise.
//Erik
Please select the model of the keyboard of this machine.
-Keyboard model: Generic 102-key PC (intl.)
Please select the layout matching the keyboard for this machine.
-Keyboard layout: Danish - Danish (Win keys)
[and below "Finnish - Finnish (Winkeys)"]
With some keyboard layouts, AltGr is a modifier key used to input
some characters, primarily ones that are unusual for the language
of the keyboard layout, such as foreign currency symbols and
accented letters. These are often printed as an extra symbol on
keys.
-Key to function as AltGr: The default for the keyboard layout
The Compose key (known also as Multi_key) causes the computer to
interpret the next few keystrokes as a combination in order to
produce a character not found on the keyboard. On the text console
the Compose key does not work in Unicode mode. If not in Unicode
mode, regardless of what you choose here, you can always also use
the Control+period combination as a Compose key.
-Compose key: Menu key
By default the combination Control+Alt+Backspace does nothing. If
you want it can be used to terminate the X server.
-Use Control+Alt+Backspace to terminate the X server? <No>
Danish - Danish (Win keys)
<no key>
½½11223344556677889900++´
qqwweerrttyyuuiiooppåå¨''
aassddffgghhjjkkllææøø
zzxxccvvbbnnmm,,..--
<Shift>
§§!!""##¤¤%%&&//(())==??`
QQWWEERRTTYYUUIIOOPPÅÅ^**
AASSDDFFGGHHJJKKLLÆÆØØ
ZZXXCCVVBBNNMM;;::__
<AltGr>
¾¾¡¡@@££$$€€¥¥{{[[]]}}±±||
@@łł€€®®þþ←←↓↓→→œœþþ¨~˝
ªªßßððđđŋŋħħ̉ĸĸłł´^
««»»©©““””nnµµ¸··̣
<Shift>+<AltGr>
¶¶¹¹²²³³¼¼¢¢⅝⅝÷÷««»»°°¿¿¦¦
ΩΩŁŁ¢¢®®ÞÞ¥¥↑↑ııŒŒÞÞ°ˇ××
ºº§§ÐЪªŊŊĦĦ̛&&ŁŁ˝ˇ
<<>>©©‘‘’’NNºº˛˙˙
Finnish - Finnish (Winkeys)
<no key>
§§11223344556677889900++´
qqwweerrttyyuuiiooppåå¨''
aassddffgghhjjkkllööää
zzxxccvvbbnnmm,,..--
<Shift>
½½!!""##¤¤%%&&//(())==??`
QQWWEERRTTYYUUIIOOPPÅÅ^**
AASSDDFFGGHHJJKKLLÖÖÄÄ
ZZXXCCVVBBNNMM;;::__
<AltGr>
/@@££$$€€‚‚{{[[]]}}\\¸
qqww€€rrþþyyuuııœœ̛˝~ˇ
əəßßððffgghhjjĸĸ/øøææ
ʒʒ××ccvvbbŋŋµµ’’̣––
<Shift>+<AltGr>
¡¡””»»««““„„<<>>°°¿¿˛
QQWWRRÞÞYYUU||ŒŒ̉°ṓ
ƏƏẞẞÐÐFFGGHHJJØØÆÆ
ƷƷ··CCVVBBŊŊ——‘‘˙,
Hi David!
Thanks for helping me sort out my thoughts!
On Sun 05 May 2019 at 20:52:40 (+0200), Erik Josefsson wrote:Den 2019-05-05 kl. 16:26, skrev David Wright:Is this some sort of ticking off for wondering why the OP is*so* keen to be able to type ¦ directly on the keyboard that they are almost willing to use a USB keyboard with a laptop to get it? Particularly as the wiki page referred to above has a reference to http://jkorpela.fi/latin1/3.html#A6 which states "It is advisable to avoid using this character, since its code position is occupied by another character in ISO Latin 9 (alias ISO 8859-15), which will probably widely replace ISO Latin 1 at least in European usage." Now, using Unicode might avoid this danger, but it's still odd to want this character so much when it appears to be as much of a relic as the aforementioned ECU is. And, after all, the answer is that they didn't.For what it's worth, I had the foggy idea that I had to figure out how to make the Teres keyboard reproduce the output from the Scandinavian USB keyboard. What else would be "right"?[Disclaimer: I'm not familiar with the Teres keyboard beyond looking at https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/ (assuming this is it), and I've no idea of what keys your USB keyboard has, nor knowledge of Swedish keyboard conventions.]
Yes, that's the Teres keyboard.
The wikipedia picture of ISO/IEC 9995-3:2002 applied to the US keyboard layout has 3 keys to the left and 4 keys to the right of the spacebar. Teres has 4 keys to the left and 3 keys to the right, otherwise they look the same (also the print on the keys):
https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg
This similarity makes me wonder why I cannot find any information from Olimex (or elsewhere) whether the Teres keyboard is fully compliant with the ISO standard that seems to be the one at hand (and which also seems current):
https://www.iso.org/standard/57852.html
If it was compliant, then I guess that would make an informed
choice of "Keyboard model" easier than it is now.
I also guess that compliance would not only mean that the number of keys, their relative positions and the print on the keycaps would be defined, but also, and more importantly, that the digital output would follow certain rules.
And there's my major hick-up: 7 keys would be plenty if the
output would suffice to consist of about 100 different signals
since 2^7=128 (to later map on characters, numbers and whatnot). 8
keys would be excessive. I do understand the historical reasons
for 105 keys (or 80), but how they relate to what really matters
(the digital output) is a mystery.
It cannot really be physicality of the "Keyboard models", nor the
(brand) names of the them, but rather the digital output that is
defining whether one "Keyboard model" is different from the other.
Or am I completely wrong here?
If I am not wrong, the next question is if there are really 193 different keyboard models in that sense?
I mean, with the same keyboard layout (e.g. Finnish), how many of the 193 would give the exact same result on screen with one particular keyboard (e.g. the Teres laptop)?
I guess more than two (which I now know is the case).
When the 105 and 102 options then gave the same result, it got completely lost. And I'm still kind of lost since I don't really understand what a "Keyboard model" is. So already at the first menu choice of dpkg-reconfigure keyboard-configuration I don't really know what I'm doing there. In the dpkg-reconfigure keyboard-configuration menu there are [193 different keyboard models] to choose from. But two of them are the same, at least from the point of view of a Teres laptop. How does that work?I guess that with only 80 keys on your keyboard, many of the differences between these different models are dealing with keys you simply don't have. I can use pc105 for all my laptop, however many keys they have.
As far as I can see, the "source code" to Teres' keyboard does not say anything about that, but the Schematics file lists 25 different keys (KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro controller ATMEGA16U4-AU.
I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside"
are connected to the 40 physical keys on the "outside". Actually
with 23 electronic keys to combine, it would be enough with an
unique output per electronic key plus <Shift>, <AltGr>
and <Shift>+<AltGr> to get 92 different combinations.
That should be enough, no?
What's more important is the layout: for example a British layout puts \| left of z, whereas a US one will make that key <> and the \| will be 3 keys right of p. In response to that, and deleting £, many of the other punctuation characters get shuffled around. The "key that's missing" usually refers to that left-of-z key, (i) because the fact that it's the only punctuation character thereabouts makes it rather obvious that it's missing, (ii) small US keyboards don't have it whereas British (and I assume many European) ones usually do. You mentioned your Scandinavian USB keyboard with it's "broken bar" in that left-of-z position. The "broken" appearance has been a traditional engraving on the pipe keycap for years and doesn't have any particular significance significance: the key produces pipe when typed normally (ie shifted). I don't know how they decide which glyphs should be typed when the AltGr key is used. Perhaps it's not too surprising that they place ¦ on the | key as a mnemonic. To what end, who knows? The glyph is virtually useless. But what does your USB keyboard produce when you type this key with just shift pressed?
The "missing left-of-z key" on my "scandinavian" USB-keyboard gives "<" with no key pressed, ">" with <Shift>, "|" with <AltGr> and "¦" with <AltGr>+<Shift>.
It is a 5 dollar cheapest possible off the shelf keyboard . It says made in China and comes with spelling errors on the box. So it's probably not even made in China.
But I have finally found that 102 and Finnish gives me the pipe with <i>+<AltGr>+<Shift>. So all is fine, except for that I don't understand why.
I would have left it at that if it wasn't for my plan to introduce the Teres laptop as a DIY project in school. And I would be very unhappy with my answers to why I should choose 102 and Finnish if I was a student of mine.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924657
Thanks for your time David.
Best regards.
//Erik
Quoting Erik Josefsson (2019-05-11 00:51:38)My original problem was that I could not figure out how to get both Swedish and pipe "|" at all (which Jonas duly noted by removing "¦" from the original subject line).I edited the subject line in my posts unrelated to the content of the thread: Since recently emails sent by my "alot" which is my main Mail User Agent (MUA) gets rejected by Debian servers if header fields contain non-ASCII characters.
The unintended consequence of interpreting your slight edit of the subject line as a comment on the content of the thread was that I learned a lot about my own mistakes :-)
Thank you!
That encourages me to ask another stupid question: I'd like to know why the "Keyboard model" has to be set before "Keyboard layout" when walking through the dpkg-reconfigure menues?
If it was the other way around, the first choice, "Keyboard layout", could perhaps make an informed selection from the list of "Keyboard models" that could be relevant at all.
In any case, what you care about as a user is "Keyboard layout", and in most cases when you have to make a series of choices, you start with your known knowns, not your known unknowns.
Best regards.
//Erik