home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / f / ql41.ark / QL41.DOC < prev    next >
Encoding:
Text File  |  1990-04-13  |  15.1 KB  |  367 lines

  1.  
  2.  
  3.  
  4.  
  5.                                  WHAT IS IT?
  6.  
  7.    QL  is one of the the most flexible and powerful file viewing  utilities
  8.    available for CP/M; it is not just another "typer".  It combines some of
  9.    the best features of the popular CP/M, ZCPR3, and MS-DOS  utilities LUX,
  10.    LT,  VLU, and LIST  with its own  unique features including hex  display
  11.    mode and a unique, fast access, file reference by number system.   Other
  12.    features include:
  13.  
  14.    o  Alphabetized  display  of all files in the current area;  "select  by
  15.       number" eliminates mistyped filenames.
  16.  
  17.    o  LBR support also features "select by number" for member names.
  18.  
  19.    o  Transparent decompression of squeezed and crunched files.
  20.  
  21.    o  Memory based design allows instant backwards or random access viewing
  22.  
  23.    o  Locate sections of interest quickly using string (or byte) search.
  24.  
  25.    o  Hex  display  mode allows inspection of non-ascii  files,  or  closer
  26.       inspection of 'ascii-ish' files.
  27.  
  28.    o  Optional extraction to disk of LBR member files, with decompression.
  29.  
  30.    o  Full  wheel  byte and BYE support allows program to be  securely  run
  31.       online in an RCP/M environment.
  32.  
  33.    o  Optional terminal attribute support greatly enhances display.
  34.  
  35.    o  ZCPR3 version eliminates terminal and other hardware dependencies.
  36.  
  37.    o  Instantly  configurable  /  customizable by anyone,  using  the  "Z1"
  38.       assembler (included), or your own favorite.
  39.  
  40.    o  If not satisfied, get rid of QL and keep the assembler as a gift.
  41.  
  42.  
  43.                                 QUICK USAGE
  44.  
  45.    1. Just type QL.
  46.  
  47.       A vertically oriented, alphabetized display off all filenames in  the
  48.       current drive/user will be displayed, with a number next to each one.
  49.  
  50.    2. Pick  a  number of a file you'd like to view.  If  it's  squeezed  or
  51.       crunched, it will be taken care of.  If it's a library file...
  52.  
  53.    [2b.]  ...you will be presented with a new screen with all  the  members
  54.       listed.   Again you get to pick a number.  (This is all  much  easier
  55.       than typing out the correct filename spelling).
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                               1
  62.  
  63.  
  64.  
  65.    3. Now you get to view the file, one screen at a time.  You can go  for-
  66.       ward or backward a page at a time, forward line by line, or  directly
  67.       to  a specific 'page' (ie screen) instantly.  The latter can be  done
  68.       by  just  typing a 'page' number, or by using the "Find"  command  to
  69.       scan for specific text.
  70.  
  71.    4. If  you  want,  type "?" for a new screen  summarizing  the  commands
  72.       available.  This screen also gives current settings of the  "toggles"
  73.       (which  may be changed) and a summary of the file- where it is,  it's
  74.       size in kilobytes and number of words and lines if appropriate.  Hit-
  75.       ting any key to returns you to viewing (right to the same spot).
  76.  
  77.    5. Typing  ^X (or ESC or Q) will always escape you back to the  previous
  78.       level.  For example, if appropriate, hitting ESC while viewing a file
  79.       will bring you back to the LBR membernames display.  Another ESC will
  80.       bring  you back to the original list of all filenames.  A  third  one
  81.       gets you back to CP/M.  Note that ^C (or ^K) will instantly bring you
  82.       directly back to CP/M from any point.
  83.  
  84.  
  85.                                   LIMITATION
  86.  
  87.    Due  to it's memory based design and its original intent to be a  'Quick
  88.    Look" utility, QL's main limitation is in the size of a file that can be
  89.    viewed  in it's entirety.  The program  will ACCEPT any size  file,  but
  90.    sections  of large files which are past the end of available memory  can
  91.    not be viewed.  See QL-OLD.DOC for more discussion on this.
  92.  
  93.    Note that Extract Mode, described below, does NOT have this limitation.
  94.  
  95.                                    NOTES
  96.  
  97.    1. The  original invocation of QL may contain a filename  specification,
  98.       ambiguous  or otherwise.  Thus "QL *.DOC" will limit the "on  screen"
  99.       selection display to only those files with the ".DOC" extension.   If
  100.       the file is fully specified, or if only one file matches, the  select
  101.       by  number process will be skipped, for obvious reasons.  Note  that,
  102.       like a filesweep utility,  just plain "QL" is equivalent to "QL *.*".
  103.       This makes QL very fast and easy to use.
  104.  
  105.    2. File Extraction (LBR files only).  At the "View a member:" prompt you
  106.       may enter "E", as indicated, which will put you in extract mode.  The
  107.       new prompt is "Extract a member:" and any members selected will auto-
  108.       matically  be extracted from the library to a disk file.   The  files
  109.       will be unsqueezed / uncrunched along the way, if appropriate.  Files
  110.       are written to the originally logged drive (indicated in the prompt),
  111.       even if the library resides on a different drive (eg if QL was  orig-
  112.       inally invoked
  113.  
  114.       "A> QL B:*.*"
  115.  
  116.       the  files will be written to the "A" drive.  The ZCPR  version  will
  117.       accept  a user number in the command line as well, and files will  be
  118.       written  to the originally logged drive and user.  QL will NOT  over-
  119.       write a pre-existing file without a prompt.
  120.  
  121.  
  122.                               2
  123.  
  124.  
  125.  
  126.  
  127.    3. If a library file is to be specified on the command line, you  should
  128.       NOT type the .LBR extension.  In this manner, QL will add the  exten-
  129.       sion and treat the file as a library, which is probably what you  ex-
  130.       pect.   If you DO fully specify the filename (no wildcards,  AND  the
  131.       extension  typed out), the file will be treated like a  miscellaneous
  132.       [binary] file.  The hex dump which will ensue will allow you to exam-
  133.       ine  the "guts" of the library's directory, if you are  so  inclined.
  134.       All other combinations (including anytime an LBR file is selected  by
  135.       number) will result in the file being opened as a library.          
  136.  
  137.    4. Multi-file use:  This version adds the ability to view several files, 
  138.       or LBR members, in succession; it can also be used quite successfully 
  139.       to extract some or all of an LBRs members to disk.  "Multi" mode is 
  140.       activated from the file selection menu:
  141.       a. To select all the files (or members) in the list, simply press 
  142.          *.  QL will take off and open each one in turn.  Once the file 
  143.          is open, everything acts normally; you can page forward or 
  144.          backward, extract members, whatever.  When you decide you are 
  145.          finished with this file, simply hit ESC (or ^X); QL will pick 
  146.          the next one in the list.  You can, of course, abort at any 
  147.          time back to CP/M with a ^C, and when all have been processed, 
  148.          you will be returned the the file selection menu you started at.
  149.       b. To select just some of the files in the list, type a left 
  150.          parenthesis [(].  Then type file numbers from the list.  If you 
  151.          type an invalid number, it won't be accepted; you'll hear a 
  152.          beep and it'll be erased.  Type a comma [,] between each file 
  153.          number, and when you have listed all you want, type a right 
  154.          parenthesis [)] or just hit <CR>.  QL will then open each in 
  155.          sequence, as above.  
  156.  
  157.    5. Sorting the file list:  Another new feature of this version.  You may 
  158.       re-sort the file list to another order if you so desire.  At the file 
  159.       selection menu, type S.  The prompt comes back, "Sort files beginning 
  160.       at:"  This is asking for the character position, in the filename, of 
  161.       the start of the key.  (The dot between the filename and extension is 
  162.       not included.)  The most useful numbers to respond with are probably 
  163.       8, to sort by extension, and 0, if you change your mind and want to 
  164.       sort by the entire name again after having sorted by extension.  
  165.       However, any number between 0 and 10 inclusive will work here, and 
  166.       may be useful with specialized filenames.  You may repeat the sorting 
  167.       process as many times as you want, intermixed with file viewing in 
  168.       any order.  A word of caution: the list of LBR members is read from 
  169.       disk AGAIN after each member is viewed or extracted.  Therefore, 
  170.       before using the multi-file options, sort beginning at 0!  Otherwise 
  171.       the file numbers will not be the same after the first member is 
  172.       processed, and you will miss members from your list, or possibly miss 
  173.       the first member if using *.
  174.  
  175.    6. You can get a help screen describing how to maninpulate file numbers
  176.       by pressing ? or / at the file selection menu.
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.                               3
  184.  
  185.  
  186.  
  187.  
  188.                             COMMAND INFORMATION
  189.  
  190.    Following is a replica of a typical "help" screen, invoked by typing a
  191.    "?" while viewing a file.  More detail on some of the commands follows.
  192.     .....................................................................
  193.  
  194.      --- While viewing ---           --- Toggle Commands ---
  195.  
  196.    <cr>    Forward one page          A   Display ASCII / HEX:  ASCII
  197.    <sp>    Forward one line          T   Truncate long lines:    YES
  198.    <##>    Go to any page ##         C   Case sensitive find:     NO
  199.     B      Backward one page
  200.     F      Find text or hex byte
  201.     R      Repeat find
  202.     X      Exit viewing
  203.  
  204.      File: B10:QL      .DOC
  205.      Size: 2419 bytes (3k)
  206.    Approx: 53 lines, 396 words.
  207.  
  208.    Command, or <ret> to resume Viewing:
  209.  
  210.     .....................................................................
  211.  
  212.    Toggle commands:
  213.  
  214.    Currently  there are three 'toggle' functions (though more may be  added
  215.    in a subsequent release).  They are "Display Mode" (ASCII/HEX),  "Trunc-
  216.    ation" (ON/OFF), and "Case sensitive find" (ON/OFF).
  217.  
  218.    1. When  "Truncation"  is ON, lines longer than 80  characters  will  be
  219.       chopped off (a character in the last column identifies these  lines).
  220.       This  is the recommended mode of operation, as QL does not  currently
  221.       support left-right scrolling.  Furthermore, if the lines are  allowed
  222.       to wrap the 'pagination' will be not work correctly- lines may scroll
  223.       off your screen.  This area may be improved in a subsequent release.
  224.  
  225.    2. The "Case sensitive" toggle only involves the 'Find' function.   When
  226.       "OFF", no distinction is made between upper and lower case; otherwise
  227.       the match must be exact.
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.                               4
  245.  
  246.  
  247.  
  248.    3. "Display mode" is almost self explanatory; "ASCII" is the normal mode
  249.       for  viewing a text file.  The "HEX" mode display emulates a  typical
  250.       debugger  type  memory dump, with 16 hex bytes/line and  their  ascii
  251.       equivalents, if any,  on the right part of the screen.  QL will init-
  252.       ially  take an "educated guess" at the proper setting here  based  on
  253.       the content of the first few bytes, but it may be "faked out".  If  a
  254.       file comes up 'wrong', simply hit 'A' to alternate the display mode.
  255.  
  256.    Note: If  the toggles are activated while the help screen is  displayed,
  257.          the  value  will be flipped and the screen  will  be  redisplayed,
  258.          showing the new values.  The commands may also be executed direct-
  259.          ly,  right in the middle of viewing a file.  In this event a  word
  260.          or  two indicating the new mode is displayed briefly, and  viewing
  261.          may proceed immediately.
  262.  
  263.     ......
  264.  
  265.    "While viewing" commands:
  266.  
  267.    The  "While  viewing commands" shown in the left hand column  above  are
  268.    quite  self-explanatory.  Some "synonyms" (not shown) exist for some  of
  269.    the  commands, eg "Q", "X", "^X" or ESCape will all act  identically  as
  270.    "Exit".  A few extra details are supplied below.
  271.  
  272.    1. Just  typing 1 or 2 digits causes QL to jump directly to that  "page"
  273.       (ie "screen") number.
  274.  
  275.    2. The  "Find" command requires some clarification not indicated  above.
  276.       The  command results in the query "Find:", at which point  you  would
  277.       normally enter word(s) or a part of a word to scan for.  When  found,
  278.       the  corresponding page is displayed (with the occurrence(s)  of  the
  279.       string  higlighted if possible), and operation proceeds  from  there.
  280.       In HEX mode, it is possible to search for either ascii matches (right
  281.       hand  portion of display) or for a series of one or more  hex  bytes.
  282.       Using the latter mode requires that the hex bytes be preceded by  the
  283.       character "$".  If multiple bytes are being specified, do not use any
  284.       commas  or spaces between them.  For example,  to find the series  of
  285.       bytes 11H, 76H, 0ACH, you would respond to "Find:" by entering:
  286.  
  287.       $1176AC
  288.     .....
  289.    Memory dump:
  290.  
  291.    Not shown above is the memory dump option, which can be initiated by 
  292.    invoking the program with the command line:
  293.       QL CORE
  294.    (You must not have any file on the current DU: called "CORE" or 
  295.    "CORE.LBR" for this to work.  If by some chance you do, either rename 
  296.    it, or try something like QL B:CORE.)
  297.  
  298.    This will display the current system memory.  In core dump mode, the 
  299.    addresses shown are the actual addresses.  When a file is displayed in 
  300.    HEX mode, the addresses are correct for a file loaded at 100H, as is 
  301.    normally the case.  Most commands are available during core dump, 
  302.    although some, notably switching to ascii, make little sense and would 
  303.    produce strange displays, and are therefore disabled.
  304.  
  305.                               5
  306.  
  307.  
  308.  
  309.  
  310.                          INSTALLATION / CUSTOMIZATION
  311.  
  312.    While  QL  will run right  'out of the box', it is worth the  extra  few
  313.    minutes  to  read the file QL-CFG.DOC.  Most people need only  read  the
  314.    first  paragraph  or two, and can then perform the "installation"  in  a
  315.    matter of minutes.
  316.  
  317.  
  318.                                  RCP/M USAGE
  319.  
  320.    Simply  set  your  wheel address where indicated in  the  QL41.AZM  file
  321.    (ZCPR3 users need not bother) , and QL will instantly become a very  vi-
  322.    able online utility.  This gives users new flexibilities: to examine HEX
  323.    files online; to go backwards when one types 'too far'; and to save time
  324.    by  using the FIND command to skip right to a section of interest  in  a
  325.    textfile.  Plus no more annoying typographical errors of filenames.
  326.  
  327.    QL will sense the presence of BYE, and not send video specific sequences
  328.    to remote terminals.  The wheel byte is used to provide security by  not
  329.    allowing  hex  displays of files with .COM extension or a  dump  of  the
  330.    system's memory.  Files with the SYS attribute are ignored as well.  Ob-
  331.    viously the LBR file extract mode is deactivated.  Any 'menu' references
  332.    to  deactivated  functions are eliminated from display.  Note  that  the
  333.    WHEEL and BYE checks are independent- SYSOPS may remotely examine system
  334.    memory, etc.
  335.  
  336.  
  337.                                                      - Steven Greenberg
  338.                                                        14  August  1988
  339.                                        QL41 additions- Ross Presser
  340.                                                        26 January  1989
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.                               6
  367.