home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / fish / 911-930 / ff924 / p-reader / p-reader.doc < prev    next >
Text File  |  1994-05-04  |  14KB  |  312 lines

  1. PRE1
  2.                           P - R E A D E R V7.1 
  3.  
  4.  
  5.                              INSTRUCTIONS 
  6.  
  7.                                                                               
  8.    Yet another infernal Reader.  There are hundreds of them already, reliable,
  9.    comprehensive, user-friendly, sitting around pleading to be used.  So pick 
  10.    the Readers that will properly display texts with multiple colour and style
  11.    changes, compressed texts, ILBMs.   Now the list gets shorter!   Find the  
  12.    Readers that will also display animations and sounds. . . Finally find the 
  13.    Readers that will show illustrated texts, with pictures and animations     
  14.    mixed in with the words.   What, none?                                     
  15.                                                                               
  16.    Wrong.  One.                                                               
  17.                                                                                
  18.    Press HELP for a summary of the instructions.                              
  19.                                                                               
  20.  
  21.    Introduction
  22.     P-Reader is really three readers in one:
  23.  
  24.      Normal Text reader.                                               Line 20
  25.      Illustrated Text reader - containing pics,animations, sounds.     Line 104
  26.      IFF reader - displaying ILBM pics, Anim5 animations, 8SVX sounds. Line 137
  27.       
  28.       Texts, pictures and animations may be compressed (P-Compress normal or
  29.   SuperC) or uncompressed.  P-Reader will check and act accordingly.
  30.  
  31.     Operation
  32.  
  33.      P-Reader is mainly controlled by the ten function keys.  To produce a key 
  34.   strip index switch the printer on and click twice on the strip below with
  35.   the RIGHT mouse button to print it.  Cut out, join, print "P-Reader" on the 
  36.   back and enclose between two strips of clear Con-Tact film.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43. #! 1 1 16 0 reader.key
  44.  
  45.  
  46.      A number of programs intercept the F keys and use them for other tasks.
  47.   If you find that your function keys do not give the expected response you
  48.   can use LSHIFT-1 in place of F1LSHIFT-2 for F2, and so on - LSHIFT-0
  49.   replaces F10.
  50.    
  51.  
  52.    NORMAL TEXTS 
  53.  
  54.   Calling
  55.  
  56.    From a CLI type P-Reader <FILE>.  If no file is given P-Reader will open
  57.   showing a file requester.
  58.  
  59.    From Workbench there are a number of ways of setting P-Reader to work:
  60.  
  61.      Double-click the P-Reader icon. P-Reader will again open with a requester.
  62.  
  63.      Enter P-Reader as the default tool in the text's icon.
  64.  
  65.      Use 'extended selection' - click the P-Reader icon, press and hold SHIFT
  66.     and double-click the text file icon.
  67.  
  68.     If you have Arp Library installed the standard Arp file requester will   
  69.   be used.
  70.   Operation
  71.  
  72.    F1: Move to Page [n].  To move to any page press F1, type the number of 
  73.    the required page, press RETURN.
  74.  
  75.    F2, F3: Press F2 or F3 to get the first or last pages respectively.
  76.  
  77.    F4: Search.  A requester will appear.  Click on this and replace the word
  78.    "text" with the string  that you want to find.  Set case-sensitivity and
  79.    press RETURN.  The  search will always start at the beginning of the file
  80.    and a cursor will appear immediately before the required string (if found).
  81.  
  82.    F5: Search again.  Search will continue from the last instance found.
  83.  
  84.    WARNING The Search window must remain active during the search process     
  85.    If your pointer automatically activates the window over which it is placed,
  86.    make sure that it remains over the Search window.                          
  87.  
  88.    F6: Print page.  The current page will be dumped to the printer.
  89.    F7: Print file.  The whole file will be dumped.
  90.  
  91.    F8: Screen to back.  Since P-Reader opens its own screen & window, depth or
  92.    window shrinking gadgets are not useful.  F8, together with  Amiga-N or
  93.    Amiga-M allow any screen to be brought up.
  94.  
  95.    F9: Load.  Brings up the file requester.  You can select a new file at any
  96.    time provided it is a normal text file.  For illustrated files or IFF close
  97.    P-Reader and start again.
  98.  
  99.    F10:  Save.  Brings up the file requester again.  The text will always be   
  100.    saved in normal un-compressed ASCii form.  
  101.  
  102.    If you do not have the Arp library, a simple string gadget requester will
  103.    appear.  Enter the required file, press <return> and click <OK> or <CANCEL>.
  104.         
  105.    More functions are performed by page header gadgets. From left to right:
  106.  
  107.       Window close - terminates P-Reader.  
  108.       Page up      - Click it to get the previous page.
  109.       Palette      - Click to cycle through available colors.
  110.       Page Down    - Just click it.
  111.     
  112.    The secondary functions of some keys of the numeric pad are also activated:
  113.  
  114.       Home  (7)   - move to page 1.
  115.       End   (1)   - move to last page.
  116.       Pg Up (9)   - move to previous page.
  117.       Pg Dn (3)   - move to next page. 
  118.  
  119.  Scrolling
  120.     
  121.     Hold LMB down to scroll down; RMB scrolls up.  Press LSHIFT to toggle the
  122.   scrolling speed.
  123.  
  124.  
  125.   IFF FILES 
  126.  
  127.    Pictures (ILBMs of all types including HAM), animations (Anim5 only) and
  128.   sounds (8SVX format) can be shown - or sounded.  Call them in exactly the
  129.   same way as you would call a normal text.  
  130.  
  131.  ILBM Display
  132.  
  133.     To start cycling (if active) press the TAB key, to stop it click the LEFT
  134.  mouse button.
  135.  
  136.     To dump to the printer place the pointer over the illustration and click
  137.  twice with the RIGHT mouse button.  Requester will ask for confirmation.
  138.  
  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 called 
  144.    and will display the opening screen while loading.  A switch -r can be used 
  145.    to set the framing rate in frames/second; default is 7 frames/sec.  
  146.  
  147.         eg:    P-Reader dh0:Marilyn -r12
  148.  
  149.     From Workbench enter RATE=12 in the Tool Types section of the icon used to
  150.   call the animation.
  151.  
  152.     To start the animation click the LEFT mouse button once, to end it click
  153.   again.  It will be run in continuous mode - starting again at the beginning
  154.   each time it gets to the end - if the animation was not designed for this
  155.   the second run may look very peculiar indeed.
  156.  
  157.  
  158.   ILLUSTRATED TEXTS 
  159.  
  160.      Illustrated texts for P-Reader can be identified by the letters PRE at the
  161.    start of the file followed by a number (1 indicates that a PAL page size
  162.    will be used, 2 for NTSC).  They are called in just the same way as the
  163.    other types of file - P-Reader will see the PRE code and act suitably.
  164.  
  165.      A number of changes will be visible as soon as the screen opens - a non-
  166.    laced screen, two new gadgets in the header which will show page rather than
  167.    line numbers.  The colour gadget will not work, nor will scrolling.  Since
  168.    pictures and animations must appear complete  - not split between pages -
  169.    the display has to be based on showing complete whole pages, and colors must
  170.    appear as the artist intended.
  171.  
  172.      The two new header gadgets are labelled:
  173.  
  174.      NOP.    No pictures.  Only the text will appear and no illustrations.  The
  175.    display adopts the non-illustrated mode of operation.
  176.  
  177.      NOC.    No cycling.  Cycling cannot be activated.
  178.  
  179.      Once illustrations have been inhibited by toggling NOP the necessity for
  180.    stopping the operation of scrolling and color changes disappears, the mode
  181.    of operation changes to that used for normal texts, scrolling and the color
  182.    gadget are enabled, and the header shows line rather than page numbers when
  183.    The position in the file has been changed.
  184.  
  185.      If NOP is clicked again the display will revert to the illustrated mode.
  186.  
  187.      The function keys will work as before, however calls to print the page or
  188.    file using F6/7 will print only the text.  To dump a picture to the printer
  189.    set the cursor over the picture and double-click the RIGHT mouse button.  A
  190.    requester will come up asking for confirmation before the picture is dumped.
  191.    Any new file called by F9 must be of the same type, that is another 
  192.    illustrated file.
  193.  
  194.  PREPARATION OF ILLUSTRATED TEXT FILES 
  195.  
  196.      The preparation of illustrated texts for P-Reader is much easier with 
  197.    P-Writer, its partner in the P-Suite stable.  However P-Writer is not
  198.    essential.
  199.  
  200.  Colour and Style Changes
  201.    The normal escape codes are used.    The most useful being:
  202.    reset   ^[[0;31;40m     b'ground Pen1  ^[[41m     style bold    ^[[1m 
  203.    text Pen1   ^[[31m      b'ground Pen2  ^[[42m     style italic  ^[[3m 
  204.    text Pen2   ^[[32m      b'ground Pen3  ^[[43m     underline     ^[[4m
  205.    text Pen3   ^[[33m
  206.  
  207.    The initial ^[ represents the insert introducer or CSI, the non-printing
  208.    character produced by 'Esc'.  Refer to the instructions for your text
  209.    editor to see how to insert this.
  210.  
  211.  Three types of graphics (four if you count sounds) can be called :
  212.  
  213.  ILBMs (IFF pictures) 
  214.                        
  215.    True ILBMs produced by DPaint or any of the standard drawing software can
  216.    be used, provided that:
  217.  
  218.      Size is no greater than 640 X 256 (PAL) or 640 X 200 (NTSC).
  219.      No HAM or HALFBRITE.
  220.      Depth is three planes (eight colours).
  221.  
  222.    The picture shares a screen with the text, so the palette used by the
  223.    picture will affect screen colours.  Wherever possible the first four 
  224.    colours of the picture should be close to 000, FFA, 3F3, F20.  The rest of
  225.    the default palette is 45F, FC8, A60, 0A0.
  226.  
  227.       Calling syntax:  (do not leave any space between # and !) :
  228.  
  229.        # !  1 [Left edge] [Top edge] [Cycling] [File] 
  230.                                       (Cycling: ON = 1,  OFF = 0)
  231.  
  232.    The sequence may be placed anywhere on the page, but is best put at the
  233.    bottom so that all text is displayed first.  Any text after # followed by !
  234.    is not displayed. (Which is why "# followed by !" has to be written here).
  235.  
  236. ANIMATIONS                                     
  237.                                                     
  238.    This version supports straightforward ANIM5 animations as produced by
  239.  DPaint, Videoscape, The Projector, P_Animator and others.  Full information on
  240.  how to create animations for P-Reader are given in P_Animator.  The animation 
  241.  must be HIRES, 3 planes, 640*256 for a PAL text, 640*200 for NTSC.
  242.  
  243.    The command syntax is:  # ! 2 0 0 0 [File]           
  244.                                
  245.    The sequence can go anywhere on the page.  There should be no text directly 
  246.  under the anim.
  247.  
  248.   UP TO THREE ILBMs OR ONE ANIM MAY BE CALLED ON EACH PAGE
  249.  
  250.  SOUNDS
  251.  
  252.    Sound effects can be included if they are in the normal 8SVX format.        
  253.    Command syntax:  # ! 4 [File]
  254.  
  255.  BORDERS
  256.  
  257.    Provides a standard Intuition Border which may be used to enclose text or 
  258.   pictures.  
  259.    Command syntax is:  # ! 3 [Left edge] [Top line] [Width] [Height] [Pen]
  260.  
  261.    The command sequence may be placed anywhere on the page, however to prevent 
  262.   the border from being over-written by text it is best put on a line below
  263.   where the border will appear. 
  264.    
  265.  
  266.   SUMMARY OF KEY-COMMANDS   (Pressing HELP key displays this)
  267.     F1 <page> or <line> <return>       Move to <page> or <line> 
  268.     F2/F3                              Move to first/final page
  269.     F4/F5                              Search/search again
  270.     F6/F7                              Print Page/File
  271.     F8                                 Move screen to back
  272.     F9                                 Get next file
  273.     F10                                Save file ASCII
  274.  
  275.     Inset graphics           Stop Cycling        Press any key
  276.                              Print               Click RMB twice
  277.   
  278.     ILBM reader              Start/stop cycling  Press <TAB>/any key
  279.                              Print               Click RMB twice
  280.  
  281.     Animation                Start               Click LBM
  282.                              Stop                Click again 
  283.  
  284.     Scroll up/down           RMB/LMB   <SHIFT> toggles speed
  285.  
  286.                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
  287.  
  288.    P-Reader may be freely copied and circulated in whole or in part, provided 
  289.   that any distribution is accompanied by this file.   The programme may be
  290.   used for any non-commercial or non-profit-making purpose.  Authority for
  291.   commercial or profit-making purposes may be obtained from the author -
  292.   proposals for payment in kind will be looked on favorably. 
  293.  
  294.   Reactions, suggestions, bug-reports all welcome.
  295.  
  296.   A.M.H Wyndham
  297.   1265 Canning Mills Road,
  298.   Roleystone,
  299.   WA 6111
  300.   Australia
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.