next previous up contents index
Next: POINT Previous: NRLOCATE Up: The Commands in Detail


PFK   [n|ALL] [?| LOCK|UNLOCK|SET /string/]
PF

PFK abbreviates program function key, i.e. keys that call program functions (in opposition to functions of the operating system). The keys concerned usually are labelled with F1, F2, etc. Therefore the keys are referred to as F keys. In section Programmable Function Keys there is detailed explanation on the sense and usage of the allocation of commands or exaEdit functions on F keys.

PFK basically has two parameters. The first one specifies the F key concerned and the second parameter specifies the function (to show, lock, unlock, allocate).

The first parameter is either the number of the F key or it is ALL if every F key is referred to. If you leave out the first parameter in combination with the function `show', ALL F keys is assumed; if you omit the first parameter together with one of the other functions, no F key is adopted. In other words, the first parameter is necessary together with the functions LOCK, UNLOCK and SET.

Instead of the single specification n, you may also specify a range n-m or n:m, or a list of numbers and ranges, e.g. 3 4-7 9.

If you leave out the second parameter, exaEdit adopts the function to `show'. As a consequence, the commands

are identical, as well as pfk n ? and pfk n, etc.

With the parameter LOCK you lock the specified F key(s), i.e. that you cannot allocate it (or them) by simply entering characters and pressing the F key afterwards. F keys that have been defined with the command SET are locked automatically.

With the parameter UNLOCK you remove the lock of the specified F key(s).

With the parameter SET /string/ you allocate the specified F key(s) with the string. The delimiters of string are arbitrary, as usual, the final delimiter is optional.

allocates `who' on the F key F5.

Please, note that the apostrophes at the beginning and at the end belongs to the exaEdit functions. In the following definitions, only F4 results in the exaEdit function del while the two at the beginning, F1 and F2, result in the exaEdit command delete, and F3 does not make sense.


next previous up contents index
Next: POINT Previous: NRLOCATE Up: The Commands in Detail