#
#       Copyright (c) 1992 Novell, Inc.  All Rights Reserved.
#
#       THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS 
#       AND TREATIES. NO PART OF THIS WORK MAY BE USED, PRACTICED, 
#       PERFORMED COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, 
#       ABRIDGED, CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, 
#       RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT
#       OF NOVELL, INC.  ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 
#       AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL
#       LIABILITY.
#

# VT220 Function Keys Map File - EXTMAP.TXT

# This file is for the PCs with an enhanced 101/102 keys keyboard.
# The enhanced PC keyboard has keys f11 and f12, and the functions keys 
# are on top. This file maps VT220 function keys to the PC keys	as
# closely as possible.

#     Line format:

#     VT220 Function Key = PC Key Sequence [, PC Key Sequence] ;


# Defining VT220 Top-Row Function Keys

      DOSGate       = Alt d;        # Escape to DOS
      PrintScreen   = Alt p;   	    # Print Screen
      Set-up        = Alt s;        # Set-Up
      NextSession   = Alt n;        # Switch to Next TNVT220 Session
      TNVTGate      = Alt t;        # Escape to TNVT220 command proc

      Hold Screen   = NULL;         
      Break         = NULL;
      Ctrl Break    = NULL;
      Esc           = Esc;

      F6            = F6;
      F7            = F7;
      F8            = F8;
      F9            = F9;
      F10           = F10;
      F11           = Alt F1;
      F12           = Alt F2;
      F13           = Alt F3;
      F14           = Alt F4;
      F15           = Alt F5;
      F16           = Alt F6;
      F17           = Alt F7;
      F18           = Alt F8;
      F19           = Alt F9;
      F20           = Alt F10;

      Shift F6      = Shift F6;
      Shift F7      = Shift F7;
      Shift F8      = Shift F8;
      Shift F9      = Shift F9;
      Shift F10     = Shift F10;
      Shift F11     = Shift Alt F1;
      Shift F12     = Shift Alt F2;
      Shift F13     = Shift Alt F3;
      Shift F14     = Shift Alt F4;
      Shift F15     = Shift Alt F5;
      Shift F16     = Shift Alt F6;
      Shift F17     = Shift Alt F7;
      Shift F18     = Shift Alt F8;
      Shift F19     = Shift Alt F9;
      Shift F20     = Shift Alt F10;


# Auxiliary Keypad keys

      PF1           = F1;
      PF2           = F2;
      PF3           = F3;
      PF4           = F4;

      Aux 0	     = Num 0;
      Aux 1	     = Num 1;
      Aux 2	     = Num 2;
      Aux 3	     = Num 3;
      Aux 4	     = Num 4;
      Aux 5	     = Num 5;
      Aux 6	     = Num 6;
      Aux 7	     = Num 7;
      Aux 8	     = Num 8;
      Aux 9	     = Num 9;
      Aux Period     = Num Period;

      Divide         = Num Divide;      # Not a VT220 Auxillary keypad key
      Multiply       = Num Multiply;    # Not a VT220 Auxillary keypad key
      Plus           = Num Plus;        # Not a VT220 Auxillary keypad key
      Aux Minus	     = Num Minus;
      Enter          = Num Enter;

      Aux Comma	     = NULL;            # Set to NULL for 4.1 release


# Main Keypad keys

      Delete        = Del;


# Editing keypad keys

      Find          = Insert;
      InsertHere    = EditHome;
      Remove        = PageUp;
      Select        = Delete;
      PrevScreen    = EditEnd;
      NextScreen    = PageDown;

      Up Arrow      = EditUp Arrow,    Up Arrow;
      Down Arrow    = EditDown Arrow,  Down Arrow;
      Left Arrow    = EditLeft Arrow,  Left Arrow;
      Right Arrow   = EditRight Arrow, Right Arrow;


# Miscellaneous Defines

      Home          = NULL;         # if defined, generates Esc[H

      Vi-LineHome   = Home;
      Vi-LineEnd    = End;
      Vi-ScreenHome = Ctrl Home;
      Vi-ScreenEnd  = Ctrl End;
      Vi-Middle     = Center;
      Vi-PgUp       = PgUp;
      Vi-PgDn       = PgDn;
      Vi-FileHome   = Ctrl PgUp;
      Vi-FileEnd    = Ctrl PgDn;
      Vi-Ins        = Ins;


