#
#       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 - UNIX_MAP.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 is provided for the users who don't access DEC
# machines (don't need DEC VT Edit keys) and would prefer easy access to
# Unix VI functions.

TYPE = WINDOWS;
NAME = Unix VI Map ;

#     Line format:

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


# Defining VT220 Top-Row Function Keys

# The following 5 keys are not used in Host Presenter

      PrintScreen   = NULL;      	# Print Screen
      Set-Up        = NULL;      	# Set-Up
      DOSGate       = NULL;      	# Escape to DOS
      NextSession   = NULL;      	# Switch TNVT220 Session
      TNVTGate      = NULL;      	# TNVT220 command proc gate

      Hold Screen   = ScrollLock; 	# Hold Screen
      Break	    = NULL;	 	# Break
      Ctrl Break    = Ctrl Break; 	# Answer back key
      Esc	    = Esc;		# Escape key
	    
      F6            = F6;
      F7            = F7;
      F8            = F8;
      F9            = F9;
      F10           = F11;           	# F10 is used by Windows
      F11           = Ctrl F1;
      F12           = Ctrl F2;
      F13           = Ctrl F3;
      F14           = Ctrl F4;
      F15           = Ctrl F5;
      F16           = Ctrl F6;
      F17           = Ctrl F7;
      F18           = Ctrl F8;
      F19           = Ctrl F9;
      F20           = Ctrl F11;      	# F10 is used by Windows
                    
      Shift f6      = Shift f6;
      Shift f7      = Shift f7;
      Shift f8      = Shift f8;
      Shift f9      = Shift f9;
      Shift f10     = Shift f11;     	# F10 is used by Windows
      Shift f11     = Shift Ctrl f1;
      Shift f12     = Shift Ctrl f2;
      Shift f13     = Shift Ctrl f3;
      Shift f14     = Shift Ctrl f4;
      Shift f15     = Shift Ctrl f5;
      Shift f16     = Shift Ctrl f6;
      Shift f17     = Shift Ctrl f7;
      Shift f18     = Shift Ctrl f8;
      Shift f19     = Shift Ctrl f9;
      Shift f20     = Shift Ctrl f11; 	# F10 is used by Windows


# Main Keypad keys

      Delete        = Delete, Del;


# Editing keypad keys

      Find          = NULL;
      InsertHere    = NULL;
      Remove        = NULL;
      Select        = NULL;
      PrevScreen    = NULL;
      NextScreen    = NULL;

      UpArrow       = EditUpArrow,    UpArrow;
      DownArrow     = EditDownArrow,  DownArrow;
      LeftArrow     = EditLeftArrow,  LeftArrow;
      RightArrow    = EditRightArrow, RightArrow;
                    

# 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


# Miscellaneous defines

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

      Vi-ScreenHome  = AltEditHome;
      Vi-PgUp        = PageUp;
      Vi-PgDn        = PageDown;
      Vi-ScreenEnd   = AltEditEnd;
      Vi-Ins         = Insert;
      Vi-Middle      = NULL;		# Aux keypad not avail in Windows
      Vi-LineHome    = editHome;
      Vi-LineEnd     = editEnd;
      Vi-FileHome    = shiftEditHome;
      Vi-FileEnd     = shiftEditEnd;
