home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d595 / p-reader.lha / P-Reader / P-Reader.doc < prev    next >
Text File  |  1992-02-01  |  11KB  |  251 lines

  1. PRE1
  2.                           P - R E A D E R V5.2 
  3.  
  4.                                                                               
  5.    Yet another infernal Reader.  There are hundreds of them already, reliable,
  6.    comprehensive, user-friendly, sitting around pleading to be used.  So pick 
  7.    the Readers that will properly display texts with multiple colour and style
  8.    changes, compressed texts, ILBMs.   Now the list gets shorter!   Find the  
  9.    Readers that will also display animations and sounds. . . Finally find the 
  10.    Readers that will show illustrated texts, with pictures and animations     
  11.    mixed in with the words.   What, none?                                     
  12.                                                                               
  13.    Wrong.  One.                                                               
  14.                                                                                
  15.    First the general instructions.  press HELP for a summary.                 
  16.                                                                               
  17.  
  18.                              INSTRUCTIONS 
  19.                                      
  20.    Introduction
  21.       P-Reader can be used for:
  22.         All-purpose text reader.
  23.         Reader for special illustrated texts.
  24.         ILBM display, including HAM and cycling (where active).
  25.         Sounds (8SVX format).
  26.         ANIM5 type animation display.
  27.       
  28.       Texts, pictures and animations may be compressed (with P-Compress)
  29.   or uncompressed.  P-Reader will check and act accordingly.
  30.  
  31.       This reader forms the core of the complete P-Suite system.  Also included
  32.   in the Suite, and being released over the next few months,  are:
  33.  
  34.     P-Writer.   A matching text editor with special facilities for writing in
  35.                 colour and style changes and calling up illustrations.
  36.     P-Compress. Compression and de-compression tool.
  37.     P-Check.    Utility for checking suitability of IFF illustrations - ILBM
  38.                 and ANIM.
  39.     P-Animate.  Full-featured 3-D animation programme.
  40.  
  41.   Calling
  42.       From CLI:   P-Reader <FILE>
  43.          if no file is given P-Reader will open showing a file requester.
  44.  
  45.       From Workbench:  Click the icon. 
  46.          P-Reader will again open with a file requester.
  47.          To open with a file (may be a text, picture, sound, or animation),
  48.            hold <SHIFT> click the P-Reader icon, double-click the file icon.
  49.  
  50.     If you have Arp Library installed the standard Arp file requester will   
  51.   be used.
  52.   Operation
  53.  
  54.      P-Reader is mainly controlled by the ten function keys.  To produce a key 
  55.   strip index switch the printer on and click twice on the strip below with
  56.   the RIGHT mouse button to print it.  Cut out, join, print "P-Reader" on the 
  57.   back and enclose between two strips of clear Con-Tact film.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. #! 1 1 15 0 reader.key
  65.  
  66.    F1: Move to Page [n].  To move to any page press <F1>, enter the number of 
  67.    the required page, press <RETURN>.
  68.  
  69.    F2, F3: Press <F2> or <F3> to get the first or last pages respectively.
  70.  
  71.    F4: Search.  Requester will appear.  Click on this and replace the word
  72.    "text" with the string  that you want to find.  Set case-sensitivity and
  73.    press <RETURN>.  The  search will always start at the beginning of the file.
  74.    A cursor will appear immediately before the required string.
  75.  
  76.    F5: Search again.  Search will continue from the last instance found.
  77.  
  78.     WARNING The Search window must remain active during the search process    
  79.    If your pointer automatically activates the window over which it is placed,
  80.      make sure that it remains over the Search window.                         
  81.  
  82.    F6: Print page.  The current page will be dumped to the printer.
  83.  
  84.    F7: Print file.  The whole file will be dumped.
  85.  
  86.    F8: Screen to back.  Since P-Reader opens its own screen & window, depth or
  87.    window shrinking gadgets are not useful.  <F8>, together with  <Amiga-N>
  88.    <Amiga-M> allow any screen to be brought up.
  89.  
  90.    F9: Load.  Brings up a file requester.  A new file can be selected at any
  91.    time.
  92.  
  93.    F10:  Save.  Brings up the file requester again.  The text will always be   
  94.    saved in normal un-compressed ASCii form.  ILBM illustrations in the text
  95.    will not be saved (but see below under "ILBM Display).  
  96.  
  97.    If you do not have the Arp library, a simple string gadget requester will
  98.    appear.  Enter the required file, press <return> and click <OK> or <CANCEL>.
  99.         
  100.    Additional functions are performed by page header gadgets. From left to 
  101.    right:
  102.  
  103.       Window close - terminates P-Reader.  
  104.       Page up      - just click on it (L mouse button).
  105.       NoP          - No Pictures. Toggles to suppress or enable graphics.
  106.                         Click it.
  107.       NoC          - No Cycling.   Toggles to suppress or enable cycling.
  108.       Page Down    - Just click on it.
  109.     
  110.    The secondary functions of some keys of the numeric pad are activated:
  111.  
  112.       Home  (7)   - move to page 1.
  113.       End   (1)   - move to last page
  114.       Pg Up (9)   - move to previous page
  115.       Pg Dn (3)   - move to next page. 
  116.  
  117.  Window Size
  118.  
  119.     To make it possible to include illustrations a displayed P-Reader text has 
  120.   a set page size - no scrolling.
  121.     As a simple text reader P-Reader opens a screen matching the current
  122.   display mode.  If however an illustrated file is loaded, a PAL (256 line) 
  123.   or NTSC (200 line) screen will be used according to detail in the file
  124.   header.
  125.  
  126.  ILBM Display
  127.  
  128.     To stop cycling click with the LEFT mouse button.
  129.   
  130.     To dump to the printer place the pointer over the illustration and click
  131.   twice with the RIGHT mouse button.
  132.  
  133.     P-Reader can be used as a stand-alone ILBM viewer.  In this role it will
  134.   accept any of the standard view-modes and screen depths.  
  135.  
  136.     To start cycling press <TAB>.
  137.     To stop cycling click once with the LEFT mouse button.    
  138.     To dump to the printer click twice with the RIGHT mouse button.
  139.     To close the screen click once with the LEFT mouse button.
  140.  
  141.  ANIMATION Display
  142.  
  143.     ANIM5s (as produced by DPaint, Videoscape, P-Animator, etc) can be shown
  144.   either as text illustrations or by themselves.  The animation will display
  145.   its opening screen while loading.
  146.  
  147.     To start the animation click the LEFT mouse button once.
  148.     To end the animation click again.
  149.     When used as an illustration the animation must be run (a double-click
  150.   suffices) before you can move on to the next page.
  151.     Displaying large animations usually needs 1 Meg of memory.  Click on the
  152.   NoP gadget above if you have less.
  153.  
  154.  
  155.                            ILLUSTRATED TEXTS 
  156.  
  157.      The preparation of illustrated texts for P-Reader is much easier with 
  158.    P-Writer, its partner in the P-Suite stable.  However P-Writer is not
  159.    essential.
  160.  
  161.  Colour and Style Changes
  162.    The normal escape codes are used.    The most useful being:
  163.    reset   ^[[0;40m        b'ground Pen1  ^[[41m     style bold    ^[[1m
  164.    text Pen1   ^[[31m      b'ground Pen2  ^[[42m     style italic  ^[[3m 
  165.    text Pen2   ^[[32m      b'ground Pen3  ^[[43m     underline     ^[[4m
  166.    text Pen3   ^[[33m
  167.  
  168.    The initial ^[ represents the insert introducer or CSI, the non-printing
  169.    character produced by 'Esc'.  Refer to the instructions for your text
  170.    editor to see how to insert this.
  171.  
  172.  Three types of graphics (four if you count sounds) can be called :
  173.  
  174.  ILBMs (IFF pictures)                        
  175.    True ILBMs produced by DPaint or any of the standard drawing software can
  176.    be used, provided that:
  177.  
  178.      Size is no greater than 640 X 256 (PAL) or 640 X 200 (NTSC).
  179.      No HAM or HALFBRITE.
  180.      Depth is three planes (eight colours).
  181.  
  182.    The picture shares a screen with the text, so the palette used by the
  183.    picture will affect screen colours.  Wherever possible the first four 
  184.    colours of the picture should be close to 000, FFA, 3F3, F20.  The rest of
  185.    the default palette is 45F, FC8, A60, 0A0.
  186.  
  187.       Calling syntax:  (do not leave any space between # and !)
  188.              <#><!> 1 [Left edge] [Top edge] [Cycling] [File]
  189.              (Cycling: ON insert 1,  OFF insert 0)
  190.  
  191.    The sequence may be placed anywhere on the page, but is best put at the
  192.    bottom so that all text is displayed first.  Any text after # followed by !
  193.    is not displayed. 
  194.  
  195. ANIMATIONS                                     
  196.                                                     
  197.    This version supports straightforward ANIM5 animations as produced by
  198.  DPaint, Videoscape, The Projector, P_Animator and others.  Full information on
  199.  how to create animations for P-Reader will be given in P_Animator.    
  200.  
  201.    The command syntax is:   <#><!> 2 0 0 0 [File]           
  202.                                
  203.    The sequence can go anywhere on the page.  There should be no text directly 
  204.  under the anim.
  205.  
  206.   UP TO THREE ILBMs OR ONE ANIM MAY BE CALLED ON EACH PAGE
  207.  
  208.  SOUNDS
  209.  
  210.    Sound effects can be included if they are in the normal 8SVX format.      
  211.  
  212.      Command syntax:  <#><!> 4 [File]
  213.  
  214.  BORDERS
  215.  
  216.    Provides a standard Intuition Border which may be used to enclose text or 
  217.   pictures.  
  218.      The command syntax is:
  219.               <#><!> 3 [Left edge] [Top line] [Width] [Height] [Pen] 
  220.  
  221.    The command sequence may be placed anywhere on the page, however to prevent 
  222.   the border from being over-written by text it is best put on a line below
  223.   where the  border will appear. 
  224.    
  225.  Identification
  226.  
  227.   To identify an illustrated text write the letters PRE at its very start,
  228.   followed immediately (no blank spaces) by 0 to indicate a PAL file or 1 for
  229.   an NTSC file.  
  230.  
  231.                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
  232.  
  233.   Credit:  Yuppee sound stolen from Nic Wilson's SAM sound-reader. 
  234.  
  235.   P-Reader may be freely copied and circulated in whole or in part, provided 
  236.   that any distribution is accompanied by this file.   The programme may be
  237.   used for any non-commercial or non-profit-making purpose.  Authority for
  238.   commercial or profit-making purposes may be obtained from the author -
  239.   proposals for payment in kind will be looked on favorably. 
  240.  
  241.   Reactions, suggestions, bug-reports all welcome.
  242.  
  243.   A.M.H Wyndham
  244.   1265 Canning Mills Road,
  245.   Roleystone,
  246.   WA 6111
  247.   Australia
  248.