Difference between revisions of "SET FUNCTION"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Program the terminal function keys | Program the terminal function keys | ||
Line 17: | Line 10: | ||
==See Also== | ==See Also== | ||
− | [[@...GET]], [[MENU]], [[ | + | [[@...GET]], [[FKLABEL()]], [[FKMAX()]], [[Function Keys]], [[KEYBOARD]], [[MENU]], [[ON KEY]], [[REPLAY]], [[SET CAPTURE]], [[SET KEY]], [[SET PCKEYS]] |
==Description== | ==Description== | ||
− | The SET FUNCTION | + | The SET FUNCTION command provides the capability of reprogramming the function keys of the terminal. The SET PCKEYS command must be ON prior to programming function keys. When specifying a function key to be programmed, SET FUNCTION accepts the function key number <expN>, or the function key label <expC>. The character string assigned to a function key can be up to 50 characters long and may contain only one command. |
Reprogramming the function keys has no effect on their standard usage within full screen forms based operations. Terminal function keys can only be used at the interactive prompt. | Reprogramming the function keys has no effect on their standard usage within full screen forms based operations. Terminal function keys can only be used at the interactive prompt. | ||
Line 27: | Line 20: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
set function 2 to "modify command " | set function 2 to "modify command " | ||
− | set function [PF1] to "run show users"</ | + | set function [PF1] to "run show users"</code> |
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|FUNCTION]] | [[Category:Set_Commands|FUNCTION]] | ||
+ | [[Category:Terminal Environment]] | ||
+ | [[Category:Terminal Environment Set Commands]] |
Latest revision as of 15:49, 23 November 2009
Purpose
Program the terminal function keys
Syntax
SET FUNCTION <expN> TO <expC>
SET FUNCTION <expC1> TO <expC2>
See Also
@...GET, FKLABEL(), FKMAX(), Function Keys, KEYBOARD, MENU, ON KEY, REPLAY, SET CAPTURE, SET KEY, SET PCKEYS
Description
The SET FUNCTION command provides the capability of reprogramming the function keys of the terminal. The SET PCKEYS command must be ON prior to programming function keys. When specifying a function key to be programmed, SET FUNCTION accepts the function key number <expN>, or the function key label <expC>. The character string assigned to a function key can be up to 50 characters long and may contain only one command.
Reprogramming the function keys has no effect on their standard usage within full screen forms based operations. Terminal function keys can only be used at the interactive prompt.
Example
set function 2 to "modify command " set function [PF1] to "run show users"
Products
Recital