summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Object/YAML.cpp
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2014-08-18 09:40:19 +0000
committerse <se@FreeBSD.org>2014-08-18 09:40:19 +0000
commita9352ae49a1429504fc20f8f0b5f3ab2c6a36839 (patch)
treee79bee49f4fc1acdceb9cec769d5043d223c8905 /contrib/llvm/lib/Object/YAML.cpp
parent34d4d0dfc069b819f2b79a1c96fa89fe07ee1efb (diff)
downloadFreeBSD-src-a9352ae49a1429504fc20f8f0b5f3ab2c6a36839.zip
FreeBSD-src-a9352ae49a1429504fc20f8f0b5f3ab2c6a36839.tar.gz
Import the tools used to convert the keymap files from SYSCONS (in locale
dependent encoding) to NEWCONS (Unicode). The file "LANG.map" is used to convert INDEX.keymaps. It has 3 columns: - the language ID as used in the source file - the language ID to be used in the generated file (e.g. "iw" -> "he") - the encoding of the menu texts for this language The conversion result is written to STDOUT. The file "KBDFILES.map" is used to batch convert keymap files. It's columns are: - the encoding used for the keymap sounce file - the name of the source file - the name of the generated file The output files are created in the TEMP sub-directory of the vt keymap directory, in order to preserve (possibly uncommitted) keymap files in /usr/src/share/vt/keymaps. The convert-keymap.pl script can be directly executed by passing the source file name and the encoding on the command line. It writes to STDOUT and generates hex Unicode codepoints by default. (This can be changed to decimal in the script.) While written for the one-time conversion of the SYSCONS keymaps into the format required for NEWCONS, I think these tools may be useful for easy conversion of possible further SYSCONS keymap files, that have not been committed to the source tree.
Diffstat (limited to 'contrib/llvm/lib/Object/YAML.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud