====                                                NOSview [137]
fkey
====

The 'fkey' command allows you to program the function keys and
several other cursor control keys.

_________________________________________________________________
fkey
_________________________________________________________________
Display the key_numbers for the function keys.  This command
produces the following output:

............................................................
: key num    key  num    key  num    key  num    key   num :
: f1   59    sf1   84    cf1   94    af1  104    pgup   73 :
: f2   60    sf2   85    cf2   95    af2  105    pgdn   81 :
: f3   61    sf3   86    cf3   96    af3  106    home   71 :
: f4   62    sf4   87    cf4   97    af4  107    end    79 :
: f5   63    sf5   88    cf5   98    af5  108    arup   72 :
: f6   64    sf6   89    cf6   99    af6  109    ardn   80 :
: f7   65    sf7   90    cf7  100    af7  110    ar l   75 :
: f8   66    sf8   91    cf8  101    af8  111    ar r   77 :
: f9   67    sf9   92    cf9  102    af9  112    ins    82 :
: f10  68    sf10  93    cf10 103    af10 113    del    83 :
:..........................................................:

'fn'  refers to Function_key_n
'sfn' refers to SHIFT-Function_key_n
'cfn' refers to CTRL-Function_key_n
'afn' refers to ALT-Function_key_n
'ar'  refers to the arrow keys

_________________________________________________________________
fkey <key_number> [<value> | "<string>" ]
_________________________________________________________________
Display or define a new setting for a function key.

Control characters can be included in the string by prefixing
with the ^ character (SHIFT 6 on most keyboards); e.g. CR is
entered as ^M.  To insert a ^ in the string, enter ^^.

>> Examples:  fkey 87 "trace tnc0 211^M"  (SHIFT-F4 turns trace
                                             on)
              fkey 72 ""                  (disable up arrow)

Mappings for a VT100/ANSI keyboard:

   number  string    key
     59   " 33OP"  /* F1 */
     60   " 33OQ"  /* F2 */
     61   " 33OR"  /* F3 */
     62   " 33OS"  /* F4 */
     71   " 10"    /* home*/
     72   " 33[A"  /* up arrow*/
     73   " 25"    /* pgup */
     75   " 33[D"  /* left arrow */
     77   " 33[C"  /* right arrow */
     79   " 05"    /* end */
     80   " 33[B"  /* down arrow */
     81   " 12"    /* pgdn */
     82   " 01"    /* ins */
     83   " 177"   /* del */
