fkey <key_number> [<value> | "<string>" ]
Display or define a new setting for a function key. This command allows you to program the function keys and several other cursor control keys. To make this command available, compile with #defined [tbd] Examples:
fkey Without parameters this command produces a listing of the currently defined function keys.
fkey 87 "trace tnc0 211^M" (SHIFT-F4 turns trace on)
fkey 72 "" (disable up arrow)
fkey 113 "~" (Alt-F10 switches to the Command session)
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 ^. [tbd]
Note: If the first character of a function key definition is '~' then JNOS switches to the Command session and processes the rest of the definition (if any).
FKEY TABLE
By default, pressing the selected key produces the accompanying number. Double keys are S=shift, C=ctrl, A=alt.
key
num
key
num
key
num
key
num
key
num
F1
59
Stab
15
SF1
84
CF1
94
AF1
104
F2
60
SF2
85
CF2
95
AF2
105
F3
61
home
71
SF3
86
CF3
96
AF3
106
F4
62
up
72
SF4
87
CF4
97
AF4
107
F5
63
pgup
73
SF5
88
CF5
98
AF5
108
F6
64
left
75
SF6
89
CF6
99
AF6
109
F7
65
right
77
SF7
90
CF7
100
AF7
110
F8
66
end
79
SF8
91
CF8
101
AF8
111
F9
67
down
80
SF9
92
CF9
102
AF9
112
F10
68
pgdn
81
SF10
93
CF10
103
AF10
113
F11
133
ins
82
SF11
135
CF11
137
AF11
139
F12
134
del
83
SF12
136
CF12
138
AF12
140
Cprnt
114
Cpgdn
118
Cend
117
Chome
119
Cpgup
132
