home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d165 / conman.lha / ConMan / History.doc < prev    next >
Text File  |  1988-11-22  |  1KB  |  31 lines

  1.                                 History
  2. History is a command utility to save, load, or display the history buffer.
  3. It is useful for saving and then preloading a set of commands for working
  4. on a particular project, or just to review your current command history.
  5. History works only from a CLI or other shell and requires version 1.1 or
  6. later of ConMan.
  7.  
  8. Usage.
  9. The usage template for history looks like
  10.                    history [>savefile] [inputfile]
  11.  
  12. If you don't specify any options, the command displays the current buffer 
  13. on the standard output stream.  You can redirect this output into a file 
  14. to save it (or perhaps edit it).
  15.  
  16. If you specify a filename argument after the command, History will load
  17. the contents of that file into the history buffer.  The new lines are 
  18. loaded just as though they had been typed in.  You can use the CTRL-B key
  19. to clear the buffer first if you don't want to keep the current commands.
  20.  
  21. The lines to be loaded into the history buffer should have been obtained
  22. by capturing a previous session.  If you try something silly like loading 
  23. an executable file into the buffer, nothing will break, but you'll end
  24. up with a lot of funny-looking characters in the command history.
  25.  
  26. Errors.
  27. History checks to be sure that you've run it from a command shell that 
  28. uses ConMan, since the history is maintained by ConMan.  If you try it
  29. from another environment, it reports "Not a ConMan console window" and
  30. exits.
  31.