Hercules+HAO+cmd

=Hercules HAO command (Hercules Automatic Operator)=

//The Hercules Automatic operator (HAO) feature is a facility that allows to automatically issue console commands in response to certain messages being issued. To use the HAO facility it is necessary to define a rule, consisting of a target and an associated command//

Ok, that's what the manual says, but in simpler terms, the **hao** command can be used to setup keyboard shortcuts.

e.g.

If you enter "l", (ell) on the Hercules console, you will see the following message :


 * l**
 * HHCPN139E Command "l" not found; enter '?' for list.**

If you then enter :


 * hao tgt "l"**
 * hao cmd u 2000.20**

And then enter The HAO will see the **HHCPN139E Command "l" not found; enter '?' for list.** message, and respond to the **"l"** that was entered in the previous hao tgt "l" command, and execute the corresponding command, which in this case will be **u 2000.20**
 * l**