Command Line History Buffer
by Mark Lock

This module maintains a 'history' of Basic and star commands which can be accessed to save typing. Once the command *HistoryOn has been entered, commands are stored in a buffer.

The up/down cursor keys can then be used to search through the buffer for previous commands, while the left/right cursor keys can be used to move the cursor within the current command. Characters may be entered in either Insert or Overtype mode, with Insert changing between the two modes. Cursor editing is enabled using Copy and disabled with Ctrl-C, while Home moves the cursor between the start and the end of the line. Note that these editing functions can be used on the line being entered, and not just on previously entered lines.

*HistoryOff disables the history, although the contents of the buffer are retained for future use. The two remaining commands are *HList, which lists the contents of the buffer, and *HStatus, which gives details on the status of the buffer and whether the history is enabled.

When !History is run, a dialogue box is displayed, enabling the module to be copied to an appropriate directory by dragging its icon, or loaded into the RMA by double clicking on its icon.
