PF() action

In 3270 mode, the PF action emulates one of the 24 Program Function (PF) keys on the 3270 keyboard. It sends a PF AID to the host and waits for the host to unlock the keyboard before returning.

In NVT mode, it emulates an xterm F key, sending the corresponding escape sequence to the host. Note that 1 through 4 are VT100 F codes, 5 through 20 are VT220 PF codes, and 21 through 24 are x3270 family extensions.

Parameters

 * n
 * The PF key number, from 1 to 24

Examples
PF(1) PF(22)