ARP 1.1 (Disk 85) (Mar 1988) : conman11 / history.doc

========================================================================
                                History
========================================================================

History is a command utility to save, load, or display the history buffer.
It allows you to save and then preload a set of commands for working on 
a particular project.  History works only from a CLI or other command shell
and requires version 1.1 or later of ConMan.

Usage.
The usage template for history looks like
                   history [>savefile] [inputfile]

If you don't specify any options, the command displays the current buffer 
on the standard output stream.  You can redirect this output into a file 
to save it (or perhaps edit it).

If you specify a filename argument after the command, History will load
the contents of that file into the history buffer.  The new lines are 
loaded just as though they had been typed in.  You can use the CTRL-B key
to clear the buffer first if you don't want any of the current commands.

The lines that you put into the history buffer should be obtained by
capturing a previous session.  If you try something silly like loading 
an executable file into the buffer, nothing will break, but you'll end
up with a lot of funny-looking characters in the command history.

Errors.
History checks to be sure that you've run it from a command shell that 
uses ConMan, since the history is maintained by ConMan.  If you try it
from another environment, it will issue the message
                        Not a ConMan console window