home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 2 / bbd02.zip / HISTORY.DOC < prev    next >
Text File  |  1986-10-20  |  6KB  |  110 lines

  1. ^1                              DOS COMMAND HISTORY
  2.                                  PC Version 2.6
  3.  
  4.                                 By Bryan Higgins
  5.  
  6.  
  7. DOS COMMAND HISTORY (referred to as HISTORY in the rest of this documentation) 
  8. is a program for PC-DOS 2.0 and later which allows the user to recall, edit, 
  9. and reissue previously-typed DOS commands.  If a mistake is made on the command 
  10. currently being entered but is not noticed until after several more characters 
  11. have been typed, the mistake may be fixed without deleting the intervening 
  12. characters.  
  13.  
  14. The user steps back and forth through old commands using the up- and down-arrow 
  15. keys.  The left- and right-arrow keys may be used to move within a line.  Home 
  16. moves to the beginning of the line, while End moves back to the end.  The 
  17. Delete key deletes the character to the left of the cursor and the Remove key 
  18. deletes the character under the cursor.  Normal characters are inserted into 
  19. the line.  When the user types Return, the entire line is sent regardless of 
  20. the position of the cursor.  
  21.  
  22. A line may be recalled by content by typing F9; the user is then prompted for a 
  23. search string.  The history list is searched backwards for the line beginning 
  24. with the specified string.  To search for the next-most recent occurrence of 
  25. the string, the user merely hits the F8.  As a shorthand for F9, F10 prompts 
  26. for a single-character search string without a carriage return; the selected 
  27. string is automatically sent.  The string seleted by F9 or F10 is remembered 
  28. between HISTORY invocations.  Subsequent uses of the Find key use this string 
  29. until another is chosen.  
  30.  
  31. Multiple DOS commands may be entered on one line by separating them with a 
  32. semicolon.  The commands will be sent one at a time to DOS.  A semicolon as the 
  33. last character on the line will be sent along (hello, MicroSoft).  To enter a 
  34. semicolon mid-command, type two (one will be sent).  
  35.  
  36. Other commands are summarized below.
  37.  
  38.  
  39.                                   Installation
  40.  
  41. HISTORY is enabled by executing HISTORY.EXE once per boot, typically from 
  42. AUTOEXEC.BAT.  It requires about 5K of dedicated memory.  It cannot be run from 
  43. the BIG BLUE DISK menu; you must type HISTORY from the DOS command level.  
  44.  
  45. HISTORY works by trapping DOS function 0AH.  Since programs other than 
  46. COMMAND.COM also use function 0AH, HISTORY must dis-tinguish COMMAND.COM from 
  47. the crowd.  It does this by remembering the address of the very first program 
  48. to call it after it's been loaded; to insure that COMMAND.COM is the first 
  49. caller, make HISTORY the last command in AUTOEXEC.BAT or invoke it manually.  
  50.  
  51.  
  52.                                 Command Summary
  53.  
  54.            Up-arrow or        Move back through commands
  55.            PgUp
  56.            Down-arrow or      Move forward through commands
  57.            PgDn
  58.            Left-arrow         Move the cursor left one character
  59.            Right-arrow        Move the cursor right one character
  60.            Home               Move the cursor to the beginning of line
  61.            End                Move the cursor to the end of the line
  62.            Cntrl-left-arrow   Move the cursor left one word
  63.            Cntrl-right-arrow  Move the cursor right one word
  64.            Backspace          Delete the character before the cursor
  65.            Delete             Delete the character under the cursor
  66.            Ctrl-Home          Delete from the beginning of the line to the
  67.                               cursor
  68.            Ctrl-End           Delete from the cursor to the end of the line
  69.            Insert             Toggle insert/overstrike mode (starts each
  70.                               time in insert mode).
  71.            Return             Send the line
  72.            F9                 Select and find search string
  73.            F8                 Find next occurrence of string (remembered
  74.                               between commands)
  75.            F10                Select and find one-character search string;
  76.                               send the line
  77.            F7                 Same as typing "EXIT"; useful for leaving
  78.                               secondary COMMAND.COM's.
  79.            F6                 Lists the contents of the history buffer,
  80.                               oldest to most recent.
  81.            F5                 Turns HISTORY off; commands are parsed via
  82.                               normal DOS code until Control-Z followed by
  83.                               Return is typed.
  84.            ;                  If not the last character on the line, splits
  85.                               DOS commands.  They are handed one at a time
  86.                               to COMMAND.COM.  If last on the line, it is
  87.                               sent along as part of the command.  To send a
  88.                               semicolon mid-command, type two semicolons.
  89.  
  90.                              Printer Considerations
  91.  
  92.  When printing a file using the standard DOS print spooler PRINT.COM, lines are 
  93.  sent to the printer only when awaiting DOS input; since HISTORY bypasses DOS 
  94.  input when awaiting command input, the printer will stop until a command is 
  95.  run.  
  96.  
  97.  Similarly, Control-P (printer toggle) will not be recognized in HISTORY.  The 
  98.  solution to both problems is to use F5 to turn HISTORY off long enough for the 
  99.  file to print or to type Control-P (once toggled on you may turn HISTORY back 
  100.  on; printing will take place in this case).  
  101.  
  102.  To turn HISTORY back on, type Control-Z followed by Return.
  103.  
  104.                    Copyright (c) 1985, 1986 by Bryan Higgins.
  105.  
  106. DISK FILES USED BY THIS PROGRAM:
  107.                                   HISTORY.EXE
  108.                                   HISTORY.DOC  (This text file)
  109. 
  110.