Technical article 110745

Does SCO OpenServer 5.0.x support the USA Dvorak keyboard?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

SCO OpenServer 5.0.x does not provide support, during Initial System Load (ISL) or through Scoadmin -> System -> International Setting Manager, for the USA Dvorak style keyboard.

Solution

To use the attached mapkey script, follow these steps:

1. Place the script in a file called:

/usr/lib/keyboard/dvorak

2. Update the file /etc/default/mapkey and change lines as appropriate. For example, to use Dvorak keyboard on tty03:

tty01
tty02
tty03  dvorak
tty04
:

3. Log in to tty03 to use the Dvorak keyboard.

------------------------START OF FILE-----------------------------------------
# Dvorak US keyboard mapping for SCO OpenServer 5
#
# Copyright (C) 1995-1999 Open Learning Center, Inc.
#               All Rights Reserved.
#
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc.  Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
# SCO Mapkey File
#
# Differences in keytop layout between various manufacturers
# of keyboards may require that this file be modified.
#
# US keyboard - PC character ROM
#                                                        alt
# scan                      cntrl          alt    alt   cntrl  lock
# code  base  shift  cntrl  shift   alt   shift  cntrl  shift  state
     0  nop    nop    nop    nop    nop    nop    nop    nop     O
     1  esc    esc    esc    esc    esc    esc    esc    esc     O
     2  '1'    '!'    nop    nop    '1'    '!'    nop    nop     O
     3  '2'    '@'    nul    nul    '2'    '@'    nul    nul     O
     4  '3'    '#'    nop    nop    '3'    '#'    nop    nop     O
     5  '4'    '$'    nop    nop    '4'    '$'    nop    nop     O
     6  '5'    '%'    nop    nop    '5'    '%'    nop    nop     O
     7  '6'    '^'    rs     rs     '6'    '^'    rs     rs      O
     8  '7'    '&'    nop    nop    '7'    '&'    nop    nop     O
     9  '8'    '*'    nop    nop    '8'    '*'    nop    nop     O
    10  '9'    '('    nop    nop    '9'    '('    nop    nop     O
    11  '0'    ')'    nop    nop    '0'    ')'    nop    nop     O
    12  '['    '{'    esc    esc    '['    '{'    esc    esc     O
    13  ']'    '}'    gs     gs     ']'    '}'    gs     gs      O
    14  bs     bs     del    del    bs     bs     del    del     O
    15  ht     btab   nop    nop    ht     btab   nop    nop     O
    16  '\''   '"'    nop    nop    '\''   '"'    nop    nop     O
    17  ','    '<'    nop    nop    ','    '<'    nop    nop     O
    18  '.'    '>'    nop    nop    '.'    '>'    nop    nop     O
    19  'p'    'P'    dle    dle    'p'    'P'    dle    dle     C
    20  'y'    'Y'    em     em     'y'    'Y'    em     em      C
    21  'f'    'F'    ack    ack    'f'    'F'    ack    ack     C
    22  'g'    'G'    bel    bel    'g'    'G'    bel    bel     C
    23  'c'    'C'    etx    etx    'c'    'C'    etx    etx     C
    24  'r'    'R'    dc2    dc2    'r'    'R'    dc2    dc2     C
    25  'l'    'L'    np     np     'l'    'L'    np     np      C
    26  '/'    '?'    nop    nop    '/'    '?'    nop    nop     O
    27  '='    '+'    nop    nop    '='    '+'    nop    nop     O
    28  cr     cr     nl     nl     cr     cr     nl     nl      O
    29  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
    30  'a'    'A'    soh    soh    'a'    'A'    soh    soh     C
    31  'o'    'O'    si     si     'o'    'O'    si     si      C
    32  'e'    'E'    enq    enq    'e'    'E'    enq    enq     C
    33  'u'    'U'    nak    nak    'u'    'U'    nak    nak     C
    34  'i'    'I'    ht     ht     'i'    'I'    ht     ht      C
    35  'd'    'D'    eot    eot    'd'    'D'    eot    eot     C
    36  'h'    'H'    bs     bs     'h'    'H'    bs     bs      C
    37  't'    'T'    dc4    dc4    't'    'T'    dc4    dc4     C
    38  'n'    'N'    so     so     'n'    'N'    so     so      C
    39  's'    'S'    dc3    dc3    's'    'S'    dc3    dc3     C
    40  '-'    '_'    ns     ns     '-'    '_'    ns     ns      O
    41  '`'    '~'    nop    nop    '`'    '~'    nop    nop     O
    42  lshift lshift lshift lshift lshift lshift lshift lshift  O
    43  '\\'   '|'    fs     fs     '\\'   '|'    fs     fs      O
    44  ';'    ':'    nop    nop    ';'    ':'    nop    nop     O
    45  'q'    'Q'    dc1    dc1    'q'    'Q'    dc1    dc1     C
    46  'j'    'J'    nl     nl     'j'    'J'    nl     nl      C
    47  'k'    'K'    vt     vt     'k'    'K'    vt     vt      C
    48  'x'    'X'    can    can    'x'    'X'    can    can     C
    49  'b'    'B'    stx    stx    'b'    'B'    stx    stx     C
    50  'm'    'M'    cr     cr     'm'    'M'    cr     cr      C
    51  'w'    'W'    etb    etb    'w'    'W'    etb    etb     C
    52  'v'    'V'    syn    syn    'v'    'V'    syn    syn     C
    53  'z'    'Z'    sub    sub    'z'    'Z'    sub    sub     C
    54  rshift rshift rshift rshift rshift rshift rshift rshift  O
    55  '*'    '*'    nscr   nscr   '*'    '*'    nscr   nscr    O
    56  lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
    57  ' '    ' '    ' '    ' '    ' '    ' '    ' '    ' '     O
    58  clock  clock  clock  clock  clock  clock  clock  clock   O
    59  fkey1  fkey13 fkey25 fkey37 scr1   scr11  scr1   scr11   O
    60  fkey2  fkey14 fkey26 fkey38 scr2   scr12  scr2   scr12   O
    61  fkey3  fkey15 fkey27 fkey39 scr3   scr13  scr3   scr13   O
    62  fkey4  fkey16 fkey28 fkey40 scr4   scr14  scr4   scr14   O
    63  fkey5  fkey17 fkey29 fkey41 scr5   scr15  scr5   scr15   O
    64  fkey6  fkey18 fkey30 fkey42 scr6   scr16  scr6   scr16   O
    65  fkey7  fkey19 fkey31 fkey43 scr7   scr7   scr7   scr7    O
    66  fkey8  fkey20 fkey32 fkey44 scr8   scr8   scr8   scr8    O
    67  fkey9  fkey21 fkey33 fkey45 scr9   scr9   scr9   scr9    O
    68  fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
    69  nlock  nlock  dc3    dc3    nlock  nlock  dc3    dc3     O
    70  slock  slock  del    del    slock  slock  del    del     O
    71  fkey49 '7'    '7'    '7'    '7'    '7'    '7'    '7'     N
    72  fkey50 '8'    '8'    '8'    '8'    '8'    '8'    '8'     N
    73  fkey51 '9'    '9'    '9'    '9'    '9'    '9'    '9'     N
    74  fkey52 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
    75  fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
    76  fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     N
    77  fkey55 '6'    '6'    '6'    '6'    '6'    '6'    '6'     N
    78  fkey56 '+'    '+'    '+'    '+'    '+'    '+'    '+'     N
    79  fkey57 '1'    '1'    '1'    '1'    '1'    '1'    '1'     N
    80  fkey58 '2'    '2'    '2'    '2'    '2'    '2'    '2'     N
    81  fkey59 '3'    '3'    '3'    '3'    '3'    '3'    '3'     N
    82  fkey60 '0'    '0'    '0'    '0'    '0'    '0'    '0'     N
    83  del    '.'    del    del    del    del    del    del     N
    84  0x1f   0x1f   0x1f   0x1f   0x1f   0x1f   0x1f   0x1f    O
    85  nop    nop    nop    nop    nop    nop    nop    nop     O
    86  nop    nop    nop    nop    nop    nop    nop    nop     O
    87  fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
    88  fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
    89  nop    nop    nop    nop    nop    nop    nop    nop     O
    90  nop    nop    nop    nop    nop    nop    nop    nop     O
    91  nop    nop    nop    nop    nop    nop    nop    nop     O
    92  nop    nop    nop    nop    nop    nop    nop    nop     O
    93  nop    nop    nop    nop    nop    nop    nop    nop     O
    94  nop    nop    nop    nop    nop    nop    nop    nop     O
    95  nop    nop    nop    nop    nop    nop    nop    nop     O
    96  fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
    97  fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
    98  fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
    99  fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
   100  fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
   111  fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
   102  fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
   103  fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
   104  fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
   105  del    del    del    del    del    del    del    del     N
   106  fkey54 fkey54 fkey54 fkey54 fkey54 fkey54 fkey54 fkey54  O
   107  nop    nop    nop    nop    nop    nop    nop    nop     O
   108  nop    nop    nop    nop    nop    nop    nop    nop     O
   109  nop    nop    nop    nop    nop    nop    nop    nop     O
   110  nop    nop    nop    nop    nop    nop    nop    nop     O
   111  nop    nop    nop    nop    nop    nop    nop    nop     O
   112  nop    nop    nop    nop    nop    nop    nop    nop     O
   113  nop    nop    nop    nop    nop    nop    nop    nop     O
   114  nop    nop    nop    nop    nop    nop    nop    nop     O
   116  nop    nop    nop    nop    nop    nop    nop    nop     O
   117  nop    nop    nop    nop    nop    nop    nop    nop     O
   118  nop    nop    nop    nop    nop    nop    nop    nop     O
   119  nop    nop    nop    nop    nop    nop    nop    nop     O
   120  nop    nop    nop    nop    nop    nop    nop    nop     O
   121  nop    nop    nop    nop    nop    nop    nop    nop     O
   122  nop    nop    nop    nop    nop    nop    nop    nop     O
   123  nop    nop    nop    nop    nop    nop    nop    nop     O
   124  nop    nop    nop    nop    nop    nop    nop    nop     O
   125  nop    nop    nop    nop    nop    nop    nop    nop     O
   126  nop    nop    nop    nop    nop    nop    nop    nop     O
   127  nop    nop    nop    nop    nop    nop    nop    nop     O
   128  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
   129  ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
   130  fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
   131  del    del    del    del    del    del    del    del     N
   132  fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
   133  fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
   134  fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
   135  fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
   136  fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
   137  fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
   138  fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
   139  fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
   140  '/'    nop    nop    nop    '/'    nop    nop    nop     O
   141  cr     cr     nl     nl     cr     cr     nl     nl      O
--------------------------END OF FILE----------------------------

See also

Manual pages: mapkey(M), mapchan(M)

For information on the Dvorak keyboard layout, see:

http://www.ccsi.com/~mbrooks/dvorak/

From the Xinuos technical article database, record 110745. Reproduced with permission. The original is at www.sco.com/ta/110745, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.