


               VT100 emulating Kermit version 2.27 for MS-DOS
              on the Olivetti M24 and other IBM compatible PCs

                                     by

                               Andrew J. HUNT
                       CSIRO Division of Radiophysics
                  PO Box 76, Epping, NSW, Australia  2121
                          Telephone (02) 868 0222

    This document is intended as a supplement to the MSKERMIT.HLP file.   It
describes  the differences between the standard (IBM-PC) version and the M24
version.  It should be read in conjunction with the MSM24KBD.DOC file  which
describes the KBDVT100.COM (MSM24KBD.COM) 'foreign' keyboard driver which is
used to permit VT100/VT52 keypad emulation.


Terminal Emulation

    Both H19/VT52 and VT100 terminal emulation are provided.   The  terminal
reports  VT100  with  no  options  in  VT100  mode and VT100 in VT52 mode in
H19/VT52 mode.  The HEATH-19 ON state is used to select  H19/VT52;  the  OFF
state,  altered  to be the default, selects VT100 mode.  The MS-DOS ANSI.SYS
driver was found to be insufficient to provide proper VT100 operation and so
the MSYM24 module handles all terminal functions.  All non-ambiguous control
sequences of both the H19/VT52 and VT100 which are supported are honoured in
both  modes.  Only those sequences which have a different meaning in the two
terminals are switched  between  modes  (viz.  <esc>D,  <esc>E,  <esc>H,  and
<esc>M).  Only a few SET and RESET functions are not supported.

    Most  of the VT100 graphics characters are available in the PC character
set, so a translation table has been set up to map the VT100 graphics set to
appropriate  equivalents  so that the EDT help screen is properly displayed.
All the PC special characters are available through the two 'ROM'  character
sets which the VT100 supports [<esc>x1 and <esc>x2, where x is either '(' or
')'].  The table below lists the hex-hex translations for the two ROM  sets.
The  UK (<esc>xA) character set is also supported.  This merely replaces the
displayed graphic for # with the Pound sign.

                'ROM' character set translations (in brief)

    Standard characters        ROM1 [<esc>x1]      ROM2 [<esc>x2]

    ! - +     21h - 2Bh           A0h - AAh

    , - 9     2Ch - 39h             , - 9

    : - >     3Ah - 3Eh           ABh - AFh

      ?          3Fh                 7Fh

    ! - ?     21h - 3Fh                               01h - 1Fh

    @ - _     40h - 5Fh           80h - 9Fh           C0h - DFh

    ` - o     60h - 6Fh           E0h - EFh           B0h - BFh

    p - ~     70h - 7Eh                     F0h - FEh






Special Driver for Keypad Emulation

    Keypad emulation is provided by the use of the F21 through F38  function
key  codes.   These  are  normally  generated  by  CTRL/F1  ...  CTRL/F10  and
ALT/F1 ... ALT/F8.  By installing the KBDVT100.COM 'foreign'  keyboard  driver
(distributed  as  MSM24KBD.COM/HEX)  these  functions  can be transferred to
their correct positions on the Olivetti Deluxe (type 2)  keyboard,  and  the
closest  possible  approximation  of  this  on the IBM-PC or Olivetti type 1
keyboard.  This is more fully described in MSM24KBD.DOC.

    The driver should be renamed from its distribution name of  MSM24KBD.COM
to  KBDVT100.COM,  placed  on the system disk, and invoked from AUTOEXEC.BAT
during system startup.  By  typing  CTRL/ALT/F2,  the  normal  Function  and
CTRL/Function  operations of the keypad are shifted to the CTRL and ALT/CTRL
positions, leaving the Base (or FUNCT LOCK) positions available to emulate a
VT100 or VT52 keypad in application mode.

    This  version  of Kermit has also been tested on a Heath/Zenith Z150 PC,
and, apart from the non-availability of ALT/SHIFT and ALT/CTRL outputs  from
the  keypad  keys, it emulates both a VT100 and a VT52 perfectly adequately.
The missing key outputs merely mean that the PC-MODE of the keyboard  driver
must  be  selected in order to issue Kermit's Line-up, Line-down and Printer
on/off commands.  PC-MODE is selected by typing CTRL/ALT/F1,  Emulation-MODE
is selected by typing CTRL/ALT/F2.

    Other  aspects of the keyboard driver are that the English Pound sign is
available at ALT/SHIFT/3; and ALT applied to the ', `, ^, and ~  keys  makes
them  "dead  keys"  as  described  in  the  MS-DOS Users Guide.  This latter
feature makes a number of accented vowels available  not  normally  directly
obtainable with the ROM based keyboard driver.


General aspects

    The  SET  KEY  command  allows  the  names  F1 through F18 to be used in
defining codes for the function keys.  The CTRL and ALT  generated  versions
of  F21  through  F38  may  be redefined without affecting keypad emulation.
The shift states in the expanded scan code used by SET KEY serve  adequately
to distinguish them from the keypad keys.  If not redefined they may be used
interchangeably with the keypad keys.

    Since this version was generated merely by additions to  copies  of  the
MSXIBM and MSYIBM system dependent modules for the IBM-PC version, all other
features of standard IBM-PC Kermit are available.


Contact Address


                        Andrew J. HUNT
                        CSIRO Division of Radiophysics
                        Postbox 76
                        Epping  N.S.W.  2121
                        AUSTRALIA

                        Phone: (61) (2) 868 0222
                        Telex: ASTRO  AA 26230

           PSI_MAIL:    PSI%0505228621001::ANDREW

             Functional Description of the VT100/VT52 Emulation
                     PC Keyboard Driver - KBDVT100.COM

                                     by

                               Andrew J. HUNT
                       CSIRO Division of Radiophysics


    This IBM compatible 'Foreign' Keyboard Driver is  derived  from  the  UK
keyboard  driver  distributed  with  MS-DOS  for  the  Olivetti M24 Personal
Computer.  Its purpose is to provide VT100  and  H19/VT52  keypad  emulation
when  used with the Olivetti M24 (IBM-PC compatible) version of the Columbia
University communications program Kermit.

    It has been tested with a Heath/Zenith  Z150  PC,  in  addition  to  the
Olivetti  M24,  and  has  been  shown  to work almost as expected;  the only
problem with the Z150 being that that PC's keyboard does not  report  keypad
keystrokes  performed  in  either  ALT/SHIFT  or  ALT/CTRL,  and  so some PC
functions are not available in Emulation-MODE (solution  -  switch  back  to
PC-MODE  to  perform  those functions).  This would seem to indicate that it
will work correctly with any IBM compatible PC.

    This driver was produced by using the DEBUG utility examine the original
KEYBUK.COM  file  by  disassembly  and  listing, and then making appropriate
patches to both the tables and the code  sections  to  achieve  the  desired
result.  A number of coding peculiarities were discovered in the distributed
driver and these have been corrected.  It was noted that the  non-alphabetic
control  characters  were  assigned to the wrong keys in the deluxe keyboard
table - they were left assigned to keys used with the IBM keyboard!

    Because of the use of DEBUG  to  generate  this  driver,  no  compilable
source  exists.   However,  I have extracted a listing of the code by piping
the DEBUG output to a file.  I have added comments to this file to  indicate
the  function  of  the  various  subroutines  and  tables,  and it is in the
distribution as MSM24KBD.LST.  Any keen programmer should be able to convert
this into compilable code with little effort!

    The  foreign  keyboard drivers provide the facility of switching between
two different mappings for the keys.   With  all  the  distributed  drivers,
default  mapping  is  the  foreign character set, and the alternative allows
reversion to the standard US ASCII mapping (similar to  that  coded  in  the
BIOS  ROM).   With this driver it was decided to reverse the default so that
standard PC-MODE remains selected when the driver is first loaded (do it  in
AUTOEXEC.BAT  so  its  always  there!),  and  that  by  pressing CTRL/ALT/F2
Emulation-MODE becomes selected.   As  with  the  standard  foreign  driver,
CTRL/ALT/F1 causes it to revert to standard US ASCII PC-MODE.

    The major effect of Emulation-MODE is to replace the un-shifted function
mode output of the auxiliary keypad keys with the scan-codes for F21 through
F38 (CTRL/F1 ... CTRL/F10 and ALT/F1 ... ALT/F8).  The normal function codes
are then output in conjunction with either CTRL or ALT/CTRL.   For  example,
the   normal   function   output  of  the  keypad  8  key  is  up-arrow;  in
Emulation-MODE, this becomes F28 while up-arrow is shifted to CTRL/Kpd8.

    The first four keypad  diagrams  show  the  IBM-PC  and  Olivetti-Deluxe
keypad  functions in PC-(ctrl/alt/F1)-MODE and Emulation-(ctrl/alt/F2)-MODE.
The other four diagrams show effect of the combination of Emulation-MODE and
both  the  VT100  (Heath  off) and H19/VT52 (Heath on) modes of Olivetti-M24
Kermit when used with the standard DEC EDT editor.  Kermit will also produce



the  same  VT100/VT52 sequences from the CTRL/F1-F10 and ALT/F1-F8 generated
versions of F21 - F38 unless those keys are redefined with a SET  KEY.   The
different shift states will then serve to distinguish the different keyings.

    In  addition  to  the  variations  to  the  keypad,  both  modes of both
keyboards generate an English Pound-sign in lieu of the hash-mark  (#)  when
both  ALT  and  SHIFT are used in conjunction with the keyboard 3-key.  Also
the accent keys (', `, ^, and ~) are dead keys when keyed together with ALT,
e.g.  'ALT/^' followed by 'e' will generate e-circumflex as described in the
MS-DOS Users' Guide.


M
               +------------+            +------------+------------+------------+------------+
               | CRTL  ALT/ |            |  /         |Cont.       | X74        | X78        |
               |       CTRL |            |            |print       |            |            |
               |            |            |            |            |            |            |
               |SHIFT  ALT/ |            |  /         |  *         |  -         |  +         |
               |       SHIFT|            |            |            |            |            |
               |            |            |            |        SCR |            |            |
               | Base   ALT |            |  /         |  *     PRT |  -         |  +         |
               +------------+            +------------+------------+------------+------------+
          Key (with FUNCT LOCK on)       |CTRL/       |  ^         |CTRL/       |Cont.       |
                                         | Home       |  |         | PgUp       |print       |
              A blank position           |            |            |            |            |
               indicates that            |  7         |  8         |  9         |SCR PRT     |
                no output is             |            |            |            |            |
                produced for             |            |  ^         |            |Cont.   SCR |
              that combination           | Home    "7 |  |      "8 | PgUp    "9 |print   PRT |
                                         +------------+------------+------------+------------+
                                         |<-word      | X76        |word->      |            |
  "d  The digits, keyed while ALT is     |            |            |            |            |
      held down, enter the decimal       |            |            |            |            |
      value of the ASCII code to be      |  4         |  5         |  6         |  =         |
      returned when ALT is released.     |            |            |            |            |
                                         |            |            |            |            |
                                         | <--     "4 | X76     "5 | -->     "6 |  =         |
               +------------+            +------------+------------+------------+------------+
               |CTRL/       |            |CTRL/       |  |         |CRTL/       |            |
               | Home       |            | End        |  v         | PgDn       |            |
               |            |            |            |            |            |            |
               |Home        |            |  1         |  2         |  3         |            |
               |            |            |            |            |            | <LF>       |
               |  ^         |            |            |  |         |            |            |
               |  |    Home |            | End     "1 |  v      "2 | PgDn    "3 |            |
  +------------+------------+------------+------------+------------+------------+ <CR>       |
  |<-word      | <LF>       |word->      |            |            |            |            |
  |            |            |            |            |            |            |            |
  |            |            |            |            |            |            | <CR>       |
  |<-word      | <LF>       |word->      |  0         |  00        |  .         |            |
  |            |            |            |            |            |            |            |
  |            |  |         |            |            |            |            |            |
  | <--  <-word|  v    <LF> | -->  word->| Ins     "0 |            | Del        |            |
  +------------+------------+------------+------------+------------+------------+------------+
P

                     Olivetti M24 Deluxe Keypad Layout

                         in PC-MODE  (CTRL/ALT/F1)




M


     +------------+                              .............................................
     | CRTL  ALT/ |                              .                     .                     .
     |       CTRL |                              .                     .                     .
     |            |                              .                     .     SCROLL LOCK     .
     |SHIFT  ALT/ |                              .      NUM LOCK       .                     .
     |       SHIFT|                              .                     .       (Break)       .
     |            |                              .                     .                     .
     | Base   ALT |                              .                     .                     .
     +------------+         .............+------------+------------+------------+------------+
 Key (with NUM LOCK off)    .            |CTRL/       |  ^         |CTRL/       | X74        |
                            .            | Home       |  |         | PgUp       |            |
    A blank position        .            |            |            |            |            |
     indicates that         .            |  7         |  8         |  9         |  -         |
      no output is          . <LF>       |            |            |            |            |
      produced for          .            |            |  ^         |            |            |
    that combination        .            | Home    "7 |  |      "8 | PgUp    "9 |  -         |
                       ...... <CR>       +------------+------------+------------+------------+
                       .                 |<-word      | X76        |word->      | X78        |
"d  The keypad digits, .                 |            |            |            |            |
    keyed while ALT is .      <CR>       |            |            |            |            |
    held down, enter   .                 |  4         |  5         |  6         |  +         |
    the decimal value  .                 |            |            |            |            |
    of an ASCII code   .                 |            |            |            |            |
    to be returned     ..................| <--     "4 | X76     "5 | -->     "6 |  +         |
    when ALT is             +------------+------------+------------+------------+------------+
    released.               |Cont.       |CTRL/       |  |         |CTRL/       |            .
                            |print       | End        |  v         | PgDn       |            .
                            |            |            |            |            |            .
                            |  *         |  1         |  2         |  3         |            .
                            |            |            |            |            | <LF>       .
                            |            |            |  |         |            |            .
                            |  *    PrtSc| End     "1 |  v      "2 | PgDn    "3 |            .
                            +------------+------------+------------+------------+ <CR>       .
                            |                         |                         |            .
                            |                         |                         |            .
                            |                         |                         | <CR>       .
                            |  0                      |  .                      |            .
                            |                         |                         |            .
                            |                         |                         |            .
                            | Ins                  "0 | Del                     |.............
                            +-------------------------+-------------------------+
P

                            IBM-PC Keypad Layout

                          in PC-MODE (CTRL/ALT/F1)














    The general scheme in Emulation-MODE is to move the normal  function  of
the  keypad  keys  to  the  CTRL position and the usual CTRL/function to the
ALT/CTRL position.  This leaves the FUNCT LOCK (NUM LOCK off) state free  to
generate the F21 to F38 scan codes.
M


               +------------+            +------------+------------+------------+------------+
               | CRTL  ALT/ |            |  /         |Cont.       | X74        | X78        |
               |       CTRL |            |            |print       |            |            |
               |            |            |            |            |            |            |
               |SHIFT  ALT/ |            |  /         |  *         |  -         |  +         |
               |       SHIFT|            |            |            |            |            |
               |            |            |            |        SCR |            |            |
               | Base   ALT |            | F31        | F32    PRT | F33        | F34        |
               +------------+            +------------+------------+------------+------------+
          Key (with FUNCT LOCK on)       | Home  CTRL/|  ^         | PgUp  CTRL/|Cont.       |
                                         |        Home|  |         |        PgUp|print       |
              A blank position           |            |            |            |            |
               indicates that            |  7         |  8         |  9         |SCR PRT     |
                no output is             |            |            |            |            |
                produced for             |            |            |            |        SCR |
              that combination           | F27     "7 | F28     "8 | F29     "9 | F35    PRT |
                                         +------------+------------+------------+------------+
                                         | <--  <-word| X76        | -->  word->|            |
  "d  The digits, keyed while ALT is     |            |            |            |            |
      held down, enter the decimal       |            |            |            |            |
      value of the ASCII code to be      |  4         |  5         |  6         |  =         |
      returned when ALT is released.     |            |            |            |            |
                                         |            |            |            |            |
                                         | F24     "4 | F25     "5 | F26     "6 | F36        |
               +------------+            +------------+------------+------------+------------+
               |CTRL/       |            | End   CTRL/|  |         | PgDn  CTRL/|            |
               | Home       |            |        End |  v         |        PgDn|            |
               |            |            |            |            |            |            |
               |Home        |            |  1         |  2         |  3         |            |
               |            |            |            |            |            | <LF>       |
               |  ^         |            |            |            |            |            |
               |  |    Home |            | F21     "1 | F22     "2 | F23     "3 |            |
  +------------+------------+------------+------------+------------+------------+ <CR>       |
  |<-word      | <LF>       |word->      | Ins        |            | Del        |            |
  |            |            |            |            |            |            |            |
  |            |            |            |            |            |            | F38        |
  |<-word      | <LF>       |word->      |  0         |  00        |  .         |            |
  |            |            |            |            |            |            |            |
  |            |  |         |            |            |            |            |            |
  | <--  <-word|  v    <LF> | -->  word->| F30     "0 |            | F37        |            |
  +------------+------------+------------+------------+------------+------------+------------+
P

                     Olivetti M24 Deluxe Keypad Layout

                      in Emulation-MODE (CTRL/ALT/F2)










M


     +------------+                              .............................................
     | CRTL  ALT/ |                              .                     .                     .
     |       CTRL |                              .                     .                     .
     |            |                              .                     .     SCROLL LOCK     .
     |SHIFT  ALT/ |                              .      NUM LOCK       .                     .
     |       SHIFT|                              .                     .       (Break)       .
     |            |                              .                     .                     .
     | Base   ALT |                              .                     .                     .
     +------------+         .............+------------+------------+------------+------------+
 Key (with NUM LOCK off)    .            | Home  CTRL/|  ^         | PgUp  CTRL/| F33    X74 |
                            .            |        Home|  |         |        PgUp|            |
    A blank position        .            |            |            |            |            |
     indicates that         .            |  7         |  8         |  9         |  -         |
      no output is          . F38        |            |            |            |            |
      produced for          .            |            |            |            |            |
    that combination        .            | F27     "7 | F28     "8 | F29     "9 | F35        |
                       ...... <LF>       +------------+------------+------------+------------+
                       .                 | <--  <-word| X76        | -->  word->| F34    X78 |
"d  The keypad digits, .                 |            |            |            |            |
    keyed while ALT is .      <CR>       |            |            |            |            |
    held down, enter   .                 |  4         |  5         |  6         |  +         |
    the decimal value  .                 |            |            |            |            |
    of an ASCII code   .                 |            |            |            |            |
    to be returned     ..................| F24     "4 | F25     "5 | F26     "6 | F36        |
    when ALT is             +------------+------------+------------+------------+------------+
    released.               | F32   Cont.| End   CTRL/|  |         | PgDn  CTRL/|            .
                            |       print|        End |  v         |        PgDn|            .
                            |            |            |            |            |            .
                            |  *         |  1         |  2         |  3         |            .
                            |            |            |            |            | F38        .
                            |            |            |            |            |            .
                            | F31   PrtSc| F21     "1 | F22     "2 | F23     "3 |            .
                            +------------+------------+------------+------------+ <LF>       .
                            | Ins                     | Del                     |            .
                            |                         |                         |            .
                            |                         |                         | <CR>       .
                            |  0                      |  .                      |            .
                            |                         |                         |            .
                            |                         |                         |            .
                            | F30                  "0 | F37                     |.............
                            +-------------------------+-------------------------+
P

                            IBM-PC Keypad Layout

                      in Emulation-MODE  (CTRL/ALT/F2)














    The  following  diagrams show the effect of the combination of the VT100
emulating version of Kermit (with HEATH-19/VT52 mode OFF) and  the  KBDVT100
driver in Emulation-MODE when used with DEC's EDT editor.
M


               +------------+            +------------+------------+------------+------------+
               | CRTL  ALT/ |            |  /         |Cont.       |            |Toggle      |
               |       CTRL |            |            |print       |            |MODE line   |
               |            |            |            |            |            |            |
               |SHIFT  ALT/ |            |  /         |  *         |  -         |  +         |
               |       SHIFT|            |            |            |            |            |
               |            |            |            |        SCR |FNDNXT      | DELL       |
               | Base   ALT |            | GOLD       | HELP   PRT |[FIND]      |[UNDL]      |
               +------------+            +------------+------------+------------+------------+
          Key (with FUNCT LOCK on)       |Kermit      |  ^         |   Kermit   |Cont.       |
                                         | Home       |  |         | PgUp  LnUp |print       |
              A blank position           |            |            |            |            |
               indicates that            |  7         |  8         |  9         |SCR PRT     |
                no output is             |            |            |            |            |
                produced for             | PAGE       |SECTION     |APPEND      | DELW   SCR |
              that combination           |[COMMAND]"7 |[FILL]   "8 |[REPLACE]"9 |[UNDW]  PRT |
                                         +------------+------------+------------+------------+
                                         | <--        |            | -->        |            |
  "d  The digits, keyed while ALT is     |            |            |            |            |
      held down, enter the decimal       |            |            |            |            |
      value of the ASCII code to be      |  4         |  5         |  6         |  =         |
      returned when ALT is released.     |            |            |            |            |
                                         |ADVANCE     |BACKUP      | CUT        | DELC       |
                                         |[BOTTOM] "4 |[TOP]    "5 |[PASTE]  "6 |[UNDC]      |
               +------------+            +------------+------------+------------+------------+
               |            |            |Kermit      |  |         |   Kermit   |            |
               |            |            | End        |  v         | PgDn  LnDn |            |
               |Kermit      |            |            |            |            |            |
               |Home        |            |  1         |  2         |  3         |            |
               |            |            |            |            |            | <LF>       |
               |  ^   Kermit|            | WORD       | EOL        | CHAR       |            |
               |  |    Home |            |[CHGCASE]"1 |[DELEOL] "2 |[SPCINS] "3 |            |
  +------------+------------+------------+------------+------------+------------+ <CR>       |
  |            | <LF>       |            |            |            |            |            |
  |            |            |            |            |            |            |            |
  |            |            |            |            |            |            | ENTER      |
  |            | <LF>       |            |  0         |  00        |  .         | [SUBS]     |
  |            |            |            |            |            |            |            |
  |            |  |         |            | LINE    "0 |            |SELECT      |            |
  | <--        |  v    <LF> | -->        |[OPEN LINE] |            |[RESET]     |            |
  +------------+------------+------------+------------+------------+------------+------------+

P

                     Olivetti M24 Deluxe Keypad Layout

                      in Kermit  VT100 Emulation-MODE

                         (Heath OFF + CTRL/ALT/F2)








M


     +------------+                              .............................................
     | CRTL  ALT/ |                              .                     .                     .
     |       CTRL |                              .                     .                     .
     |            |                              .                     .     SCROLL LOCK     .
     |SHIFT  ALT/ |                              .      NUM LOCK       .                     .
     |       SHIFT|                              .                     .       (Break)       .
     |            |                              .                     .                     .
     | Base   ALT |                              .                     .                     .
     +------------+         .............+------------+------------+------------+------------+
 Key (with NUM LOCK off)    .            |Kermit      |  ^         |   Kermit   |FNDNXT      |
                            .            | Home       |  |         | PgUp  LnUp |[FIND]      |
    A blank position        .            |            |            |            |            |
     indicates that         . ENTER      |  7         |  8         |  9         |  -         |
      no output is          . [SUBS]     |            |            |            |            |
      produced for          .            | PAGE       |SECTION     |APPEND      | DELW       |
    that combination        .            |[COMMAND]"7 |[FILL]   "8 |[REPLACE]"9 |[UNDW]      |
                       ...... <LF>       +------------+------------+------------+------------+
                       .                 | <--        | X76        | -->        | DELL Toggle|
"d  The keypad digits, .                 |            |            |            |[UNDL]  MODE|
    keyed while ALT is .      <CR>       |            |            |            |        Line|
    held down, enter   .                 |  4         |  5         |  6         |  +         |
    the decimal value  .                 |            |            |            |            |
    of an ASCII code   .                 |ADVANCE     |BACKUP      | CUT        | DELC       |
    to be returned     ..................|[BOTTOM] "4 |[TOP]    "5 |[PASTE]  "6 |[UNDC]      |
    when ALT is             +------------+------------+------------+------------+------------+
    released.               | HELP  Cont.|Kermit      |  |         |   Kermit   |            .
                            |       print| End        |  v         | PgDn  LnDn |            .
                            |            |            |            |            |            .
                            |  *         |  1         |  2         |  3         | ENTER      .
                            |            |            |            |            | [SUBS]     .
                            |            | WORD       | EOL        | CHAR       |            .
                            | GOLD  PrtSc|[CHGCASE]"1 |[DELEOL] "2 |[SPCINS] "3 |            .
                            +------------+------------+------------+------------+ <LF>       .
                            | Ins                     | Del                     |            .
                            |                         |                         |            .
                            |                         |                         | <CR>       .
                            |  0                      |  .                      |            .
                            |                         |                         |            .
                            | LINE                    | SELECT                  |            .
                            |[OPEN LINE]           "0 | [RESET]                 |.............
                            +-------------------------+-------------------------+
P

                            IBM-PC Keypad Layout

                      in Kermit  VT100 Emulation-MODE

                         (Heath OFF + CTRL/ALT/F2)












    The  following  diagrams show the effect of the combination of the VT100
emulating version of Kermit (with HEATH-19/VT52 mode ON)  and  the  KBDVT100
driver in Emulation-MODE when used with DEC's EDT editor.
M


               +------------+            +------------+------------+------------+------------+
               | CRTL  ALT/ |            |  /         |Cont.       |            |Toggle      |
               |       CTRL |            |            |print       |            |MODE line   |
               |            |            |            |            |            |            |
               |SHIFT  ALT/ |            |  /         |  *         |  -         |  +         |
               |       SHIFT|            |            |            |            |            |
               |            |            |            |        SCR | DELL       |            |
               | Base   ALT |            | GOLD       | HELP   PRT |[UNDL]      |            |
               +------------+            +------------+------------+------------+------------+
          Key (with FUNCT LOCK on)       |Kermit      |  ^         |   Kermit   |Cont.       |
                                         | Home       |  |         | PgUp  LnUp |print       |
              A blank position           |            |            |            |            |
               indicates that            |  7         |  8         |  9         |SCR PRT     |
                no output is             |            |            |            |            |
                produced for             | PAGE       |FNDNXT      | DELW       |        SCR |
              that combination           |[COMMAND]"7 |[FIND]   "8 |[UNDW]   "9 |        PRT |
                                         +------------+------------+------------+------------+
                                         | <--        |            | -->        |            |
  "d  The digits, keyed while ALT is     |            |            |            |            |
      held down, enter the decimal       |            |            |            |            |
      value of the ASCII code to be      |  4         |  5         |  6         |  =         |
      returned when ALT is released.     |            |            |            |            |
                                         |ADVANCE     |BACKUP      | DELC       |            |
                                         |[BOTTOM] "4 |[TOP]    "5 |[UNDC]   "6 |            |
               +------------+            +------------+------------+------------+------------+
               |            |            |Kermit      |  |         |   Kermit   |            |
               |            |            | End        |  v         | PgDn  LnDn |            |
               |Kermit      |            |            |            |            |            |
               |Home        |            |  1         |  2         |  3         |            |
               |  ^   Kermit|            |            |            |            | <LF>       |
               |  |    Home |            | WORD       | EOL        | CUT        |            |
               |[REPLACE]   |            |[CHGCASE]"1 |[DELEOL] "2 |[PASTE]  "3 |            |
  +------------+------------+------------+------------+------------+------------+ <CR>       |
  |            | <LF>       |            |            |            |            |            |
  |            |            |            |            |            |            |            |
  |            | <LF>       |            |            |            |            | ENTER      |
  |            |            |            |  0         |  00        |  .         | [SUBS]     |
  |            |  |         |            |            |            |            |            |
  | <--        |  v    <LF> | -->        | LINE    "0 |            |SELECT      |            |
  |[APPEND]    |[SECTION]   |[SPCINS]    |[OPEN LINE] |            |[RESET]     |            |
  +------------+------------+------------+------------+------------+------------+------------+

P

                     Olivetti M24 Deluxe Keypad Layout

                     in Kermit H19/VT52 Emulation-MODE

                          (Heath ON + CTRL/ALT/F2)








M

     +------------+                              .............................................
     | CRTL  ALT/ |                              .                     .                     .
     |       CTRL |                              .                     .                     .
     |            |                              .                     .     SCROLL LOCK     .
     |SHIFT  ALT/ |                              .      NUM LOCK       .                     .
     |       SHIFT|                              .                     .       (Break)       .
     |            |                              .                     .                     .
     | Base   ALT |                              .                     .                     .
     +------------+         .............+------------+------------+------------+------------+
 Key (with NUM LOCK off)    .            |Kermit      |  ^         |   Kermit   | DELL       |
                            .            | Home       |  |         | PgUp  LnUp |[UNDL]      |
    A blank position        .            |            |[REPLACE]   |            |            |
     indicates that         . ENTER      |  7         |  8         |  9         |  -         |
      no output is          . [SUBS]     |            |            |            |            |
      produced for          .            | PAGE       |FNDNXT      | DELW       |            |
    that combination        .            |[COMMAND]"7 |[FIND]   "8 |[UNDW]   "9 |            |
                       ...... <LF>       +------------+------------+------------+------------+
                       .                 | <--        | X76        | -->        |      Toggle|
"d  The keypad digits, .                 |[APPEND]    |            |[SPCINS]    |        MODE|
    keyed while ALT is .      <CR>       |            |            |            |        Line|
    held down, enter   .                 |  4         |  5         |  6         |  +         |
    the decimal value  .                 |            |            |            |            |
    of an ASCII code   .                 |ADVANCE     |BACKUP      | DELC       |            |
    to be returned     ..................|[BOTTOM] "4 |[TOP]    "5 |[UNDC]   "6 |            |
    when ALT is             +------------+------------+------------+------------+------------+
    released.               | HELP  Cont.|Kermit      |  |         |   Kermit   |            .
                            |       print| End        |  v         | PgDn  LnDn |            .
                            |            |            |[SECTION]   |            |            .
                            |  *         |  1         |  2         |  3         | ENTER      .
                            |            |            |            |            | [SUBS]     .
                            |            | WORD       | EOL        | CUT        |            .
                            | GOLD  PrtSc|[CHGCASE]"1 |[DELEOL] "2 |[PASTE]  "3 |            .
                            +------------+------------+------------+------------+ <LF>       .
                            | Ins                     | Del                     |            .
                            |                         |                         |            .
                            |                         |                         | <CR>       .
                            |  0                      |  .                      |            .
                            |                         |                         |            .
                            | LINE                    | SELECT                  |            .
                            |[OPEN LINE]           "0 | [RESET]                 |.............
                            +-------------------------+-------------------------+
P

                            IBM-PC Keypad Layout

                     in Kermit  H19/VT52 Emulation-MODE

                          (Heath ON + CTRL/ALT/F2)

Contact address:

    Andrew J. HUNT
    CSIRO Division of Radiophysics
    Postbox 76
    Epping  N.S.W.  2121
    AUSTRALIA
    Phone: (61) (2) 868 0222          Telex: ASTRO  AA 26230
    PSI_MAIL:    PSI%0505228621001::ANDREW
