Function Key

Qedit 5.7 for HP-UX

Home Previous Next


Function Key

Set Alias Fkey keynumber To aliasdefinition

You can also assign an alias definition to a function key. Let's say you want the F1 key to perform a series of commands, simply enter

/Set Alias Fkey 1 to "ls /home/joe"

The function key number can only have a value of 1 through 8. The function key aliases only work in Line mode. In full-screen mode, they are redefined to the standard Visual meanings.

You can define function keys by specifying the escape sequence they transmit. For example, the F1 key sends ESC+P. Thus you could use

/Set Decimal On
/Set Alias '27"p" To "ls /home/joe"        {'27 is the ASCII code}


Home Previous Next