CRISP ON SCO ( Mapping Of the Alt Keys):


SUMMARY:

To make the ALT keys emit the required sequences do this:

Decide whether you have a UK or a US keyboard. If neither,
modify the "keys" file and send the resulting file
back to Paul Fox.

Rename the "keys.uk" file or the "keys.us" file to "keys".

Place the files "keys" and "strings" in the directory
/usr/lib/keyboard.

Add the following line to your .profile:

mapstr

Place the file sco.tty.cr in the directory:
/usr/local/crisp/src/crunch/tty as file sco.cr.

Place the file sco.kbd.cr in the directory:
/usr/local/crisp/src/crunch/kbd as file sco.cr.

Compile/Crunch the terminal/keyboard driver.

The shell variables BTERM and BKBD should be set to "sco".

Run mapkey to set the new key mappings. This is only
required once. in future any machine reboot will
provide the new keyboard layout.


------------------------ Details ------------------------------------------ 
The KEYBOARD(HW) section of the manual has a listing of the original
/usr/lib/keyboard/keys. You will note that all the alt-letter keys are
defined to just generate the letter (pretty useless as far as I'm concerned)
so I don't think changing them to generate something more detectable is
likely to break anything so even though this becomes the new key mapping for
everyone, I don't think that's a problem.

The Delete key is now set up to provide an esc function code. This then
allows the key to be used in the Korn Shell to do command line
editing. If you really want Delete (0x7f) then CTRL-Backspace will
give it to you. If you used to use Delete for the interrupt key
try "stty intr ^c" and use Ctrl-C instead. To use the Delete key as
delete char forwards in the Korn Shell do set -o emacs and
alias __K=^D (where ^D is actually Ctrl-D this time, not carat-D).

If you wish to use the keypad "/" and "Enter" keys as
separately distinguishable keys then the keyboard must
be set into "at" mode by using the command:

kbmode at

You should first test that your keyboard supports "at" mode
by running kbmode test.

Note that the keypad "/" and "Enter" keys are not defined
to do anything by default in Crisp, so leaving the
keyboard in "xt" mode will be no great loss. Also note
that the use of "at" mode will not work with X-Sight.

Note also that the PrtScr key is not currently supported,
and by default has been re-assigned to Alt-P.

