home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / 014r / list61a.zip / LIST61A.DOC < prev   
Text File  |  1987-01-23  |  38KB  |  961 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                          LIST Version 6.1a
  10.                 (c) Copyright  Vernon D. Buerg 1987
  11.                         All rights reserved
  12.  
  13.                          January 23,  1987
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                          Table of Contents
  23.                          -----------------
  24.  
  25.                 Description of use ...............  1
  26.  
  27.                 Keys and commands ................  3
  28.  
  29.                 Positioning to lines .............  5
  30.  
  31.                 Display format ...................  6
  32.                   Status line ....................  6
  33.                   Command line ...................  7
  34.  
  35.                 Screen colors ....................  8
  36.  
  37.                 Cloning procedure ................  9
  38.                   DEBUG information .............. 10
  39.  
  40.                 Searching for text................ 11
  41.  
  42.                 Filtering ........................ 12
  43.  
  44.                 Exotic functions ................. 13
  45.                   File sharing ................... 13
  46.                   Invoking DOS commands .......... 13
  47.                   Screen saving .................. 13
  48.  
  49.                 Update history ................... 14
  50.  
  51.                 Restrictions ..................... 15
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                         LIST     Page 1
  62.                           Description of Use
  63.                           ------------------
  64.  
  65.    Command  LIST
  66.    -------------
  67.  
  68.  
  69.    Purpose:
  70.            You use LIST to display  files on your monitor, line  by line
  71.         with the aid of scrolling, positioning and filtering commands.
  72.  
  73.  
  74.    Format:
  75.                  LIST  [d:][path]filename[.ext]
  76.  
  77.  
  78.    Remarks:
  79.            You may rename the program file to any convenient name,  such
  80.         as  L.COM,  READ.COM,  or LIST.COM.
  81.  
  82.            Using LIST is fairly straight forward.  You type the  command
  83.         LIST at the DOS  prompt, followed by the  name of the file  that
  84.         you want to see.  For example: LIST CONFIG.SYS would display the
  85.         file CONFIG.SYS.
  86.  
  87.            Once the file  is displayed on  your screen, you  may use the
  88.         cursor positioning keys to  move around and see  different parts
  89.         of the file.  For example,  when LIST first starts, you  see the
  90.         first 23 lines of the file.  To see the next 23 lines, or  page,
  91.         press the PgDn key.   The PgUp key moves  you back one page  and
  92.         shows you the  previous 23 lines.   The up-arrow and  down-arrow
  93.         keys move it  one line at a time.  When you are finished,  press
  94.         the ESCape key and you are returned to the DOS prompt.
  95.  
  96.            The "filename" is optional.  If omitted, you are prompted  to
  97.         to enter  a filename.   You may  include drive,  path, and  wild
  98.         cards in the file name.   The first file which matches that name
  99.         is displayed.  After  the file is displayed, the next file which
  100.         matches the "filename" may be displayed, too.
  101.  
  102.            You may also use LIST  to display piped or redirected  files.
  103.         If you are unfamiliar with these, you may skip to the next page.
  104.  
  105.         To display a redirected file, use a < (less than symbol)  before
  106.         the name  of the  file  and  add the  /S parameter  to the  LIST
  107.         command.  For example:
  108.  
  109.                 dir a: >xyz
  110.                 list <xyz /s
  111.  
  112.         To display a piped file,  omit the filename,  but supply the /S.
  113.  
  114.                 dir a: | list /s
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. LIST     Page 2
  122.  
  123.                          Description of Use (cont'd)
  124.                          ------------------
  125.  
  126.            Because  files  contain  different  kinds  of data, there are
  127.         several commands  to tell  LIST how  to display  the data.   The
  128.         process that LIST uses to make the file data readable is  called
  129.         filtering.  The filters in LIST can:
  130.  
  131.             o  replace non-text and control characters with blanks
  132.             o  expand TAB characters
  133.             o  display line drawing characters
  134.             o  change 8-bit (W*) data to readable 7-bit text
  135.             o  display the hexidecimal values for each character
  136.             o  remove "junk", such as control codes and backspaces
  137.  
  138.            LIST was  designed to  display ASCII  files.  That  is, files
  139.         which  contain  text, and  not  binary  or  control codes.  Text
  140.         characters usually  range from  a value  of 32  to 127.  To view
  141.         binary  files  (COM,  EXE,  etc),  the  alt-H (hex dump display)
  142.         command is available.
  143.  
  144.  
  145.            Characters  below  32  (a  blank)  are  replaced with a funny
  146.         character to indicate that a non-displayable character has  been
  147.         encountered.  This  character is  an upside-down  question mark.
  148.         Characters above 127 may be valid graphic characters, and may be
  149.         displayed  if  the  '8'  command  is  in effect.  To insure that
  150.         characters above ASCII value 127 are not displayed, use the  '7'
  151.         command.
  152.  
  153.  
  154.            The top  line of  the display  gives the  file name,  current
  155.         right  scroll  offset,  and  the  FILE's creation date and time.
  156.         Optionally, a ruler  may be displayed  on the top  line by using
  157.         the alt-R keys.
  158.  
  159.            The  file  is  displayed  with  one  logical  record  on each
  160.         80-column display line.   A logical record  ends in a  linefeed.
  161.         The maximum logical record may  be 256 characters long.  If  the
  162.         record exceeds 80  characters, you may  view the portion  beyond
  163.         the 80 columns  by using the  scroll right command,  or by using
  164.         the  Wrap  feature.   The  Wrap  command  toggles  ON or OFF the
  165.         wrapping  of  lines  longer  than  80 characters.  With Wrap on,
  166.         lines are displayed in their entirety, 80 characters per display
  167.         line.  The scroll -left  and -right functions are  disabled when
  168.         Wrap is ON.
  169.  
  170.            The file may  be PRINTed as  it it displayed.   The P command
  171.         toggles  the  printer  on  or  off.   When  first entered, the P
  172.         command causes the current screen  to be printed.  As new  lines
  173.         are displayed, they too are printed.  Printing may be stopped by
  174.         entering another P command.  The PrtSc key may also be used, but
  175.         the title and prompt lines will be printed with the lines of the
  176.         file.  Empty lines  cause a line  to be skipped  on the printer.
  177.         The letter P  is displayed in  column 80 of  the top line  while
  178.         printing.
  179.  
  180.  
  181.                                                         LIST     Page 3
  182.  
  183.                      Key Functions and Commands
  184.                      --------------------------
  185.  
  186.         Control key      Function
  187.         -----------     -----------------------------------------------
  188.         left arrow      scroll left 20 columns
  189.         right arrow     scroll right 20 columns
  190.         up arrow        up one (previous) line
  191.         down arrow      down one (next) line
  192.  
  193.         Enter           continue to next page
  194.         END             position to end of file (bottom)
  195.         ESCape          Display next matching file
  196.         HOME            restart from first line (top)
  197.         PgUp            scroll up one page, 23 lines
  198.         PgDn            scroll down one page, 23 lines
  199.  
  200.         ctl-HOME        positions to a specific line number
  201.         ctl-PgUp        restart from first line (TOP)
  202.         ctl-PgDn        skip to end of file (BOTTOM)
  203.         ctl-left-arrow  reset horizontal scroll position to column 1
  204.  
  205.  
  206.         Letter(s)     Default   Function
  207.         ---------     -------   ----------------------------------------
  208.         A                       find next occurance of 'text' (Again)
  209.         B                       skip to end of file (Bottom)
  210.         C               off     toggles Closing of files, also alt-S
  211.         D                       scroll Down one page
  212.         F                       Find 'text' regardless of case
  213.         G                       Get new filename/filespec (also alt-F)
  214.         H or ?                  list commands (Help)
  215.         K               off     toggle Keyboard flush; if on, commands
  216.                                 may be queued up by holding a key down
  217.         L                       scroll Left 20 columns
  218.         M               on      toggle test for display retrace, if on
  219.                                 the display is faster but may flicker;
  220.                                 not applicable to monochrome monitors
  221.         N                       down one (Next) line
  222.         P               off     toggle Printer on or off
  223.         Q                       Quit, display next matching file
  224.         R                       scroll Right 20 columns
  225.         S                       Scan for exact text match, case dependent
  226.         T                       restart from first line (Top)
  227.         U                       scroll Up one page (23 lines)
  228.         W               off     toggle Wrap of lines over 80 chars
  229.         X                       terminate, clear screen and eXit to DOS
  230.  
  231.         7               off     turn off high bit (non-graphics only)
  232.         8               on      leave high bit on (graphics)
  233.         *               off     toggles special * document filtering
  234.  
  235.         +                       position a given number of lines forwards
  236.         -                       position a given number of lines backwards
  237.  
  238.         \text                   Find 'text' regardless of case
  239.         /text                   Scan for exact text match
  240.  
  241. LIST     Page 4
  242.  
  243.                          Key functions and Commands (cont.)
  244.                          --------------------------
  245.  
  246.     Control key      Function
  247.     -----------      ---------------------------------------------------
  248.      F1              Help - display summary of commands
  249.      F3              Find next occurrance of text after Scan or Find
  250.      F9              Find previous occurrance of text after Scan or Find
  251.      F10             Exit to DOS with clear screen and cursor last line
  252.  
  253.      F2              change background color for Find/Scan text
  254.      F4              change foreground color for Find/Scan text
  255.  
  256.      F5              change background color for main body of display
  257.      F6              change foreground color for main body of display
  258.  
  259.      F7              change background color for top and bottom lines
  260.      F8              change foreground color for top and bottom lines
  261.  
  262.  
  263.      alt-A           toggle Apxcore(on), DesqView/DoubleDos(off-default) use
  264.  
  265.      alt-C           clone LIST.COM, change colors or options permanently,
  266.                      in a new copy of the LIST.COM program file
  267.  
  268.      alt-E           toggle 25/43 line display (does test for EGA). If the
  269. |                    actual EGA lines is not 25 or 43, don't use alt-E
  270.  
  271.      alt-F           prompt for new Filespec or filename to display
  272.                      entering a leading asterisk (*) may be obscured
  273.                      by some console enhancers or utilities, so enter
  274.                      two asterisks, e.g. **.doc
  275. |    alt-G           Shell to DOS, invoke COMMAND.COM, requires 128K or more.
  276. |                    Use the DOS EXIT comand to return to LIST.
  277.  
  278.      alt-H           toggles hex dump formatted display
  279. |    alt-J           toggle adding line feed to lone carriage returns
  280. |                    and remove backspaces, overlaying previous characters
  281.  
  282.      alt-L           toggle preloading of files, default is OFF
  283.                      When the file is pre-loaded, the ending line
  284.                      line number becomes known.
  285.  
  286.      alt-R           toggles display of a ruler on the top line
  287.      alt-S           toggles file Sharing option, when off
  288.                      files remain open until program termination
  289.  
  290.      alt-T           toggles expansion of TAB control characters, the
  291.                      tab columns are a multiple of 8, i.e. 1,9,17, etc.
  292.                      The default is to expand TABs.
  293.  
  294.      alt-W           toggles split screen; when ON, the top half of
  295.                      the screen is frozen. Further scrolling occurs
  296.                      only in the bottom half of the screen (window)
  297.                      until the alt-W keys are used again.
  298.      alt-X           exits to DOS and displays the original screen
  299. |                    (unless screen saving has been disabled)
  300.  
  301.                                                         LIST     Page 5
  302.  
  303.  
  304.                          Positioning to Lines
  305.                          --------------------
  306.  
  307.            Each displayable line of the file is assigned a line  number.
  308.         The first line is assigned line number 1.  The highest allowable
  309.         line  number  is  65535.   In  order  to determine the last line
  310.         number, the  entire file  must be  read.  For  this reason,  the
  311.         first time that the END (bottom) command is issued, it will take
  312.         longer  to  process.   This  is  not  necessary  if  the file is
  313.         preloaded using the alt-L installation option.
  314.  
  315.            If the  Wrap option  is in  effect, there  is one line number
  316.         required for each 80 bytes of the file's records.
  317.  
  318.            If the hex dump option is in effect, there is one line number
  319.         required for each 16 bytes of the file.
  320.  
  321.            You  may  position  to  a  specific  line number by using the
  322.         c-Home, Ctrl key  and Home key,  or the #  key.  When c-Home  is
  323.         entered, you are prompted for the line number.  Enter the 1 to 5
  324.         digit line number.   The display will  now begin with  that line
  325.         number at the top of the screen.
  326.  
  327.            To position forward or backward, you may use the + (plus), or
  328.         - (minus) keys.  You are  prompted to enter the number  of lines
  329.         to be skipped.  The display resumes at the line number shown  on
  330.         the top (status)  line, plus or  minus the number  of lines that
  331.         you specified.
  332.  
  333.            When you change a  filter  option,  such as Wrap,   the  line
  334.         numbering changes.  An attempt is made to  retain  the same file
  335.         position.
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361. LIST     Page 6
  362.  
  363.  
  364.  
  365.                          Display Format
  366.                          --------------
  367.  
  368.            The monitor display is defined in terms of lines and columns.
  369.         A typical monitor can display 25 lines of 80 columns each.  LIST
  370.         attempts to use the number of lines and columns for the  monitor
  371.         mode in use.  For example, if the monitor is in 40 column  mode,
  372.         LIST displays only 40 characters per line.  And, if the  monitor
  373. |       is set for other than 25 lines, such as 35 or 43, LIST uses that
  374. |       number of lines.
  375.  
  376.            The top line of the  display is called  the Status line.  The
  377.         bottom line is called the Command line.  The remaining lines are
  378.         called the  primary  display  window,  and are usually lines two
  379.         through 24.
  380.  
  381.  
  382.                          Status Line Format
  383.                          ------------------
  384.  
  385.         The Status line has the following format:
  386.  
  387.                 LIST   lllll nnnnnnn +sss mm/dd/yy hh:mm  - filename
  388.  
  389.         where,
  390.  
  391.         'LIST'     is the name of this program
  392.  
  393.         'lllllll'  is the line number of the first line in the
  394.                    display window (usually on line 2)
  395.  
  396.         'nnnnnnn'  is the line number of the last record, if known
  397.  
  398.         '+sss'     if displayed, this is the Scroll amount, in
  399.                    multiples of 20, corresponding to the number
  400.                    of columns that the display has been shifted
  401.                    to the right to view records longer than 80
  402.  
  403.         'mm/dd/yy' is the file's creation date (not today's date)
  404.         'hh:mm'    is the file's creation time (not today's time)
  405.  
  406.  
  407.         Note:      The date and time  shown on the top line is  NOT  the
  408.                current date.  It is the date and time  that the file was
  409.                created.
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.                                                         LIST     Page 7
  422.  
  423.  
  424.                          Command Line Format
  425.                          -------------------
  426.  
  427.         The Command line has the following format:
  428.  
  429.       command message _________ Options: dbkmpswtalj Keys: X=exit ?=Help
  430.  
  431.         where,
  432.  
  433.         'command' indicates the current process:
  434.  
  435.           'Command'   you are being asked to enter a command
  436.                        enter the letter, or press the keys for
  437.                        the action to perform
  438.  
  439.           'Reading '   the file data is being read
  440.           'Filter  '   the file data is being formatted for display
  441.           'Scanning'   the Scan/Find text is being searched for
  442.  
  443.           'Scan   '   you are being asked to enter text to locate
  444.           'Find   '   in the file, up to 31 characters may be entered
  445.  
  446.           '# lines?'   you are being asked to enter a 1 to 5 digit
  447.                        number that is the amount of lines to skip
  448.  
  449.           'Line #? '   you are being asked to enter a 1 to 5 digit
  450.                        line number to which the display is to be
  451.                        positioned
  452.  
  453.  
  454.         'message' may be one of:
  455.  
  456.           '*** Text not found ***'
  457.            the Scan/Text was not found in the file
  458.  
  459.           '   *** Top of file ***'
  460.            the first line of the file is being displayed
  461.  
  462.           '   *** End-of-file ***'
  463.            the last line of the file is being displayed
  464.  
  465.         St: indicate status of toggles, lower case means off:
  466.  
  467.         'D'       indicates that the hex Dump display option is in use
  468.         'b'       indicates whether the 7-bit, 8-bit, or *-option is
  469.                   in use
  470.         'K'       indicates that the Keyboard flush option is in use
  471.         'M'       indicates that tests for monitor retrace are not made
  472.         'P'       indicates that Print is in use
  473.         'S'       indicates that file closing (for sharing) is in use
  474.         'W'       indicates that the Wrap mode is in effect
  475.         'T'       indicates that TAB characters are expanded
  476.         'A'       indicates APXCORE interface, 'a' for TV/DV/DD
  477.         'L'       indicates that the pre-loading option is on
  478. |       'J'       indicates that line feeds are added to lone carriage
  479. |                 return control characters, and backspaces are handled
  480.  
  481. LIST     Page 8
  482.  
  483.  
  484.  
  485.                          Screen Colors
  486.                          -------------
  487.  
  488.         The screen's lines may be in any of three different colors:
  489.  
  490.                 o  the 'special' color for the top status line and the
  491.                    bottom command line
  492.                 o  the 'normal' color for the file's text windows
  493.                 o  the 'bright' color for lines with Find/Scan text,
  494.                    and for the upside-down question mark in 7-bit mode
  495.  
  496.            There is a pair of function keys assigned to each color.  You
  497.         may  use  these  function  keys  to  change  the  background and
  498.         foreground  colors  temporarily.   To  make  the  color  changes
  499.         permanent, you may use the cloning command (alt-C), or use DEBUG
  500.         to modify the program file.
  501.  
  502.            The colors used  for displaying the  titles and main  body of
  503.         text  may  be  changed  temporarily  or  permanently.  To make a
  504.         permanent  change,  the  cloning  command  alt-C  is  used.   It
  505.         requires that the LIST.COM program file be on the current  drive
  506.         and in the current directory.
  507.  
  508.            The border is not  changed.  The foreground color  applies to
  509.         the characters displayed.
  510.  
  511.  
  512.         The color attributes may be changed by using these function keys:
  513.  
  514.           For the main body of text:
  515.  
  516.                 F5 - background color
  517.                 F6 - foreground color
  518.  
  519.           For the top and bottom lines:
  520.  
  521.                 F7 - background color
  522.                 F8 - foreground color
  523.  
  524.           For the line with Find/Scan text:
  525.  
  526.                 F2 - background color
  527.                 F4 - foreground
  528.  
  529.            Once you  have decided  upon the  colors,  use the alt-C  key
  530.         combination to change the LIST.COM program file.
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.                                                         LIST     Page 9
  542.  
  543.  
  544.  
  545.                          Cloning Procedure
  546.                          -----------------
  547.  
  548.            The screen colors, the display retrace testing (M), the  file
  549.         closing (C) and ruler (alt-R) options may be permanently set  in
  550.         the program by using the alt-C cloning function.
  551.  
  552.            For  cloning  to  take  effect,  the  program  must be called
  553.         LIST.COM and it must be on the current drive and in the  current
  554.         directory.  There are two versions of the LIST COM file.  One is
  555.         the normal  program.  The  other, which  contains an  'S' as the
  556.         last letter of  the file name,  is a slightly  smaller file that
  557.         excludes  the  Help  screen.   You  may  use either COM file for
  558.         cloning.
  559.  
  560.            The clonable options (command toggles) are:
  561.  
  562.              M      =  Mono monitor, affects retrace testing,
  563.              C      =  file(s) are shared,
  564.              W      =  Wrap long lines
  565.              8/7/*  =  display all 256 values, or 7-bit, or special cases
  566.              K      =  flush Keyboard each time a command is read
  567.  
  568.              alt-A  =  set on if using Apxcore, off if using Double Dos
  569.                        or TopView, or DesqView
  570.  
  571.              alt-H  =  hex dump display, like the DEBUG format
  572.  
  573.              alt-J  =  toggle "junk" filter, add LF to CR, fix backspaces
  574.  
  575.              alt-L =   set on to force preloading (reading) of entire file
  576.                        before any lines are displayed, default is OFF.
  577.  
  578.              alt-R  =  toggle columnar ruler on top line
  579.  
  580.              alt-T  =  toggle expansion of TAB characters
  581.  
  582.  
  583.         Note: Be  sure you  have no  other copies  of LIST.COM which are
  584.         accessible (because of a filepath type of utility).
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601. LIST     Page 10
  602.  
  603.                          DEBUG Information
  604.                          -----------------
  605.  
  606.            An alternative to cloning is  to use DEBUG to make  permanent
  607.         changes.  Here is a list of key items and their addresses:
  608.  
  609.            0125 - special lines 1 and 25 colors, default is 01 (blue)
  610.                   Refer to a technical reference guide for the
  611.                   attribute values for the colors that you want.
  612.            0127 - normal lines 2 thru 24 colors, default is 02 (green)
  613.            0129 - bright color for Find/Scan, default is 0C (bright red)
  614.            012B - clonable options;
  615.                    MRSD WHK*  M = mono, retrace testing if off, x'01'
  616.                               R = ruler, x'02'
  617.                               S = shared, x'04'
  618.                               D = hex display, x'08'
  619.                               W = wrap mode, x'10'
  620.                               H = hi-bit on, x'20'
  621.                               K = kybd flush, x'40'
  622.                               * = special document filtering, x'80'
  623.  
  624. |          012C - more clonable options, not all are indicated:
  625. |                  .PAT JGV.  P = Preload file if on, x'02', default is off
  626.                               A = Apxcore if on, TV/DD/DV if off, x'04,
  627.                                   default is for Topview/Double DOS use
  628.                               T = if on (default), expand TABs, x'08'
  629. |                             J = add LF to lone CR, process backspaces,
  630. |                                 default is off, x'10',
  631. |                             G = if on, alt-G goto DOS is Disabled, x'20'
  632. |                             V = if on, screen save/restore is Disabled
  633. |                                 and 9K less memory is used/required, x'40'
  634.  
  635.         By  specifying  the  bit  value,  the  option  is  enabled.  For
  636.         example, to enable  Shared and Retrace,  specify a hex  value of
  637.         the sum, or 01+04 = 05.
  638.  
  639. |          012D - row less one at which found text is displayed,  1 byte
  640. |          012F - scroll offset value,  default is 20 (x'14'),  one byte
  641. |          0153 - maximum paragraphs for the DOS shell,  default of 4096
  642.                   (x'1000') leaves up to 64k for DOS commands
  643.  
  644.            When  the  Find/Scan  command  is  used,  the next line which
  645.         contains that text is highlighted using the 'bright' color,  and
  646.         is placed in  row 9 of  the screen.  You  can change the  row by
  647.         altering the byte  at location 12A  which is normally  '08', one
  648.         less than the row.
  649.  
  650.            The letters and command keys may also be changed.  There  are
  651.         two tables involved: WHAT and WHERE.  The WHAT table contains  a
  652.         list of  one-byte keyboard  codes.  The  WHERE table  contains a
  653.         list  of  two-byte  matching  addresses.   If you really want to
  654.         change the codes, here are the DEBUG addresses:
  655.  
  656.            0349 - *WHAT* eye catcher
  657.            034F - list of one byte command letters and codes
  658. |          0393 - *WHERE* eye catcher
  659. |          039A - list of two byte addresses of processing routines
  660.  
  661.                                                         LIST     Page 11
  662.  
  663.  
  664.  
  665.                          Scanning for text
  666.                          -----------------
  667.  
  668.  
  669.            You may  use Find  (\) to  search for  text regardless of the
  670.         case, or you may use Scan (/) to find an exact match.
  671.  
  672.            To scan for a character string, type a slash (/) followed  by
  673.         one or more (up to 31)  characters.  The scan text, but not  the
  674.         slash,  is  displayed  on  the  command  line.  The scan is case
  675.         sensitive.  That is, lower case scan text will only match  lower
  676.         lower case file text.
  677.  
  678.            While  the  program  is  searching  for  the text, the bottom
  679.         display line  is changed  to say  "Scanning".  Pressing  any key
  680.         while the search  is in progress  will terminate the  search and
  681.         display the message 'Text not found' on the bottom line.
  682.  
  683.            If the text is found, the line containing it is  displayed as
  684.         a high-intensity line (bright color).
  685.  
  686.            If the text is NOT found, the command line (25) is changed to
  687.         say '*** text not found ***', and the display remains unchanged.
  688.  
  689.            To find the next occurrance of the same text, use the  A)gain
  690.         command, or press the F3 key.  To find the previous occurance,
  691.         press the F9 key.
  692.  
  693.            If the  PCED keyboard  enhancement program  is installed, the
  694.         up/down cursor keys  may be used  to recall and  edit previously
  695.         entered Scan/Find text.
  696.  
  697.            In a shared file environment, if the file changes while being
  698.         listed,  the  file  position  may  become invalid.  Use the HOME
  699.         command  to  insure  proper  file  synchronization, or use the C
  700.         or alt-S command option again.
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721. LIST     Page 12
  722.  
  723.  
  724.                          Filtering
  725.                          ---------
  726.  
  727.            Filtering is the term used to describe the process that  LIST
  728.         uses to  format file  data for  displaying on  a monitor.  After
  729.         data  is  read  from  a  file,  it  is  filtered.  The method of
  730.         filtering depends upon the options in effect.
  731.  
  732.            For a typical  ASCII text file,  the filter removes  carriage
  733.         return and line feed characters, and expands TAB characters.
  734.  
  735.  
  736.                          Hi-bit Filter
  737.                          -------------
  738.            The  7,  8,  and  *  (asterisk)  commands  determine  whether
  739.         characters above ASCII-127 are displayed.  If the hi-bit  option
  740.         is off (7  command), the filter  strips the high  order bit from
  741.         each character.   If the  hi-bit option  is on  (8 command), all
  742.         characters, including  graphic characters  above ASCII-127,  are
  743.         displayed.
  744.  
  745.                          Star  Filter
  746.                          -----------
  747.  
  748.            The  star  (*  or  asterisk)  command  displays  only   ASCII
  749.         characters below 128 (x'80'), but treats the special  characters
  750.         x'8A'  and  x'8D'  as  line-feed  and  carriage-return   control
  751.         characters.   Any  other  characters  above  127  are treated as
  752.         spaces, and control codes below ASCII-26 are replaced by blanks.
  753.  
  754.            The Wrap option causes the  filtering to insure that no  line
  755.         exceeds the width of the monitor, e.g. 80 characters.
  756.  
  757.                          Junk Filter
  758.                          -----------
  759.  
  760.            The alt-J  command toggles  the "junk"  filter which  insures
  761.         that carriage  returns in  the file  also result  in a new line.
  762.         Also, backspace characters result in "backing up" the display by
  763.         one position.  This  allows more readability  of files that  use
  764.         backspacing to emphasize, or over-write, characters.
  765.  
  766.  
  767.                          Hex Format Filter
  768.                          -----------------
  769.  
  770.            The hex dump option (alt-H) causes the filtering to  reformat
  771.         the file  data into  a DEBUG-like  display format.   The largest
  772.         file that can be "dumped" is 1 million bytes.
  773.  
  774.            An attempt is made to retain the file position when switching
  775.         from normal to hex-dump  display, but due to  filtering changing
  776.         record lengths,  the hex  display may  begin before  the current
  777.         record.
  778.  
  779.         NOTE:   The  EOF  control character is  ignored in this version.
  780.  
  781.                                                         LIST     Page 13
  782.  
  783.                         File Sharing
  784.                         ------------
  785.  
  786.            LIST uses two techniques for allowing you to share files with
  787.         other processes.
  788.  
  789.            The first technique is called file closing and is enabled  by
  790.         the C or alt-S commands.   This forces LIST to close  the viewed
  791.         file unless it needs to read from the file.  If enough memory is
  792.         available, the entire file may be loaded once and thus leave the
  793.         file free for exclusive access by other processes.
  794.  
  795.            The  second  technique  is  called  file  sharing.   It  is a
  796.         function of  DOS and  requires DOS  version 3.0  or later.  LIST
  797.         opens the viewed  files with a  DENY NONE request.   This allows
  798.         other processes to  read and write  to the file  if they do  not
  799.         request exclusive use of the  file.  If a file is  not available
  800.         to  LIST  because  it  is  locked  by  another process, you will
  801.         receive the error message "File not found" or "Acccess  denied".
  802.         There is  no command  to enable  or disable  this method of file
  803.         sharing.  It is implicit with the use of DOS version 3.
  804.  
  805.  
  806.                         Invoking DOS Commands
  807.                         ---------------------
  808.  
  809.            If  the  "goto  DOS"  option  is  enabled, you may invoke DOS
  810.         commands by using the alt-G command.  LIST reserves up to 64k of
  811.         memory for use  by DOS commands.   This increases LIST's  memory
  812.         requirements to approximately 96k.
  813.  
  814.            After you have  finished entering DOS  commands, use the  DOS
  815.         EXIT command to return to LIST.
  816.  
  817.            To disable  the "goto  DOS" function,  you must  use DEBUG to
  818.         alter the option  byte described in  the section about  cloning.
  819.         With it disabled, LIST requires less memory, about 66K.
  820.  
  821.  
  822.                         Screen Saving
  823.                         -------------
  824.  
  825.            If  the  screen  saving  option  is  enabled,  LIST saves the
  826.         contents of the current display screen when it starts.  You  can
  827.         restore  the  original  screen  by  exiting  LIST with the alt-X
  828.         command.
  829.  
  830.            Screen saving requires  approximately 10k more  memory.  This
  831.         is sufficient to save 60 lines of 80 characters (EGA 8x6  mode).
  832.         See the section about cloning for information about enabling and
  833.         disabling the screen saving feature.
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841. LIST     Page 14
  842.                         Update history
  843.                         --------------
  844.  
  845.            There is a new version of LIST made available frequently.  If
  846.         the new features or corrections  do not interest you, stay  with
  847.         the version you have.  The complete version history is now  kept
  848.         in another file.
  849.  
  850.         Lines beginning with | denote changes to the latest version.
  851.  
  852.         Version 6.0a thru 6.0f, August 31, 1986
  853.  
  854.         Version 6.0g, Sept 4, 1986
  855.             - cosmetic corrections to Help screen
  856.             - increase data buffer to reduce "jumpy" display
  857.             - remove some tweaking of the cursor shape
  858.             - default to retrace testing off (M on)
  859.             - improve readability of binary files in ASCII display mode
  860.               by changing handling of EOF character; this also solves
  861.               a problem with files whose last record does not contain
  862.               a cr/lf. Remember, LIST expects "records" to have CR and/or LF.
  863.  
  864.         Version 6.0h, Sept 17, 1986
  865.             - correct alt-F looping when invalid filespec entered
  866.             - correct Wrap failing if W ON was cloned
  867.             - more fussing with the EGA cursor, nothing can be done
  868.               about colors/pallete resetting when changing modes
  869.             - correct value of last line number when toggling Wrap
  870.             - notes: the default for preload (alt-P) is OFF, alt-P
  871.               is a toggle; the default of retrace testing in ON and
  872.               may result in snow on some color monitors.
  873.  
  874.         Version 6.0i, Sept 28, 1986
  875.             - Added alt-X to exit with original screen displayed
  876.             - Added alt-A as A, and alt-L as L in "Options:" line display
  877.             - Added F9 command to find previous occurance of text
  878.             - Compensated for old Sigma EGA ROM (pre 1.06)
  879.             - Changed alt-P to alt-L; preload option toggle
  880.  
  881.         Version 6.0j, Oct 13, 1986
  882.             - Added alt-J to toggle the generation of line feeds (LF)
  883.               for lone carriage returns (CR). Makes easier viewing of
  884.               files which use backspace, or over printing, to emphasize
  885.               a line.
  886.             - Corrected the handling of ESCape during Scan/Find
  887.  
  888. |       Version 6.1a, Jan 23, 1987
  889. |           - Correct strange problems with /S option
  890. |           - Correct use of G (alt-F) with piping
  891. |           - Correct Help display when using split (alt-W) display
  892. |           - Use actual number of EGA screen lines, like 12,25,35,43,50, etc.
  893. |           - Improved the star (*) filter, I think
  894. |           - Add alt-G command to shell to DOS, leaves max of 64K for DOS
  895. |           - Add option flag (use DEBUG) to disable screen saving and
  896. |             thus require about 10K less memory
  897. |           - Modify alt-J to remove backspaces and overlay previous character
  898. |           - Implement DOS 3.x file sharing, but DOS 2.0 still supported.
  899.  
  900.  
  901.                                                         LIST     Page 15
  902.  
  903.  
  904.                          Restrictions
  905.                          ------------
  906.  
  907. |         o  The program requires 66K bytes of memory. If more memory is
  908. |            available, it is used to store more of the file in  memory.
  909. |            At least 96K is required to  use the DOS shell.  Add 9K  if
  910. |            the screen saving option is enabled.
  911.  
  912.           o  The line number is currently limited to 65535.
  913.  
  914.           o  The  file  size  is  limited  to 16 million bytes for ASCII
  915.              files, and to 1 million bytes for hex-dump files
  916.  
  917. |         o  PC DOS Version 2.0 or later is required. DOS version 3.0
  918. |            or later is required for file sharing.
  919.  
  920.           o  ANSI.SYS is NOT required.
  921.  
  922.         APX Core, DesqView, TopView, and Double DOS, IBM,  Sigma are all
  923.         copyrighted,  trademarked,  and all that.
  924.  
  925.         Written by Vernon Buerg for the  IBM PC using DOS 2.0 or  later,
  926.         through DOS 3.1.
  927.  
  928.         LIST  is  supplied  for  personal,  private  use.   Feel free to
  929.         distribute LIST given these restrictions:
  930.  
  931.           o  the program  shall be supplied in its original,  unmodified
  932.              form, which includes this documentation;
  933.  
  934.           o  no fee is charged;
  935.  
  936.           o  "commmercial" use without a license is prohibited;
  937.  
  938.           o  the program may not be included -  or bundled - with  other
  939.              goods or services.  Exceptions may be granted upon  written
  940.              request only. This applies to clubs and distributors.
  941.  
  942.  
  943.         If you are  using LIST and  find it of  value, your gift  in any
  944.         amount  ($15  suggested)  will  be  greatly  appreciated.  Makes
  945.         checks payable in U.S. dollars to Vernon D. Buerg.  Thank you.
  946.  
  947.         For use by corporations  and other institutions, please  contact
  948.         me at AAI  Systems for a  site licensing agreement.  The source,
  949.         customizing,  and  special  licensing  are  also available  upon
  950.         written request.  Purchase orders and invoicing are acceptable.
  951.  
  952.  
  953.                 Vernon D. Buerg
  954.                 456 Lakeshire Drive
  955.                 Daly City, CA  94015
  956.  
  957.                 Data:       (415) 994-2944   VOR 24-hour bulletin board
  958.                 Fidonet:    125/4
  959.                 Compuserve: 70007,1212
  960.  
  961.