home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SCREEN / WAS062.ZIP / WAS062.DOC < prev   
Encoding:
Text File  |  1990-10-14  |  22.8 KB  |  376 lines

  1.  
  2.                              Version 0.62 of WAS.COM
  3.                        Copyright 1990 by Charles Lazo III
  4.                                All Rights Reserved
  5.  
  6.  WAS is a program that once loaded becomes memory resident.  Thereafter it
  7.  captures lines that scroll off the top of the screen to a scroll back buffer
  8.  kept in expanded memory.  If an attempt is made to reload WAS after it is once
  9.  loaded it will buzz the speaker and state that WAS is already loaded.  Only
  10.  after an improper installation of WAS will you hear this buzzing sound.  If
  11.  the sound is heard at other times--after WAS has been successfully loaded--
  12.  then the sound denotes a bug in the program and WAS will probably not function
  13.  properly after that.
  14.  
  15.  WAS will display upon a user's screen the content of previous screens/lines
  16.  that have scrolled off the top of the screen.  To perform this action WAS uses
  17.  the Scroll Lock key.  If other software in the system is also using this key,
  18.  then such software and/or WAS may fail to operate properly.  (Note, however,
  19.  the descriptions of the '+' and '-' switches below.)  WAS necessarily requires
  20.  the use of EMS memory.  It should work with EMS versions 3.2 and later, but
  21.  it has only been tested on versions 3.2 and 4.0.  Emulated EMS memory should
  22.  work fine.
  23.  
  24.  WAS is "Gratisware", that is, software that while copyrighted, may be freely
  25.  distributed.  See the notice at the end of this document for the nature of the
  26.  copyright restrictions.  A disclaimer also applies to WAS.  The author is not
  27.  responsible for any damages that are caused by the use of the program whatever
  28.  their nature.  By using the software you agree to this provision.  Having said
  29.  that there is from the author's point of view, only a slight probability that
  30.  any damage can occur.  A worst case situation would be that WAS may lock up
  31.  the computer when the Scroll Lock key is pressed.  The probability of problems
  32.  will tend to decrease as users of the program report them to the author.
  33.  
  34.  A few minor problems have been reported with version 0.50 and these hopefully
  35.  have been fixed with this 0.62 version.  Most of the difference between 0.50
  36.  and 0.62 is internal.  Principally this has been the addition of code that
  37.  allows WAS to work with device drivers that extend the keyboard buffer, moving
  38.  to an internal stack when WAS is in the hold state and clearing the prefetch
  39.  queue after each I/O operation.  Three new switches have been added, the "d"
  40.  switch is a kludge fix for a problem that is due to the way in which video
  41.  function 0eh is implemented in the Orchid VGA BIOS that is installed in the
  42.  system on which this version reached its final phase.  The problem was that
  43.  each line in the scroll back buffer was appearing twice.  Hopefully I'll be
  44.  able to auto detect this anomaly in at some point and thereby avoid the use
  45.  of this switch.  Another switch added with version 0.62 is the "v" switch.
  46.  When used after the initial installation this switch will display the version
  47.  number and copyright notice.  Finally, the "e" switch enables the exiting of
  48.  the WAS Scroll Lock hold by pressing the ESCape key.
  49.  
  50.  To install WAS simply enter the number of EMS pages (16k bytes each) to devote
  51.  to WAS on the command line after the program's name following either letter
  52.  "b" or "B" (no spaces allowed between "b" and the number), e.g., for a 20 page
  53.  (EMS pages) scroll back buffer (320k bytes of EMS memory) simply enter this
  54.  line at the DOS prompt or in a batch file:
  55.  
  56.                                     WAS b20
  57.  
  58.  Each EMS page will be enough to save approximately 102 lines of text.  (Part
  59.  of the the memory assigned will be used to save up to 60 lines of the current
  60.  screen for later restoration when WAS leaves the Scroll Lock state.  Thus by
  61.  assigning only a single EMS page to WAS you will have enough space to store
  62.  about two screens of 25-line text in the scroll back buffer.  (See, however,
  63.  the description of the 'l' switch below.)
  64.  
  65.  Now that you know how to install WAS it might be easier to comprehend what
  66.  follows if you leave whatever editor, file lister, etc. that you happen to
  67.  be using to view this documentation, load WAS and then practice using the
  68.  commands described below while reading the remainder of the documentation.
  69.  (You can install WAS, TYPE this file to the screen, and then view it from the
  70.  WAS scroll back buffer.)  Alternatively, you do not have to read the remainder
  71.  of this file at all; WAS by default loads a command summary into the scroll
  72.  back buffer memory and that may be all you need to get started.  Just install
  73.  WAS, press the SCROLL LOCK key and then the HOME key to read the command
  74.  summary in the scroll back buffer.
  75.  
  76.  If at some point in time you find the command summary superfluous you can tell
  77.  WAS not to load it by using the 'n' switch on the command line when you run
  78.  WAS, e.g.:
  79.  
  80.                                     was nb20
  81.  
  82.  WAS should perform adequately on all types of video hardware:  MDA, CGA, EGA,
  83.  PGC, MCGA, VGA, etc.  Only 80 column text modes are supported.  Any other
  84.  column size will definitely be incompatible with WAS.
  85.  
  86.  ==============================================================================
  87.  
  88.                       More about WAS Installation Options
  89.  
  90.  WAS installation options (command line switches) are symbols placed on the
  91.  command line of WAS which are followed perhaps by numbers or other symbols
  92.  that tell WAS how you want it to be installed.  Switches may be used in small
  93.  case or capitals or any combination of case.  Spaces may be placed on the
  94.  command line separating the invocations of each, but the parameter(s) of a
  95.  switch (if any) must follow the switch without any intervening spaces.  This
  96.  version supports six switches:
  97.  
  98.  'b' (Buffer size)         Already described.
  99.  
  100.  'd' (no double lines)     This switch is introduced in version 0.60 to fix
  101.                            a problem that occurs due to the way that at least
  102.                            one instance of the Orchid VGA BIOS implements a
  103.                            a BIOS TTY screen scroll.  Possibly other video
  104.                            BIOSes do something similar producing the same
  105.                            result which is the doubling of lines in the scroll
  106.                            back buffer.  If you have the line doubling problem
  107.                            with WAS then try this switch, otherwise ignore it.
  108.                            An attempt will be made to auto detect the problem
  109.                            and so as to eliminate this switch in the future.
  110.  
  111.  'e'                       One person responding to my request for feedback
  112.                            mentioned that he would like the ESCape key when
  113.                            pressed to cause WAS to exit the hold state just
  114.                            as the Scroll Lock key is designed to do.  That
  115.                            would be fine on systems that were AT compatible,
  116.                            but using ESCape to exit the hold state on PC or
  117.                            XT systems would cause the scroll lock state (used
  118.                            by WAS to signal a hold condition is desired) to
  119.                            be out of sync with the keyboard status LED for
  120.                            the Scroll Lock key.  So if you are using a PC or
  121.                            XT system and you don't mind the out of sync
  122.                            problem, then go ahead and use the "e" switch if
  123.                            you want ESCape to exit a WAS hold.  YEAH FEEDBACK!
  124.  
  125.  'l' (maximum Line size)   The 'l' switch uses a number parameter like the 'b'
  126.                            switch.  It sets the maximum number of screen lines
  127.                            that WAS will save for the current (last, bottom,
  128.                            active) screen.  This number must lie between 25 and
  129.                            101 inclusive.  It is the maximum number of screen
  130.                            lines that will ever be displayed on the terminal(s)
  131.                            on which WAS is used.  For example, monochrome and
  132.                            CGA displays typically use no more than 25 lines
  133.                            maximum.  EGA usually is limited to 43 lines, and
  134.                            VGA to 50 or 60 lines maximum.  Default for this
  135.                            parameter (no 'l' switch specified) is 60 lines.
  136.                            Making this number as small as possible will give
  137.                            you additional lines in the scroll back buffer so it
  138.                            should be small; however, WAS will not work properly
  139.                            if it is set too low.  If you are using WAS on a
  140.                            system that can display a large number of lines, but
  141.                            you intend to never use more than a certain number,
  142.                            say 28, then it would be okay to use the 'l' switch
  143.                            to specify 28 lines maximum (and similarly for other
  144.                            values).
  145.  
  146.  'n' (No command summary)  Include this switch if you do not wish the command
  147.                            summary to be placed in the scroll buffer when WAS
  148.                            is installed.
  149.  
  150.  's' (annex Summary file)  The 's' switch is used after the WAS source code has
  151.                            been freshly assembled, linked, and exe2bined to
  152.                            form a .com file).  More information about the 's'
  153.                            switch can be obtained by running WAS without this
  154.                            switch after a newly made WAS.COM file is produced
  155.                            by assembling the source code.
  156.  
  157.  'v' (show version)        After installing WAS the version number (and the
  158.                            same copyright notice that appears at installation)
  159.                            will be displayed.
  160.  
  161.  '+' (enable WAS)          If you install WAS using the '-' switch all of the
  162.         and                processing it normally does will be disabled until
  163.  '-' (disable WAS)         you run WAS at some later time with the '+' switch.
  164.                            WAS defaults to being active (enabled) and WAS can
  165.                            be run again with either '+' or '-' switch at any
  166.                            time after the initial install to change the enable/
  167.                            disable status.  Disable WAS if you intend to use
  168.                            software that also uses the Scroll Lock key, thereby
  169.                            preventing conflicts.
  170.  
  171.                            V, +, and - are the only switches that are effective
  172.                            after the initial installation.
  173.  
  174.  ------------------------------------------------------------------------------
  175.  
  176.  Examples:
  177.  
  178.     WAS -n b80             Installs WAS with a scroll back buffer of 1310720
  179.                            = 1280k bytes.  (1310720 = 80 EMS pages).  No
  180.                            command summary is placed in the scroll back buffer
  181.                            and WAS is disabled until at some later time WAS is
  182.                            run with the "+" switch.
  183.  
  184.     WAS L43 b20            A 20 EMS page buffer is assigned, and it is expected
  185.                            that no more than 43 lines will be displayed during
  186.                            this session.  The command summary is placed at the
  187.                            top of the scroll back buffer.
  188.  
  189.  ==============================================================================
  190.  
  191.               Several command keys apply to the operation of WAS
  192.  
  193.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  194.  *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*IMPORTANT NOTICE*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  195.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  196.  
  197.            The *ONLY* time that WAS takes notice of keypress commands
  198.                 is after it has placed the system the hold state
  199.                   caused by pressing the Scroll Lock key!!!!!!
  200.  
  201.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  202.  
  203.  When the Scroll Lock state is active WAS freezes the computer and sits in a
  204.  holding loop waiting for keypresses that express commands to WAS.  When it
  205.  freezes the system it also hides the cursor.  WAS unfreezes the computer when
  206.  you press the Scroll Lock key again, thereby resetting the Scroll Lock state
  207.  and restoring the cursor to view.  Other memory resident programs can pop up
  208.  over WAS.  Some, such as Turbo Lighting, will refuse to perform their tasks
  209.  when WAS has locked the computer via the Scroll Lock key.  Technically, any
  210.  TSR that traps int 9 should be able to pop up over WAS in the hold state.  No
  211.  response will be made to any command keys when the display is in a graphics
  212.  mode, nor will WAS do any capture of scrolled lines.  It will, however, freeze
  213.  the system in a manner similar to pressing the Pause key (same as the Ctrl-Num
  214.  Lock keypress on non-enhanced keyboards) when the Scroll Lock key is pressed
  215.  even in graphics modes.  The WAS hold routine is probably safer than Pause
  216.  because WAS will not interfere with an interrupt-driven thread.  Following are
  217.  descriptions of actions taken by WAS when the corresponding keys are pressed.
  218.  
  219.  Scroll Lock               Scroll Lock not only causes WAS to place the machine
  220.                            on hold, but when pressed again will cause the hold
  221.                            state to be removed.  See also the ESCape key
  222.                            command.
  223.  
  224.  UP ARROW and DOWN ARROW   These keys allow the re-display of lines that have
  225.                            scrolled off the top of the screen.  Pressing UP
  226.                            ARROW scrolls the screen down placing scrolled off
  227.                            lines one at a time on the top line of the screen
  228.                            while moving all others down.  DOWN ARROW performs
  229.                            the reverse action by scrolling the screen up and
  230.                            replacing lines that have been removed from the
  231.                            bottom line when UP ARROW was pressed.
  232.  
  233.  PgUp and PgDn             They work like the UP ARROW and DOWN ARROW keys
  234.                            respectively, only they scroll the screen by the
  235.                            full amount (the entire number of lines on the
  236.                            screen) for each keypress.
  237.  
  238.  HOME and END              HOME places the first screen of WAS's scroll buffer
  239.                            on the display and END will display the current
  240.                            application or DOS screen (i.e., no scrolled-off
  241.                            lines are displayed).
  242.  
  243.  INSERT                    Some application programs write to the screen
  244.                            directly and perform screen scrolling by themselves
  245.                            (instead of using the computer's built-in video BIOS
  246.                            scroll routines).  WAS will not capture the lines
  247.                            scrolled off the top of the screen by these
  248.                            programs; however, if the screen being displayed is
  249.                            the application or DOS screen (displayed by pressing
  250.                            the END key) i.e., nothing is displayed from the WAS
  251.                            scroll buffer, you can press the INSERT key and WAS
  252.                            will capture the current screen in its buffer.
  253.  
  254.                            Many applications exist that allow the user to make
  255.                            a choice between rapid screen updates and the slower
  256.                            updates available through the video BIOS.  If you
  257.                            find that WAS is not capturing the scrolled lines of
  258.                            a program like this, then the choice of slower
  259.                            scrolling (often implemented to prevent snow on some
  260.                            CGA monitors) may allow the program's scrolled lines
  261.                            to be captured by WAS.
  262.  
  263.  BACKSPACE                 It may be desired at times to disable the scroll
  264.                            capture of WAS.  You may do that by pressing the
  265.                            BACKSPACE key.  The BACKSPACE key also turns scroll
  266.                            capture back on.  However, the INSERT key will still
  267.                            operate the same way even with scroll capture
  268.                            disabled.  Should you have forgotten whether capture
  269.                            is on or off you can press the Alt key and WAS will
  270.                            flash the capital letter "Y" in the upper left
  271.                            corner of the screen if capture is on, otherwise a
  272.                            capital "N" will flash.  When you let up on the Alt
  273.                            key this signal will be extinguished.
  274.  
  275.  ESCape                    The Esc key when enabled with the "e" installation
  276.                            option switch will cause the machine to exit a WAS
  277.                            hold state produced by pressing Scroll Lock.  I.e.,
  278.                            either Scroll Lock or Esc will remove a WAS hold.
  279.  
  280.  KEYPAD PLUS and MINUS     This covers the basic operation of WAS.  Another
  281.                            feature of the program allows you to take text from
  282.                            the scroll back buffer (or even the current screen)
  283.                            and feed it to the keyboard buffer.  That is, the
  284.                            text that you delineate with WAS will be given to
  285.                            the running application or DOS just as if you had
  286.                            typed it in yourself.  The first thing you must do
  287.                            to feed the keyboard buffer from text in the scroll
  288.                            back buffer is to mark it by pressing the KEYPAD
  289.                            PLUS key.  The KEYPAD PLUS key marks text while the
  290.                            KEYPAD MINUS key unmarks it.  A marked area may be
  291.                            moved up or down in the display by first pressing a
  292.                            shift key and then either the UP ARROW or DOWN ARROW
  293.                            key.  The marked area can be resized horizontally by
  294.                            holding down a shift key and then pressing either
  295.                            LEFT or RIGHT ARROW keys.  The LEFT SHIFT key
  296.                            controls resizing of the left side of the marked
  297.                            area and the RIGHT SHIFT key controls resizing of
  298.                            the right side.  Press down a shift key then either
  299.                            LEFT or RIGHT ARROW.  After marking the text merely
  300.                            press the Scroll Lock key to unfreeze the computer
  301.                            and the marked text will be feed to the application
  302.                            or DOS.  Trailing spaces following a line of text
  303.                            will not be feed to the keyboard buffer.  Multiple
  304.                            lines of text are marked by pressing the PLUS key
  305.                            multiple times.
  306.  
  307.                            If you have marked a large section of text and feed
  308.                            it to the keyboard buffer and then later decide you
  309.                            made a mistake so now you want to stop the avalanche
  310.                            of key feed; don't panic--just press Scroll Lock and
  311.                            the feed will stop.
  312.  
  313.  DEL                       You can delete text in the scroll back buffer.  All
  314.                            that is necessary is to mark one or more lines as
  315.                            indicated above and then press the DELETE key.  The
  316.                            text will remain marked (nothing will happen) if you
  317.                            mark any of the current (last, bottom) screen.  No
  318.                            warning will sound to indicate that you cannot
  319.                            delete portions of the current screen.
  320.  
  321.  Enter and Asterisk        It may occasionally be useful to select a location
  322.                            in the scroll buffer that you would like to return
  323.                            to later.  You do that by pressing the RETURN
  324.                            (Enter) key to specify the current location as a
  325.                            place to "return".  When a location has been
  326.                            selected this way, you return to that place by
  327.                            pressing the asterisk (*) key.  (Either asterisk
  328.                            next to the keypad or shift-8 will do.)
  329.  
  330.  
  331.                              Files of Version 0.62
  332.  
  333.                     SPCPAK   C        2768 10-14-90   1:45p
  334.                     SPCPAK   EXE      9023 10-14-90   1:45p
  335.                     SUMMARY  062     10880 10-14-90   1:45p
  336.                     W-DOC062 SUM      4315 10-14-90   1:45p
  337.                     WAS      COM     10731 10-14-90   1:45p
  338.                     WAS062   DOC     23379 10-14-90   1:45p
  339.                     WAS062   ASM    119912 10-14-90   1:45p
  340.  
  341.          (Note:  Version 0.61 is being distributed with only the COM and
  342.           DOC files.  It is otherwise identical to this version.)
  343.  
  344.  
  345.                               Copyright Provisions
  346.  
  347.  The provisions of the copyright of WAS are that the program, source code, and
  348.  documentation contained in the author's original release (for any particular
  349.  version) may not be altered in any way when distributed and all files
  350.  contained in the author's release must be included in every distributed
  351.  version.  Alterations of the program and/or documentation--including possible
  352.  additional documentation, data files and code--may be included with
  353.  distributed versions of WAS.  There are no other restrictions on the use
  354.  modification, or sale of the WAS software.
  355.  
  356.  The author may be reached either via CompuServe Mail (User ID 72210,17), the
  357.  US mail or telephone.  All comments and criticisms are appreciated.
  358.  
  359.                              Charles Lazo III
  360.                              P.O. Box 452
  361.                              Hohenwald, TN 38462
  362.                              Phone:  615/796-2640
  363.  
  364.  
  365.  Thanks are due to Russ Ranshaw "Wizard of 10" (CIS User ID 70000,1010) for the
  366.  suggestion of the term "Gratisware" to describe copyrighted software that may
  367.  be freely distributed.  The term "Freeware" has been used to describe software
  368.  of this kind (and other kinds as well); however, "Freeware" belongs to its
  369.  respective copyright holder and should not be used by other individuals or
  370.  organizations to denote software just as readily called Gratisware.
  371.  
  372.                                    Thanx Russ
  373.  
  374.                                                  
  375.                                                   
  376.