Contained Within
Find More Documentation
Featured Support Resources
| Descargar este libro en PDF
NAME
- keytablemap - maps keyboard type and layout to keytable
SYNOPSIS
-
/usr/openwin/etc/keytables/keytable.map
DESCRIPTION
- The keytable map contains information that maps keyboard type and layout to the appropriate keytable file. The keyboard type and layout are generally obtained from the kernel using appropriate ioctl calls. The keyboard layout is assumed to be US layout (code=0) on Sun keyboards prior to type 4. The layout is determined by a keyboard DIP switch setting on type-4 and subsequent types. The keytable file contains a mapping of keycap symbols to phyical keys.
- For each keyboard type and layout, a single line should be present with the following information:
-
- keyboardtype
- keyboardlayout
- keytablefilename
- Any characters following a white space after the keytablefilename field, through the end of line are disregarded. The fields are separated by any number of blanks and/or TAB characters. A leading `# 'indicates the beginning of a comment, which may appear only as the first character on the line. Such comment lines are ignored by routines that read the file.
EXAMPLE
- An example of a keytablemap file appears below.
-
-
{
# keytable.map
#
# The keytable map associates a keyboard with its
# corresponding keytable. Keytables are located in
# /usr/openwin/etc/keytables.
#
# The keyboard type and layout are generally obtained
# from the kernel using appropriate ioctl calls. The
# keyboard type is stored in a keyboard ROM. The
# keyboard layout is assumed to be 0 on Sun keyboards
# prior to type 4 and is determined by a DIP switch
# setting on type-4 and later keyboards.
#
# Notes:
# To test a new keytable before installing it, copy it
# to $HOME/.keytable, start the server and test.
# (Remember to remove $HOME/.keytable after testing.)
#
# Format of an entry:
# keyboard_type keyboard_layout keytable_filename
#
-
-
#Type Layout Filename
2 0 US2.kt
3 0 US3.kt
4 0 US4.kt # Sun US Type 4 keyboard
4 2 FranceBelg4.kt
4 3 Canada4.kt
# -- Truncated --
FILES
-
/usr/openwin/etc/keytables/keytable.map
NOTES
- This file is intended to be used only by the OpenWindows server.
|
|