home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 2: PC
/
frozenfish_august_1995.bin
/
bbs
/
d01xx
/
d0165.lha
/
ConMan
/
History.doc
< prev
next >
Wrap
Text File
|
1988-11-22
|
1KB
|
31 lines
History
History is a command utility to save, load, or display the history buffer.
It is useful for saving and then preloading a set of commands for working
on a particular project, or just to review your current command history.
History works only from a CLI or other 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 to keep the current commands.
The lines to be loaded into the history buffer should have been 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 reports "Not a ConMan console window" and
exits.