Created attachment 225545 [details]
I've selected the Brazilian (with accent keys) keymap during the installation process and the following shortcuts aren't working properly:
"Alt GR" + "q" to "/"
"Alt GR" + "w" to "?"
"Alt GR" + "e" to "°"
"Alt GR" + "c" to "₢"
And honestly think that the term "Brazilian (accent keys)" and "Brazilian (without accent keys)" should just be changed to "Brazilian ABNT" and "Brazilian ABNT2" if that's possible. "Accent keys" and "without accent keys" does not sound intuitive or practical to us brazilians at all.
Sorry if this is not the correct channel to inform this but please consider this change.
^Triage: give this a more specific Summary, and add a Keyword.
(In reply to Mark Linimon from comment #1)
I'm Brazilian, I just installed FreeBSD 13 stable, when using the console and trying to use the common shortcuts for ABNT2 keyboards (tried with different keyboards and different systems and configurations) they don't work.
"Alt GR" + "q" just types "q" and not "/"
"Alt GR" + "w" just types "w" and not "?"
"Alt GR" + "e" just types "e" and not "°"
"Alt GR" + "c" just types "c" and not "₢"
During the installation process the keyboard keymap is not listed as Brazilian ABNT and Brazilian ABNT2 but Brazilian with and without accent keys. This doesn't sound common or practical. We have 2 common keymaps here: ABNT and ABNT2. "Brazilian keymap with accent keys" sounds strange, doesn't sound like something a brazilian will naturally recognize 'cause we don't use these terms over here.
I don't know if this is the right channel but I would like these shortcuts to be functional and the terms to be changed in the installation process.
English isn't my first language so I'm sorry if what I'm saying doesn't sound right or respectful, but it really made a difference for me and my colleagues.
And if it is possible also to change the rc.conf terms to keymap to "keymap=abnt" and "keymap=abnt2".
I don't want to sound annoying but I figured it would make a lot of difference to my college classmates.
Neebz, thanks for your patch. These AltGR key combination are not written down on many keyboards nowaday but they are really expected to exist.
I tested it on two ABNT2 standard keyboards (2011 Microsoft Wireless Keyboard 3000 V2.0; and 2020 DELL WK636t)
The "Alt GR" + "c" mapping is missing on the patch you posted but everything else looks good to me.
On FreeBSD "br.kbd" and "br.noacc.kbd" are actualy pretty similar and map a ABNT2 standard keyboard. The differences are only the accents/dead keys, and the commit that introduced br.noacc.kbd mentions that. So in this case we should use your patch on both files.
Regarding the map name, yes we (Brazillians) recognize immediatelly "ABNT2" based on experience with other OSs, but since the only two Brazilian keyboard entries are both ABNT2, I'm not sure about this change. Would like to get other's input.
Sorry, i didn't know that both were to ABNT2, if both are for ABNT2 i see no problem to maintain these options as long as they are described as Brazilian ABNT2+something the way it's common for US brazilians (and maybe something like br.abnt2 and br.abnt2.nodk or something for no dead keys on rc.conf).
Again, don't get me wrong please, it's not about "do it as this other system" but to make something natural for US, that we can imediately recognize and doesn't sound alien to brazilians.
I am asking for the change to help some friends who use these shortcuts and they are learning FreeBSD right now, the forum member T-Daemon is the one who deserves the credit for providing me this patch, i was just reporting the lack of this function.
And he said: "No cruzeiro sign. Unicode hex 0x20a2 for ₢ has no effect in console, only a rectangle is printed. The cruzeiro sign is not alone, many of the currency symbols are not displayed."
Maybe there is no need for cruzeiro sign on console nowadays but i think that the "/" and "?" shorcuts can be essential for some programmers here.
Thank you for your attention and I hope this can be included and it helps those who need
patch with Cruzeiro symbol: