#
#       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 - REGMAP.TXT

# This file is for the users who have a regular 83/84 keys keyboard
# and want to have the same mapping as provided by the previous versions of 
# TNVT220 that came with the release 3.5 or earlier releases of LAN 
# WorkPlace for DOS Software.

#     Line format:

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


# Defining VT220 Top-Row Function Keys

      PrintScreen   = Shift f2;         # Print Screen
      Set-Up        = F9;               # Set-Up
      DOSGate       = F10;              # Escape to DOS
      NextSession   = Ctrl F1;         	# Switch to next TNVT220 Session
      TNVTGate      = Ctrl F2;          # Escape to TNVT220 command proc

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

      F6            = Ctrl F6;
      F7            = Ctrl F7;
      F8            = Ctrl F8;
      F9            = Ctrl F9;
      F10           = Ctrl 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 Ctrl F6;
      Shift F7      = Shift Ctrl F7;
      Shift F8      = Shift Ctrl F8;
      Shift F9      = Shift Ctrl F9;
      Shift F10     = Shift Ctrl 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;


# Main Keypad keys

      Delete        = Del;


# Editing keypad keys

      Find          = Shift F5;
      InsertHere    = Shift F6;
      Remove        = Shift F7;
      Select        = Shift F8;
      PrevScreen    = Shift F9;
      NextScreen    = Shift F10;
      Up Arrow      = F5, Up Arrow;
      Down Arrow    = F6, Down Arrow;
      Left Arrow    = F7, Left Arrow;
      Right Arrow   = F8, Right Arrow;


# 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;

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

      Divide         = NULL;            # Not a VT220 Auxillary keypad key
      Plus           = NULL;            # Not a VT220 Auxillary keypad key
      Aux Comma	     = NULL;            # Set to NULL for 4.1 release


# 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;

