diff options
Diffstat (limited to '')
-rw-r--r-- | linux-vt-keyboard/.gitignore | 1 | ||||
-rw-r--r-- | linux-vt-keyboard/LICENSE | 15 | ||||
-rw-r--r-- | linux-vt-keyboard/Makefile | 26 | ||||
-rw-r--r-- | linux-vt-keyboard/README (renamed from README) | 2 | ||||
-rw-r--r-- | linux-vt-keyboard/sv-maandree.map (renamed from sv-maandree.map) | 1 |
5 files changed, 42 insertions, 3 deletions
diff --git a/linux-vt-keyboard/.gitignore b/linux-vt-keyboard/.gitignore new file mode 100644 index 0000000..10d00b5 --- /dev/null +++ b/linux-vt-keyboard/.gitignore @@ -0,0 +1 @@ +*.gz diff --git a/linux-vt-keyboard/LICENSE b/linux-vt-keyboard/LICENSE new file mode 100644 index 0000000..e765484 --- /dev/null +++ b/linux-vt-keyboard/LICENSE @@ -0,0 +1,15 @@ +ISC License + +© 2012, 2013, 2021 Mattias Andrée <maandree@kth.se> + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/linux-vt-keyboard/Makefile b/linux-vt-keyboard/Makefile new file mode 100644 index 0000000..81c0b7b --- /dev/null +++ b/linux-vt-keyboard/Makefile @@ -0,0 +1,26 @@ +.POSIX: + +PREFIX = /usr +NAME = sv-maandree + + +all: sv-maandree.map.gz + +sv-maandree.map.gz: sv-maandree.map + gzip -9f < sv-maandree.map > sv-maandree.map.gz + +install: sv-maandree.map.gz + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/" + cp -- sv-maandree.map.gz "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/$(NAME).map.gz" + +uninstall: + -rm -f -- "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/$(NAME).map.gz" + -rm -f -- "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/$(NAME).map" + +clean: + -rm -f -- sv-maandree.map.gz + +use: + loadkeys ./sv-maandree.map + +.PHONY: all install uninstall clean use diff --git a/README b/linux-vt-keyboard/README index 31ef1d2..bd61181 100644 --- a/README +++ b/linux-vt-keyboard/README @@ -1,6 +1,5 @@ My customised Swedish keyboard layout - FEATURES: • xterm compatible, Emacs is better if it thinks you are using xterm • switch to any of the 63 VT:s @@ -19,4 +18,3 @@ FEATURES: • mapped meta+page[up|down], scrolls next buffer in Emacs • mapped altgr+shift+less to slash • heavier use of [shift +] alt graph - diff --git a/sv-maandree.map b/linux-vt-keyboard/sv-maandree.map index ca94320..0228dcb 100644 --- a/sv-maandree.map +++ b/linux-vt-keyboard/sv-maandree.map @@ -579,4 +579,3 @@ string F121 = "¢" string F122 = "\033¢" string F124 = "¥" string F127 = "\033¥" - |