Skip to content

Instantly share code, notes, and snippets.

@mauri870
Last active May 10, 2019 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauri870/8ef952b83c44479262460e0330bfa1f1 to your computer and use it in GitHub Desktop.
Save mauri870/8ef952b83c44479262460e0330bfa1f1 to your computer and use it in GitHub Desktop.
br-abnt2 kbmap for Plan9. Unfortunatelly I could't figure out how to make the acentuation work, hence the 0 value in line 1, 4, 9 and 12
0 26 0
0 27 '[
0 39 'ç
0 40 0
0 41 ''
0 43 ']
0 53 ';
0 115 '/
1 26 0
1 27 '{
1 39 'Ç
1 40 0
1 41 '"
1 43 '}
1 53 ':
1 115 '?
4 44 '|
@mauri870
Copy link
Author

mauri870 commented May 10, 2019

To use this, just copy the file to /sys/lib/kbmap/br-abnt2 and run kbmap. The new layout should appear in the list. Since it's based on the ascii layout, select the ascii first to make sure that this layout loads on top of it.

@mauri870
Copy link
Author

Also put cat /sys/lib/kbmap/br-abnt2 > /dev/kbmap into your $home/lib/profile under the case 'terminal' to apply the keyboard map at startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment