S From:	HENRY::IN%"art%MITRE.ARPA%SRI-KL.ARPA%relay.cs.net@rca.com" 13-SEP-1986 17:43  To:	info-vax@sri-kl $ Subj:	Re: use of VT220 function keys    F Yes it is easy to define the function keys on a VT220.  However, sinceC the VT220 can take several modes of operation, I need to define the H assumptions I have made.  1) VT220 is in 7 bit VT220 mode. 2) The CursorM Key mode is Reset (NORMAL).  Use of eight bit mode or cursor application mode 0 result in the need of changing the codes loaded.  ; The right arrow sends CSI C which in 7 bit mode is <esc>[C.   @ To Load the function keys create a file containing the followingK (could be a program containing it but a file can be created just as easily)   - <esc>P0;1|23/1B;24/08;25/0A;26/1B5B437F<esc>*   	 This will    1) Clear the loaded keys   2) Load an escape into F11           a Backspace into F12           a Linefeed into F13 2           the sequuence right arrow, DEL into F14.  4 Note that the <esc> is only an escape character (1B)2 The 0 in P0 says to clear previous key definitions% the 1 says to leave the keys unlocked > The character between 1 and 23 is the vertical bar (shifted \)C The characters between the / and the ;(or ending <esc>) are the Hex < representations of the ascii characters loaded into the key. 		<esc>   -    1B  		  [     -    5B  		  C     -    43  		 DEL    -    7F   A All information taken from the VT220 programmers Reference Manual  EK-VT220-RM-002   D After creating such a file (1 line), copy it to the terminal (TYPE).B The keys will now be defined.  To use the downloaded key definiton, press shift while striking the function key.   * - Arthur T. McClinton Jr., (703) 883-6356 (    The MITRE Corporation, Mail Stop Z305    1820 Dolley Madison Blvd.    McLean, VA   22102   