home *** CD-ROM | disk | FTP | other *** search
/ Best of Big Blue Disk / bbdbest.zip / HISTORY.TXT < prev    next >
Text File  |  1987-09-18  |  6KB  |  110 lines

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