[Previous] [Contents] [Index] [Next]

kbcvt

Convert keyboard table to text

Syntax:

kbcvt [-1ahmnou] [table_filename...]

Options:

-1 (one)
Use single-byte characters for codes below 256.
-a
Specify the "cap" value for all keys.
-h
Don't use symbol names.
-m
Use multibyte characters (UTF-8) instead of hex codes.
-n
Don't nest Key definitions in KeyType definitions.
-o
Skip impossible compose sequences.
-u
Only nest Key definitions in unnamed KeyType definitions.
table_filename
The name of the keyboard table you want to convert to text. You can specify more than one file. If no file is specified, the program will read from standard input.

Description:

The kbcvt utility converts one or more binary keyboard files to text. The output is written to standard output. The syntax of the text file is described in the /usr/photon/keyboard/sample.kdef file. The kbcvt programs reside in /usr/photon/keyboard. For more information about UTF-8 encoding, see Keyboard Drivers and UTF-8 Encoding in the Photon Programmer's Guide. For more information about converting keyboard tables to text, see the section "PhAB multilingual applications" in the Unicode Multilingual Support chapter.

Examples:

Create a text file from the Dutch keyboard table in /etc/config/kbd and use single-byte characters for codes below 256:

kbcvt -1 nl_NL_102

[Previous] [Contents] [Index] [Next]