Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kbmap(4) — CLIX 3.1r7.6.28

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kbmap(1)



  kbmap(4)                            CLIX                            kbmap(4)



  NAME

    kbmap - Keyboard map file

  DESCRIPTION

    The layout of the keyboard can be changed to match the standard keyboard
    of a particular region by using the kbmap command.  The file read by kbmap
    contains the information needed to define the eight possible values for
    each key that can be redefined.  The keys that can be redefined are the
    letter, number, and punctuation keys on the main section of the keyboard.
    The keypad, membrane, and function keys cannot be redefined.

    The file is arranged in eight groups of 48 hexadecimal numbers, one group
    for every valid key and qualifier combination.  The numbers represent the
    ASCII codes generated for each key.  A value of -1 is used if a code will
    not be generated.  White space and any line starting with the number sign
    (#) are ignored.

    Each group of hexadecimal numbers must be in the same sequence as the keys
    on the keyboard.  This sequence begins at the top left and continues to
    the lower right by rows.  On a North American keyboard, for example, the
    numbers begin with <`> and continue right to <=>, move down to <Q> on the
    next row, and eventually end with </>.  At the end of this sequence, 48
    keys have been specified.

    The code specifications must be grouped in the following order, where
    ``shifted'' indicates pressing <Shift>:

    ⊕  Unshifted keys.

    ⊕  Unshifted control keys.

    ⊕  Unshifted alternate keys.

    ⊕  Unshifted caps lock keys.

    ⊕  Shifted keys.

    ⊕  Shifted control keys.

    ⊕  Shifted alternate keys.

    ⊕  Shifted caps lock keys.  The groups do not need to be separated by
       delimiters.

  EXAMPLES

    Following is an example of a kbmap file:

    # Denmark keymap



  2/94 - Intergraph Corporation                                              1






  kbmap(4)                            CLIX                            kbmap(4)



    # Unshifted
    0x7e 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x30 0x2b 0x27
    0x71 0x77 0x65 0x72 0x74 0x79 0x75 0x69 0x6f 0x70 0xe5 0x22
    0x61 0x73 0x64 0x66 0x67 0x68 0x6a 0x6b 0x6c 0xe6 0xf8 0x27
    0x3c 0x7a 0x78 0x63 0x76 0x62 0x6e 0x6d 0x2c 0x2e 0x2d

    # Unshifted, Ctrl
    0x7e 0x31 0x00 0x33 0x34 0x35 0x1e 0x37 0x38 0x39 0x30 0x2b 0x27
    0x11 0x17 0x05 0x12 0x14 0x19 0x15 0x09 0x0f 0x10 0x1d 0x22
    0x01 0x13 0x04 0x06 0x07 0x08 0x0a 0x0b 0x0c 0x00 0x23 0x27
    0x3c 0x1a 0x18 0x03 0x16 0x02 0x0e 0x0d 0x2c 0x2e 0x1f

    # Unshifted, Alt Mode
    0xe1 0xe2 0xe4 0xe6 0xe8 0xea 0xec 0xee 0xf0 0xf2 0xf4 0x1c 0xc0
    0xc7 0xc9 0xcb 0xcc 0xce 0xd0 0xd2 0xd4 0xd6 0xd8 0x5d 0xc1
    0x9d 0x9f 0xa1 0xa3 0xa5 0xa7 0xa8 0xba 0xbb 0x00 0x23 0xc0
    0x89 0x8b 0x8c 0x8e 0x90 0x92 0x93 0x95 0x97 0x99 0xfb

    # Unshifted, Caps Lock
    0x7e 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x30 0x2b 0x27
    0x51 0x57 0x45 0x52 0x54 0x59 0x55 0x49 0x4f 0x50 0xc5 0x22
    0x41 0x53 0x44 0x46 0x47 0x48 0x4a 0x4b 0x4c 0xc6 0xd8 0x27
    0x3c 0x5a 0x58 0x43 0x56 0x42 0x4e 0x4d 0x2c 0x2e 0x2d

    # S
    Shifted
    0xb0 0x21 0x22 0xa7 0x24 0x25 0x26 0x2f 0x28 0x29 0x3d 0x3f 0x60
    0x51 0x57 0x45 0x52 0x54 0x59 0x55 0x49 0x4f 0x50 0xc5 0x5e
    0x41 0x53 0x44 0x46 0x47 0x48 0x4a 0x4b 0x4c 0xc6 0xd8 0x2a
    0x3e 0x5a 0x58 0x43 0x56 0x42 0x4e 0x4d 0x3b 0x3a 0x5f

    # Shifted, Ctrl
    0x00 0x21 0x22 0x00 0x24 0x25 0x26 0x2f 0x28 0x29 0x3d 0x3f 0x60
    0x11 0x17 0x05 0x12 0x14 0x19 0x15 0x09 0x0f 0x10 0x1b 0x1e
    0x01 0x13 0x04 0x06 0x07 0x08 0x0a 0x0b 0x0c 0x00 0x1c 0x2a
    0x3e 0x1a 0xa8 0x03 0x16 0x02 0x0e 0x0d 0x3b 0x3a 0x1f

    # Shifted, Alt Mode
    0x00 0xe3 0xc1 0x40 0xe9 0xeb 0xef 0x9b 0xf3 0xfa 0x06 0x9c 0xe0
    0xc8 0xca 0xcb 0xcd 0xcf 0xd1 0xd3 0xd5 0xd7 0xd8 0x5b 0xed
    0x9e 0xa0 0xa2 0xa4 0xa6 0xa7 0xa9 0xba 0xbc 0x00 0x5c 0xf1
    0x8a 0x8b 0x8c 0x8f 0x91 0x92 0x94 0x96 0xbe 0xbf 0x02

    # Shifted, Caps Lock
    0xb0 0x21 0x22 0x40 0x24 0x25 0x26 0x2f 0x28 0x29 0x3d 0x3f 0x60
    0x51 0x57 0x45 0x52 0x54 0x59 0x55 0x49 0x4f 0x50 0xc5 0x5e
    0x41 0x53 0x44 0x46 0x47 0x48 0x4a 0x4b 0x4c 0xc6 0x5c 0x2a
    0x3e 0x5a 0x58 0x43 0x56 0x42 0x4e 0x4d 0x3b 0x3a 0x5f


  FILES



  2                                              Intergraph Corporation - 2/94






  kbmap(4)                            CLIX                            kbmap(4)



    /etc/kbfiles/* Files for each keyboard type.

  NOTES

    The kbmap file does not affect UP/DOWN keyboard encoding.

  RELATED INFORMATION

    Command: kbmap(1)













































  2/94 - Intergraph Corporation                                              3




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026