home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / mastlkt.zip / BUFFIT.DOC < prev    next >
Text File  |  1988-04-10  |  6KB  |  93 lines

  1.            BUFFIT a screen text capturing program by: D.T.Hamilton.
  2.  
  3. How many times have you done a 'dir' and had the top few filenames scroll
  4. off the top of your screen and wished you could get them back?  Or you are
  5. working in debug and you have just traced 10 more instructions and wished
  6. you could see what the registers were before you traced the 10 instructions?
  7. How about when you 'type' a long text file and want to re-read one of the
  8. first lines after they are gone?
  9.  
  10. To solve these and other problems I have written a program called BUFFIT.
  11. BUFFIT becomes memory resident and can be invoked whenever a program is
  12. awaiting keyboard input by typing BUFFIT'S 'Hot Key' (the 'Hot Key' is user
  13. definable and defaults to Alt-F9). BUFFIT will capture all text output through
  14. DOS but not text output directly to the video buffer or through Interupt 10H.
  15. Once BUFFIT has been invoked you may move through the captured text a single
  16. line at a time or a page at a time. You can also go directly to the top or
  17. bottom of the capture buffer. There is also a Control Panel which has options
  18. to clear the capture buffer, toggle the capture state on or off and two other
  19. special features. First is Keep Buffer Position which will allow you to exit
  20. BUFFIT and then re-invoke it and still be at the same position in the buffer
  21. you were at before you left (BUFFIT normally positions you at the bottom of
  22. the buffer whenever you invoke it). Second is Text Line Terminator which will
  23. cause BUFFIT to treat either a carriage-return (CR) or a line-feed (LF)
  24. character as the end of a line (some programs don't output line-feeds with
  25. their text, you will see this as a bunch of lines writing over the top of each
  26. other when you use BUFFIT to review them). Help for the keys that perform
  27. BUFFIT'S functions may be obtained by typing an H whenever BUFFIT is invoked.
  28. To return to your application where you left off ESC will leave BUFFIT. Note
  29. that BUFFIT will not allow you to invoke it if your screen is in a graphics
  30. mode, if this happens BUFFIT will give a couple of strange tones in your
  31. speaker when you press the 'Hot Key'.
  32.  
  33. BUFFIT will also allow you to dump its capture buffer to a printer attached
  34. to port LPT1 or you may dump it to a disk file. You will be prompted for the
  35. name of the file you wish to dump into and it may include a drive and/or path.
  36.  
  37. BUFFIT will run on any IBM or compatible with either a CGA, EGA or monochrome
  38. monitor. BUFFIT will use about 11K of resident memory plus the size of the 
  39. capture buffer (buffer size is user definable and defaults to 20000 bytes,
  40. which is enough to capture about 15 - 25 pages of screen text). To load BUFFIT
  41. type the command BUFFIT from your DOS prompt or put BUFFIT in your
  42. autoexec.bat file if you have one. Note that BUFFIT must be in your current
  43. directory or in your DOS search path to load succesfully. You need only load
  44. BUFFIT once and it will remain in memory until the next time you re-boot. Note
  45. that if you are using a memory resident command line capture/edit program like
  46. DOSEDIT, CED or SUPERKEY that these programs should be loaded BEFORE you load
  47. BUFFIT for the best performance. If for some reason you forget which key you
  48. had selected as the 'Hot Key' just type BUFFIT from your command line and
  49. BUFFIT will remind you that it is already loaded into memory and show you the
  50. current 'Hot Key' setting.
  51.  
  52. BUFFIT may be loaded with several command line parameters to customize its
  53. performance. The valid parameters are;
  54.  
  55.   /R  This parameter will cause BUFFIT to wait for video retrace when writing
  56.         to the video screen. This will eliminate 'snow' during BUFFIT displays
  57.     if your video controller is subject to snow. Only use this parameter
  58.     if you have snow as it slows down BUFFITS display rate.
  59.   /B  This parameter must be followed by a decimal number which represents
  60.         the size of the capture buffer that BUFFIT will allocate. This value
  61.     must be between 1024 and 40000 and will be adjusted automatically if
  62.     not divisible by 4.
  63.   /K  This parameter must be followed by a 3 digit decimal number which 
  64.         represents the extended key code of the 'Hot Key' you wish to use
  65.     to invoke buffit. Valid extended key codes are;
  66.          016 - 025 = Q W E R T Y U I O P (Alternate)
  67.            030 - 038 = A S D F G H J K L (Alternate)
  68.          044 - 050 = Z X C V B N M (Alternate)
  69.          059 - 068 = F1 - F10 (Normal)
  70.             084 - 093 = F1 - F10 (Shifted)
  71.          094 - 103 = F1 - F10 (Control)
  72.          104 - 113 = F1 - F10 (Alternate)
  73.          120 - 129 = 1 2 3 4 5 6 7 8 9 0 (Alternate)
  74.   /C  This parameter will cause BUFFIT to use black and white attributes for
  75.         video displays even if you have a color monitor.
  76.   /H  This parameter will cause BUFFIT to display a help message giving a
  77.         brief explanation of all command line parameters.
  78.  
  79. The above parameters may also be entered using a '-' in place of the '/'.
  80. You may also string parameters together, for example the command:
  81.        BUFFIT -RK044
  82. This command would cause BUFFIT to load with the default capture buffer size
  83. of 20000 bytes, wait for video retrace on displays and use 'Alt Z' as the
  84. 'Hot Key' for invoking it.
  85.  
  86. I hope you enjoy this program and find it as usefull as I do. If you find 
  87. that you do please send a $10 or $15 or so donation. Also feel free to drop
  88. me a line if you have any problems or suggestions.
  89.  
  90.                                            David T. Hamilton
  91.                                            8149 Hesperia Ave.
  92.                                            Reseda, CA. 91335
  93.