Reference Guide > S Routines > SETUP_KEYS Procedure
  

SETUP_KEYS Procedure
Standard Library procedure that sets up the functions keys for keyboards known to PV‑WAVE.
Usage
SETUP_KEYS
Parameters
None.
Keywords
 
note
All of the keywords described below work only under UNIX. This procedure does not take any keywords under Windows.
App_Keypad—Specifies the escape sequences for the group of keys in the numeric keypad, enabling these keys to be program-med within PV‑WAVE.
Eightbit—Indicates that 8-bit versions of the escape codes should be used instead of the default 7-bit versions when the VT200 function key definitions are entered. Eightbit is only valid if the VT200 keyword is also used.
HP9000—Specifies that function key definitions for an HP-9000 Series 300 keyboard should be established.
The upper right-hand group of four keys (at the same height as the function keys) are called <BLANK1> throught <BLANK4>, since they have no written labels.
Keys defined to have labels beginning with a capital <K> belong to the numeric keypad group; for example, <K9> refers to keypad key <9>.
Mips—Specifies that function key definitions for a MIPS RS series keyboard should be established.
Num_Keypad—Disables programmability of the numeric keypad.
Sun—Specifies that function key definitions for a Sun-4 keyboard should be established.
VT200—Specifies that function key definitions for a VT200 keyboard should be established.
Discussion
You can examine the function key definitions by running the SETUP_KEYS procedure and then typing INFO, /Keys. To change a key definition or add a new key definition, use the DEFINE_KEY procedure.
Example
; Establishes function key definitions for a Sun-4 keyboard.
SETUP_KEYS, /Sun
See Also
DEFINE_KEY, SETDEMO
System Variables: !Version

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.