home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / ANSI_ART / TDRAW463.ZIP / THEDRAW.DOC < prev    next >
Encoding:
Text File  |  1993-10-19  |  348.5 KB  |  9,424 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                    TheDraw Version 4.63
  10.         Color and Monochrome Screen Image Generator/Editor
  11.                  Operation Manual
  12.  
  13.  
  14.  
  15.                 COPYRIGHT (C) 1986-1993 by
  16.            TheSoft Programming Services and Ian E. Davis
  17.                   All Rights are Reserved
  18.  
  19.  
  20.  
  21.                TheSoft Programming Services
  22.                    P.O. Box 7657
  23.                   Fremont, CA. 94537-7657
  24.  
  25.  
  26.  
  27.               Written using Turbo Pascal v6.0
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                       PREFACE
  35.  
  36.  
  37.        This  document  is  Copyright  (C)  1988-1993  by  TheSoft Programming
  38.        Services.  All rights are reserved.  This document is 163 pages long.
  39.  
  40.        The computer software programs  TheDraw  (TM)  and  TheDrawR  (TM) are
  41.        Copyright (C)  1986-1993 by  TheSoft Programming Services.  All rights
  42.        are reserved.   TheDraw  and  TheDrawR  are  registered  trademarks of
  43.        TheSoft  Programming  Services.    Other  brand  and product names are
  44.        trademarks or registered trademarks of their respective holders.
  45.  
  46.        NOTICE:  Irresponsible individuals  have seen  fit to  modify and then
  47.        distribute  changed  copies  of  TheDraw.    These  typically have the
  48.        altered version numbers of 4.30,  5.00,  6.00,  or  6.50.    Users are
  49.        should delete any copies of the archives (ie: TDRAW500.ZIP) they find.
  50.        Steps have been taken to avoid this type of hacking in the future.
  51.  
  52.        The latest release of TheDraw is always on the following BBS's:
  53.  
  54.       The Great American Dream Machine (sysop Dave Gentry)
  55.       Phone: 510-581-3019
  56.       Fidonet file requests: Node 1:215/215, Magic name "THEDRAW"
  57.  
  58.         Downloading the TDRAW463.ZIP archive:
  59.            To enter "<*> TheDraw Support Area"            Type [*]
  60.             "<D>ownload TheDraw Latest Version"   Type [D]
  61.  
  62.         Leaving a message inquiry:
  63.            To enter "<*> TheDraw Support Area"            Type [*]
  64.             "<P>ost Messages to Other Users"      Type [P]
  65.             Address message to "Ian Davis"
  66.  
  67.       -------------------------------------------------------------
  68.       Sysops on the Fidonet Node List may also obtain TheDraw from:
  69.         The Late Night BBS (sysop Carter Downer)
  70.         Phone: 315-564-5700
  71.         Fidonet file requests: Node: 1:2608/15, Magic name "THEDRAW"
  72.  
  73.        Although mentioned  elsewhere, you are urged to write if you ever find
  74.        a suspicious copy of TheDraw.  The sooner  we find  out about "hacks",
  75.        the sooner corrective action can take place.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.        TheDraw v4.63              Preface                i
  88.  
  89.  
  90.  
  91.  
  92.  
  93.                 PREFACE (continued)
  94.  
  95.  
  96.        THEDRAW FIDONET ECHO:
  97.  
  98.        A new  Fidonet echo  dedicated to  TheDraw is  being established.  Ask
  99.        your local bulletin  board  system  operator  to  request  hookup from
  100.        Carter Downer  (the moderator)  via netmail on node 1:2608/15.  Carter
  101.        will  respond  with  specific  information  on  linking  up  with  the
  102.        distribution Hub.
  103.  
  104.  
  105.        THE ADDRESS:
  106.  
  107.        Lastly,  with  TheDraw  v4.50  our address for placing orders changed.
  108.        Please send  all  new  orders  and  inquiries  to  TheSoft Programming
  109.        Services, P.O.  Box 7657, Fremont, CA. 94537-7657.  The old address at
  110.        1929 Whitecliff Court,  Walnut  Creek,  CA,  94596  will  still accept
  111.        orders however for quite some time (such is the shareware business).
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.        TheDraw v4.63              Preface               ii
  147.  
  148.  
  149.  
  150.  
  151.                       LICENSE
  152.  
  153.  
  154.        TheDraw is  not a  Public Domain  program and is not free.  TheDraw is
  155.        copyright (C) 1986-1993 by TheSoft Programming Services.
  156.  
  157.        Non-registered users of this  program are  granted a  limited two-week
  158.        license  to  TheDraw  to  evaluate  the programs suitability for their
  159.        requirements.  Any usage of TheDraw beyond the  evaluation time period
  160.        requires registration  of each copy of the program used.   Use of non-
  161.        registered copies of TheDraw beyond the original evaluation  period is
  162.        prohibited.
  163.  
  164.        TheDraw may  NOT be modified in any respect, for any reason, including
  165.        but  not  limited   to,   de-compiling,   disassembling,   or  reverse
  166.        engineering of  the program.   The opening title screen, help screens,
  167.        and all  other  proprietary  program  output  must  never  be altered,
  168.        removed, bypassed or modified by any means.
  169.  
  170.        You are free to distribute the PUBLICLY AVAILABLE shareware version of
  171.        TheDraw to others subject  to  the  above  restrictions  and  also the
  172.        following:
  173.  
  174.       A.   No fee is charged for its use.
  175.  
  176.       B.   No renumeration  may be  accepted for  TheDraw.  This does not
  177.            apply to computer access charges the system operators (Sysops)
  178.            of  or  organizations  owning  bulletin  board systems, online
  179.            services, etc... may charge subscribers.
  180.  
  181.       C.   TheDraw must be copied in unaltered form, complete  with files
  182.            containing  license  information,  the  FULL documentation and
  183.            all  accompanying   files.      The   self-extracting  archive
  184.            distributed by TheSoft must not be altered in ANY respect.
  185.  
  186.       D.   All shareware  houses/distribution firms  must make explicitly
  187.            clear that  the  diskette  purchase  containing  any shareware
  188.            program has NOT registered the shareware with TheSoft.
  189.  
  190.        System Operators  may make  TheDraw available for download only if the
  191.        above conditions are met.  The  archive (TDRAW451.ARJ)  distributed by
  192.        TheSoft  or  an  equivalent  archive  may  be  made  available only in
  193.        complete form.   Refer to  section  FILE  LISTING  to  verify complete
  194.        package contents.  If the contents appear altered or not complete, you
  195.        may obtain the latest release  of  TheDraw  directly  from  TheSoft by
  196.        sending a  formatted diskette labeled with the word "THEDRAW".  Please
  197.        include $5 for handling.
  198.  
  199.        An alternate means of obtains the latest shareware  archive is calling
  200.        The Great  American Dream  Machine at (510) 581-3019.  See preface for
  201.        download instructions and how to leave comments.
  202.  
  203.  
  204.  
  205.        TheDraw v4.63              License              iii
  206.  
  207.  
  208.  
  209.  
  210.  
  211.        Commercial distributors of "Public  Domain", "Shareware",  and/or User
  212.        Supported  software  may  distribute  TheDraw  subject  to  the  above
  213.        conditions  only  after  obtaining  WRITTEN  permission  from  TheSoft
  214.        Programming  Services.     This  condition  statement  supersedes  all
  215.        previous agreements.
  216.  
  217.        Please refer to the section entitled registration/ordering section for
  218.        additional information  on registration,  corporate site-licensing and
  219.        related topics.
  220.  
  221.        -----
  222.  
  223.        The above license statement does not  apply to  the REGISTERED version
  224.        of TheDraw.   The  registered software of TheSoft Programming Services
  225.        is protected  under United  States Copyright  and Trademark  Laws.  It
  226.        must be treated just like a book with certain exceptions as follows:
  227.  
  228.        A. TheSoft  Programming  Services  authorizes  the  making of archival
  229.       copies  of  the  registered  software  for  the  sole   purpose  of
  230.       backing-up  your  software  and  protecting  your  investment  from
  231.       possible loss.
  232.  
  233.        B. The  medium  on  which  the  registered  software  is  recorded  is
  234.       transferred to the customer, but not the title to the software.
  235.  
  236.        C. The  customer  may  resell  or  distribute unmodified copies of the
  237.       registered  software  provided  the  customer  has  purchased  from
  238.       TheSoft Programming  one copy  of the  registered software for each
  239.       one sold or distributed.  The  provisions of  this software license
  240.       shall also  be applicable  to third parties receiving copies of the
  241.       registered software from the customer.
  242.  
  243.        D. By saying, "just like a book",  TheSoft Programming  means that the
  244.       registered software  may be used by any number of people and may be
  245.       freely moved from one computer location to another so long as there
  246.       is ABSOLUTELY NO POSSIBILITY of it being used at one location while
  247.       being used at another.  Just like a book that cannot be read by two
  248.       different people in two different locations at the same time.
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.        TheDraw v4.63              License               iv
  265.  
  266.  
  267.  
  268.  
  269.                    ORDERING INFORMATION
  270.  
  271.  
  272.        Once a registered user of TheDraw, you are free to utilize the program
  273.        as often as you wish.  Other than having a clear conscience, there are
  274.        many advantages  to registered.   You receive in the mail a registered
  275.        version of TheDraw with configurable editor commands, enhanced editing
  276.        facilities,  context  sensitive  pop-up  help,  built in color shading
  277.        screen,  and  macro  keys.    You  are  also  notified  via  mail when
  278.        significant  enhancements  have  been  made.    Once  registered,  all
  279.        upgrades are available for a $5 upgrade fee plus the  original TheDraw
  280.        diskette (see below).
  281.  
  282.        To register, just send $20 plus $2 shipping/handling.  You receive the
  283.        latest shareware and registered versions of TheDraw on disk along with
  284.        documentation  (on  5.25"  diskette)  and  utilities.  If  you want to
  285.        receive TheDraw on a 3.5 inch diskette, add an additional  $3 for each
  286.        diskette ordered.
  287.  
  288.        If unsure, you can receive the latest shareware version of TheDraw for
  289.        evaluation by sending $5 along with a note  indicating what  you would
  290.        like (TheDraw in this case).
  291.  
  292.        Please use the following form or print the included file "MAILER" when
  293.        placing an order.
  294.  
  295.        -----
  296.        NON U.S. residents, draw  all checks  on U.S.  funds in  U.S. dollars.
  297.        Also add  $5 for overseas handling.  Canadians can obtain postal money
  298.        orders in U.S. denomination easily.
  299.  
  300.  
  301.        UPGRADING TO LATEST VERSION OF THEDRAW
  302.  
  303.        Users who have registered (and received a diskette) may upgrade to the
  304.        latest version  of TheDraw  by sending in their TheDraw ORIGINAL DISK,
  305.        along with $5 plus $2 (shipping/handling).   Please  use the following
  306.        order  form  when  upgrading.    If  there has been an address change,
  307.        please indicate so on the order form.
  308.  
  309.        The original disk must be returned and contain  the registered version
  310.        of  TheDraw.    The  disk  will  be reformatted and the current Master
  311.        copied onto it.  Any  disk  in  poor  condition  will  be  replaced by
  312.        TheSoft.   If the  serial number label is missing or the diskette does
  313.        not contain the registered version  of  TheDraw,  the  update  will be
  314.        refused and the diskette returned unchanged.
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.        TheDraw v4.63             Ordering                v
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.        Please Remit To:    TheSoft Programming Services
  331.                P.O. Box 7657
  332.                Fremont, CA. 94537-7657
  333.  
  334.        Qty.    Description                      Each    Total
  335.  
  336.        ____    TheDraw Upgrade to version 4.63          $5.00   ________
  337.            (You must return your original diskette
  338.         containing your copy of the registered
  339.         version of TheDraw)
  340.  
  341.        ____    TheDraw Registration with 5.25" diskette    $20.00   ________
  342.            (Registration including diskette with the
  343.         latest shareware and registered program
  344.         versions along with manual on diskette)
  345.  
  346.        ____    TheDraw Registration with 3.5" diskette     $23.00   ________
  347.            (same as above except on new size media)
  348.  
  349.                              Subtotal   ________
  350.  
  351.       (CA residents add appropriate sales tax)            Tax   ________
  352.  
  353.       (U.S. disk orders add $2 shipping & handling)  Shipping   ________
  354.       (Foreign disk orders add $5 shipping)
  355.  
  356.                                 TOTAL  $________
  357.  
  358.  
  359.       Name: ________________________________________________________
  360.  
  361.        Company: ________________________________________________________
  362.  
  363.        Address: ________________________________________________________
  364.  
  365.         ________________________________________________________
  366.  
  367.         ________________________________________________________
  368.  
  369.  
  370.        Checks/money orders  must be  drawn on  U.S. accounts in U.S. dollars.
  371.        Foreign currency is not accepted.  Sorry, no C.O.D. orders taken.
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.        TheDraw v4.63             Ordering               vi
  383.  
  384.  
  385.  
  386.  
  387.  
  388.        PURCHASE ORDER TERMS AND REQUIREMENTS
  389.        _____________________________________
  390.  
  391.        Purchase Orders less than $100 must be pre-paid.
  392.  
  393.        Terms are net 30 days.
  394.        Freight is prepaid by TheSoft.
  395.        Lead time: Stock items.
  396.  
  397.        Tax exceptions:  Include  appropriate documentation.   Contact TheSoft
  398.        for voice verification if required.
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.        TheDraw v4.63             Ordering              vii
  442.  
  443.  
  444.  
  445.  
  446.                    SITE LICENSE
  447.  
  448.  
  449.        If you  plan on using TheDraw in a corporate, government office, or in
  450.        any business environment  whatsoever,  registration  is  mandatory and
  451.        the two  week limited  license is  strictly enforced.  For such users,
  452.        quantity discounts are available under a Site License agreement.
  453.  
  454.        The site license  (corporate  and  governmental)  is  for  use  of the
  455.        software  within  your  company  or  government  agency,  and  is  not
  456.        transferable.  This allows  internal use  and copying  of the software
  457.        for as  many sites  / computers  as contracted for.  An unlimited Site
  458.        License allows unlimited copying of the  software for  internal use by
  459.        your  company  or  government  agency.   Distributing, repackaging, or
  460.        reselling of the software  to  third  parties  is  not  allowed.   All
  461.        licenses are prepaid.
  462.  
  463.        One MASTER  copy of  TheDraw (with  documentation) will be provided on
  464.        diskette.   The site is responsible for printing the documentation and
  465.        copying the  diskettes for distribution.  Additional master copies may
  466.        be purchased from TheSoft Programming for $5.00 per diskette.
  467.  
  468.        With all site licenses, the site will supply  one contact  person with
  469.        which all correspondence will be made.  If a problem should occur, the
  470.        contact person will call and make  arrangements to  get a  fix for the
  471.        glitch.   Updates to  TheDraw will be forwarded to the contact person.
  472.        When filling out the order form, use the contact persons name to avoid
  473.        confusion at a later date.
  474.  
  475.        Following is the current site license discount rates:
  476.  
  477.               TOTAL COPIES    DISCOUNT     UNIT COST
  478.               1 - 4     none        $20.00
  479.               5 - 10     10%        $18.00
  480.              11 - 20     20%        $16.00
  481.              21 - 30     30%        $14.00
  482.              31 - 50     40%        $12.00
  483.              51 - 100        50%        $10.00
  484.              101+        60%        $8.00
  485.  
  486.        An unlimited site license may be purchased for $2500.00
  487.  
  488.        NOTE:   All discounts and prices are subject to change without notice.
  489.        Also note that discounts are  not  cumulative  and  apply  to separate
  490.        orders only.
  491.  
  492.        Please write  if you wish to obtain a site license.  A printed copy of
  493.        the license  will be  mailed for  you to  fill out,  sign, and return.
  494.        Once the  order has  been approved, a copy if the license signed by an
  495.        authorized TheSoft Programming Services representative will be shipped
  496.        along with the master diskette.
  497.  
  498.  
  499.  
  500.        TheDraw v4.63          Site Licensing          viii
  501.  
  502.  
  503.  
  504.  
  505.  
  506.                      WARRANTY
  507.  
  508.  
  509.        TheDraw  and  accompanying  files  are  provided  AS  IS  without  any
  510.        warranty, expressed or implied.  This includes without  limitation the
  511.        fitfulness for  a particular purpose or application and any warranties
  512.        of merchantability.
  513.  
  514.        While we tried to  be as  thorough as  possible in  preparing TheDraw,
  515.        TheSoft  Programming  Services  shall  not  be liable for any damages,
  516.        whether direct, indirect, special, incidental or consequential arising
  517.        from a  failure of  this program or accompanying files to operate in a
  518.        manner desired by the user.  TheSoft Programming Services shall not be
  519.        liable for any damage to data or property which may by caused directly
  520.        or indirectly by use of this program.
  521.  
  522.        In no event will TheSoft Programming Services be liable to you for any
  523.        damages, including  any lost profits, lost savings or other incidental
  524.        or consequential damages arising out of your use  or inability  to use
  525.        the program,  or for  any claim by any other party.  Individuals using
  526.        the software bear all risk as to its quality and performance.
  527.  
  528.        -----
  529.  
  530.        If you have a problem with  TheDraw  please  feel  free  to  write and
  531.        describe the  situation.   Registered users, please include the serial
  532.        number found on your diskette.
  533.  
  534.        To those people who  have  registered  (with  diskette),  the physical
  535.        diskette is warranted against defects in materials and workmanship for
  536.        a period of 60 days from date of  shipment by  TheSoft.   Any returned
  537.        disks found damaged or bad will be replaced at no charge.
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.        TheDraw v4.63             Warranty               ix
  560.  
  561.  
  562.  
  563.  
  564.                  TABLE OF CONTENTS
  565.  
  566.  
  567.        Preface ...................................................... i
  568.  
  569.        License
  570.       Single User License ....................................... iii
  571.       Giving out Copies ......................................... iii
  572.       System Operators (Sysops) Info ............................ iii
  573.       Software Distributors - Read this ......................... iv
  574.       Registered Version License Agreement ...................... iv
  575.  
  576.        Ordering Information
  577.       Registration .............................................. v
  578.          Upgrading to Latest Version of TheDraw ................. v
  579.          Registration ........................................... v
  580.          Getting a Trial Copy ................................... v
  581.          Getting a 3.5 inch diskette ............................ v
  582.       Invoice Order Form ........................................ vi
  583.       Purchase Order Terms and Requirements ..................... vii
  584.          Tax Exceptions ......................................... vii
  585.       Site Licensing ............................................ viii
  586.  
  587.        Warranty ..................................................... ix
  588.  
  589.        Introduction ................................................. 1
  590.  
  591.        Definitions .................................................. 3
  592.  
  593.        System Requirements .......................................... 4
  594.       Multitasking Environments ................................. 4
  595.       Windows 3.1 ............................................... 4
  596.  
  597.        Getting Started .............................................. 5
  598.       File Listing .............................................. 5
  599.       Installing TheDraw ........................................ 6
  600.       Customizing TheDraw ....................................... 6
  601.       Starting TheDraw .......................................... 7
  602.       Leaving/Exiting TheDraw ................................... 7
  603.       Creating your First Screen ................................ 7
  604.          Saving your First Screen ............................... 8
  605.          Exiting TheDraw and Viewing your First Screen .......... 9
  606.          Egads!  What Happened? ................................. 9
  607.       Editing your First Screen ................................. 9
  608.          Changing Colors ........................................ 10
  609.          Painting the Screen .................................... 10
  610.       Making your Second TheDraw Screen ......................... 11
  611.          Drawing Lines .......................................... 11
  612.          Marking a Block ........................................ 12
  613.          Using Sprite mode ...................................... 13
  614.  
  615.  
  616.  
  617.  
  618.        TheDraw v4.63                             x
  619.  
  620.  
  621.  
  622.  
  623.       Animating your Second TheDraw Screen ...................... 15
  624.          Selecting a Scan Pattern ............................... 15
  625.          Viewing the Animation Sequence ......................... 16
  626.          Saving Animation ....................................... 16
  627.       The Example Files ......................................... 17
  628.  
  629.        Operating TheDraw ............................................ 19
  630.       Command Line Filespecs .................................... 19
  631.       The Status Line ........................................... 19
  632.       HELP! ..................................................... 20
  633.       Cursor Control ............................................ 20
  634.       Mouse Control ............................................. 21
  635.       Command Summary ........................................... 22
  636.  
  637.        The Animation System ......................................... 23
  638.       What is Animation? ........................................ 23
  639.       Animation Basics .......................................... 24
  640.       A Simple Example .......................................... 24
  641.       Making a Block Move ....................................... 25
  642.       Easy Animation ............................................ 27
  643.          Animation Scan Patterns ................................ 27
  644.          Recording Cursor Movements ............................. 28
  645.       Editing and Deleting Animation Entries .................... 28
  646.          Changing your Animation Scan Pattern ................... 29
  647.       Advanced Animation Editing ................................ 29
  648.          Editing Partial Animation Sequences .................... 29
  649.         Animation Limiting .................................. 29
  650.         Animation Markers ................................... 30
  651.          Include Files .......................................... 30
  652.          Making Custom User Control Sequences ................... 30
  653.       Tricks and Techniques ..................................... 31
  654.          Use of Colors .......................................... 31
  655.          Shading ................................................ 31
  656.          Shadowing .............................................. 32
  657.          Pausing ................................................ 33
  658.       Pitfalls and Limitations .................................. 33
  659.  
  660.        Tips and Examples for Programmers ............................ 34
  661.       Programming in Assembler .................................. 34
  662.       Programming in Pascal ..................................... 36
  663.          Turbo Pascal v4.0 through v5.5 ......................... 38
  664.          Turbo Pascal v6.0 and v7.0 ............................. 40
  665.       Programming in C .......................................... 41
  666.          Using Object Files with C .............................. 43
  667.       Programming in Standard Basic ............................. 44
  668.       Programming in Microsoft QuickBasic v4.0 and v4.5 ......... 45
  669.          Making and Using Quick Libraries ....................... 46
  670.          The Display Routines ................................... 47
  671.          Command Line Compilation ............................... 50
  672.       Programming in Clipper(tm) ................................ 51
  673.  
  674.  
  675.  
  676.  
  677.        TheDraw v4.63                            xi
  678.  
  679.  
  680.  
  681.  
  682.        Pull-Down Menu System ........................................ 55
  683.       The FILES Menu ............................................ 55
  684.       The GLOBAL Menu ........................................... 57
  685.       The OPTIONS Menu .......................................... 58
  686.          Setup Default Options .................................. 59
  687.       The SCREEN Menu ........................................... 62
  688.       The FONTS Menu ............................................ 64
  689.          Standard Font .......................................... 64
  690.          Choosing a Font Outline ................................ 64
  691.          Font Selection ......................................... 65
  692.       The ANIMATION Menu ........................................ 66
  693.       The COLOR Menu ............................................ 68
  694.       The TOGGLES Menu .......................................... 69
  695.       The HELP Option ........................................... 71
  696.       The QUICK PALETTE Window .................................. 71
  697.  
  698.        TheDraw Keyboard Commands .................................... 72
  699.       Alt-A  Change Text Color Attributes ....................... 72
  700.            Color Shading Screen ............................. 73
  701.       Alt-B  Block Action Commands .............................. 73
  702.            Copy a Block ..................................... 74
  703.            Move a Block ..................................... 75
  704.            Fill a Block ..................................... 75
  705.            Block Text Operations ............................ 76
  706.            Delete a Block ................................... 77
  707.            Erase a Block .................................... 77
  708.            Block Replace Operations ......................... 77
  709.            Load a Block (normal mode only) .................. 78
  710.            Save a Block (normal mode only) .................. 78
  711.            Fadeout a Block (animation mode only) ............ 78
  712.            Rescan a Block (animation mode only) ............. 78
  713.       Alt-C  Clear Current Screen ............................... 78
  714.       Alt-D  Set Default Clear Screen Color ..................... 79
  715.       Alt-E  Change Page Layer Edit Screen ...................... 79
  716.            Sprite Editing ................................... 80
  717.       Alt-F  View Function Key Sets ............................. 81
  718.       Alt-G  Global Commands .................................... 82
  719.            Copy Screen ...................................... 82
  720.            Move/Rotate Screen ............................... 82
  721.            Fill Screen ...................................... 82
  722.            Fadeout Screen ................................... 83
  723.            Text Operations .................................. 83
  724.            Replace Operations ............................... 84
  725.       Alt-H  Display Help Information ........................... 85
  726.       Alt-I  Insert a Line ...................................... 85
  727.       ALT-J  Animation Options .................................. 85
  728.            From Normal Edit Mode ............................ 85
  729.            From Animator Mode ............................... 88
  730.              Include - Specify Animation Include Files ...... 88
  731.                Ansi Music ................................... 89
  732.              User_Seq - Specify User Control Sequences ...... 89
  733.              Limit - Specify Animation Limiting ............. 90
  734.  
  735.  
  736.        TheDraw v4.63                           xii
  737.  
  738.  
  739.  
  740.  
  741.              Marker - Specify Animation Markers ............. 91
  742.              Movement - Toggle Storage of Cursor Movement ... 92
  743.              Normal - Convert to Normal Edit Mode ........... 92
  744.              Rescan - Rescan All Screens for New Sequence ... 92
  745.              Pause - Animation Pausing ...................... 92
  746.       Alt-K  Delete a File ...................................... 93
  747.       Alt-L  Load Screen from Disk .............................. 93
  748.            Avatar/PCBoard/Wildcat ........................... 94
  749.            Binary/BSave/COM/Object/TheDraw .................. 95
  750.            TheDraw Library Files ............................ 95
  751.       Alt-M  Select Draw Mode (toggle) .......................... 95
  752.       Alt-N  Ruler .............................................. 96
  753.       Alt-O  Change Drive/Sub Directory ......................... 96
  754.       Alt-P  Paint/Fill Commands ................................ 96
  755.       Alt-Q  AT-Code Quick Reference (normal mode only) ......... 97
  756.       Alt-Q  Redraw Screen (animator mode only) ................. 97
  757.       Alt-R  Restore/Undo Changes ............................... 98
  758.       Alt-S  Save Screen to Disk ................................ 98
  759.            Ansi Text (.ANS) ................................. 98
  760.            Ascii Text (.ASC) ................................ 99
  761.            Avatar (.AVT) .................................... 99
  762.            AtCodes (PCBoard/Wildcat) (.PCB/.BBS) ............ 100
  763.            Binary Screen Dump (.BIN) ........................ 100
  764.            Basic BSave Screen Dump (.BSV) ................... 100
  765.            Dos COM Files (.COM) ............................. 101
  766.            Assembly Language (.ASM) ......................... 101
  767.            Turbo Pascal (.PAS) .............................. 102
  768.            C Language (.H) .................................. 102
  769.            Intel Compatible Object Code (.OBJ) .............. 102
  770.               Object File Data Formats ...................... 103
  771.            TheDraw Setup Save (.TD) ......................... 104
  772.            TheDraw Library Save (.TDL) ...................... 104
  773.            Typing in the Filename ........................... 105
  774.       Alt-T  Tab Setup .......................................... 105
  775.       Alt-U  Use Color under Cursor ............................. 106
  776.       Alt-V  View a Screen (not load) ........................... 106
  777.       Alt-W  Edit Character (animator mode only) ................ 106
  778.       Alt-X  Exit TheDraw ....................................... 106
  779.       Alt-Y  Delete Current Line ................................ 107
  780.       Alt-Z  Erase Cursor Character (animator mode only) ........ 107
  781.       Alt-/  Pick Character for Manual Painting ................. 107
  782.  
  783.       ALT-[LEFT]  Delete Current Column ......................... 108
  784.       ALT-[RIGHT] Insert a Column ............................... 108
  785.       Alt--  Toggle Color Draw Mode ............................. 108
  786.       Alt-=  Toggle Macro Learning Mode ......................... 108
  787.  
  788.       Manual Painting (SHIFT-UP/DOWN/LEFT/RIGHT) ................ 109
  789.       Alternate Color Change Options (CTRL-UP/DOWN/LEFT/RIGHT) .. 109
  790.       Solid Spaces (SHIFT-SPACE) ................................ 110
  791.       Full Screen Editing (CTRL-PRTSC) .......................... 110
  792.  
  793.  
  794.  
  795.        TheDraw v4.63                          xiii
  796.  
  797.  
  798.  
  799.  
  800.  
  801.        The Font Editor (TDFONTS) .................................... 111
  802.       Running TDFonts ........................................... 111
  803.       Viewing a Font ............................................ 112
  804.       Changing a Font ........................................... 112
  805.          Editing Symbols ........................................ 113
  806.         Edit Modes .......................................... 113
  807.         Editing Outline Type Fonts .......................... 114
  808.         Reserved Characters ................................. 115
  809.          Delete Symbol .......................................... 115
  810.          Copy Symbol ............................................ 115
  811.          Change Font Spacing .................................... 116
  812.       Making New Fonts .......................................... 116
  813.       Moving a Font ............................................. 116
  814.       Renaming Fonts ............................................ 117
  815.       Deleting a Font ........................................... 117
  816.       Font Importing ............................................ 117
  817.       Font Exporting ............................................ 117
  818.  
  819.        The Screen Capture/Grabber Utility (THEGRAB) ................. 118
  820.  
  821.        The Presentation Program (THEPP) ............................. 120
  822.  
  823.        The Setup Utility ............................................ 124
  824.       Why Setup? ................................................ 124
  825.       Display Windows and Selecting Options ..................... 125
  826.       Saving and Aborting Changes ............................... 125
  827.       Running Setup ............................................. 125
  828.          Main Menu .............................................. 125
  829.         Editor Configuration ................................ 126
  830.            Changing a key entry ............................. 126
  831.            Allowed Keystrokes ............................... 126
  832.         Keyboard Customize .................................. 127
  833.         Screen Mode ......................................... 127
  834.         Colors .............................................. 129
  835.         Files Directory ..................................... 129
  836.         Memory Usage ........................................ 130
  837.         Defaults ............................................ 130
  838.         Quit/Save ........................................... 131
  839.  
  840.        Appendix A:  Setting up CONFIG.SYS ........................... 132
  841.  
  842.        Appendix B:  Extended/Special Character Set .................. 133
  843.  
  844.        Appendix C:  Common Questions & Answers ...................... 134
  845.  
  846.        Revision History ............................................. 138
  847.  
  848.        The Future ................................................... 147
  849.  
  850.        Comments ..................................................... 148
  851.  
  852.  
  853.  
  854.        TheDraw v4.63                           xiv
  855.  
  856.  
  857.  
  858.  
  859.  
  860.                    INTRODUCTION
  861.  
  862.  
  863.        TheDraw  is  a  powerful  screen  image generator/editor for color and
  864.        monochrome video users.  What  does  that  mean?    Literally, TheDraw
  865.        makes designing and figuring out a video screen display childs play.
  866.  
  867.        Its basic  premise is  this: be easy to use.  The most novice computer
  868.        user can make an Ansi text file screen  with TheDraw  in only minutes.
  869.        From that  point on,  you can  explore and  use more of the horsepower
  870.        available in TheDraw.
  871.  
  872.        Someone is probably saying "it edits screens...  big deal".  This type
  873.        of person has never known the agony of creating a good looking menu or
  874.        display for a program (assuming he/she programs), making a fancy batch
  875.        file  intro  screen,  or  having  to  quickly  put together a computer
  876.        presentation for the boss.
  877.  
  878.        The biggest problem most people face  is not  knowing what  looks good
  879.        until we  see it.   Manual  editing can literally take hours, but with
  880.        TheDraw you free form until everything is perfect.  Given  the picture
  881.        in  mind,  it's  a  snap  to develop whatever is necessary or instruct
  882.        TheDraw to create an  appropriate file.   Instead  of hours,  making a
  883.        screen takes minutes.
  884.  
  885.        For  the  curious,  TheDraw  can  transform your masterpiece into data
  886.        files with the following formats:
  887.  
  888.          ANSI color text (useful in batch files, BBS's, etc...)
  889.          AVATAR color text (for BBS's needing better modem transfer)
  890.          PCBOARD BBS color text format
  891.          WILDCAT BBS color text format
  892.          ASCII text (compatible with word processors and text editors)
  893.          BINARY files (generic, useful in most everything)
  894.          BSAVE (for Basic)
  895.          COM files (actual separate programs executable directly
  896.         by Dos - Great for batch files and presentations)
  897.          ASSEMBLER (source code for the die-hard)
  898.          TURBO PASCAL (directly compilable source code)
  899.          C (directly compilable source code)
  900.          OBJECT (Intel format compatible, suitable for linking.  Four
  901.         varieties  available  for  generic  LARGE/SMALL  data models,
  902.         TURBO PASCAL v4.0+, and QUICKBASIC v4.0+)
  903.          THEDRAW (custom format for fast loading and saving)
  904.          LIBRARY (custom format for storing many screens together)
  905.  
  906.        TheDraw was  long ago originally written as an improvement to a simple
  907.        program named AnsiDraw written by Amrich  Enterprises.   Both programs
  908.        provided similar  operation, with  TheDraw giving a much enhanced user
  909.        interface.
  910.  
  911.  
  912.  
  913.        TheDraw v4.63           Introduction              1
  914.  
  915.  
  916.  
  917.  
  918.        TheDraw is  now vastly  improved over  the abilities  of AnsiDraw, and
  919.        most other  screen editors.   It  is compatible with systems that have
  920.        270k of free memory available.  Monochrome and Color monitor users are
  921.        supported,  and  a  special  keyboard  driver  allows  you to redefine
  922.        keystrokes that do not operate properly or are used by  other programs
  923.        (registered  version).    If  you  have  an  EGA or VGA video display,
  924.        TheDraw permits editing on 43 or 50 line screens (respectfully).
  925.  
  926.        Normal color and multi-color ASCII FONTS  are fully  supported.  These
  927.        are large  scale letters  and symbols  which span multiple lines.  The
  928.        are perfect for making welcome messages or notes of importance.
  929.  
  930.        Another feature TheDraw fully supports is ANIMATION.   You can develop
  931.        simple  presentations  quickly,  or  make  generic screens appear with
  932.        pizzazz.  TheDraw can animate a  static image,  or animation sequences
  933.        can  be  made  from  scratch;  thus  letting  you  fully  control  the
  934.        appearance of your  work.    TheDraw  gives  you  a  maximum  of 16000
  935.        separate  animation  "entries"  to  handle  the most complex job.  The
  936.        final result can be saved to ANSI Animation, AVATAR Animation, TheDraw
  937.        data  files,  or  TheDraw  library  files.    Please  refer to section
  938.        entitled "The Animation System" for more information.
  939.  
  940.        To use TheDraw right  away, refer  to "Getting  Started with TheDraw".
  941.        This section describes installation, and introduces using the program.
  942.  
  943.        Enjoy!
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.        TheDraw v4.63           Introduction              2
  973.  
  974.  
  975.  
  976.  
  977.  
  978.                     DEFINITIONS
  979.  
  980.  
  981.        Throughout  this  documentation  you  may  run  across  the occasional
  982.        enigmatic word  that  needs  explaining.      The  following  are some
  983.        examples you might come across:
  984.  
  985.          enigmatic      - mysterious or cryptic
  986.  
  987.          [ENTER] or C/R - This represents the return key on the keyboard.
  988.                   If you see this in the text, press the Enter
  989.                   key; do not type the actual letters.
  990.  
  991.          ESC or [ESC]   - Means to press the ESC key on the keyboard.
  992.  
  993.          [letter]       - Means to  press the  actual key marked 'letter'
  994.                   on your keyboard.   ie: [L]oad,  [L], or [L]eft
  995.                   all mean press the letter 'L' key.
  996.  
  997.          Alt-<letter>   - Alt- is always followed by another character.
  998.            or             Together, this symbol means to first press and
  999.          [ALT-<letter>]   hold  down  the  ALT  key  on the keyboard then
  1000.                   type the letter key following it.   ie: [ALT-A]
  1001.                   means hold ALT then press 'A'.
  1002.  
  1003.          Ctrl-<letter>  - This is executed the same as the ALT key.
  1004.          [CTRL-<letter>]  Press and hold down the CTRL then hit the
  1005.            or             letter following.  ie:  CTRL-A and ^A mean the
  1006.          ^<letter>        same thing - hold CTRL then press 'A'.
  1007.  
  1008.          [LEFT] [RIGHT] - Means to press the corresponding keypad arrow
  1009.          [UP] [DOWN]      key on your keyboard.  Similar to the [letter]
  1010.          [TAB] etc...     example shown above.  ie: [UP] means to press
  1011.                   the up arrow key.
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.        TheDraw v4.63            Definitions              3
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.                 SYSTEM REQUIREMENTS
  1038.  
  1039.  
  1040.        TheDraw requires an IBM PC/XT/AT or close compatible running MsDos 2.0
  1041.        or higher.   In  addition,  a  monochrome  adapter  or  color graphics
  1042.        display  adapter  (CGA,  EGA,  or  VGA)  plus monitor is needed to run
  1043.        properly.
  1044.  
  1045.        In a minimum configuration, 270 kilobytes of free memory are required.
  1046.        The  maximum  memory  usage  is  450k  of memory (8 page layers, 16000
  1047.        animation entries).   TheDraw  will  always  attempt  to  allocate all
  1048.        available memory up to the limits specified via the Setup utility.
  1049.  
  1050.  
  1051.  
  1052.        MULTITASKING ENVIRONMENTS
  1053.        ──────────────────────────────────────────────────────────────────────
  1054.        TheDraw  can  be  used  under  multitasking  or windowing environments
  1055.        provided the full video  screen  is  allocated  to  it.    The program
  1056.        directly  accesses  video  memory  and  the keyboard hardware for some
  1057.        functions.  TheDraw does not use any high  resolution graphics  in its
  1058.        operation.
  1059.  
  1060.        TheDraw  is  known  to  operate  under  Double  Dos  except  for minor
  1061.        problems.  Double Dos  disables  certain  keyboard  sequences (notably
  1062.        Ctrl-PrtSc).   For this  situation, people with the registered version
  1063.        of TheDraw can use the Setup utility to redefine the function of Ctrl-
  1064.        Prtsc to another key.
  1065.  
  1066.        TheDraw operates  under Microsoft Windows and Desqview provided memory
  1067.        and video requirements (as mentioned above) are taken  care of.   When
  1068.        Desqview  is  detected,  TheDraw  disables its normal video checks (to
  1069.        prevent undesirable video mode switching).
  1070.  
  1071.        Windows 3.1 users running TheDraw may wish edit  any TheDraw  PIF file
  1072.        or  the  _DEFAULT.PIF  file.    Under the "advanced" PIF options, make
  1073.        certain that the "Retain Video Memory" option is  selected.  Otherwise
  1074.        unexpected display behavior may occur.
  1075.  
  1076.        Note:    It is easy to cause problems with some window environments if
  1077.         the user wishes.  Working  in  another  window  while TheDraw
  1078.         attempts  to  refresh  its  screen  may result in information
  1079.         being overwritten.
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.        TheDraw v4.63        System Requirements              4
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.                   GETTING STARTED
  1097.  
  1098.  
  1099.        Setting up TheDraw to operate on your computer is fairly easy.  If you
  1100.        received TheDraw  on diskette,  we suggest  you backup the disk before
  1101.        proceeding.  It never hurts to play things safe.
  1102.  
  1103.        On registered diskettes obtained  from  TheSoft  a  batch  file called
  1104.        INSTALL.BAT is  included to  simplify installation.  The INSTALL batch
  1105.        file is not bundled with the shareware version of TheDraw.
  1106.  
  1107.  
  1108.        FILE LISTING
  1109.        ──────────────────────────────────────────────────────────────────────
  1110.        The following lists those files included with the shareware version:
  1111.  
  1112.        Filename:    Purpose:
  1113.        ────────────     ─────────────────────────────────────────────────────
  1114.        WHATSNEW.DOC     Brief listing of new additions for this release.
  1115.  
  1116.        MAILER       A registration form which when printed can be easily
  1117.             folded and mailed.  No envelope is needed.
  1118.  
  1119.        FILE_ID.DIZ      A short description file for BBS sysops.
  1120.        FILE.LST     Text file also documenting this file listing
  1121.  
  1122.        TDFONTS.EXE      TheDraw font editor utility.
  1123.        TDFONTS.TDF      TheDraw font database file.
  1124.        THEGRAB.EXE      TheGrab screen capture utility.
  1125.  
  1126.        SETUP.EXE    TheDraw setup utility.
  1127.        THEDRAW.EXE      Shareware version of TheDraw
  1128.        THEDRAW.DOC      TheDraw User's Manual
  1129.        PRINTDOC.EXE     Program to simplify printing out User's Manual
  1130.             Type "PRINTDOC [enter]" from the dos prompt.
  1131.  
  1132.        SHUTTLE2.ANS \   Example files showing off some of the capabilities
  1133.        DEMO.TD       \  of TheDraw, plus demonstrations of what is possible.
  1134.        SHADING.TD    /  See section "THE EXAMPLE FILES" for descriptions.
  1135.        EFFECTS.TD   /
  1136.  
  1137.        UNCRUNCH.ASM \   Implementations of the algorithm needed to display
  1138.        UNCRUNCH.PAS  \  screen images compressed (crunched) by TheDraw.
  1139.        UNCRUNCH.H     > The first is for assembly language, the second for
  1140.        UNCRUN_N.OBJ  /  Turbo Pascal, the third has external C declarations
  1141.        UNCRUN_F.OBJ /   linking to routines in the UNCRUN_N & UNCRUN_F files.
  1142.  
  1143.        QB4UTIL.BI       QuickBasic 4.x display routine declarations.
  1144.        QB4UTIL.LIB      QuickBasic 4.x display routines in library form.
  1145.        MAKEQLB.BAT      Batch file to simplify making Quick Libraries
  1146.             (.QLB and .LIB) for use with QuickBasic.
  1147.  
  1148.  
  1149.        TheDraw v4.63          Getting Started                5
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.        The registered version of TheDraw adds the files:
  1156.  
  1157.        THEDRAWR.EXE      Registered version of TheDraw
  1158.        THEDRAWR.HLP      Context sensitive help file for registered version.
  1159.        TDREG.EXE     Registered version installation utility.
  1160.        BAUDSIM.EXE       Simulates the display of Ansi/Avatar/PCBoard/Wildcat
  1161.              text files over a modem.
  1162.        THEPP.EXE     The Presentation Program utility.
  1163.  
  1164.  
  1165.  
  1166.        INSTALLING THEDRAW
  1167.        ──────────────────────────────────────────────────────────────────────
  1168.        You will  want all  files frequently  used placed onto either a "work"
  1169.        diskette or your hard drive.  To reduce space requirements, most files
  1170.        are compacted.  You should use INSTALL to obtain them.
  1171.  
  1172.        First, insert the distribution diskette into drive A.  For floppy disk
  1173.        installation, type the command:
  1174.  
  1175.       A:INSTALL FLOPPY
  1176.  
  1177.        For hard disk installation, type the command:
  1178.  
  1179.       A:INSTALL HD
  1180.  
  1181.        After  either  command  press  [ENTER].    Simply  follow  the  online
  1182.        instructions presented.   Once  done, you  are all set to go.  INSTALL
  1183.        will explain about the README file and PRINTDOC  utility.   The README
  1184.        file contains  last-minute details about this release of TheDraw.  The
  1185.        PRINTDOC utility handles sending this documentation to your printer.
  1186.  
  1187.        If you have never used  TheDraw  before,  you  may  wish  to  read the
  1188.        section "Making  your First  TheDraw Screen"  below.  More experienced
  1189.        users might want to  configure items  and are  referred to  "The Setup
  1190.        Utility" section.
  1191.  
  1192.  
  1193.        CUSTOMIZING THEDRAW
  1194.        ──────────────────────────────────────────────────────────────────────
  1195.        Many  facets  of  TheDraw  can be customized (colors, options, default
  1196.        preferences, etc...) using the external setup  utility.   Refer to the
  1197.        section called "The Setup Utility" for information on configuration.
  1198.  
  1199.        Some parameters are often changed when using TheDraw.  The more common
  1200.        of these can be updated within TheDraw.   See "Setup  Default Options"
  1201.        under the section "Pull-Down Menu System".
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.        TheDraw v4.63          Getting Started                6
  1209.  
  1210.  
  1211.  
  1212.  
  1213.        STARTING THEDRAW
  1214.        ──────────────────────────────────────────────────────────────────────
  1215.        By this  point you must be eager to start playing with TheDraw; by all
  1216.        means do so.  If you're  using a  floppy disk  drive, place  your work
  1217.        diskette into Drive A and type the following command:
  1218.  
  1219.         THEDRAW       (for shareware version)
  1220.         THEDRAWR      (for registered version)
  1221.  
  1222.        Press [ENTER]  to run the program and display the title screen.  Tap a
  1223.        key, and then the edit screen appears.
  1224.  
  1225.        If you are using  a  hard  disk,  get  into  the  TheDraw subdirectory
  1226.        created by  the INSTALL  batch file  (the default is C:\THEDRAW).  Run
  1227.        TheDraw by typing:
  1228.  
  1229.         THEDRAW       (for shareware version)
  1230.         THEDRAWR      (for registered version)
  1231.  
  1232.        at the prompt.  Now everything is ready to make your first screen.
  1233.  
  1234.  
  1235.        LEAVING/EXITING THEDRAW
  1236.        ──────────────────────────────────────────────────────────────────────
  1237.        Just a quick note regarding getting out of  TheDraw.   Should you need
  1238.        to leave  the program at any time, press [ALT-X] from the edit screen.
  1239.        TheDraw prompts to verify.  Type [Y]es or  press [ENTER]  to return to
  1240.        the dos prompt.
  1241.  
  1242.  
  1243.        CREATING YOUR FIRST SCREEN
  1244.        ──────────────────────────────────────────────────────────────────────
  1245.        After starting TheDraw, and pressing a key to get past the title, what
  1246.        appears is the edit screen.    The  screen  is  blank  except  for the
  1247.        status line.  The cursor is in the upper left corner.
  1248.  
  1249.        At  this  point,  type  in  your  name  and address as you might on an
  1250.        envelope.  Press [ENTER] after each line.  ie:
  1251.  
  1252.          John Smith
  1253.          123 ABC Street
  1254.          Somewhere, CA 12345
  1255.  
  1256.        Use the [BACKSPACE] key to make deletions, and the arrow  keys to move
  1257.        around in the edit area.
  1258.  
  1259.        TheDraw contains  a wide  variety of commands designed to make editing
  1260.        easier.  To use some of  these,  try  performing  an  elementary task;
  1261.        centering your address on the screen.
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.        TheDraw v4.63          Getting Started                7
  1268.  
  1269.  
  1270.  
  1271.  
  1272.        There are  a number of ways to accomplish centering.  You could insert
  1273.        spaces onto each line (as if using a word processor), or insert entire
  1274.        blank  columns.    The  easiest  way though is using the provided text
  1275.        centering command.  ie:
  1276.  
  1277.       o  First press [ESC] to  see the  pull-down menu  bar.   Select the
  1278.          Global menu  using the  left/right arrow  keys then type [T] for
  1279.          the "Text" command (a simpler way is the  shortcut; type [ALT-G]
  1280.          from the edit screen for global screen functions, then [T]ext).
  1281.  
  1282.       o  A prompt  appears above  the status  line.   Select the [C]enter
  1283.          option.   Since  global  operations  affect  the  entire screen,
  1284.          TheDraw centers -all- lines of your address horizontally.
  1285.  
  1286.       o  Move the  cursor to  the top  line using [UP] arrow key.  Center
  1287.          the address vertically  using  the  insert  line  command.   The
  1288.          shortcut  key  is  [ALT-I].    The  command is also found in the
  1289.          Screen pulldown menu.  Repeat four or five times to fully center
  1290.          the image.
  1291.  
  1292.        The last  thing we  want to  do in  this first  screen is surround the
  1293.        address with a border outline.   TheDraw has  an easy  global function
  1294.        for doing this also:
  1295.  
  1296.       o  Select "Text" from the Global pulldown menu (once again).
  1297.  
  1298.       o  Choose the  [O]utline option.  TheDraw responds by drawing a box
  1299.          around the edges of your address.
  1300.  
  1301.        There we have it, your first screen via TheDraw is complete!
  1302.  
  1303.  
  1304.        SAVING YOUR FIRST SCREEN:
  1305.  
  1306.        After all this work it makes sense to save your screen to disk.  Press
  1307.        [ESC] to  see the pull-down menu bar.  Select the Files menu using the
  1308.        left/right arrow keys then type [S]  for the  "Save" command (shortcut
  1309.        would be typing [ALT-S]).
  1310.  
  1311.        TheDraw knows of fourteen different ways to save a screen.  These vary
  1312.        from Ansi to a custom high speed library format.  For now  choose Ansi
  1313.        (with  defaults)  by  pressing  [ENTER]  four  times.  At the filename
  1314.        prompt appearing next type in:
  1315.  
  1316.       ADDRESS.ANS
  1317.  
  1318.        Press [ENTER] to save.  Note how TheDraw reports the  number of output
  1319.        lines used.   Ansi files are compressed as much as possible, sometimes
  1320.        down to a single line.  Do not be surprised if this happens.
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.        TheDraw v4.63          Getting Started                8
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.        VIEWING YOUR FIRST SCREEN:
  1333.  
  1334.        To see the results of the  above,  leave  TheDraw  by  typing [ALT-X].
  1335.        Answer [Y]es to the verify prompt.  From the dos prompt, enter:
  1336.  
  1337.       TYPE ADDRESS.ANS
  1338.  
  1339.        Press [ENTER] to see the screen as it appeared within TheDraw.
  1340.  
  1341.  
  1342.  
  1343.  
  1344.        EGADS!  WHAT HAPPENED?
  1345.  
  1346.        It is  possible that  instead of  your address  appearing, instead you
  1347.        were faced with a large amount of gibberish.  Something like:
  1348.  
  1349.       ^[[40m^[[2J^[[2;1H^[[3;1H^[[4;1H etc...
  1350.  
  1351.        This means the  Ansi  device  driver  is  missing.    The  Ansi driver
  1352.        translates special color and cursor control commands for the screen.
  1353.  
  1354.        TheDraw  creates  Ansi  compatible  files,  but  they  only  appear as
  1355.        intended when the device driver  is  present.    To  install  the Ansi
  1356.        driver, please refer to Appendix A ("Setting Up CONFIG.SYS").
  1357.  
  1358.        If you  already installed  the driver per Appendix A, something may be
  1359.        preventing  it  working  or  you  need   to  reinitialize/reboot  your
  1360.        computer.  Device drivers are only installed when the computer "boots"
  1361.        up.  Press [CTRL-ALT-DELETE] to reboot your system.
  1362.  
  1363.  
  1364.  
  1365.  
  1366.        EDITING YOUR FIRST SCREEN
  1367.        ──────────────────────────────────────────────────────────────────────
  1368.        Time to try some more interesting things.  Restart TheDraw  and select
  1369.        "Load" from the Files pulldown menu.  A listing of all available files
  1370.        is displayed.  Type in:
  1371.  
  1372.       ADDRESS   (TheDraw assumes the .ANS extension)
  1373.  
  1374.        Press [ENTER] to load  your  screen.    Everything  should  now appear
  1375.        exactly as  it did  before leaving  TheDraw previously.   To spruce up
  1376.        your address, let's try adding some color.
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.        TheDraw v4.63          Getting Started                9
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.        CHANGING COLORS:
  1392.  
  1393.        There are many ways  to choose  colors with  TheDraw.   For now select
  1394.        "Fore/Back"  from  the  Colors  pulldown  menu  (shortcut [ALT-A]).  A
  1395.        screen showing two color  groups appears.   One  for foreground colors
  1396.        and the bottom smaller group for background colors.
  1397.  
  1398.        You choose  new colors  either by  using the  arrow keys or typing the
  1399.        number associated with a color.  Press [ENTER] once you decide.
  1400.  
  1401.        For example, to select a  Yellow  foreground  (color  14)  and  a Blue
  1402.        background (color 1):
  1403.  
  1404.         Please Select Foreground Color (0-31):  14  [ENTER]
  1405.         Please Select Background Color (0-7):   1   [ENTER]
  1406.  
  1407.        After pressing  [ENTER] for  the background  color, you  return to the
  1408.        edit screen.  Note the color example in the status line was updated.
  1409.  
  1410.  
  1411.  
  1412.        PAINTING THE SCREEN:
  1413.  
  1414.        To see the new color, put  the  cursor  inside  the  outline  box made
  1415.        earlier.  Now select "Paint/Fill" from the Options pulldown menu.
  1416.  
  1417.        Painting in  TheDraw refers  to the effect of pouring "paint" onto the
  1418.        screen.   The pouring  starts where  the cursor  is located.   You can
  1419.        paint  just   color  attributes,   just  character   symbols,  or  any
  1420.        combination.  We want only the address colors to change.  Thus:
  1421.  
  1422.       o  Choose [A] for Attributes.   Notice  how painting  is blocked by
  1423.          the lines of the address outline.
  1424.  
  1425.       o  Use the  color change  command again,  this time selecting Light
  1426.          Green on Black (foreground = 11, background = 0).
  1427.  
  1428.       o  Once back at the edit screen, move the cursor out  away from the
  1429.          outline box.
  1430.  
  1431.       o  Select "Paint/Fill" once more, choosing the [B]oth option.
  1432.  
  1433.       o  When TheDraw  prompts for  a fill  character; type  in a forward
  1434.          slash "/" symbol.
  1435.  
  1436.        Your address is now an island in the  middle of  a green  field.  Save
  1437.        these changes as described previously this time using the filename:
  1438.  
  1439.          ADDRESS2.ANS
  1440.  
  1441.        Press [ENTER] to save the screen to disk.
  1442.  
  1443.  
  1444.        TheDraw v4.63          Getting Started               10
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.        MAKING YOUR SECOND THEDRAW SCREEN
  1451.        ──────────────────────────────────────────────────────────────────────
  1452.        Now  for  a  little  more  pizazz.    For  this screen lets experiment
  1453.        duplicating the special effects  found  in  the  DEMO.TD  example file
  1454.        (more or  less).   To see  the sample  file beforehand, use the "Load"
  1455.        option from the Files pulldown.  Type in:
  1456.  
  1457.          DEMO.TD
  1458.  
  1459.        Press [ENTER] to load  it.   Follow the  on screen  instructions for a
  1460.        quick introduction  to the  block and  sprite features.  These will be
  1461.        explained below as your own version of this example gets put together.
  1462.  
  1463.        To get rid of the DEMO.TD example, choose the "Clear Page" option from
  1464.        the Screen  pulldown (shortcut  [ALT-C]).   Answer [A]ll  to the first
  1465.        verify prompt, and [Y]es to the second verify.  This completely clears
  1466.        away everything.
  1467.  
  1468.  
  1469.  
  1470.        DRAWING LINES:
  1471.  
  1472.        Position the cursor at column 10, line 5.   Use  the arrow  keys until
  1473.        the status line coordinates read (10, 5).  In the first screen we used
  1474.        the Global Outline command to draw a box around your address.  TheDraw
  1475.        has another way of drawing lines too.
  1476.  
  1477.        From the  Toggles pulldown, choose "Draw Mode" to turn on line drawing
  1478.        mode (shortcut [ALT-M]).  Moving the  cursor now  draws a  line.  Also
  1479.        note the word "Draw" in the status line.
  1480.  
  1481.        Lets make a small box.  The arrows below indicate the cursor movements
  1482.        required to produce the box.   Note  the  special  attention  given to
  1483.        finishing off the last corner (step 5):
  1484.  
  1485.            »»»»»»                        »
  1486.            ─────┐      ─────┐      ─────┐    ^│─────┐     ┌─────┐
  1487.             │v      │           │    ^│     │     │     │
  1488.                 │v   ^│     │     │     │     │     │
  1489.                    ─┘v    └─────┘     └─────┘     └─────┘
  1490.                    «      «««««
  1491.  
  1492.            Step 1      Step 2      Step 3      Step 4      Step 5
  1493.  
  1494.  
  1495.        Turn  off  line  drawing  using  the Toggles pulldown or press [ALT-M]
  1496.        again.  Following the  above guide,  we moved  horizontally six spaces
  1497.        and vertically  three lines to create the box.  The end result however
  1498.        is seven characters wide, and four lines deep.
  1499.  
  1500.  
  1501.  
  1502.  
  1503.        TheDraw v4.63          Getting Started               11
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.        Move the cursor to coordinates ( 6, 3)  and repeat  the box procedure.
  1510.        This time  move horizontally  14 spaces instead of 6, and vertically 7
  1511.        lines instead of just 3.  You end up with:
  1512.  
  1513.                   ┌─────────────┐
  1514.                   │         │
  1515.                   │   ┌─────┐   │
  1516.                   │   │     │   │
  1517.                   │   │     │   │
  1518.                   │   └─────┘   │
  1519.                   │         │
  1520.                   └─────────────┘
  1521.  
  1522.        These are the exact dimensions of the blue box in  the DEMO.TD example
  1523.        screen.  To colorize the double box, we'll use a block command.
  1524.  
  1525.        Note:    Please  refer  to  the  section  "SELECT  DRAW MODE" for more
  1526.        discussion on line drawing.
  1527.  
  1528.  
  1529.        MARKING A BLOCK:
  1530.  
  1531.        One of TheDraw's most useful features  is its  block editing facility.
  1532.        You can  carry out  a wide  variety of operations on specific parts of
  1533.        the screen.  Areas can be copied, moved, erased, deleted, filled, have
  1534.        text operations  performed, saved,  etc...  Several block commands are
  1535.        mirrors of the global screen functions you have already seen.
  1536.  
  1537.        To color the double  box,  let's  first  choose  some  new attributes.
  1538.        Press  [ALT-A]  and  pick  a  Yellow  foreground  (color 14) on a Blue
  1539.        background (color 1).
  1540.  
  1541.        Marking  means  highlighting  the  area  you   want  block  operations
  1542.        performed on.   Begin  marking a  block by pressing [ALT-B].  Position
  1543.        the cursor on the  upper-left corner  of the  large box  and press the
  1544.        [SPACE] bar.   Now  move the  cursor to  the lower-right corner of the
  1545.        large box and press [SPACE] again.  Notice how the existing colors are
  1546.        emphasized to clearly show the block mark.
  1547.  
  1548.       Mouse Users:   Move  the  cursor  to  the upper-left corner.  Press
  1549.              and hold down the LEFT mouse  button.   Now drag the
  1550.              cursor  to  the  lower-right  corner and release the
  1551.              left button.
  1552.  
  1553.        All block options are now displayed.  Select [F]ill, and the suboption
  1554.        [A]ttributes to colorize the double box to yellow on blue.  Other fill
  1555.        suboptions  affect  just  foreground  colors,  just  backgrounds, just
  1556.        characters (without affecting color), or both colors and characters.
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.        TheDraw v4.63          Getting Started               12
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.        There is  one more step before the double box is finished.  The inside
  1569.        region of the small box must be erased.   Let's  use another  block to
  1570.        accomplish this:
  1571.  
  1572.       o  Position the  cursor to coordinates (11, 6).  This is the upper-
  1573.          left corner of the inside region.
  1574.  
  1575.       o  Mark a block covering all the inside region.
  1576.  
  1577.       o  Lastly, select the block option [E]rase.
  1578.  
  1579.        There you have it; a replica of the blue box  in DEMO.TD!   Blocks are
  1580.        invaluable for making alterations of any sort.
  1581.  
  1582.  
  1583.  
  1584.        USING SPRITE MODE:
  1585.  
  1586.        While following  the DEMO.TD  example, you  saw the red box on page 2.
  1587.        Until now all our editing was done on page 1,  but TheDraw  can handle
  1588.        up to eight pages.  One possible use is block copying regions from one
  1589.        screen to another.    Normally  you  see  only  single  pages, totally
  1590.        separate from one another.
  1591.  
  1592.        Sometimes however, it is useful to see all the pages at once.  TheDraw
  1593.        calls this Sprite mode.   Pages  are treated  as glass  sheets stacked
  1594.        atop one  another.   You are positioned over the topmost "glass sheet"
  1595.        (page 1) looking down.  ie:
  1596.  
  1597.                        ┌────────┐
  1598.                       .│      . │
  1599.                     .  │    .   │ Bottommost Page
  1600.                  ┌────────┐    8│
  1601.                    ┌─┴──────┐ │─────┘
  1602.                  ┌─┴──────┐ │ │   .
  1603.                  │        │ │3│ .
  1604.            Topmost Page  │        │2├─┘
  1605.                  │       1├─┘
  1606.                  └────────┘
  1607.  
  1608.        The DEMO.TD example uses Sprite Editing.  The blue box  is on  page 1,
  1609.        but the  red box  is on page 2.  The blue box appears over the red one
  1610.        because of  the glass  sheet effect.   The  red box  would appear over
  1611.        anything on page 3, and so on...
  1612.  
  1613.        Now to try out Sprites in our screen.  We need a visible object on the
  1614.        second page.  The following draws a box for this purpose:
  1615.  
  1616.       o  Change to page 2.  Do  this by  choosing "Select  Page" from the
  1617.          Screen pulldown,  or typing  [ALT-E] (the  shortcut).  Press the
  1618.          "2" key for the second page layer.
  1619.  
  1620.  
  1621.        TheDraw v4.63          Getting Started               13
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.       o  Pick "Fore/Back" from the Colors pulldown  (shortcut is [ALT-A])
  1628.          and  select  the  colors  of  Light  Red  on Red (foreground=12,
  1629.          background=4).
  1630.  
  1631.       o  Position the cursor in  the  upper-left  corner  of  the screen-
  1632.          coordinates ( 1, 1).
  1633.  
  1634.       o  Press [ALT-B],  and hit  the [SPACE]  bar.   Move to coordinates
  1635.          (12, 6) then hit [SPACE] the second time.
  1636.  
  1637.       o  Choose  the  [T]ext  option,  and  then   the  [B]ox  suboption.
  1638.          TheDraw draws a red box on the screen.
  1639.  
  1640.       o  Move  the  cursor  inside  the  box, and select "Paint" from the
  1641.          Options pulldown menu.  Select the [B]oth option,  and press the
  1642.          minus key "-" for a fill character.
  1643.  
  1644.        Page 2 now contains an object which will soon act as a sprite.  Switch
  1645.        back to page 1 by typing [ALT-E] and then the "1" key.
  1646.  
  1647.        If you loaded the  DEMO.TD  example  earlier,  TheDraw  is  already in
  1648.        sprite mode.  You can tell by how the page number appears.  ie:
  1649.  
  1650.         "Page:1"      Sprite mode is off
  1651.         "PAGE:1"      Sprite mode is on (word is capitalized)
  1652.  
  1653.        If sprite  mode is  off, type  [ALT-E] and choose the [T]oggle option.
  1654.        Once sprite mode is enabled the red box appears underneath  the double
  1655.        blue box.
  1656.  
  1657.        Sprite mode  editing is no different than normal editing.  Nothing you
  1658.        do on page 1 can affect  any other  page.   Try inserting  a few blank
  1659.        lines at  the top of the screen by typing [ALT-I].  Notice how the red
  1660.        box stays put while the blue box moves down.
  1661.  
  1662.        Assume you were drawing an elaborate screen.   Various parts  could be
  1663.        put on  different page layers.  Each part is thus protecting them from
  1664.        accidental change (since each page is independent).
  1665.  
  1666.        In animation mode sprites  make certain  special effects  very easy to
  1667.        produce.    Such  as  having  one  object  "slide" under another.  See
  1668.        SHUTTLE2.ANS for an example.    Animation  mode  is  introduced below.
  1669.        Please refer to "THE ANIMATION SYSTEM" for more information.
  1670.  
  1671.        You might  wish to  save this  screen now.   Type  [ALT-S], and select
  1672.        TheDraw's custom file format by typing [T].  This will save both pages
  1673.        edited.  Enter the filename:
  1674.  
  1675.       BOXES     (TheDraw assumes a .TD extension)
  1676.  
  1677.        Press [ENTER] to save to disk.
  1678.  
  1679.  
  1680.        TheDraw v4.63          Getting Started               14
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.        ANIMATING YOUR SECOND THEDRAW SCREEN
  1687.        ──────────────────────────────────────────────────────────────────────
  1688.        Possibly the  most intriguing  and confusing  facet of  TheDraw is its
  1689.        Animation mode.  The animation  system  allows  creating  screens with
  1690.        movement, adding excitement to your presentations.
  1691.  
  1692.        In  animation  mode,  TheDraw  remembers  the  exact  pattern in which
  1693.        something is entered.  To contrast, the static screens used  until now
  1694.        only store what was typed and where - like a word processor.
  1695.  
  1696.        When saving  a static screen, there is nothing about how it was drawn.
  1697.        The normal presumption is such screens  are saved  top to  bottom (how
  1698.        else would  you want  to?)    The  ADDRESS.ANS file  was saved in this
  1699.        manner.  Recall how it appeared when typed from the dos prompt.
  1700.  
  1701.        Animation mode goes one  step further  by also  remembering -when- you
  1702.        typed  something.    This  extension  permits you to control the exact
  1703.        sequence keystrokes appear.
  1704.  
  1705.        Instead of merely top-to-bottom, any display  order is  possible.  You
  1706.        can make screens display sideways or bottom-to-top if the urge hits.
  1707.  
  1708.  
  1709.        SELECTING A SCAN PATTERN:
  1710.  
  1711.        To ease the pain of making animated screens, TheDraw contains fourteen
  1712.        preprogrammed display patterns.  There are also two  variation toggles
  1713.        which boost the actual number of patterns to over 50.  See the section
  1714.        under "HOW TO ANIMATE SOMETHING" for a complete description.
  1715.  
  1716.        To convert your second  screen  into  an  animation  sequence,  do the
  1717.        following:
  1718.  
  1719.       o  Select  "Animation  Mode"  from  the Toggles pulldown or use the
  1720.          shortcut key [ALT-J].    A  list  of  the  preprogrammed display
  1721.          patterns appears.
  1722.  
  1723.       o  Choose the  [A]ngle pattern.   TheDraw  scans the static screens
  1724.          on pages 1 and 2 into the animation sequence.
  1725.  
  1726.        That's it!  The word "PAGE" in the status line has changed  to "ANIM".
  1727.        Also, above the status line is an indicator similar to:
  1728.  
  1729.                   Used:00317  Free:15683
  1730.  
  1731.        The first  number lists  the number  of keystroke entries currently in
  1732.        the animation sequence.  The second is how  many additional keystrokes
  1733.        TheDraw can  store.   The maximum free space is 16000 entries, however
  1734.        that could vary depending on how much free memory is available.
  1735.  
  1736.  
  1737.  
  1738.  
  1739.        TheDraw v4.63          Getting Started               15
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.        VIEWING THE ANIMATION SEQUENCE:
  1746.  
  1747.        Let's see what the animation looks  like in  slow motion.   Select the
  1748.        "Screen Redraw" from the Animation pulldown (shortcut [ALT-Q]).
  1749.  
  1750.        TheDraw prompts  for a redraw speed, to control how fast the animation
  1751.        sequence appears.  A speed of 0 is maximum speed.  A  speed of  255 is
  1752.        very slow, about 5-10 keystrokes per second.
  1753.  
  1754.        Type in  the number 50 and press [ENTER].  You can now see exactly how
  1755.        the animation will appear once saved to disk.  Once  it completes, use
  1756.        the redraw command with some other speeds to get a better feel for it.
  1757.  
  1758.        Try changing  the animation  scan pattern.   Select "Rescan Animation"
  1759.        from the Animation pulldown (shortcut  is  [ALT-J],  [R]escan).   Pick
  1760.        some other animation pattern, then view them using Screen Redraw.
  1761.  
  1762.  
  1763.  
  1764.        SAVING ANIMATION:
  1765.  
  1766.        Saving animation  screens to disk is almost identical to saving normal
  1767.        static screens.  The only difference is in the available file formats.
  1768.        Only Ansi, Avatar, and TheDraw (TD) custom formats are possible.  Only
  1769.        these can save how the animation sequence was  created.   Note that TD
  1770.        formats also store page data.
  1771.  
  1772.        Ansi files can be typed from Dos.  These are very popular for bulletin
  1773.        board systems, sign on introductions, presentations, etc...   The only
  1774.        problem is  they cannot  store data  about individual pages and sprite
  1775.        mode.  Ansi files only save exactly what is "seen" on the  video.  Any
  1776.        keystrokes which are hidden underneath other objects are lost.
  1777.  
  1778.        Avatar  files  are  used  primarily  wit  bulletin boards systems, and
  1779.        provide faster data transmission than Ansi.  Like Ansi, the problem in
  1780.        dealing with sprite mode is shared; all page information is lost.
  1781.  
  1782.        TD files  are designed  for maximum speed.  It is usually best to keep
  1783.        one copy of an animation sequence  in  this  format.    The  TD format
  1784.        stores everything  - including  the sprite mode.  Most users save both
  1785.        TD and Ansi formats, since Ansi can be typed from the Dos prompt.  For
  1786.        now, lets save an Ansi file.
  1787.  
  1788.        Press [ALT-S],  and choose  [A]nsi.   Press [ENTER]  past the options.
  1789.        For a filename enter:
  1790.  
  1791.       BOXES.ANS
  1792.  
  1793.        Press [ENTER] to save to disk.   Try  exiting to  Dos and  viewing the
  1794.        file from  there.  Just imagine how easy it would be to create a fancy
  1795.        signon screen for your computer.
  1796.  
  1797.  
  1798.        TheDraw v4.63          Getting Started               16
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.        The animation system was only briefly  touched upon  here.   The are a
  1805.        large  number  of  other  features  available.    Almost  all commands
  1806.        available for static screens will work  with animation  mode.  Various
  1807.        commands respond  differently to  the animation  sequence though.  For
  1808.        complete coverage, please see refer to "THE ANIMATION SYSTEM".
  1809.  
  1810.        We have now run through the most important of TheDraw's many features.
  1811.        You  are  encouraged  to  explore  in  detail  the variety of commands
  1812.        available.  It is recommended to save your work periodically to create
  1813.        a log of your efforts.  In this way, as you develop new skills you can
  1814.        document them to avoid forgetting that one crucial step or  neat idea.
  1815.  
  1816.        Covered was keystroke entry, editing, changing colors, painting areas,
  1817.        drawing lines/boxes/outlines,  using  blocks,  sprite  mode, animation
  1818.        mode, animation  scan patterns,  and viewing animation sequences.  You
  1819.        should eventually read the "OPERATING THEDRAW"  section.   It explains
  1820.        the status  line, obtaining help, cursor control, using the mouse, and
  1821.        gives a summary of commands.
  1822.  
  1823.        Refer  to  "PULL-DOWN  MENU  SYSTEM"  for  brief  explanations  of all
  1824.        commands.    Detailed  descriptions  are  found in "THEDRAW COMMANDS".
  1825.        Those who program should see "TIPS  AND EXAMPLES  FOR PROGRAMMERS" for
  1826.        insight into using TheDraw saved files in your own work.
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.        THE EXAMPLE FILES
  1833.        ──────────────────────────────────────────────────────────────────────
  1834.        TheDraw comes  with four  demonstration files to help show some of its
  1835.        capabilities; SHUTTLE2.ANS, DEMO.TD, SHADING.TD, and EFFECTS.TD.
  1836.  
  1837.        SHUTTLE2.ANS is  a simple  animation example  which you  can view from
  1838.        the dos prompt by entering:
  1839.  
  1840.       TYPE SHUTTLE2.ANS
  1841.  
  1842.        Press  [ENTER]  to  see  the  example  run through.  You must have the
  1843.        ANSI.SYS driver installed in your CONFIG.SYS  file for  this to appear
  1844.        properly.  See APPENDIX A for more details on the CONFIG.SYS file.  If
  1845.        you do not have ANSI.SYS, the THEPP utility provided with registration
  1846.        can be used alternatively (ie: THEPP SHUTTLE2.ANS [ENTER]).
  1847.  
  1848.        The  second  demo  file,  DEMO.TD,  demonstrates  the block and sprite
  1849.        editing features of TheDraw.  To  use  it,  run  TheDraw  as described
  1850.        above.   Next, press  ALT-L and  type DEMO.TD  [ENTER].   Instructions
  1851.        will appear on screen showing what to do next.
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.        TheDraw v4.63          Getting Started               17
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.        The  third  file,  SHADING.TD,  is  an  example  of  all  color  shade
  1864.        variations possible  within TheDraw.  Load as the previous example was
  1865.        (ie: ALT-L, then type SHADING.TD [ENTER]).   Three  pages are occupied
  1866.        by the example.  Select pages by pressing [ALT-E] followed by a number
  1867.        1, 2 or 3.    Each  page  uses  a  different  fill  character.   Those
  1868.        frustrated by  a seemingly  limited color  palette may be surprised at
  1869.        the wide variation actually possible.
  1870.  
  1871.        To duplicate a shading example, press [ALT-F6] to  select function key
  1872.        set 6.   Set  the colors as specified on the example by using [ALT-A].
  1873.        Foreground colors are vertical and background colors horizontal.   Now
  1874.        type [F1],  [F2], or  [F3] keys to see the shading result.  Registered
  1875.        users have a built in command to accomplish this -  just press [ALT-A]
  1876.        twice.
  1877.  
  1878.        The last  demo file,  EFFECTS.TD, shows  two easy  special effects you
  1879.        may like to use.  The  first  is  the  illusion  of  a  rotating color
  1880.        banner.  This is done with flashing foreground colors (16 to 31 in the
  1881.        color  select  screen).    Alternating  characters   have  alternating
  1882.        foreground/background attributes.  ie:
  1883.  
  1884.                    │ Character #1   │  Character #2
  1885.            ────────────┼────────────────┼───────────────
  1886.            Foreground: │ Flashing Red   │  Flashing Gray
  1887.            Background: │ Gray       │  Red
  1888.            ────────────┴────────────────┴───────────────
  1889.  
  1890.        Combine the  above color  scheme with the a block symbol from function
  1891.        key set #6.  Press key [F4]  with  attributes  in  #1  above.   Change
  1892.        attributes to  #2 and  press [F4] again.  The blocks will appear to be
  1893.        alternating.
  1894.  
  1895.        The restriction to this technique  is  the  flashing  foreground color
  1896.        must  match  an  available  background  color.   Since there are eight
  1897.        background colors,  the flashing  foreground colors  16 to  23 are the
  1898.        possible options.
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.        TheDraw v4.63          Getting Started               18
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.                  OPERATING THEDRAW
  1923.  
  1924.  
  1925.        COMMAND LINE FILESPECS
  1926.        ──────────────────────────────────────────────────────────────────────
  1927.        For convenience,  TheDraw allows  you to  specify a  filespec from Dos
  1928.        when first running the program.  ie:
  1929.  
  1930.                   THEDRAW DEMO.TD
  1931.  
  1932.        Only one file may be specified this way.   All  files are  loaded onto
  1933.        page  layer  one  (except  for  THEDRAW format files which may contain
  1934.        multiple layers).
  1935.  
  1936.  
  1937.        THE STATUS LINE
  1938.        ──────────────────────────────────────────────────────────────────────
  1939.        The status line of TheDraw shows  various information  about the state
  1940.        of the program.  Each structure in the status line is described below:
  1941.  
  1942.       (xx,xx)        Displays the current cursor position.
  1943.  
  1944.       Color      Indicates the  current drawing color.  This color is
  1945.              used for any new characters placed onto the screen.
  1946.  
  1947.       Text,      The word displayed indicates if TheDraw is in normal
  1948.       Attr, or       text, color draw mode, or line draw mode.  In color
  1949.       Draw       draw mode, moving the  cursor changes  characters to
  1950.              the  current  colors.      In  Draw mode, moving the
  1951.              cursor with the arrow keys draws a line in the moved
  1952.              direction.
  1953.  
  1954.       Ins        Appears  when  TheDraw  is in Insert keystroke mode.
  1955.              When on, typing a character shifts everything to the
  1956.              right to make room for the new character.
  1957.  
  1958.       "c"        Appears when a symbol has been picked up for manual
  1959.              painting (where 'c' is the character picked).
  1960.  
  1961.       Page:x or      Indicates the current screen page edit layer.  In
  1962.       Anim:x     animation  mode  (see  The Animation System for more
  1963.              details), the word Anim appears.   In addition, this
  1964.              structure indicates  when TheDraw  is in sprite edit
  1965.              mode (see ALT-E).   In  sprite  mode,  the structure
  1966.              appears in capital letters.  ie: PAGE or ANIM.
  1967.  
  1968.       Set:xx     Number of  the current  function key  set.  This set
  1969.              appears immediately after this indicator.
  1970.  
  1971.  
  1972.        Note: The symbol "x" or "xx" indicates a number of some value.
  1973.  
  1974.  
  1975.        TheDraw v4.63         Operating TheDraw              19
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.        HELP!
  1982.        ──────────────────────────────────────────────────────────────────────
  1983.        The shareware version of  TheDraw contains  four outline  help screens
  1984.        available from  command mode (no sub-functions being used) by pressing
  1985.        ALT-H.    These  outline  screens  display  brief  notes   about  most
  1986.        operations available in the program.
  1987.  
  1988.        The registered version of TheDraw supports context sensitive help.  In
  1989.        other words, pressing ALT-H anywhere  in  the  program  will  bring up
  1990.        specific information on that area of TheDraw.  This can be very useful
  1991.        during the learning stage or for rarely used functions.
  1992.  
  1993.  
  1994.  
  1995.        CURSOR CONTROL
  1996.        ──────────────────────────────────────────────────────────────────────
  1997.        The cursor may be moved by using the following keys:
  1998.  
  1999.         Key           Action
  2000.         ─────────────────────────────────────────────────────
  2001.         Up Arrow      Up one line
  2002.         Down Arrow    Down one line
  2003.         Left Arrow    Left one position
  2004.         Right Arrow   Right one position
  2005.         Home          First column of current line
  2006.         End           Last column of current line
  2007.         PgUp          First line in current column
  2008.         PgDn          Last line in current column
  2009.         Ctrl-Home     First Character of current line
  2010.         Ctrl-End      Last Character of current line (plus 1)
  2011.         Ctrl-PgUp     Upper-left position of screen
  2012.         Ctrl-PgDn     Lower-right position of screen
  2013.         Tab           Next set Tab position (see Alt-T)
  2014.         Shift-Tab     Previous set Tab position (see Alt-T)
  2015.         Enter         First column of following line
  2016.         ─────────────────────────────────────────────────────
  2017.  
  2018.        Naturally, if you attempt  to move  past the  screen border  no action
  2019.        will  be  taken.    If  no  tab position follows the current location,
  2020.        pressing [TAB] will return you to column one of the current line.
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.        TheDraw v4.63         Operating TheDraw              20
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.        MOUSE CONTROL
  2041.        ──────────────────────────────────────────────────────────────────────
  2042.        TheDraw fully supports the use  of  a  Microsoft  Mouse  or compatible
  2043.        device.    Pull  down  menus  and  other facilities are available (see
  2044.        section PULL DOWN MENU SYSTEM).   You may  use either  a two  or three
  2045.        button mouse with TheDraw.
  2046.  
  2047.        The mouse  operates differently depending on where you are in TheDraw.
  2048.        At command mode (no sub-functions in use) the mouse functions are:
  2049.  
  2050.          MOVEMENT:        Moves cursor.
  2051.          LEFT BUTTON:     Marks a block.
  2052.          MIDDLE BUTTON:   Toggles line drawing mode
  2053.          RIGHT BUTTON:    Activates pull down menu system.
  2054.  
  2055.  
  2056.        In any sub-function:
  2057.  
  2058.          MOVEMENT:        Moves cursor/block/screen/etc...    If movement
  2059.                   is allowed, you can use the mouse.
  2060.          LEFT BUTTON:     Equivalent to pressing [ENTER].
  2061.          MIDDLE BUTTON:   Unused.
  2062.          RIGHT BUTTON:    Displays a  small window  with all current menu
  2063.                   options.
  2064.  
  2065.  
  2066.        Someone comfortable with a mouse will  find TheDraw  easy to  get used
  2067.        to.   The mouse is usable everywhere in the program.  If no particular
  2068.        mouse indicator appears, the RIGHT mouse button will  generally pop up
  2069.        a window  with available  options.   Simply click  the RIGHT button on
  2070.        the wanted option to select it.
  2071.  
  2072.        Users without a mouse  will  find  TheDraw  operates  normally without
  2073.        change.
  2074.  
  2075.        Note: A  Microsoft  compatible  mouse  driver  (MSMOUSE.SYS or similar
  2076.          program) must be  installed  into  your  CONFIG.SYS  file before
  2077.          TheDraw  will   recognize  the  device.    See  APPENDIX  A  for
  2078.          information  on  system  configuration.    Once  the  driver  is
  2079.          installed, TheDraw auto-detects the mouse presence.
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.        TheDraw v4.63         Operating TheDraw              21
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.        COMMAND SUMMARY
  2100.        ──────────────────────────────────────────────────────────────────────
  2101.        TheDraw provides the following 37 command functions, available through
  2102.        ALT-Letter or CTRL-Letter key sequences plus a pull-down menu system.
  2103.  
  2104.       ──────────────────────────────────────────────────────────────────
  2105.              Alt-A     Change Text Color Attributes
  2106.              Alt-B     Block Action Commands
  2107.              Alt-C     Clear Current Screen
  2108.              Alt-D     Set Default Clear Screen Color
  2109.              Alt-E     Select Screen Page Layers
  2110.              Alt-F     View Function Key Sets
  2111.              Alt-G     Global Commands
  2112.              Alt-H     Display Help Information
  2113.              Alt-I     Insert a Line
  2114.              Alt-J     Animation Options
  2115.              Alt-K     Delete a File
  2116.              Alt-L     Load Screen from Disk
  2117.              Alt-M     Select Draw Mode (toggle)
  2118.              Alt-N     Ruler
  2119.              Alt-O     Change Drive/Sub Directory
  2120.              Alt-P     Paint/Fill Commands
  2121.              Alt-Q     Redraw Screen (animator)
  2122.              Alt-R     Restore/Undo Changes
  2123.              Alt-S     Save Screen to Disk
  2124.              Alt-T     Tab Setup
  2125.              Alt-U     Use Colors under Cursor
  2126.              Alt-V     View a Screen (not load)
  2127.              Alt-W     Edit Character (animator)
  2128.              Alt-X     Exit TheDraw
  2129.              Alt-Y     Delete Current Line
  2130.              Alt-Z     Erase Cursor Character (animator)
  2131.              Alt-/     Pickup character under cursor
  2132.              Alt--     Select Color Draw Mode (toggle)
  2133.              Alt-=     Toggle Macro Learning Mode (reg. version)
  2134.         Ctrl-PrtSc     Toggle Full Screen Editing mode
  2135.         Alt-Left/Right     Delete/Insert column
  2136.  
  2137.           Ctrl-Up/Down     Increment/Decrement Foreground Color
  2138.        Ctrl-Left/Right     Increment/Decrement  Background Color
  2139.  
  2140.       Shift-Arrow Keys     Move in direction specified painting with
  2141.                    currently picked character.
  2142.  
  2143.            Shift-Space     Put a "Solid" space on the Screen.
  2144.  
  2145.                ESC     Activate pull-down menu system from keyboard.
  2146.       ──────────────────────────────────────────────────────────────────
  2147.  
  2148.        The section THEDRAW KEYBOARD COMMANDS on the following  pages contains
  2149.        explanations for each of the above.
  2150.  
  2151.  
  2152.        TheDraw v4.63         Operating TheDraw              22
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.                    THE ANIMATION SYSTEM
  2159.  
  2160.        WHAT IS ANIMATION?
  2161.        ──────────────────────────────────────────────────────────────────────
  2162.        The animation  system can be the most intriguing but confusing portion
  2163.        of TheDraw  to grasp.   The  animation system  allows creating screens
  2164.        with movement, adding excitement to presentations.
  2165.  
  2166.        In animation  mode, TheDraw  remembers the exact way in which a screen
  2167.        is created.  In contrast, the static screens used until now only store
  2168.        where  something  is  typed.    When  saving a static screen, there is
  2169.        nothing about how it was drawn - they appear top-to-bottom when typed.
  2170.  
  2171.        Animation mode goes one  step further  by also  remembering -when- you
  2172.        typed  something.    This  extension  permits you to control the exact
  2173.        sequence keystrokes appear.    Instead  of  merely  top-to-bottom, any
  2174.        display  order  is  possible.    You  can  easily make screens display
  2175.        sideways or bottom-to-top as required.
  2176.  
  2177.        With the animation sequence you put characters in anywhere and  in any
  2178.        order  you  want.    The  sequence  is repeated in the same order when
  2179.        played back.  For  example typing  the numbers  0 through  9 backwards
  2180.        along the screen.  ie:
  2181.  
  2182.              ┌───────────────────────────────┐
  2183.              │                   │
  2184.              │                   │
  2185.              │      9 8 7 6 5 4 3 2 1 0      │
  2186.              │                   │
  2187.              │ ( <--- typed this direction ) │
  2188.              └───────────────────────────────┘
  2189.  
  2190.        Upon replay,  the "0"  would appear  first, followed  by the "1", "2",
  2191.        etc...  Exactly as was typed.  Note  in this  example movement  of the
  2192.        cursor was not stored, although it could be.  Storing cursor movements
  2193.        will be discussed later.
  2194.  
  2195.        Animation can be saved in three different formats: ANSI (.ANS), AVATAR
  2196.        (.AVT) and  THEDRAW (.TD).   A sequence saved in Ansi can be displayed
  2197.        using the Dos TYPE command on  any computer  with the  ANSI.SYS driver
  2198.        installed (see  Appendix A on how to install it).  Ansi files are also
  2199.        used widely on bulletin board systems.   Avatar  is similarly  used on
  2200.        bulletin boards.   TheDraw  is not needed to display Ansi/Avatar files
  2201.        once created.
  2202.  
  2203.        TheDraw's custom file format  (TD)  is  used  for  quickly  saving and
  2204.        loading animation sequences to disk.  The Presentation Program (THEPP)
  2205.        can display an animation sequence saved in TheDraw format.
  2206.  
  2207.        For an example of Ansi Animation,  enter "TYPE  SHUTTLE2.ANS" from the
  2208.        Dos prompt (once the ANSI.SYS driver is installed).
  2209.  
  2210.  
  2211.        TheDraw v4.63           The Animation System             23
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.        ANIMATION BASICS
  2218.        ──────────────────────────────────────────────────────────────────────
  2219.        TheDraw never  physically "moves"  an object when animating something.
  2220.        This is an illusion; created by careful placement of characters (which
  2221.        as you  remember can  be put  anywhere we want).  The "animation" of a
  2222.        display is done manually; moving objects step by step.
  2223.  
  2224.        The illusion of movement is simple to describe:
  2225.  
  2226.       o  Draw an object.
  2227.       o  Erase it.
  2228.       o  Redraw object shifted over slightly.
  2229.       o  Repeat (over and over)
  2230.  
  2231.        If done properly, the object  appears  to  move.    Nothing  is really
  2232.        "moving" per say, but we are simulating it.
  2233.  
  2234.        For an  example, imagine  an asterisk in the center of the screen.  We
  2235.        wish to have this asterisk move to the  right.   To do  this, first we
  2236.        put a space over the existing asterisk (thus erasing it), then display
  2237.        a new asterisk over to the right (redrawing it).   Repeating this will
  2238.        "animate" the asterisk, since it appears to move.  ie:
  2239.  
  2240.       ┌─┬─┬─┬─┬─┬─┬─┐
  2241.       │ │ │ │*│ │ │ │       Asterisk as it initially was drawn.
  2242.       └─┴─┴─┴─┴─┴─┴─┘
  2243.       ┌─┬─┬─┬─┬─┬─┬─┐
  2244.       │ │ │ │_│ │ │ │       Asterisk has been erased
  2245.       └─┴─┴─┴─┴─┴─┴─┘
  2246.       ┌─┬─┬─┬─┬─┬─┬─┐
  2247.       │ │ │ │_│*│ │ │       A new asterisk has been drawn shifted over.
  2248.       └─┴─┴─┴─┴─┴─┴─┘
  2249.       ┌─┬─┬─┬─┬─┬─┬─┐
  2250.       │ │ │ │_│_│*│ │       Above steps repeated.
  2251.       └─┴─┴─┴─┴─┴─┴─┘
  2252.  
  2253.        Do the  above process  quickly, and the user effectively sees movement
  2254.        because the eye smoothly connects the  old asterisk  position with the
  2255.        new one for us.
  2256.  
  2257.  
  2258.        A SIMPLE EXAMPLE
  2259.        ──────────────────────────────────────────────────────────────────────
  2260.        The easiest  animation example  under TheDraw to play with is a snake.
  2261.        Our snake, we'll call him Slither from now on, will  be a  simple life
  2262.        form who grows each time he is moved.  In effect, Slither's tail never
  2263.        shifts because he grows so rapidly.   To  create this  particular life
  2264.        form, enter  animation mode  by pressing  [ALT-J], then  [T]op.  Next,
  2265.        turn on line drawing with [ALT-M] ("Draw" appears on the status line).
  2266.  
  2267.  
  2268.  
  2269.  
  2270.        TheDraw v4.63           The Animation System             24
  2271.  
  2272.  
  2273.  
  2274.  
  2275.        To give arise to Slither, move the cursor with the  arrow keys.   Keep
  2276.        moving in  the same  direction and low and behold there he is.  Change
  2277.        direction, and move for a while.   Make Slither do as many twists and
  2278.        turns as you like, since he really enjoys a good run (or crawl?)
  2279.  
  2280.                  (example run of Slither)
  2281.              ┌───────────────────────────────────────┐
  2282.              │                       │
  2283.              │             ┌─┐    ┌───┐     │    │
  2284.              │     ┌───────────┘ │    │   │     │    │
  2285.              │     │         │    │   │     │    │
  2286.              │     │ ┌────────┐ ┌┘    │   └┐    │    │
  2287.              │     │ │    ┌─┐ │ │     │    └─┐  │    │
  2288.              │     └─┘    │ │ │ └─────┘      │  │    │
  2289.              │        │ │ │        ┌─────┘  │    │
  2290.              │       *────┘ └─┘        │    │    │
  2291.              │    (start)              └────────┘    │
  2292.              └───────────────────────────────────────┘
  2293.  
  2294.        Now for the moment of truth.  Make Slither repeat what he  just did by
  2295.        using animation  redraw (ALT-Q).  Enter a delay of about 100, then sit
  2296.        back and watch Slither perform.
  2297.  
  2298.        Notice just how little  effort it  takes to  produce simple animation.
  2299.        Even  this  uncomplicated  approach  will  add that extra pizzazz to a
  2300.        presentation.  Possibilities include  drawing charts,  graphs, outline
  2301.        figures,  backdrops,  etc...    Your  imagination is the only limiting
  2302.        factor.
  2303.  
  2304.        The next section describes how to move objects (such as the asterisk
  2305.        example shown previously) with TheDraw.
  2306.  
  2307.  
  2308.        MAKING A BLOCK MOVE:
  2309.  
  2310.        The asterisk  example  showed  the  classic  method  for  moving small
  2311.        objects.  ie: draw, erase, draw, repeat...   However, the medium under
  2312.        which our  animation special  effects operate  is quite  limited.  The
  2313.        illusion of  movement is lost with large objects because too much time
  2314.        is spent erasing and redrawing them.  A better way is needed.
  2315.  
  2316.        For larger objects, we can use  the block  copy facility.   First draw
  2317.        the object, and decide what direction things will move.
  2318.  
  2319.        The trick  follows:   Mark a  block over  the object,  ADDING an extra
  2320.        blank line/column on the side -opposite- to the direction of movement.
  2321.  
  2322.  
  2323.         block outline --> ┌───────┐
  2324.                   │ OBJECT│ --> movement to be in this direction
  2325.                   └───────┘
  2326.                    ^──── note extra blank line
  2327.  
  2328.  
  2329.        TheDraw v4.63           The Animation System             25
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.        The complicated bit of actually "animating" is:
  2336.  
  2337.       o  From the block options menu, choose block copy.
  2338.  
  2339.       o  Move the block once in the direction of movement and [S]tamp it.
  2340.  
  2341.       o  Move it again, and [S]tamp.  Repeat as many times as desired.
  2342.  
  2343.       o  For the last shift, press [ENTER] instead of stamping.
  2344.  
  2345.        That's it!  Now try redrawing with [ALT-Q].  You have created a moving
  2346.        object.   This new  approach is  similar to  the asterisk example, but
  2347.        note we do not explicitly erase the entire object before  shifting and
  2348.        redrawing.  A good improvement making each shift almost twice as fast!
  2349.  
  2350.        Objects are  generally larger  than the distance moved between shifts.
  2351.        Afterwards they use most of the same space as before.   Thus,  why you
  2352.        may ask,  bother erasing  if an area is immediately overwritten again?
  2353.        We can avoid wasting time and things will go faster.
  2354.  
  2355.                 ┌─┌─┌─┌──────────────────┐
  2356.                 │░│░│░│██████████████████│
  2357.                 │░│░│░│██████████████████│
  2358.                 │░│░│░│█████ Object █████│
  2359.                 │░│░│░│██████████████████│
  2360.                 │░│░│░│██████████████████│
  2361.                 └─└─└─└──────────────────┘
  2362.                  ^ ^ ^
  2363.                  └─┴─┴── old portion of object,
  2364.                      "erased" by blank line
  2365.  
  2366.        The extra blank  line  erases  what  needs  erasing,  and  the redrawn
  2367.        object overwrites  the rest.  By using more than one blank column/line
  2368.        (and stepping more than once between stamps), the  movement appears to
  2369.        go faster still.
  2370.  
  2371.        Notice that  block copy  was used, not block move.  In animation mode,
  2372.        the block move relocates animation  entries  in  the  block.   Copying
  2373.        leaves the original in place, and -overwrites- it with the moved copy.
  2374.        Just like the asterisk example, we didn't move it, we overwrote it.
  2375.  
  2376.        Block move physically moves  the object  to the  first stamp location.
  2377.        If you  redraw the  animation sequence,  you would find no "movement".
  2378.        The object is drawn only once, where it was moved over to (at least on
  2379.        the first stamp).  Additional stamps would behave as expected.
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.        TheDraw v4.63           The Animation System             26
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.        EASY ANIMATION
  2395.        ──────────────────────────────────────────────────────────────────────
  2396.        Rather than start an entire animation screen from scratch, many people
  2397.        find it easier to take an existing static screen then  -add- animation
  2398.        to it.     TheDraw provides  several different patterns for converting
  2399.        static screens into animation sequences.   The patterns  specify how a
  2400.        screen is converted, one keystroke at a time.
  2401.  
  2402.  
  2403.        ANIMATION SCAN PATTERNS:
  2404.  
  2405.        TheDraw comes  with fourteen built in scan patterns.  In addition, the
  2406.        way the scan patterns work can  be adjusted  via two  pattern toggles.
  2407.        Use of the toggles yields over 50 possible combinations!  The starting
  2408.        scan patterns are:
  2409.  
  2410.      TOP          Starts at upper-left corner and goes across screen.
  2411.      LEFT         Starts at upper-left corner and goes down screen.
  2412.      CLOCK        Clockwise arm rotates around center of screen.
  2413.      CIRCLES      Growing circles starting from center of screen.
  2414.      CHECKERBOARD Alternating "checkerboard" squares from top of screen.
  2415.      ANGLE        Diagonal from upper-left corner scans across screen.
  2416.      GATE         Opposite lines from each side of screen left/right.
  2417.      PYRAMID      Pyramid shape from bottom center growing upwards.
  2418.      SQUARES      Squares starting from screen border growing inward.
  2419.      SCRAMBLE     Randomly scans entire screen
  2420.      DOOR         Scans top/bottom, on both sides of screen at once.
  2421.      DIAMOND      Growing diamond starting from center of screen.
  2422.      WIGGLE       Starts at upper-left alternating left and right.
  2423.      WIGGLEOUT    Starts in center of screen with  wiggle operation going
  2424.               both up and down at once.
  2425.  
  2426.        The two toggles which alter the above are:
  2427.  
  2428.      REVERSE      Completely reverses  a given  pattern.  First keystroke
  2429.               scanned becomes  the last,  the second  becomes next to
  2430.               last, and so on.
  2431.  
  2432.      FLIP         Exchanges the vertical coordinates in a scan.  Assume a
  2433.               25 line edit buffer.  Any  scan location  on line  1 is
  2434.               changed to line 25 and visa versa.
  2435.  
  2436.        You  select  the  toggles  before  a  scan  pattern.  When a toggle is
  2437.        active, its corresponding indicator appears on the screen.
  2438.  
  2439.        As mentioned above, many people want to take a static  screen, display
  2440.        it normally,  then add  animation.   The option to use in that case is
  2441.        the Top scanner.  Scanning from the Top yields a sequence which cannot
  2442.        told apart from a static display; but animation can now be added.
  2443.  
  2444.  
  2445.  
  2446.  
  2447.        TheDraw v4.63           The Animation System             27
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.        RECORDING CURSOR MOVEMENTS:
  2454.  
  2455.        Occasionally the  ability to record actual cursor movements is useful.
  2456.        They could  be used  as short  pauses, or  a distraction  to the user.
  2457.        Instead of  putting keystrokes everywhere, just having the cursor jump
  2458.        about could be enough.  TheDraw can record such cursor movements.
  2459.  
  2460.        Toggle on/off cursor movement recording by  picking "Movement Storage"
  2461.        from the  Animation pulldown.  The shortcut command is typing [ALT-J],
  2462.        then [M]ovement.  Moving the cursor in any way adds new entries to the
  2463.        animation sequence.
  2464.  
  2465.        Using cursor movements, you could have the cursor go around in circles
  2466.        giving the user time to reading something.  The only definitive reason
  2467.        to use this feature is personal taste.
  2468.  
  2469.  
  2470.  
  2471.        EDITING AND DELETING ANIMATION ENTRIES
  2472.        ──────────────────────────────────────────────────────────────────────
  2473.        Editing an animation sequence is a bit more complicated than fixing up
  2474.        a static screen.  If you make a  mistake, you  must be  -VERY- careful
  2475.        about using the [DELETE] and [BACKSPACE] keys.  The problem is both of
  2476.        the above keys remove all animation entries from the cursor position.
  2477.  
  2478.        Take the case where you type 'A', 'B' and 'V' all in the same location
  2479.        (say the  upper-left corner).   Meaning the 'V' to be a 'C', you press
  2480.        [BACKSPACE].  Unfortunately, this  command removes  all three letters,
  2481.        not  just  the  'V'.    The  delete/backspace  keys  can be especially
  2482.        disruptive to large animation sequences.
  2483.  
  2484.        TheDraw offers a special command to  avoid this  problem.   Choose the
  2485.        "Erase Character"  command from the Animation menu (shortcut [ALT-Z]).
  2486.        This shaves off just the animation  entry which  is visible.   The 'V'
  2487.        in this case.  You then proceed by typing the 'C' as intended.
  2488.  
  2489.        An alternative  technique is the animation "Change Character" command.
  2490.        Choose it from the  Animation  pulldown  (shortcut  [ALT-W]),  and the
  2491.        existing  keystroke  under  the  cursor beings to flicker.  Meanwhile,
  2492.        TheDraw prompts for the  new character.   Now  you just  enter the new
  2493.        symbol (a 'C') and are done.
  2494.  
  2495.        For more  complicated situations,  you could place some items on lower
  2496.        pages and use sprite mode.  This physically separates animated objects
  2497.        and protects  them from accidental damage.  However, it only works for
  2498.        moving objects under  those  on  the  current  page.    The registered
  2499.        version offers a better solution called animation edit limiting.
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.        TheDraw v4.63           The Animation System             28
  2507.  
  2508.  
  2509.  
  2510.  
  2511.        CHANGING YOUR ANIMATION SCAN PATTERN:
  2512.  
  2513.        If you  decide to change the scan pattern you selected earlier, choose
  2514.        "Rescan Animation" from the Animation pulldown, or [ALT-J], [R]escan.
  2515.  
  2516.        Warning: All animation on the current page will be replaced.
  2517.  
  2518.        TheDraw deletes all animation  from the  current page,  scans with the
  2519.        new pattern,  appending the  new results onto the end of the animation
  2520.        sequence.  Any customized changes you might have added are lost.  Only
  2521.        the current page is affected.  All other page layers stay intact.
  2522.  
  2523.  
  2524.  
  2525.        ADVANCED ANIMATION EDITING
  2526.        ──────────────────────────────────────────────────────────────────────
  2527.        There are several more complex functions which enhance your ability to
  2528.        create unique special effects.  These  include the  animation limiting
  2529.        offered in  the registered  version, include  files, and making custom
  2530.        control code sequences.  The  latter  especially  useful  with certain
  2531.        bulletin board systems.
  2532.  
  2533.  
  2534.        EDITING PARTIAL ANIMATION SEQUENCES:
  2535.  
  2536.        The shareware version of TheDraw only allows you to work on the end of
  2537.        an animation sequence.  You can  add  or  remove  things  easily.   To
  2538.        update something at the beginning of a sequence is more awkward.
  2539.  
  2540.        The registered  version helps significantly by adding a feature called
  2541.        animation limiting.  Now you can change the point where editing occurs
  2542.        on the  animation sequence.   Instead  of just  the end, edit anywhere
  2543.        from the first to last keystroke entry.  A powerful improvement.
  2544.  
  2545.  
  2546.       ANIMATION LIMITING:
  2547.  
  2548.       Animation limiting  changes the  focal point  of TheDraw.   You can
  2549.       insert/delete any keystroke anywhere in the animation sequence.
  2550.  
  2551.       Choose "Limiting"  from the Animation pulldown to activate it.  Now
  2552.       use the  arrow keys,  [PGUP], [PGDN],  [HOME] or  [END] to position
  2553.       yourself inside  the sequence.   Once  you find  the correct place,
  2554.       press [ENTER].
  2555.  
  2556.       Picking a edit focal point is that easy.  When  in the  middle of a
  2557.       sequence, everything  after the  focal point is temporarily hidden.
  2558.       Now you can make any updates with no extra fuss.
  2559.  
  2560.       Once done, you should probably return to the  end of  the animation
  2561.       sequence.  Choose "Limiting" again.  Press [END] to reset the focal
  2562.       point, then [ENTER].
  2563.  
  2564.  
  2565.        TheDraw v4.63           The Animation System             29
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.       ANIMATION MARKERS:
  2572.  
  2573.       Markers provide a convenient way of jump around within an animation
  2574.       sequence.   Assume you constantly switch between the point where an
  2575.       object is drawn and the sequence  end.   By setting  a marker after
  2576.       the  object  appears  you  can  switch quickly, instead of manually
  2577.       positioning the focal point every time.
  2578.  
  2579.       To set a marker, first position  the  focal  point.    Next, choose
  2580.       "Marker" from  the Animation  pulldown.   TheDraw displays a window
  2581.       listing all current markers.  If  none  are  defined,  the  list is
  2582.       empty.  Type [S]et and enter a description of the marker.  ie:
  2583.  
  2584.         1:  Object has been drawn
  2585.  
  2586.       Press [ENTER]  to save the new marker.  From now on, to position to
  2587.       this marker,  select "Limiting"  from the  Animation pulldown, then
  2588.       [K] for markers.  Pick marker [1] and you are done!
  2589.  
  2590.  
  2591.        INCLUDE FILES:
  2592.  
  2593.        TheDraw permits "including" the contents of other files in the current
  2594.        animation sequence.  Typically this will be an  "Ansi Music" sequence,
  2595.        a frequently  used image,  complex BBS  control codes, merging several
  2596.        Ansi/Avatar screens together, etc...
  2597.  
  2598.        The include files  are  only  used  when  TheDraw  actually  saves the
  2599.        current animation sequence.  At that point, the include file is copied
  2600.        into the new output file TheDraw is making.
  2601.  
  2602.        Include files are ignored by the animation screen redraw command.   If
  2603.        you want  to see  what everything  might look  like, a  view option is
  2604.        available in the animation  include window.   Refer  to the "ANIMATION
  2605.        OPTIONS" section for more information.
  2606.  
  2607.  
  2608.        MAKING CUSTOM USER CONTROL SEQUENCES:
  2609.  
  2610.        You can insert your own short control code sequences directly into any
  2611.        Ansi/Avatar file TheDraw generates.  This  is very  useful for special
  2612.        BBS control  codes (ie:  for user  names and such), or inserting extra
  2613.        Ansi codes into the animation.  You might  force the  screen to clear,
  2614.        or cause the display to scroll - functions not supported by TheDraw.
  2615.        User Sequences  are only  referred to  when TheDraw  saves a file, and
  2616.        are not used when redrawing (see  ALT-Q).    Refer  to  the "ANIMATION
  2617.        OPTIONS" section for a complete description of user sequences.
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.        TheDraw v4.63           The Animation System             30
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.        TRICKS AND TECHNIQUES
  2631.        ──────────────────────────────────────────────────────────────────────
  2632.        Once  the  above  mentioned  animation  skills  are down, certain easy
  2633.        special effects will help  liven up  a display.   Care  given to color
  2634.        selection, shading,  and use  of shadowing to furnish depth or a three
  2635.        dimensional feel can perform wonders.   Animation is  also improved on
  2636.        occasion by pausing the display slightly.
  2637.  
  2638.        Ideally you  will find  the "tricks" are not really tricks at all, but
  2639.        rather easy skills to master.  A little  practice will  put you firmly
  2640.        on the right track.
  2641.  
  2642.  
  2643.        USE OF COLORS:
  2644.  
  2645.        Good  color  selection  is  as  important as the display content being
  2646.        viewed.  Colors should  be high  contrast, but  not so  as to distract
  2647.        the viewer.   For  example, Yellow  on Cyan  go well together, however
  2648.        Magenta on Green do  not.   Extensive theory  exists to  predict which
  2649.        color to  use with  what, but for our purposes some experimenting will
  2650.        suffice.   Look for  combinations which  are easy  to read  and do not
  2651.        strain the eyes.  Observing other peoples work is a good teacher.
  2652.  
  2653.        Background  colors  should  be  used to your advantage, not detriment.
  2654.        For example, look closely at the TheDraw title screen and note how the
  2655.        layering was  achieved.   Half block  characters (such as "▌" and "▀")
  2656.        are used extensively with the solid  portion one  color and  the blank
  2657.        region another.
  2658.  
  2659.        Lastly, flashing  colors in combination with good background selection
  2660.        is an excellent visual  device.    For  example,  select  flashing red
  2661.        (color 20)  on a  gray background  (color 7).   Put  a block character
  2662.        ("█").  Now select flashing gray (color 23) on a red background (color
  2663.        4).   Put another  block character next to the first.  What you see is
  2664.        the block colors alternating between red and gray, each block opposite
  2665.        of one another.  Repeating this pattern produces a moving effect.  See
  2666.        the demo file EFFECTS.TD for a working example.
  2667.  
  2668.  
  2669.        SHADING:
  2670.  
  2671.        Shading and shadowing discussed below are both used for adding texture
  2672.        and three dimensional quality to a display.  Shading is the process of
  2673.        gradually changing visual intensity.   This  can be  done using bright
  2674.        colors then  more subdued  colors, or  using different characters with
  2675.        different density such as "░▒▓█".
  2676.  
  2677.        For successful shading, one must be aware of  how things  truly appear
  2678.        in nature.   Carefully  examine a  round pen  sitting on a table.  The
  2679.        color is not uniform, but rather bright in the middle  then apparently
  2680.        darker towards the edges.  The same holds true for any curve.
  2681.  
  2682.  
  2683.        TheDraw v4.63           The Animation System             31
  2684.  
  2685.  
  2686.  
  2687.  
  2688.        Example of how color changes on a curved object:
  2689.  
  2690.                   brightest here
  2691.  
  2692.                darker  ▄▄▀▀▀▀▀▀▀▀▄▄  darker
  2693.                  ▄▀            ▀▄
  2694.                 █            █
  2695.          darkest here  █          █  darkest here
  2696.                   ▐▌          ▐▌
  2697.  
  2698.  
  2699.                     ░░░░░░░░░░
  2700.                   ░░▒▒▓▓▓▓▓▓▒▒░░
  2701.                  ░▒▒▓▓▓████▓▓▓▒▒░
  2702.                 ░▒▒▓▓▓██████▓▓▓▒▒░
  2703.                 ░▒▒▓▓▓██████▓▓▓▒▒░
  2704.                  ░▒▒▓▓▓████▓▓▓▒▒░
  2705.                   ░░▒▒▓▓▓▓▓▓▒▒░░
  2706.                     ░░░░░░░░░░
  2707.  
  2708.  
  2709.        The  above  character  shading  example  shows one way of matching the
  2710.        curvature example.  You can obtain more gradations  by using  high and
  2711.        low intensity color in combination.  For a case in point, coloring the
  2712.        following symbols as indicated yields eight shades of blue:
  2713.  
  2714.                     light
  2715.                     blue
  2716.                       │
  2717.                    light ─┬─┐┌┴┐┌┬─ blue
  2718.                 cyan  █▓▒▓▒░▒░
  2719.  
  2720.        The file EFFECTS.TD demonstrates  the above  example.   Every possible
  2721.        shading combination  is shown  in SHADING.TD,  using three pages.  The
  2722.        registered version has a built in screen modeled  after the SHADING.TD
  2723.        screen.
  2724.  
  2725.  
  2726.        SHADOWING:
  2727.  
  2728.        This  effect  gives  an  object  the  illusion of a third dimension by
  2729.        throwing  a  "shadow"  onto  something.    Many  popular  programs use
  2730.        shadowing to highlight menu or other box structures.  Shadows are made
  2731.        by duplicating an object shifted down and over slightly, in a darkened
  2732.        color.  ie:
  2733.                    ████████████████████
  2734.                    ████████████████████░
  2735.                    ████████████████████░
  2736.                    ████████████████████░
  2737.                 ░░░░░░░░░░░░░░░░░░░░
  2738.  
  2739.        The most effective shadow colors are the light and dark grays.
  2740.  
  2741.  
  2742.        TheDraw v4.63           The Animation System             32
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.        PAUSING:
  2749.  
  2750.        TheDraw  directly  supports  two  types  of animation pause: timed and
  2751.        keyboard.  Unfortunately, there is no  way  to  wait  for  a keystroke
  2752.        response in  an Ansi  file.   The keyboard  option is operable only if
  2753.        TheDraw or THEPP (see following section in documentation)  is used for
  2754.        displaying the  animation.   Timed pauses can be approximated however,
  2755.        by inserting redundant codes into the Ansi file.
  2756.  
  2757.        One application  might be  slowing down  steps of  an animated object.
  2758.        The  object  is  shifted  once,  then  a short pause occurs before the
  2759.        object is shifted again.   The  relative speed  difference (ie: object
  2760.        redrawn faster  than shifting  occurs) could help smooth the animation
  2761.        in some situations.
  2762.  
  2763.        Another application of course, is  placing  a  delay  after  a message
  2764.        appears.    Whisking  something  away too quickly might frustrate some
  2765.        users.  For instance, the SHUTTLE2.ANS example uses two delays.
  2766.  
  2767.  
  2768.  
  2769.        PITFALLS AND LIMITATIONS
  2770.        ──────────────────────────────────────────────────────────────────────
  2771.        You will discover a few limitations of Ansi animation as you progress.
  2772.        Large objects tend to "ripple" as they move.  ie:
  2773.  
  2774.                   ┌─────────────────────┐
  2775.                   │             │ <-- ripple effect
  2776.                   │            │
  2777.                  │             │
  2778.                  │             │
  2779.                  └─────────────────────┘
  2780.  
  2781.        Large object also use a significant portion of the available animation
  2782.        space.  You will be amazed how quickly  even 16000  entries disappear.
  2783.        Objects up  to 30 character by 10 lines (30x10) in size generally work
  2784.        with minimal difficulty.  Faster computers can get  away with slightly
  2785.        larger blocks.
  2786.  
  2787.        Since only  one character  point can  change at any given time, having
  2788.        multiple objects move simultaneously will slow performance.
  2789.  
  2790.        As with everything, experience will tell you what is best  for a given
  2791.        situation.
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.        TheDraw v4.63           The Animation System             33
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.              TIPS AND EXAMPLES FOR PROGRAMMERS
  2808.  
  2809.  
  2810.        This section is for individuals writing programs who are interested in
  2811.        using TheDraw.  Effort was put  forth  to  make  TheDraw  a convenient
  2812.        programmers  utility.    The  various  sections  which follow describe
  2813.        example code for each of the  various languages  TheDraw is compatible
  2814.        with.   The routines are tested and can be quite useful for those just
  2815.        getting started.  If you have  additional ideas  for this  section, we
  2816.        highly encourage you to send them in!
  2817.  
  2818.  
  2819.        PROGRAMMING IN ASSEMBLER:
  2820.  
  2821.        Assembly programmers  will find  ASM formatted  files in standard data
  2822.        byte format, using the DB operator.  Asm files can  have varying sizes
  2823.        depending  upon  the  save  mode  used  (Ascii/Normal/Crunched).   The
  2824.        dimensions and  length of  the save  are displayed  at the  top of all
  2825.        assembler dumps.   If  you crunched  the screen,  you will have to use
  2826.        the uncrunch  routine  provided  in  ASM  source  code (UNCRUNCH.ASM).
  2827.        Values required in the CPU registers are documented in the file.
  2828.  
  2829.        Ascii formatted files must be read as bytes and saved on the screen as
  2830.        words.  This can  be  achieved  using  LODSB  and  STOSW instructions.
  2831.        LODSB loads  into AL  the character.   You  store into  AH the desired
  2832.        screen color attributes.   STOSW then  writes the  two bytes  onto the
  2833.        screen.   An alternate method would be to use the Bios or Dos, however
  2834.        these methods are considerably slower.
  2835.  
  2836.        A normal 4000 byte dump (80x25 screen) is  the easiest  to display via
  2837.        the REP MOVSW instruction.  To display the image, point the ES:DI pair
  2838.        to B800:0000 (for color  screens; B000:0000  monochrome) and  DS:SI to
  2839.        the screen  in your  program.   Also load  CX with the number of video
  2840.        words to display (2000 - A total of 4000 bytes).  ie:
  2841.  
  2842.         MOV      AX,0B800h
  2843.         MOV      ES,AX
  2844.         MOV      DI,0
  2845.         MOV      SI,offset ImageData
  2846.         MOV      CX,2000
  2847.         CLD                   ;Make MOVSW go forward.
  2848.         REP   MOVSW
  2849.  
  2850.        If writing to a EGA screen (80x43), CX would need 3440.   If to  a VGA
  2851.        screen (80x50), CX would need 4000.
  2852.  
  2853.        As shown  above, the  ImageData is  written directly  onto the screen.
  2854.        This will cause hashing or "snow" on some  color video  displays.  You
  2855.        may want  to move  only one  video word  at a  time, pausing until the
  2856.        video hardware is in horizontal or  vertical  retrace.    This  can be
  2857.        accomplished with the following routine.
  2858.  
  2859.  
  2860.        TheDraw v4.63           Pull Down Menu System            34
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.        Example:
  2867.  
  2868.       MOV   AX,0B800h
  2869.       MOV   ES,AX
  2870.       MOV   DI,0
  2871.       MOV   SI,offset ImageData
  2872.       MOV   CX,2000
  2873.       CLD
  2874.  
  2875.       MOV   DX,03DAh       ;Save i/o address of CGA status register
  2876.  
  2877.        LOOPA:
  2878.       LODSW            ;Read data to be written
  2879.       MOV   BX,AX          ;Save for later.
  2880.  
  2881.       MOV   AH,9           ;Test mask for Vertical/Horizontal retrace
  2882.  
  2883.       IN    AL,DX          ;Read the status register
  2884.       TEST  AL,8           ;See if in vertical retrace?
  2885.       JNZ   WRITE_IT       ;Jump if so.  No need to wait here.
  2886.  
  2887.        LOOPB:
  2888.       IN    AL,DX          ;Read the status register
  2889.       RCR   AL,1           ;Test bit1.  Make sure we are not in the
  2890.       JC    LOOPB          ;middle of a horizontal retrace.
  2891.  
  2892.        LOOPC:
  2893.       IN    AL,DX          ;Read the status register
  2894.       TEST  AL,AH          ;Wait until in either vertical or
  2895.       JZ    LOOPC          ;horizontal retrace.
  2896.  
  2897.        WRITE_IT:
  2898.       MOV   AX,BX          ;Retrieve the character we loaded before.
  2899.       STOSW            ;Save it.
  2900.  
  2901.       LOOP  LOOPA
  2902.  
  2903.  
  2904.        The above  is a  fairly complex mess, but will reliably place a screen
  2905.        image snow free onto the display.   This  routine is  not needed  on a
  2906.        monochrome video since such hardware does not suffer from snow.
  2907.  
  2908.        Notice the  entry code  is identical  to the  previous simple example.
  2909.        The REP MOVSW is has been replaced with extensive checks  on the video
  2910.        hardware however.
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.        TheDraw v4.63           Pull Down Menu System            35
  2920.  
  2921.  
  2922.  
  2923.  
  2924.        PROGRAMMING IN PASCAL:
  2925.  
  2926.        Pascal programmers  have equal  ease with  displaying screens.  Images
  2927.        can be flashed to the screen using the Turbo Pascal  "MOVE" procedure.
  2928.        A pascal NORMAL save can be displayed with the following program:
  2929.  
  2930.      {$I image.pas}
  2931.      type ScreenType = array [0..3999] of Byte;
  2932.      var Screen : ScreenType absolute $B800:0000;
  2933.  
  2934.      begin
  2935.        Move (ImageData,Screen,4000);
  2936.      end.
  2937.  
  2938.        The  above  defines  a  variable  at the absolute address of the video
  2939.        memory.  The importance of defining such an array will  become obvious
  2940.        below.   IMAGEDATA is assumed to be the name of the pascal image dump,
  2941.        but is easily altered  when saving  the file  from TheDraw.   The MOVE
  2942.        procedure puts  ImageData onto  the screen.   Please note this is only
  2943.        for a full screen.    To  display  a  screen  block  is  slightly more
  2944.        difficult.  Our program now becomes:
  2945.  
  2946.      {$I image.pas}
  2947.      type ScreenType = array [0..3999] of Byte;
  2948.      var Screen : ScreenType absolute $B800:0000;
  2949.          X,Offset : Integer;
  2950.      begin
  2951.        Offset := ???;  {Replace ??? with offset to display block}
  2952.  
  2953.        for X := 0 to IMAGEDATA_DEPTH-1 do
  2954.          Move (ImageData[1+X*IMAGEDATA_WIDTH*2],
  2955.            Screen[X*160+Offset],IMAGEDATA_WIDTH*2);
  2956.      end.
  2957.  
  2958.        The  constants  IMAGEDATA_DEPTH  and IMAGEDATA_WIDTH specify the block
  2959.        dimensions of IMAGEDATA, and  are generated  by TheDraw automatically.
  2960.        If  you  change  the  name  identifier,  the width and depth names are
  2961.        updated also.  The depth is the number of vertical lines in the block.
  2962.        Width is  the number  of character  across the  block.   OFFSET is the
  2963.        video address you want the block to appear at.  It is computed with:
  2964.  
  2965.                  (column*2)+(row*160)-162
  2966.  
  2967.                 Column varies 1..80
  2968.                  Row varies 1..25
  2969.  
  2970.        Notice in this example we are using a  loop and  moving one  line at a
  2971.        time.   Lines from  ImageData are  placed on the video at OFFSET.  The
  2972.        address in ImageData is advanced to the location  of the  next line in
  2973.        each loop.   The  video address advances 160 characters each time (the
  2974.        byte width of the video display).
  2975.  
  2976.  
  2977.  
  2978.        TheDraw v4.63           Pull Down Menu System            36
  2979.  
  2980.  
  2981.  
  2982.  
  2983.        Turbo Pascal v3.0 users also have another interesting option.  You can
  2984.        include a .BIN file into a turbo program and then display it using the
  2985.        above techniques.
  2986.  
  2987.        The file actually becomes part of your compiled pascal program.   Once
  2988.        your program is compiled, you no longer need to have the DEMO.BIN file
  2989.        present.
  2990.  
  2991.      procedure DummyProc; external 'DEMO.BIN';
  2992.  
  2993.      type ScreenType = array [0..3999] of Byte;
  2994.      var Screen : ScreenType absolute $B800:0000;
  2995.          X,Depth,Width,Offset : Integer;
  2996.          ImageDataPtr : ^ScreenType;
  2997.      begin
  2998.        Depth := ???;      {Replace ???'s with actual block dimensions}
  2999.        Width := ???;      {as specified by TheDraw after .BIN save.}
  3000.        Offset := ???;     {Replace ??? with position to display block}
  3001.  
  3002.        ImageDataPtr := Addr(DummyProc);
  3003.  
  3004.        for X := 0 to Depth-1 do
  3005.          Move (ImageDataPtr^[1+X*Width*2],Screen[X*160+Offset],Width*2);
  3006.      end.
  3007.  
  3008.        In the above program, we create  a pointer  (IMAGEDATAPTR) pointing at
  3009.        the address  of DUMMYPROC.   The rest of the program is similar to the
  3010.        previous example, except all  occurrences  of  IMAGEDATA  are replaced
  3011.        with  IMAGEDATAPTR^.    Also,  since  the  block  dimensions  are  not
  3012.        available, you must specify them.
  3013.  
  3014.        The up arrow symbol at the end is  very important.   If  you don't use
  3015.        it, Turbo  will copy  the -value- of your pointer to the screen.  This
  3016.        will generally appear as  garbage.   It can  be fun  playing with this
  3017.        concept, you simply must be careful with the pointers.
  3018.  
  3019.        Pascal ASCII  saves are  used similar to strings.  Since the ImageData
  3020.        arrays created do not have color  attributes, we  cannot directly move
  3021.        them to  the video.  The following shows two techniques for displaying
  3022.        these images.
  3023.  
  3024.      --- Pascal ASCII Save Example 1 ---
  3025.  
  3026.      {$I image.pas}
  3027.      var X:Integer;
  3028.      begin
  3029.        ClrScr;
  3030.        for X := 1 to IMAGEDATA_LENGTH do Write (ImageData[X]);
  3031.      end.
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.        TheDraw v4.63           Pull Down Menu System            37
  3038.  
  3039.  
  3040.  
  3041.  
  3042.      --- Pascal ASCII Save Example 2 ---
  3043.  
  3044.      {$I image.pas}
  3045.      type ScreenType = array [0..3999] of Byte;
  3046.      var Screen : ScreenType absolute $B800:0000;
  3047.          X:Integer;
  3048.      begin
  3049.        ClrScr;
  3050.        for X := 1 to IMAGEDATA_LENGTH do
  3051.          Screen[X*2-2] := ImageData[X];
  3052.      end.
  3053.  
  3054.        The first example is easiest to  understand.    All  we  are  doing is
  3055.        displaying each  character in IMAGEDATA on the screen using the pascal
  3056.        WRITE function.  This works because the IMAGEDATA block (in this case)
  3057.        is 80  characters wide, so there is no need for a WRITELN.  The cursor
  3058.        will automatically be bumped down to the next  line.  IMAGEDATA_LENGTH
  3059.        is another constant automatically generated by TheDraw.
  3060.  
  3061.        The second  example is  similar to  the first, but directly stuffs the
  3062.        characters onto the screen.    This  will  be  faster  than  the first
  3063.        method.  Notice the Screen[X*2-2].  The multiplication is done because
  3064.        each character occupies two bytes of  video memory.   Since  the first
  3065.        video address is 0, we add -2 to the offset to keep things aligned.
  3066.  
  3067.        To  use  pascal  images  CRUNCHED  by  TheDraw  requires  use  of  the
  3068.        UNCRUNCH.PAS file  included  with  the  package.    The  file contains
  3069.        details and instruction on using crunched images.
  3070.  
  3071.  
  3072.        TURBO PASCAL v4.0 through v5.5:
  3073.  
  3074.        The above  examples will all work for Turbo Pascal v4.0 to v5.5 users,
  3075.        with exception to the external .BIN file example.  The newer compilers
  3076.        do not  support the  old format.  Instead you must use TheDraw's Turbo
  3077.        Pascal compatible Object (.OBJ) files.
  3078.  
  3079.        To use the object file do the following:
  3080.  
  3081.      {$L DEMO.OBJ }
  3082.      procedure ImageData; external;
  3083.      procedure ImageData_Width; external;
  3084.      procedure ImageData_Depth; external;
  3085.      procedure ImageData_Length; external;
  3086.  
  3087.        The procedure name  (ImageData  here)  is  specified  when  making the
  3088.        object  file.    All  four  external  procedure  definitions  must  be
  3089.        specified (Turbo requires it).   Although  these are  "procedures" you
  3090.        MUST NOT  execute them.   They  only contain  image data which must be
  3091.        referred to via pointers.  The modified .BIN example follows:
  3092.  
  3093.  
  3094.  
  3095.  
  3096.        TheDraw v4.63           Pull Down Menu System            38
  3097.  
  3098.  
  3099.  
  3100.  
  3101.      {$L DEMO.OBJ}
  3102.      procedure ImageData; external;
  3103.      procedure ImageData_Width; external;
  3104.      procedure ImageData_Depth; external;
  3105.      procedure ImageData_Length; external;
  3106.  
  3107.      type ScreenType = array [0..3999] of Byte;
  3108.      var Screen : ScreenType absolute $B800:0000;
  3109.          X,Offset : Integer;
  3110.          ImageDataPtr : ^ScreenType;
  3111.          ImageDataWidthPtr : ^Integer;
  3112.          ImageDataDepthPtr : ^Integer;
  3113.          ImageDataLengthPtr : ^Integer;
  3114.  
  3115.      begin
  3116.        Offset := ???;       {Replace ??? with position to display block}
  3117.  
  3118.        ImageDataPtr := @ImageData;
  3119.        ImageDataWidthPtr := @ImageData_Width;
  3120.        ImageDataDepthPtr := @ImageData_Depth;
  3121.        ImageDataLengthPtr := @ImageData_Length;
  3122.  
  3123.        for X := 0 to ImageDataDepthPtr^-1 do
  3124.          Move (ImageDataPtr^[1+X*ImageDataWidthPtr^*2],
  3125.            Screen[X*160+Offset],ImageDataWidthPtr^*2);
  3126.      end.
  3127.  
  3128.        The above is for a generalized block of any dimension.   A  pointer to
  3129.        the IMAGEDATA_LENGTH  is initialized  but not  used.   It is there for
  3130.        example usage only.  The above program can be simplified  somewhat for
  3131.        an entire screen.  ie:
  3132.  
  3133.      {$L DEMO.OBJ}
  3134.      procedure ImageData; external;     {All of these are needed,}
  3135.      procedure ImageData_Width; external;   {otherwise Turbo v4.0-v5.5}
  3136.      procedure ImageData_Depth; external;   {get upset.}
  3137.      procedure ImageData_Length; external;
  3138.  
  3139.      begin
  3140.        Move (pointer(@ImageData)^,ptr($B800,0)^,4000);
  3141.      end.
  3142.  
  3143.        Note the  usage of  typecasting to eliminate the pointer to ImageData.
  3144.        This cleans up the program  appearance  somewhat.    In  addition, the
  3145.        value of  4000 could  be replaced  with a pointer to IMAGEDATA_LENGTH.
  3146.        However, since this is an  entire  screen  why  bother  initializing a
  3147.        pointer.  A full 80 by 25 screen is always 4000 bytes in length.
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.        TheDraw v4.63           Pull Down Menu System            39
  3156.  
  3157.  
  3158.  
  3159.  
  3160.        TURBO PASCAL VERSION 6.0 and 7.0:
  3161.  
  3162.        Everything  shown  thus  far  for  Turbo  Pascal  v4.0  to  v5.5 works
  3163.        perfectly well in TP 6.0  and  above.    However,  the  newer releases
  3164.        allows  a  more  relaxed  preinitialized  constant  definitions.   The
  3165.        previous examples can be shorten to:
  3166.  
  3167.      {$L DEMO.OBJ}
  3168.      procedure ImageData; external;
  3169.      procedure ImageData_Width; external;
  3170.      procedure ImageData_Depth; external;
  3171.      procedure ImageData_Length; external;
  3172.  
  3173.      type ScreenType = array [0..3999] of Byte;
  3174.      var Screen : ScreenType absolute $B800:0000;
  3175.          X,Offset : Integer;
  3176.  
  3177.      const
  3178.        ImageDataPtr : ^ScreenType = @ImageData;
  3179.        ImageDataWidthPtr : ^Integer = @ImageData_Width;
  3180.        ImageDataDepthPtr : ^Integer = @ImageData_Depth;
  3181.        ImageDataLengthPtr : ^Integer = @ImageData_Length;
  3182.  
  3183.      begin
  3184.        Offset := ???;     {Replace ??? with position to display block}
  3185.  
  3186.        for X := 0 to ImageDataDepthPtr^-1 do
  3187.          Move (ImageDataPtr^[1+X*ImageDataWidthPtr^*2],
  3188.            Screen[X*160+Offset],ImageDataWidthPtr^*2);
  3189.      end.
  3190.  
  3191.  
  3192.        In addition, all the external definitions  for public  identifiers are
  3193.        no longer mandatory.   Thus the full screen example reduces to:
  3194.  
  3195.      {$L DEMO.OBJ}
  3196.      procedure ImageData; external;
  3197.      begin
  3198.        Move (pointer(@ImageData)^,ptr($B800,0)^,4000);
  3199.      end.
  3200.  
  3201.        People  casually  reviewing  the  literature  for  v6.0/7.0  may  note
  3202.        initialized data  is permitted  within object  files now.   Although a
  3203.        definite vast  improvement, the  data is  still private  to the object
  3204.        file.  Assuming the designers of Turbo Pascal  eventually add external
  3205.        variable declarations (similar to C), the Large object file data model
  3206.        TheDraw currently supports should be compatible.   Until  then we must
  3207.        bear with the current approach for accessing image data.
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.        TheDraw v4.63           Pull Down Menu System            40
  3215.  
  3216.  
  3217.  
  3218.  
  3219.        PROGRAMMING IN C:
  3220.  
  3221.        C  programmers  have  support  similar  to  that  for pascal.  TheDraw
  3222.        creates the Normal, Ascii, and Crunched  file formats  using typical C
  3223.        code definitions.  The ImageData arrays are used similar to the pascal
  3224.        case.  Please note, in the following examples  it will  be assumed the
  3225.        programs are compiled in a state supporting 32-bit data pointers.
  3226.  
  3227.        A C NORMAL save is the easiest to display.  For instance:
  3228.  
  3229.      #include <stdio.h>
  3230.      #include <mem.h>
  3231.      #include "image.h"
  3232.      main ()  {
  3233.        /* Kludge a pointer at video memory (segment 0xB800, offset 0) */
  3234.        void far *screen = (void far *) 0xB8000000;
  3235.        memcpy (screen,IMAGEDATA,4000);    /* Move image to screen */
  3236.      }
  3237.  
  3238.        The  <mem.h>  file  reference  contains  the  definition of the memcpy
  3239.        routine.  Users of Microsoft C  should reference  the <memory.h> file.
  3240.        IMAGE.H is  assumed to  contain the array IMAGEDATA created by TheDraw
  3241.        (the name may be changed to anything else  naturally).   The void data
  3242.        type used is a modern C convention.  If your compiler does not support
  3243.        it, use type char instead (or  whatever type  your compiler  wants for
  3244.        parameters to memcpy).
  3245.  
  3246.        Reminder:
  3247.       Be absolutely sure you are using the proper code/data model.  It is
  3248.       very easy to write  the above  program, only  to have  the compiler
  3249.       complain  about  incompatible  pointer  sizes,  etc... The function
  3250.       memcpy MUST accept full  32  bit  data  pointers.    In  TurboC for
  3251.       instance, you must use memory models Compact, Large, or Huge.
  3252.  
  3253.        The above  is for  a full screen image.  To display a block involves a
  3254.        little more work, as in the pascal example.
  3255.  
  3256.      #include <stdio.h>
  3257.      #include <mem.h>
  3258.      #include "image.h"
  3259.      main () {
  3260.        void far *screen;
  3261.        int offset = ???;  /* Replace ??? with offset to display block */
  3262.        int x;
  3263.  
  3264.        for (x=0; x<IMAGEDATA_DEPTH; x++) {
  3265.          (long) screen = 0xB8000000+x*160+offset;
  3266.          memcpy (screen,&IMAGEDATA[x*IMAGEDATA_WIDTH*2],IMAGEDATA_WIDTH*2);
  3267.        }
  3268.      }
  3269.  
  3270.  
  3271.  
  3272.  
  3273.        TheDraw v4.63           Pull Down Menu System            41
  3274.  
  3275.  
  3276.  
  3277.  
  3278.        As before, the variables  IMAGEDATA_DEPTH and  IMAGEDATA_WIDTH specify
  3279.        the block  size saved in IMAGEDATA, and are generated by TheDraw.  The
  3280.        depth is the number of vertical  lines  in  the  block  and  width the
  3281.        characters across.   OFFSET contains the video address the block is to
  3282.        appear at.  It is computed with:
  3283.  
  3284.                  (column*2)+(row*160)-162
  3285.  
  3286.                 Column varies 1..80
  3287.                  Row varies 1..25
  3288.  
  3289.        A loop is used in this  example to  move one  line at  a time.   Lines
  3290.        from IMAGEDATA  are placed  on the  video at OFFSET.  The address into
  3291.        IMAGEDATA is advanced to the location of the  next line  in each loop.
  3292.        The  video  address  advances  160  characters for each line (the byte
  3293.        width of the video display).
  3294.  
  3295.        Programmers with TurboC can  also  use  the  function  puttext.   This
  3296.        handles everything  the previous  example did  and is  called with the
  3297.        following parameters:
  3298.  
  3299.            XUL    = X coordinate of upper-left corner.
  3300.            YUL    = Y coordinate of upper-left corner.
  3301.            XLR    = X coordinate of lower-right corner.
  3302.            YLR    = Y coordinate of lower-right corner.
  3303.            source = address pointer to data
  3304.  
  3305.        Examples of usage are:
  3306.  
  3307.          puttext (1,1,80,25,IMAGEDATA);
  3308.         /* full screen display */
  3309.  
  3310.          puttext (1,1,IMAGEDATA_WIDTH,IMAGEDATA_DEPTH,IMAGEDATA);
  3311.         /* display block in upper-left corner of screen */
  3312.  
  3313.          puttext (81-IMAGEDATA_WIDTH,26-IMAGEDATA_DEPTH,80,25,IMAGEDATA);
  3314.         /* display block in lower-right corner of screen */
  3315.  
  3316.  
  3317.        In addition to simplifying the code,  this function  can be  used from
  3318.        ANY memory model.  You are not restricted to the larger memory models.
  3319.        However, remember this function will only work for NORMAL screen saves
  3320.        (not Ascii or Crunched).
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.        TheDraw v4.63           Pull Down Menu System            42
  3333.  
  3334.  
  3335.  
  3336.  
  3337.        The ASCII  format is  a bit easier to use in C than Pascal.  By taking
  3338.        advantage of the 0 terminated strings  of C,  we can  display an ASCII
  3339.        image by simply doing the following:
  3340.  
  3341.      #include <stdio.h>
  3342.      #include "image.h"
  3343.      main () {
  3344.        printf ("%s",IMAGEDATA);
  3345.      }
  3346.  
  3347.        An alternate technique for displaying ASCII format files is similar to
  3348.        the second pascal example (for doing the same thing).  ie:
  3349.  
  3350.      #include <stdio.h>
  3351.      #include <mem.h>
  3352.      #include "image.h"
  3353.      main () {
  3354.        void far *screen;
  3355.  
  3356.        int x;
  3357.  
  3358.        for (x=0; x<4000; x++) {
  3359.          (long) screen = 0xB8000000 + x*2;
  3360.          memcpy (screen,&IMAGEDATA[x],1);
  3361.        }
  3362.      }
  3363.  
  3364.        Characters are copied one at a  time from  the IMAGEDATA  array to the
  3365.        video memory.   This  is significantly faster than the printf example,
  3366.        since the overhead of going through the operating system is removed.
  3367.  
  3368.        To use C images CRUNCHED by TheDraw, you must use  the code  in either
  3369.        UNCRUN_N.OBJ or  UNCRUN_F.OBJ (depending if you are using a Small/Near
  3370.        or Large/Far code model).   The  file UNCRUNCH.H  contains examples on
  3371.        their usage.
  3372.  
  3373.  
  3374.  
  3375.        USING OBJECT FILES WITH C:
  3376.  
  3377.        C  is  normally  implemented  to smoothly interface with object files.
  3378.        Follow these steps when using TheDraw object files with C.
  3379.  
  3380.       1) Specify external variables referencing the screen image.
  3381.       2) Tell the compiler make/project utility to  link the  wanted file
  3382.          with your program.
  3383.  
  3384.        Notice in  the following  program that  no include  is made.  The file
  3385.        containing the image is  not C  source code;  rather, a  binary object
  3386.        file merely  needing to  be linked.   Therefore,  we tell the compiler
  3387.        what to expect via EXTERN declarations.
  3388.  
  3389.  
  3390.  
  3391.        TheDraw v4.63           Pull Down Menu System            43
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.      #include <stdio.h>
  3398.      #include <mem.h>
  3399.      main () {
  3400.        extern int IMAGEDATA_WIDTH;
  3401.        extern int IMAGEDATA_DEPTH;
  3402.        extern int IMAGEDATA_LENGTH;
  3403.        extern unsigned char IMAGEDATA [];
  3404.  
  3405.        void far *screen;
  3406.        int offset = ???;  /* Replace ??? with offset to display block */
  3407.        int x;
  3408.  
  3409.        for (x=0; x<IMAGEDATA_DEPTH; x++) {
  3410.          (long) screen = 0xB8000000+x*160+offset;
  3411.          memcpy (screen,&IMAGEDATA[x*IMAGEDATA_WIDTH*2],IMAGEDATA_WIDTH*2);
  3412.        }
  3413.      }
  3414.  
  3415.        Notice  the  image  dimensions  (width,depth,length)  are   stored  as
  3416.        variables for easy reference.  The length parameter is not used in the
  3417.        example, but shown to demonstrate it.
  3418.  
  3419.        The second step is largely dependent on the compiler setup.   You must
  3420.        create  or  update  a  make  file to link the necessary TheDraw object
  3421.        (.OBJ) file with your program.  If you  use Turbo  C, simply  list the
  3422.        file in the project listing.
  3423.  
  3424.  
  3425.  
  3426.        PROGRAMMING IN STANDARD BASIC:
  3427.  
  3428.        Basic programmers  are a  little more  limited, not  because they lack
  3429.        commands, but lack speed.  Therefore  TheDraw creates  the BSave files
  3430.        with all  addressing information  already programmed.  All you have to
  3431.        do  is  type  'BLOAD  "filename.BSV"'.      The   screen   segment  is
  3432.        automatically set,  so you  don't have  to bother  with DEF SEG=etc...
  3433.        However, if you wish to override the display segment default,  try the
  3434.        following:
  3435.  
  3436.         DEF SEG=&HB800 : BLOAD"filename.BSV"
  3437.  
  3438.        For monochrome video users, replace the B800 with B000.
  3439.  
  3440.        TheDraw allows  partial block saves for basic files.  These files will
  3441.        always be 80 characters wide.  This is a limitation of BLOAD  which we
  3442.        all  must  live  with.    They  can start and end on any vertical line
  3443.        however, so you could load a  full screen  then just  load small block
  3444.        images to  update those parts of the screen needing it.  Make sure you
  3445.        build the partial-block images in TheDraw in the exact screen location
  3446.        you want them to finally appear.  If you save a block starting on line
  3447.        5, and ending on line 8 that is where Basic will display it.
  3448.  
  3449.  
  3450.        TheDraw v4.63           Pull Down Menu System            44
  3451.  
  3452.  
  3453.  
  3454.  
  3455.        PROGRAMMING IN MICROSOFT QUICKBASIC v4.0 AND v4.5:
  3456.  
  3457.        All the techniques mentioned  for Standard  Basic above  are valid for
  3458.        Microsoft's QuickBasic compiler.  However, in QuickBasic v4.0 and v4.5
  3459.        additional means are at our disposal.
  3460.  
  3461.        TheDraw produces QuickBasic compatible  object files  (.OBJ) which are
  3462.        directly linkable.   Each  TheDraw QuickBasic object file contains the
  3463.        screen image data  plus  four  functions  for  referencing  that data.
  3464.        These  are  shown  as  used  within  QuickBasic,  assuming the default
  3465.        identifier of "IMAGEDATA":
  3466.  
  3467.              DECLARE FUNCTION IMAGEDATA&
  3468.              DECLARE FUNCTION IMAGEDATAWIDTH%
  3469.              DECLARE FUNCTION IMAGEDATADEPTH%
  3470.              DECLARE FUNCTION IMAGEDATALENGTH%
  3471.  
  3472.        Saving the object file  with a  different identifier,  such as "TEST",
  3473.        alters the above accordingly.  ie:
  3474.  
  3475.              DECLARE FUNCTION TEST&
  3476.              DECLARE FUNCTION TESTWIDTH%
  3477.              DECLARE FUNCTION TESTDEPTH%
  3478.              DECLARE FUNCTION TESTLENGTH%
  3479.  
  3480.        The functions  are used  in conjunction  with the QB4UTIL.LIB library,
  3481.        which contains the display subroutines.  The first function, IMAGEDATA
  3482.        (or whatever  identifier name),  returns the location of the data.  It
  3483.        is used as a parameter to one of the display subroutines.  ie:
  3484.  
  3485.          CALL UNCRUNCH (IMAGEDATA&, 0)            Use whichever is
  3486.          CALL ASCIIDISPLAY (IMAGEDATA&, 0)     <- appropriate to the
  3487.          CALL NORMALDISPLAY (IMAGEDATA&, 0)       file created by TheDraw
  3488.  
  3489.        The next two functions return the  width and  depth dimensions  of the
  3490.        screen image  block.   For instance,  a typical screen would return 80
  3491.        and 25 respectfully (using EGA/VGA displays  might cause  the depth to
  3492.        increase).    These  parameters  are useful for determining window and
  3493.        viewport sizes, computing area, etc...
  3494.  
  3495.        The last function returns  the length  of the  data as  stored in your
  3496.        program.  A crunched image or a small data block could be quite small.
  3497.        A 80x25 normal binary screen image would be 4000 bytes.
  3498.  
  3499.        To  use  TheDraw  object   files  within   the  QuickBasic  integrated
  3500.        environment  requires  the  making  of  a Microsoft Quick Library.  If
  3501.        linking together your program externally, the QB4UTIL.LIB file must be
  3502.        included  as  it  contains  the  required  Uncrunch, AsciiDisplay, and
  3503.        NormalDisplay routines.
  3504.  
  3505.  
  3506.  
  3507.  
  3508.  
  3509.        TheDraw v4.63           Pull Down Menu System            45
  3510.  
  3511.  
  3512.  
  3513.  
  3514.        MAKING AND USING QUICK LIBRARIES:
  3515.  
  3516.        To  ease  the  use  of  TheDraw  object  files,  a  batch  file called
  3517.        MAKEQLB.BAT  is  included.    The  batch  file  creates both the Quick
  3518.        Library files (.QLB extension) and separate library files (.LIB).
  3519.  
  3520.        Once MAKEQLB has run  successfully,  you  can  use  the  Quick Library
  3521.        within the environment.  ie:
  3522.  
  3523.                 QB /L testfile.QLB
  3524.  
  3525.        In addition,  linking at  the Dos  prompt is  simplified since all you
  3526.        need include is the one file.  ie:
  3527.  
  3528.             LINK program.OBJ+testfile.LIB,,,,;
  3529.  
  3530.           (program.OBJ is assumed created by the BC.EXE compiler)
  3531.  
  3532.        MAKEQLB.BAT must  be in  the same  directory as  LINK.EXE, LIB.EXE and
  3533.        BRUN40.LIB or  BRUN45.LIB (depending  on your  version of QuickBasic),
  3534.        plus the TheDraw object files.  The parameters are:
  3535.  
  3536.           MAKEQLB <targetlib> <objectfile1> <objectfile2> etc...
  3537.  
  3538.        The <targetlib> is any library filename you want.  Do -not- put a file
  3539.        extension on  this! (see example below)  The batch adds the extensions
  3540.        .QLB and .LIB automatically for you.  The  <objectfile> parameters are
  3541.        the TheDraw made object files.
  3542.  
  3543.            ─────────────────── Example run ────────────────────
  3544.  
  3545.           THEDRAW
  3546.              ....assume users creates the QB object files
  3547.               IMAGE1.OBJ and IMAGE2.OBJ
  3548.  
  3549.           MAKEQLB IMAGES IMAGE1.OBJ IMAGE2.OBJ
  3550.              ....creates the files IMAGES.QLB & IMAGES.LIB
  3551.               containing the two above object files plus
  3552.               the required display routines.
  3553.  
  3554.           QB /L IMAGES.QLB
  3555.              ....runs QuickBasic using new Quick Library.
  3556.  
  3557.            ────────────────────────────────────────────────────
  3558.  
  3559.        Once the  Quick Library  is constructed,  using the screen images is a
  3560.        simple matter of calling a display routine.  The display routines must
  3561.        be declare within QuickBasic before they can be called.
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.        TheDraw v4.63           Pull Down Menu System            46
  3569.  
  3570.  
  3571.  
  3572.  
  3573.        THE DISPLAY ROUTINES:
  3574.  
  3575.        The  file  QB4UTIL.BI  lists  the  display  routine  declarations  for
  3576.        convenience.  At the top of your program,  simply include  it with the
  3577.        following meta command:
  3578.  
  3579.                 REM $INCLUDE: 'QB4UTIL.BI'
  3580.  
  3581.  
  3582.        Four routines are declared within this file:
  3583.  
  3584.       UNCRUNCH            Contains  algorithm  needed to display crunched
  3585.                   screen images.
  3586.       ASCIIDISPLAY        Display ascii-only object files.
  3587.       NORMALDISPLAY       Display normal binary object files.
  3588.       INITSCREENARRAY     Initialize  a   dynamic   array   for  directly
  3589.                   accessing  the  video  screen.    Can  be  used
  3590.                   instead of DEF SEG, PEEK, and POKE.
  3591.  
  3592.  
  3593.        The actual declarations are:
  3594.  
  3595.            DECLARE SUB UNCRUNCH (X&, Z%)
  3596.            DECLARE SUB ASCIIDISPLAY (X&, Z%)
  3597.            DECLARE SUB NORMALDISPLAY (X&, Z%)
  3598.            DECLARE SUB INITSCREENARRAY (A%())
  3599.  
  3600.  
  3601.        The first parameter to  the display  routines is  the identifier saved
  3602.        within a given object file (ie: IMAGEDATA&).
  3603.  
  3604.        The second  parameter of  each display  call is the video location the
  3605.        image will appear.  The upper left screen corner is offset 0 with each
  3606.        line taking 160 bytes (each screen character uses two bytes).  ie:
  3607.  
  3608.            line 1 = offset 0
  3609.            line 2 = offset 160
  3610.            line 3 = offset 320
  3611.            line 4 = offset 480
  3612.            etc...
  3613.  
  3614.        To compute  an arbitrary  video location,  for any text mode including
  3615.        the 43/50 line EGA/VGA modes, use the formula:
  3616.  
  3617.                Video Offset  =  (X-1)*2 + (Y-1)*160
  3618.  
  3619.        X is the horizontal column number, and Y is the vertical line number.
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.        TheDraw v4.63           Pull Down Menu System            47
  3628.  
  3629.  
  3630.  
  3631.  
  3632.        Example  program  using  image  screens.    Assume  three  screens are
  3633.        available with  the identifiers  Q1, Q2,  and Q3.   Q1 is crunched, Q2
  3634.        saved as Ascii-Only, and Q3 saved with normal binary.
  3635.  
  3636.       REM $INCLUDE: 'QB4UTIL.BI'    ' Get display routine declarations
  3637.  
  3638.       DECLARE FUNCTION Q1&      ' Important!  Do not neglect either
  3639.       DECLARE FUNCTION Q1Width%     ' the "&" or "%" symbols on function
  3640.       DECLARE FUNCTION Q1Depth%     ' declarations shown here.
  3641.       DECLARE FUNCTION Q1Length%
  3642.       DECLARE FUNCTION Q2&
  3643.       DECLARE FUNCTION Q2Width%
  3644.       DECLARE FUNCTION Q2Depth%
  3645.       DECLARE FUNCTION Q2Length%
  3646.       DECLARE FUNCTION Q3&
  3647.       DECLARE FUNCTION Q3Width%
  3648.       DECLARE FUNCTION Q3Depth%
  3649.       DECLARE FUNCTION Q3Length%
  3650.  
  3651.       CLS                    ' Clear screen
  3652.       PRINT "Screen #1 (Crunched)"       ' Print data of this image then
  3653.       PRINT "  Width: "; Q1Width%        ' pause for user.
  3654.       PRINT "  Depth: "; Q1Depth%
  3655.       PRINT "  Length:"; Q1Length%
  3656.       WHILE INKEY$ = "": WEND
  3657.       CLS                    ' Clear screen
  3658.       CALL UNCRUNCH(Q1&, 0)          ' Go uncrunch first image
  3659.       WHILE INKEY$ = "": WEND            ' Pause
  3660.  
  3661.       CLS
  3662.       PRINT "Screen #2 (Ascii Only)"     ' Print data on second image
  3663.       PRINT "  Width: "; Q2Width%        ' and pause for user.
  3664.       PRINT "  Depth: "; Q2Depth%
  3665.       PRINT "  Length:"; Q2Length%
  3666.       WHILE INKEY$ = "": WEND
  3667.       CLS
  3668.       CALL ASCIIDISPLAY(Q2&, 0)          ' Display ascii-only image data.
  3669.       WHILE INKEY$ = "": WEND            ' Pause
  3670.  
  3671.       CLS
  3672.       PRINT "Screen #3 (Normal Binary)"  ' Print data on third image
  3673.       PRINT "  Width: "; Q3Width%        ' and pause for user.
  3674.       PRINT "  Depth: "; Q3Depth%
  3675.       PRINT "  Length:"; Q3Length%
  3676.       WHILE INKEY$ = "": WEND
  3677.       CLS
  3678.       CALL NORMALDISPLAY(Q3&, 0)         ' Display normal binary image.
  3679.       WHILE INKEY$ = "": WEND            ' Pause
  3680.  
  3681.  
  3682.  
  3683.  
  3684.  
  3685.  
  3686.        TheDraw v4.63           Pull Down Menu System            48
  3687.  
  3688.  
  3689.  
  3690.  
  3691.       REM $DYNAMIC               ' Setup dynamic integer array
  3692.       DIM SCREEN%()              ' mapped over video display.
  3693.       INITSCREENARRAY (SCREEN%())
  3694.  
  3695.       FOR Y% = 1 TO 25               ' Make screen scroll downward.
  3696.          FOR X% = 1999 TO 160 STEP -1
  3697.         SCREEN%(X%) = SCREEN%(X%-160)
  3698.          NEXT
  3699.  
  3700.          FOR X% = 0 TO 159 : SCREEN%(X%) = 0 : NEXT   ' Clear top line.
  3701.          FOR X% = 0 TO 1000 : NEXT            ' Slow things down.
  3702.       NEXT
  3703.       END
  3704.  
  3705.        The first call (to  UNCRUNCH) displays  Q1 in  the upper  left corner.
  3706.        The second  call (to  ASCIIDISPLAY) displays  IMAGE2 on the sixth line
  3707.        down, in  the center  of the  screen (40  characters over).   The file
  3708.        QB4UTIL.BI  contains   a  complete  description  of  all  the  display
  3709.        routines for you.
  3710.  
  3711.        Note in the above  example, everything  available in  a TheDraw object
  3712.        file  was  declared  and  used  (the Image, the width, depth, and data
  3713.        length) for example purposes.   In  normal use  you need  only declare
  3714.        what you  need.   If you  always used 80x25 screens, there would be no
  3715.        need to access the image width and depth for instance.
  3716.  
  3717.        The INITSCREENARRAY sets up a  dynamic  array  mapped  over  the video
  3718.        display.   To directly  manipulate the screen, you can perform various
  3719.        useful operations with this  array.   For instance,  the above example
  3720.        scrolls the  screen downward  thus clearing  the screen.  You may find
  3721.        this more convenient than setting  up  DEF  SEG,  and  using PEEK/POKE
  3722.        operations.   Initializing the  array requires the following (the name
  3723.        used here is "screen" but can be changed to anything):
  3724.  
  3725.          REM $DYNAMIC
  3726.          DIM SCREEN%()
  3727.          INITSCREENARRAY (SCREEN%())
  3728.  
  3729.        After  initializing  the  array,   individual   screen   elements  are
  3730.        available.  To put a yellow letter "A" on the screen:
  3731.  
  3732.          SCREEN%(0) = ASC('A') + 256*14
  3733.  
  3734.        Compare against  the equivalent PEEK/POKE approach (assume DEF SEG has
  3735.        been initialized to &HB800 for color, or &HB000 for monochrome video):
  3736.  
  3737.          POKE 0,ASC('A')
  3738.          POKE 1,14
  3739.  
  3740.        Pick whichever approach you feel most comfortable with.
  3741.  
  3742.  
  3743.  
  3744.  
  3745.        TheDraw v4.63           Pull Down Menu System            49
  3746.  
  3747.  
  3748.  
  3749.  
  3750.        COMMAND LINE COMPILATION:
  3751.  
  3752.        The  above  examples  all  assume  using   the  QuickBasic  integrated
  3753.        environment.    For  most  users  this is adequate.  However, the more
  3754.        sophisticated user might prefer their  own  text  editor  and  use dos
  3755.        compilation.
  3756.  
  3757.        Using TheDraw  object files  is done  exactly as described previously.
  3758.        Create the .OBJ files, and use  MAKEQLB to  produce the  Quick Library
  3759.        (.QLB) and stand alone (.LIB) library files.  ie:
  3760.  
  3761.       MAKEQLB IMAGES IMAGE1.OBJ IMAGE2.OBJ IMAGE3.OBJ
  3762.  
  3763.        Compile your source code normally using the BC program.  ie:
  3764.  
  3765.       BC MYCODE.BAS,,,;
  3766.  
  3767.        When linking  your program,  simply add  the stand  alone library from
  3768.        MAKEQLB to your command line when making your .EXE file:
  3769.  
  3770.       LINK MYCODE+IMAGES.LIB,,,,;
  3771.  
  3772.        It is possible to bypass the MAKEQLB step,  but then  all screen image
  3773.        objects plus  TheDraw's display  routines must  be added  to your link
  3774.        command:
  3775.  
  3776.       LINK MYCODE+QB4UTIL.LIB+IMAGE1+IMAGE2+IMAGE3,,,,;
  3777.  
  3778.        The MAKEQLB approach eliminates some of the extra typing in  the final
  3779.        command line.   Since  MAKEQLB is  normally run when updating screens,
  3780.        using it saves time and cuts down on typing errors.
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.  
  3804.        TheDraw v4.63           Pull Down Menu System            50
  3805.  
  3806.  
  3807.  
  3808.  
  3809.        PROGRAMMING IN CLIPPER(TM) (courtesy of Ian Thurston):
  3810.  
  3811.  
  3812.        A full TheDraw screen saved as  a  BINARY  file  (.BIN)  has  the same
  3813.        format as  the Clipper  compiler uses to "SAVE SCREEN TO <expc>".  For
  3814.        both Clipper and TheDraw,  a full  text screen  save consists  of 2000
  3815.        "words"  (or  4000  bytes).    Each  word represents the character and
  3816.        attribute of a single screen location.
  3817.  
  3818.  
  3819.        Importing Full-Screen BINARY files:
  3820.  
  3821.        We can easily read any file less than 64k bytes into a  Clipper memory
  3822.        variable  with  the  "MEMOREAD"  function.  Combining the MEMOREAD and
  3823.        RESTORE SCREEN command as follows yields:
  3824.  
  3825.          RESTORE SCREEN FROM MEMOREAD("FULL.BIN")
  3826.  
  3827.  
  3828.        Importing Partial-Screen BINARY files:
  3829.  
  3830.        Once again, a partial/block TheDraw  screen  saved  to  a  BINARY file
  3831.        (using  the  ALT-B,Save  command)  has  the  same  format as Clipper's
  3832.        corresponding command:
  3833.  
  3834.          "<expC>=SAVESCREEN(top,left,bottom,right)"
  3835.  
  3836.        For example, assume TheDraw was used to prepare a screen.  It was then
  3837.        blocked using  ALT-B, with the upper left corner at row 10, column 10,
  3838.        while the lower right corner was at  row  20,  column  70.    The Save
  3839.        option was  selecting using  the Binary  option, and saved to the file
  3840.        "PARTIAL.BIN"
  3841.  
  3842.        Again, the TheDraw Binary file is read into a Clipper  memory variable
  3843.        using the  "MEMOREAD" function,  which itself  is used as the argument
  3844.        for the partial screen restore function RESTSCREEN (t,l,b,r,<expC>):
  3845.  
  3846.          RESTSCREEN (10,10,20,70,MEMOREAD("PARTIAL.BIN"))
  3847.  
  3848.        Note:  As is usual with this sort of function, a block can be restored
  3849.        at  a  different  screen  location  ...  but the width and height must
  3850.        remain the same, else the display  will look  very ugly  indeed.  Also
  3851.        correct programming  practice would  have us  check for file existence
  3852.        and length before trying these techniques.  You may choose to wrap the
  3853.        functions inside a parameter checking shell.
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.        TheDraw v4.63           Pull Down Menu System            51
  3864.  
  3865.  
  3866.  
  3867.  
  3868.        Combining Multiple BINARY (.BIN) Files:
  3869.  
  3870.        If quite  a few  Binary files  will be stored on disk and incorporated
  3871.        into an application, why not combine them into one Clipper database to
  3872.        simplify  things?    The  process  for accomplishing this is described
  3873.        below:
  3874.  
  3875.        a. Create a database for .BIN files using the following structure:
  3876.  
  3877.          Structure for database: BIN.DBF
  3878.  
  3879.          Field Field_Name Type        Width    Dec
  3880.          1 BIN_NAME   Character      8
  3881.          2 BIN_TOP    Numeric        2
  3882.          3 BIN_LEFT   Numeric        2
  3883.          4 BIN_BOTTOM Numeric        2
  3884.          5 BIN_RIGHT  Numeric        2
  3885.          6 BIN_SCREEN Memo          10
  3886.  
  3887.  
  3888.        b. Using the MEMOREAD function,  import  the  BIN  files  as character
  3889.        variables, then  store them in memo field BIN_SCREEN using the REPLACE
  3890.        command.  Next, save  the  screen  display  coordinates  into BIN_TOP,
  3891.        BIN_LEFT,  BIN_BOTTOM,   and  BIN_RIGHT  (for  a  full  screen,  those
  3892.        coordinates are 0,0,24, and 79).  Finally, store a meaningful name for
  3893.        the screen in BIN_NAME (ie: "MAINMENU" for a main menu display).
  3894.  
  3895.        c. Index the file on BIN_NAME.
  3896.  
  3897.        ----
  3898.        Now to use this file, we need the following function:
  3899.  
  3900.        ********
  3901.        FUNCTION showbins
  3902.        ********
  3903.        PARAMETERS screename
  3904.        PRIVATE tempselect
  3905.        tempselect=SELECT()         && Keep track of where we were working
  3906.        IF SELECT("BIN") = 0        && Check to see if BIN has been opened
  3907.       SELECT 0             && If not, find a blank work area,
  3908.       USE bin INDEX bin_name   && and then open up BIN for use
  3909.        ENDIF
  3910.        SELECT bin              && Go to the BIN area
  3911.        SEEK screename           && Look for the specified screen
  3912.        IF FOUND()              && and show it if it exists
  3913.       RESTSCREEN (bin_top,bin_left,bin_bottom,bin_right,bin_screen)
  3914.        ENDIF
  3915.        SELECT (tempselect)         && return to the original work area
  3916.        RETURN .T.
  3917.  
  3918.        Example Usage:
  3919.       SHOWBINS("MAINMENU")
  3920.  
  3921.  
  3922.        TheDraw v4.63           Pull Down Menu System            52
  3923.  
  3924.  
  3925.  
  3926.  
  3927.        PROGRAMMING IN CLIPPER (courtesy of Larry Stewart):
  3928.  
  3929.        The Clipper compiler uses the same format as TheDraw's BINARY save for
  3930.        it's "SAVE  SCREEN to  memvar" and  SAVESCREEN() functions.   The code
  3931.        example that  follows shows how to retrieve a .BIN file and display it
  3932.        in your compiled EXE program.
  3933.  
  3934.        FUNCTION SHOW_BIN
  3935.  
  3936.        * SYNTAX:    SHOWBIN( <name> [, <expN1>, <expN2>, <expN3>, <expN4> ] )
  3937.        * PURPOSE:   Display a full or partial screen from a .BIN file
  3938.        * ARGUMENTS: <name> contains the name of the .BIN file from TheDraw
  3939.        *        If <expN1> through <expN4> are not present, the routine
  3940.        *        assumes a full screen display will be restored.
  3941.        *        <expN1> is the top row for a partial screen
  3942.        *        <expN2> is the left column for the partial screen
  3943.        *        <expN3> is the bottom row for the partial screen
  3944.        *        <expN4> is the right column for the partial screen
  3945.  
  3946.        PARAMETER binfile,t,l,b,r
  3947.        PRIVATE m_buffer,m_handle,m_bytes,m_size
  3948.  
  3949.        IF ! ("." $ binfile)              && Does file have an extension?
  3950.       binfile = binfile+".BIN"           && No, default to .BIN
  3951.        ENDIF
  3952.  
  3953.        IF ! FILE(binfile)                && Does file exist on disk?
  3954.       RETURN .F.                  && No, return FAIL value.
  3955.        ENDIF
  3956.  
  3957.        IF PCOUNT() = 1               && Any border dimensions passed?
  3958.      m_buffer = SPACE(4000)          && If not, assume full screen.
  3959.      m_handle = FOPEN(binfile,0)
  3960.      m_bytes = FREAD(m_handle,@m_buffer,4000)
  3961.      FCLOSE(m_handle)
  3962.      IF m_bytes = 4000
  3963.        RESTORE SCREEN FROM m_buffer
  3964.        RETURN .T.
  3965.      ELSE
  3966.        RETURN .F.                 && Error if  .BIN  file did
  3967.        not
  3968.      ENDIF                   && contain 4000 bytes.
  3969.        ENDIF
  3970.  
  3971.        IF PCOUNT() != 5              && Check for correct number of
  3972.      RETURN .F.                   && parameters.
  3973.        ENDIF
  3974.  
  3975.        m_size = 2*((r-l+1)*(b-t+1))          &&  Compute  number  of bytes in
  3976.        m_buffer = SPACE(m_size)          && box.  Allocate space for it.
  3977.        m_handle = FOPEN(binfile,0)
  3978.        m_bytes = FREAD(m_handle,@m_buffer,m_size)
  3979.  
  3980.  
  3981.        TheDraw v4.63           Pull Down Menu System            53
  3982.  
  3983.  
  3984.  
  3985.  
  3986.        FCLOSE (m_handle)
  3987.        IF m_bytes = m_size
  3988.      RESTSCREEN (t,l,b,r,m_buffer)
  3989.      RETURN .T.
  3990.        ELSE
  3991.      RETURN .F.                   && Error  if  file  not big
  3992.        enough.
  3993.        ENDIF
  3994.  
  3995.        Please note:   When  you save  a box (binary block save) with TheDraw,
  3996.        the screen position and dimensions are not recorded in the  .BIN file.
  3997.        The box  may be  restored to  your screen  at any position you choose;
  3998.        however, the dimensions of the box -cannot- be  changed.   If you try,
  3999.        the box  will appear  distorted or  the above routine will generate an
  4000.        error.
  4001.  
  4002.        Examples:
  4003.  
  4004.       SHOWBIN ("EXAMPLE1")
  4005.          Displays the full screen image in the file EXAMPLE1.
  4006.  
  4007.       SHOWBIN ("EXAMPLE2",10,20,20,60)
  4008.          Displays the 40 by  10  block  in  EXAMPLE2  at  screen position
  4009.          (20,10).
  4010.  
  4011.  
  4012.  
  4013.  
  4014.  
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020.  
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.  
  4040.        TheDraw v4.63           Pull Down Menu System            54
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046.                    PULL DOWN MENU SYSTEM
  4047.  
  4048.  
  4049.        TheDraw can  be fully  controlled via the use of pull down menus.  The
  4050.        menus greatly  simplify learning  TheDraw by  conveniently showing all
  4051.        related commands.   Each menu also displays the corresponding shortcut
  4052.        keystrokes (such as ALT-L for files loading).
  4053.  
  4054.        The pull down menus are activated from command  mode using  one of two
  4055.        ways.   Pressing either  the [ESC]  key on  the keyboard or if using a
  4056.        mouse the RIGHT-most button.   The  following options  bar will appear
  4057.        across the top of the screen:
  4058.  
  4059.        ┌──────────────────────────────────────────────────────────────────┐
  4060.        │ Files Global Options Screen foNts Animation   Color Toggles Help │
  4061.        └──────────────────────────────────────────────────────────────────┘
  4062.  
  4063.        Each  heading  is  briefly  described  below.    For  full  functional
  4064.        descriptions, please  refer to  the appropriate  section under THEDRAW
  4065.        KEYBOARD COMMANDS.
  4066.  
  4067.  
  4068.        The FILES Menu
  4069.        ──────────────
  4070.        The  Files  pull-down  menu  offers  assorted  options  for loading or
  4071.        viewing existing files, deleting  old  files,  and  saving  the screen
  4072.        image currently  being edited.   When you load a file, it is read into
  4073.        the screen edit area.  When done with a file, you can  save it  to any
  4074.        directory  or  file  name.    In addition, from this pull-down you can
  4075.        change to another directory, temporarily go  to a  Dos Shell,  or exit
  4076.        TheDraw completely.
  4077.  
  4078.  
  4079.       ════════════════════════════════════════════════════════════════
  4080.       FILES Global Options Screen foNts Animation   Color Toggles Help
  4081.       ┌───────────────────┐
  4082.       │ Load    Alt-L │
  4083.       │ View    Alt-V │
  4084.       │ Delete      Alt-K │
  4085.       │ Change Dir  Alt-O │
  4086.       │ Save    Alt-S │
  4087.       │ Quit    Alt-X │
  4088.       └───────────────────┘
  4089.       ════════════════════════════════════════════════════════════════
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.        TheDraw v4.63           Pull Down Menu System            55
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.        LOAD - Load a File (ALT-L)
  4106.  
  4107.       Displays a list of files under the current directory.   You can use
  4108.       DOS-style wildcard  masks for  a listing  of specific wanted files.
  4109.       Simply type in the name of the file to load  or use  the arrow keys
  4110.       to move the selector bar and press [ENTER].  Activate the pick list
  4111.       by pressing the TAB key or the RIGHT-most mouse button.
  4112.  
  4113.  
  4114.        VIEW - View a File (ALT-V)
  4115.  
  4116.       Similar to LOAD,  except  the  image  is  loaded  only temporarily.
  4117.       Pressing [ENTER] returns to command mode.
  4118.  
  4119.  
  4120.        DELETE - Delete a File (ALT-K)
  4121.  
  4122.       Allows  files  to  be  deleted  from  within  TheDraw.   The screen
  4123.       operates identically to the  LOAD  option  above.    The difference
  4124.       being TheDraw will attempt to delete any file you select.
  4125.  
  4126.  
  4127.        CHANGE DIR - Change Working Directory (ALT-O)
  4128.  
  4129.       Displays all  subdirectories in  the current directory.  Select the
  4130.       wanted directory by typing  it  in  or  using  the  arrow  keys and
  4131.       pressing  [ENTER].    To  change  to another drive, simply type the
  4132.       wanted drive followed by a colon.  ie: "C:"
  4133.  
  4134.  
  4135.        SAVE - Save Current Screen to a File (ALT-S)
  4136.  
  4137.       Saves current screen image to one of a variety of file formats.
  4138.  
  4139.  
  4140.        QUIT - Quit/Shell from TheDraw (ALT-X)
  4141.  
  4142.       Allows you to either exit TheDraw  completely or  leave the program
  4143.       just temporarily.  In both cases, you end up at the Dos prompt.
  4144.  
  4145.       To return  to TheDraw  from a Dos Shell, type EXIT.  This is useful
  4146.       when you want to run a DOS command without quitting TheDraw.
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.        TheDraw v4.63           Pull Down Menu System            56
  4159.  
  4160.  
  4161.  
  4162.  
  4163.        The GLOBAL Menu
  4164.        ───────────────
  4165.        The global  menu offers  options that  affect the  entire edit screen.
  4166.        These  options  include  moving  and  copying  the screen, plus global
  4167.        screen fills and text operations.
  4168.  
  4169.  
  4170.       ════════════════════════════════════════════════════════════════
  4171.       Files GLOBAL Options Screen foNts Animation   Color Toggles Help
  4172.            ┌──────────────────┐
  4173.            │ Copy     Alt-G,C │
  4174.            │ Move     Alt-G,M │
  4175.            │ Fill     Alt-G,F │
  4176.            │ Text     Alt-G,T │
  4177.            │ rePlace  Alt-G,P │
  4178.            └──────────────────┘
  4179.       ════════════════════════════════════════════════════════════════
  4180.  
  4181.  
  4182.        COPY - Global Screen Copy (ALT-G,Copy)
  4183.  
  4184.       Copies the current screen page to another page.   You  are prompted
  4185.       for which destination page you want.
  4186.  
  4187.  
  4188.        MOVE - Global Screen Movement (ALT-G,Move)
  4189.  
  4190.       Allows  the  rotating  of  the  screen around its borders.  Use the
  4191.       arrow keys or the mouse.  Press [ENTER] or the LEFT mouse button to
  4192.       save at the new location.
  4193.  
  4194.  
  4195.        FILL - Global Fill Screen (ALT-G,Fill)
  4196.  
  4197.       Fills  the  entire  screen  based  on a specified sub-command.  The
  4198.       available  options  allow  just  the  color  attributes,  just  the
  4199.       characters, or both to be changed at once.
  4200.  
  4201.  
  4202.        TEXT - Global Text Operations (ALT-G,Text)
  4203.  
  4204.       Performs  various  screen  text  operations.   Available suboptions
  4205.       are:  Draw Box, Outline contents  of screen,  Center Justify screen
  4206.       contents, Left Justify, and Right Justify.
  4207.  
  4208.        REPLACE - Global Screen Replace (ALT-G,rePlace)
  4209.  
  4210.       Replaces  all  occurrences  of  the  current  character  (under the
  4211.       cursor) with  any  combination  of  current  attributes  and  a new
  4212.       character.
  4213.  
  4214.  
  4215.  
  4216.  
  4217.        TheDraw v4.63           Pull Down Menu System            57
  4218.  
  4219.  
  4220.  
  4221.  
  4222.        The OPTIONS Menu
  4223.        ────────────────
  4224.        The Options  menu contains  facilities to  aid you  in the layout of a
  4225.        screen design.  Commands affect things like the current character set,
  4226.        the  Tab  line  setup,  and  the  on-screen  ruler.  A screen painting
  4227.        function is available also.
  4228.  
  4229.       ════════════════════════════════════════════════════════════════
  4230.       Files Global OPTIONS Screen foNts Animation   Color Toggles Help
  4231.               ┌───────────────────────┐
  4232.               │ Character Set   Alt-F │
  4233.               │ At-Codes Chart  Alt-Q │
  4234.               │ Tab Setup       Alt-T │
  4235.               │ Ruler       Alt-N │
  4236.               │ Paint/Fill      Alt-P │
  4237.               │───────────────────────│
  4238.               │ Setup Options         │
  4239.               └───────────────────────┘
  4240.       ════════════════════════════════════════════════════════════════
  4241.  
  4242.  
  4243.        CHARACTER SET - Display and Select Character Set (ALT-F)
  4244.  
  4245.       Shows  a  screen  containing  all  special  IBM  extended character
  4246.       symbols.   From this  you can  select which character set you would
  4247.       like to work with.  Use the arrow keys or the mouse.  Press [ENTER]
  4248.       to save your choice.
  4249.  
  4250.  
  4251.        AT-CODES CHART - Quick Reference of PCBoard/Wildcat AT-CODES (ALT-Q)
  4252.  
  4253.       Shows a  window containing the AT-Code commands used by the PCBoard
  4254.       and Wildcat bulletin board systems.   Use arrows  keys or  mouse to
  4255.       scroll,  and  press  [ENTER]  to  place  your  choice into the edit
  4256.       screen.  Note the codes are drawn simply as normal  text, using the
  4257.       current color  attributes.  TheDraw has no awareness of these codes
  4258.       beyond the quick reference chart.  Partly altering  the colors used
  4259.       in a command code affects screen saving.
  4260.  
  4261.  
  4262.        TAB SETUP - Adjust TheDraw Tab Stops (ALT-T)
  4263.  
  4264.       This command  permits the  setting of tabs in the editor (positions
  4265.       where the [TAB] key stops).  Initially the  positions are  at every
  4266.       tenth column.   Sub-commands  are available  for setting, clearing,
  4267.       and resetting tabs.
  4268.  
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275.  
  4276.        TheDraw v4.63           Pull Down Menu System            58
  4277.  
  4278.  
  4279.  
  4280.  
  4281.  
  4282.        RULER - On-Screen Ruler (ALT-N)
  4283.  
  4284.       Places a pair of lines on the screen which intersect  at the cursor
  4285.       position.   Move the  ruler using  arrows or the mouse.  [ENTER] or
  4286.       LEFT mouse button saves the new cursor position.   This  command is
  4287.       useful for  aligning items of the screen.  The ruler can be held on
  4288.       the screen by selecting the [S]ticky option.
  4289.  
  4290.  
  4291.        PAINT/FILL - Enclosed Area Painter (ALT-P)
  4292.  
  4293.       Lets you fill an enclosed area easily with  characters and/or color
  4294.       attributes.    An  area  is  defined as any shape formed using line
  4295.       characters (from function key sets  1-4).    To  use  this command,
  4296.       position the  cursor inside  the target  area before activating the
  4297.       pull down menus.
  4298.  
  4299.  
  4300.        SETUP OPTIONS - Default Setup Configuration (no separate key sequence)
  4301.  
  4302.       Provides access to many  of the  configurable defaults  while using
  4303.       TheDraw.  The following options may be changed:
  4304.  
  4305.       WORKSHEET WIDTH
  4306.          Choose how  wide the  edit buffer  should be.   Either 80 or 160
  4307.          characters.
  4308.  
  4309.       WORKSHEET DEPTH
  4310.          Choose how deep the edit buffer should be.  Can  be 23,  25, 43,
  4311.          50, or  100 lines.  Note the worksheet depth cannot be less than
  4312.          the video mode in use.    For  example,  if  using  43  line EGA
  4313.          editing the worksheet depth may only be 43 or 50 lines.
  4314.  
  4315.          An  exception  is  the  23  line buffer, available only with the
  4316.          standard 80x25 video mode.   Using  the 23  line buffer disables
  4317.          full screen editing and [CTRL-PRTSC] is ignored.
  4318.  
  4319.       VIDEO SCREEN MODE
  4320.          Choose  one  of  the  following  video  edit modes:  Standard 80
  4321.          character by 25 lines (80x25), 80x43 (if using  an EGA  card) or
  4322.          80x50 (if using a VGA card).
  4323.  
  4324.       MAINTAIN FILE DIRECTORY LISTING WILDCARDS
  4325.          Tells TheDraw  to maintain  wildcards specified in the directory
  4326.          listing available during loading  (or  deleting).    For example
  4327.          entering  "*.BIN"  to  see  all  binary  files would normally be
  4328.          forgotten, unless this option was turned on.
  4329.  
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.        TheDraw v4.63           Pull Down Menu System            59
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.       DEFAULT SAVE SCREEN FORMAT
  4342.          Default file format TheDraw  should select  when saving  a file.
  4343.          Upon hitting ALT-S, you are present with many choices.  Pressing
  4344.          [ENTER] selects  the default  save screen  format.   If you find
  4345.          yourself  using  a  specific  format often, changing the default
  4346.          might make things easier.
  4347.  
  4348.       DEFAULT LOAD SCREEN FORMAT
  4349.          Similar to the above, but  used  during  loading.    If  you are
  4350.          working with  a given  file type regularly, changing the default
  4351.          load format will saves typing the file extension.   ie:   if set
  4352.          to Binary, "DEMO" becomes "DEMO.BIN" instead of "DEMO.ANS".
  4353.  
  4354.       CREATE BACKUP FILES
  4355.          Instructs TheDraw  to generate  backup files  when saving.  If a
  4356.          file  already  exists,  TheDraw  renames  the   existing  file's
  4357.          extension to .BAK before continuing.
  4358.  
  4359.       SAVING FILENAME PICK LIST ON EXIT TO DOS
  4360.          Controls the  saving of  the filename pick list to disk on exit.
  4361.          When off, any accumulated filenames will be lost upon exit.
  4362.  
  4363.       ASK TO SAVE CHANGES BEFORE EXITING
  4364.          TheDraw can be made to prompt  before allowing  exit to  Dos, if
  4365.          changes were made to the current page or any page.
  4366.  
  4367.       USE ALT-KEY HELP WINDOW
  4368.          Holding  down  the  ALT  key  for about three seconds displays a
  4369.          brief pop-up of available commands.  The feature may be disabled
  4370.          by toggling this option.
  4371.  
  4372.       USE QUICK PALETTE
  4373.          The quick palette is normally available when the pull-down menus
  4374.          are displayed.  If you prefer  not using  the Quick  Palette, it
  4375.          can be disabled with this option.
  4376.  
  4377.       BLANK SCREEN AFTER HOW MANY MINUTES
  4378.          TheDraw will  blank the screen by writing blanks if no action is
  4379.          taken for a specified time.  The time delay can be set from 1 to
  4380.          255 minutes, or turned off completely (value of 0).
  4381.  
  4382.       DISK SWAP FILE PATHNAME
  4383.          Used when  doing a Dos Shell (see ALT-X,S).  TheDraw attempts to
  4384.          write all its data  to expanded  memory or  a disk  swap file to
  4385.          provide more  room during  the shell.   If insufficient expanded
  4386.          memory (EMM or EMS) is available, the disk swap file  is used at
  4387.          the  specified  path.    Leaving  this option blank will prevent
  4388.          TheDraw from using a swap file.
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.        TheDraw v4.63           Pull Down Menu System            60
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.       DEFAULT FILENAME EXTENSIONS
  4401.          The default filename extensions TheDraw uses when saving a file.
  4402.          Change  to  your  preference.    For instance, if saving an Ansi
  4403.          file, TheDraw will change "DEMO" into "DEMO.ANS".
  4404.  
  4405.       DEFAULT ASM,PASCAL,C SAVE FORMAT
  4406.          Controls if TheDraw defaults to Normal,  Ascii, or  Crunching of
  4407.          screen data.  See ALT-S for more information.
  4408.  
  4409.       FILTER OUT SOLID SPACES ON TEXT (NON-BINARY) FILES
  4410.          Occasionally   solid   spaces   (entered  with  Shift-Space  key
  4411.          combination) cause  problems with  other programs.   This filter
  4412.          will  convert  all  solid  spaces  to  normal spaces in the data
  4413.          written to disk (for Ansi, Avatar, Ascii, PCBoard, Wildcat, Asm,
  4414.          Pascal, and C formats).
  4415.  
  4416.       FORCE CR/LF ON END OF LINES OF ASCII THAT ARE SCREEN WIDTH
  4417.          TheDraw is  faced with  a dilemma  when saving Ascii files.  The
  4418.          Dos TYPE command automatically wraps the cursor down a line when
  4419.          screen width  text (80 characters) is printed.  TheDraw normally
  4420.          handles this by not writing a  carriage return  sequence (CR/LF)
  4421.          for those  lines, as it is not needed.  However, reading such an
  4422.          Ascii file into other  programs can  cause problems.   Therefore
  4423.          this option  forces TheDraw to always write the CR/LF regardless
  4424.          of anything.  A simple, yet effective, solution.
  4425.  
  4426.       OUTPUT ANY BLANK LINES ON BOTTOM OF FULL-SCREEN SAVE
  4427.          Many times a screen  does not  use the  entire video.   To avoid
  4428.          TheDraw outputing the extra blank lines present on the bottom of
  4429.          such screens, this option can be used.   It will  generate files
  4430.          equivalent to using a block save command.
  4431.  
  4432.       RESET COLORS TO WHITE ON END OF ANSI FILES
  4433.          Controls if TheDraw resets the Ansi colors to white after all is
  4434.          said and done.  Generally of use in  animation files,  where the
  4435.          last character printed is flashing magenta on a green background
  4436.          (or some even worse color combination).
  4437.  
  4438.       DEFAULT ANSI VIDEO PREPARATION
  4439.          Choose if by default TheDraw does  nothing, homes  the cursor to
  4440.          the  upper  left  screen  corder,  or  clears  the screen before
  4441.          displaying an Ansi file.
  4442.  
  4443.       DEFAULT ANSI SLOW DOWN FACTOR
  4444.          Choose how many delay elements TheDraw  inserts by  default into
  4445.          an  Ansi  file.    Normally  used  on  faster  machines  to make
  4446.          animation more appealing (ie: visible).
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452.  
  4453.        TheDraw v4.63           Pull Down Menu System            61
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.       MAXIMUM ANSI LINE LENGTH
  4460.          Controls the maximum line length TheDraw  will permit  a line of
  4461.          Ansi  to  become.    Some  programs have line length limitations
  4462.          (such as bulletin board systems).  Since TheDraw can conceivable
  4463.          generate lines  thousands of characters long, this option allows
  4464.          you to compensate.   The  setting  can  be  between  32  and 255
  4465.          characters, or set to Unlimited if no conflicts exist.
  4466.  
  4467.  
  4468.  
  4469.        The SCREEN Menu
  4470.        ───────────────
  4471.        Use items  in the  Screen menu  to erase  a page  layer or select some
  4472.        other page.  Other options allow you to insert, delete, or restore the
  4473.        contents of individual lines.
  4474.  
  4475.  
  4476.       ════════════════════════════════════════════════════════════════
  4477.       Files Global Options SCREEN foNts Animation   Color Toggles Help
  4478.                   ┌──────────────────────┐
  4479.                   │ Clear Page     Alt-C │
  4480.                   │ Select Page    Alt-E │
  4481.                   │ Insert Line    Alt-I │
  4482.                   │ Delete Line    Alt-Y │
  4483.                   │ Insert Column        │
  4484.                   │ Delete Column        │
  4485.                   │ Restore/Undo   Alt-R │
  4486.                   └──────────────────────┘
  4487.       ════════════════════════════════════════════════════════════════
  4488.  
  4489.  
  4490.        CLEAR PAGE - Clear the Current or All Page Layers (ALT-C)
  4491.  
  4492.       Erases the  image in  the current  page.  You may also opt to erase
  4493.       all page layers in  one fell  swoop for  a completely  clean slate.
  4494.       You will  be prompted  to save  the current  screen if changes have
  4495.       been made.
  4496.  
  4497.  
  4498.        SELECT PAGE - Choose new page layer to display or work on (ALT-E)
  4499.  
  4500.       Prompts for a new  page layer  you wish  to edit.   Enter  a number
  4501.       between one  (1) and  the number of available pages.  The mouse can
  4502.       be used for selection by pressing the RIGHT button.
  4503.  
  4504.  
  4505.        INSERT LINE - Place blank line on screen (ALT-I)
  4506.  
  4507.       Inserts a blank horizontal screen line at the position of  the edit
  4508.       cursor.  This command can be reversed by utilizing the Restore/Undo
  4509.       command (ALT-R).
  4510.  
  4511.  
  4512.        TheDraw v4.63           Pull Down Menu System            62
  4513.  
  4514.  
  4515.  
  4516.  
  4517.  
  4518.        DELETE LINE - Delete current line from screen (ALT-Y)
  4519.  
  4520.       Deletes a horizontal  screen  line  at  the  position  of  the edit
  4521.       cursor.  This command can be reversed by utilizing the Restore/Undo
  4522.       command (ALT-R).
  4523.  
  4524.  
  4525.        INSERT COLUMN - Place blank column on screen (ALT-<left arrow>)
  4526.  
  4527.       Inserts a blank vertical screen column at the position of  the edit
  4528.       cursor.  This command can be reversed by utilizing the Restore/Undo
  4529.       command (ALT-R).
  4530.  
  4531.  
  4532.        DELETE COLUMN - Delete current line from screen (ALT-<right arrow>)
  4533.  
  4534.       Deletes a vertical  screen  column  at  the  position  of  the edit
  4535.       cursor.  This command can be reversed by utilizing the Restore/Undo
  4536.       command (ALT-R).
  4537.  
  4538.  
  4539.        RESTORE/UNDO - Recover from unwanted changes on the screen (ALT-R)
  4540.  
  4541.       Undoes the most recent  changes done  to the  screen.   The restore
  4542.       can "undo" block operations, line insertion or deletions, animation
  4543.       mode toggles, global screen functions, font entry, and  any changes
  4544.       to the  current horizontal  line being  worked on.   Notes with the
  4545.       latter item, once you leave the current horizontal line any changes
  4546.       are permanent.
  4547.  
  4548.  
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  
  4568.  
  4569.  
  4570.  
  4571.        TheDraw v4.63           Pull Down Menu System            63
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.        The FONTS Menu
  4578.        ──────────────
  4579.        The Fonts  pulldown menu  supports choosing various styles and outline
  4580.        types.  The menu shown below  is only  an example.   The  actual fonts
  4581.        available can  vary depending on your configuration.  Additional fonts
  4582.        may be present, or  the  ones  shown  changed.    Ascii  fonts  can be
  4583.        extremely useful  in sprucing  up a  display.   They are excellent for
  4584.        title bars, or whatever you desire.  Upon choosing an  Ascii font, the
  4585.        word "FONT" will appear in the status line.
  4586.  
  4587.       ════════════════════════════════════════════════════════════════
  4588.       Files Global Options Screen FONTS Animation   Color Toggles Help
  4589.                      ┌─────────────────────┐
  4590.                      │ √ Standard Font     │
  4591.                      │   outline Type      │
  4592.                      │─────────────────────│
  4593.                      │   A: Outline      * │
  4594.                      │   B: BigOutline   * │
  4595.                      │   C: ThickOutline   │
  4596.                      │   D: Medium         │
  4597.                      │   E: Rounded        │
  4598.                      │   F: Raster         │
  4599.                      └─────────────────────┘
  4600.       ════════════════════════════════════════════════════════════════
  4601.  
  4602.        STANDARD FONT:
  4603.  
  4604.        The standard  font is  the normal  text lettering associated with each
  4605.        key.  This is the default setting upon loading TheDraw.   The standard
  4606.        font is used for lettering seen in the help screens, the pulldown menu
  4607.        bar, status line, etc...
  4608.  
  4609.  
  4610.        OUTLINE TYPE - Choose a Font Outline:
  4611.  
  4612.        The outline type option  is only  available when  an outline formatted
  4613.        font  is  selected.    These  are  indicated  with  an  asterisk ("*")
  4614.        appearing after the font description.    Outline  formatted  fonts are
  4615.        special in  that they  can appear  in different  styles.  There are 17
  4616.        various styles to choose from.  Some examples are:
  4617.  
  4618.               ┌─────┐     ┌─────╖     █▀▀▀▀▀█
  4619.               │     │     │     ║     █     █
  4620.               │     │     │     ║     █     █
  4621.               │     │     │     ║     █     █
  4622.               └─────┘     ╘═════╝     ▀▀▀▀▀▀▀
  4623.  
  4624.  
  4625.  
  4626.  
  4627.  
  4628.  
  4629.  
  4630.        TheDraw v4.63           Pull Down Menu System            64
  4631.  
  4632.  
  4633.  
  4634.  
  4635.  
  4636.        FONT SELECTION:
  4637.  
  4638.        Remaining options in the fonts submenu select specific fonts.  TheDraw
  4639.        supports the entire visible Ascii character set (#33 to #126).  ie:
  4640.  
  4641.           !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  4642.           PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  4643.  
  4644.        Extended function key symbols are not currently supported.  To enter a
  4645.        given symbol to the edit screen,  simply press  the corresponding key.
  4646.        ie: for  a letter "A", type the "A" key.  The symbol will appear fully
  4647.        in the current color attributes.
  4648.  
  4649.        Not all symbols are necessarily available  in all  fonts.   Some fonts
  4650.        may only  provide the alphabet and numbers.  TheDraw beeps if a wanted
  4651.        symbol is not available.  The original fonts  distributed with TheDraw
  4652.        do not contain any omissions.
  4653.  
  4654.        Once a  font has  been selected,  the word  "FONT" replaces the "Text"
  4655.        indicator on the status  line as  a reminder.   In  addition, once you
  4656.        start typing  symbols the cursor becomes a full block.  So long as the
  4657.        full block cursor is shown, you can use  the BackSpace  key to correct
  4658.        mistakes  on  the  fly.    Press  ALT-R  (Restore/Undo)  to remove any
  4659.        undesired key sequences completely.
  4660.  
  4661.        There are three main types  of  fonts:    Normal  block,  Outline, and
  4662.        Multi-Color fonts.   Normal  fonts are just simple block images.  They
  4663.        are drawn using the  current  color  attributes.    Outline  fonts are
  4664.        special in that the way they are drawn can be changed on the fly using
  4665.        the OUTLINE TYPE command (described above).   Multi-color  fonts are a
  4666.        special breed that define fixed colors in addition to characters.  The
  4667.        current color attributes are ignored.
  4668.  
  4669.        Outline fonts  are indicated  by an  asterisk "*"  appearing after the
  4670.        description.  Multi-color fonts a letter "C".
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.  
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.        TheDraw v4.63           Pull Down Menu System            65
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695.        The ANIMATION Menu
  4696.        ──────────────────
  4697.        Provides  various  facilities  for  working with the TheDraw animation
  4698.        system.  Options  allow  the  display  and  editing  of  the animation
  4699.        sequence.    The  registered  version  of  TheDraw  adds  Limiting and
  4700.        animation markers (as shown below).  Note this menu is  only available
  4701.        when TheDraw is actually in animation mode - otherwise it is disabled.
  4702.  
  4703.  
  4704.       ════════════════════════════════════════════════════════════════
  4705.       Files Global Options Screen foNts ANIMATION   Color Toggles Help
  4706.                        ┌───────────────────────────┐
  4707.                        │ Screen Redraw       Alt-Q │
  4708.                        │ Auto Repeat       ALT-Q,A │
  4709.                        │ Change Character    Alt-W │
  4710.                        │ Erase Character     Alt-Z │
  4711.                        │───────────────────────────│
  4712.                        │ Include Files     Alt-G,I │
  4713.                        │ Limiting          Alt-G,L │
  4714.                        │ marKer            Alt-G,K │
  4715.                        │ Movement Storage  Alt-G,M │
  4716.                        │ Rescan Animation  Alt-G,R │
  4717.                        │ Pause Animation   Alt-G,P │
  4718.                        └───────────────────────────┘
  4719.       ════════════════════════════════════════════════════════════════
  4720.  
  4721.  
  4722.        SCREEN REDRAW - Display the Entire Animation Sequence (ALT-Q)
  4723.  
  4724.       Display the  animation sequence  as entered.  The command is useful
  4725.       for seeing how your work is progressing.   The speed  of the redraw
  4726.       may be  controlled by  specifying a  number between 0 (fastest) and
  4727.       255 (slowest).
  4728.  
  4729.  
  4730.        AUTO REPEAT REDRAW - Display Animation Sequence Repeatedly (ALT-Q,A)
  4731.  
  4732.       Identical to screen redraw, except the animation sequence  is drawn
  4733.       over  and  over  continuously.    You  must  press a key to end the
  4734.       presentation.
  4735.  
  4736.  
  4737.        CHANGE CHARACTER - Edit a Character in Animation Sequence (ALT-W)
  4738.  
  4739.       Allows the editing of a mistyped  animation entry.   Animation mode
  4740.       differs  from  the  normal  edit  mode  in that simply overtyping a
  4741.       character does not replace it.  In animation mode, both entries are
  4742.       remembered -  the incorrect  character, plus  the wanted one.  This
  4743.       command can changes entries without adding unwanted new ones.
  4744.  
  4745.  
  4746.  
  4747.  
  4748.        TheDraw v4.63           Pull Down Menu System            66
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.        ERASE CHARACTER - Delete a Character from Animation Sequence (ALT-Z)
  4755.  
  4756.       Deletes characters from the animation sequence.  As stated above in
  4757.       the CHANGE CHARACTER option, a character is not replaced or deleted
  4758.       in animation mode by overtyping.   To erase  something this command
  4759.       must  be  used.    Only  the  top-most character (the one currently
  4760.       visible) is removed; anything under it is left intact.
  4761.  
  4762.  
  4763.        INCLUDE FILES - Ansi/Ascii Include Files (ALT-J,Include)
  4764.  
  4765.       Allows text files created by  programs  other  than  TheDraw  to be
  4766.       inserted into  Animation sequences.   Particularly  useful for Ansi
  4767.       Music, BBS control codes, and often used sequences.
  4768.  
  4769.  
  4770.        LIMITING - Animation Sequence Editing (ALT-J,Limit) - Registered
  4771.  
  4772.       Limiting gives  total control  over the  animation sequence, making
  4773.       changes anywhere  trivial.   Normally all changes and additions are
  4774.       done on the end of the animation sequence.  By  using limiting, you
  4775.       can move the edit point to anywhere within the sequence.
  4776.  
  4777.       Once the limit point has been set, TheDraw operates only up to that
  4778.       point.  All deletions, additions and correcting are  done where the
  4779.       limit is  specified.  Everything in the sequence above the limit is
  4780.       protected, temporarily out of the way.
  4781.  
  4782.  
  4783.        MARKER - Animation Markers (ALT-J,marKer) - Registered
  4784.  
  4785.       Markers are  used  to  "mark"  or  "tag"  different  places  in the
  4786.       animation sequence  for later  reference.  Once set, markers can be
  4787.       used for quickly changing the animation limit position  (see above)
  4788.       and viewing specific portions of the animation sequence.
  4789.  
  4790.  
  4791.        MOVEMENT STORAGE - Cursor Movement Storage (ALT-J,Movement)
  4792.  
  4793.       Controls whether  or not cursor movement is stored in the animation
  4794.       sequence.    Normally  only   characters  specifically   typed  are
  4795.       recorded.   With this  option turned  on however,  movements of the
  4796.       cursor are also saved (for example, using the mouse or arrow keys).
  4797.  
  4798.  
  4799.        RESCAN ANIMATION - Animation Screen Rescanning (ALT-J,Rescan)
  4800.  
  4801.       Creates a new animation  sequence using  the current  screen image.
  4802.       Any previous animation is lost (unless in animation limiting mode).
  4803.  
  4804.  
  4805.  
  4806.  
  4807.        TheDraw v4.63           Pull Down Menu System            67
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.        PAUSE ANIMATION - Animation Pausing (ALT-J,Pause)
  4814.  
  4815.       Inserts  either  a  keyboard  or  timed  pause  into  the animation
  4816.       sequence.   Gives the opportunity to sit and reflect upon a certain
  4817.       presentation.  Note these pauses are  truly functional  only within
  4818.       TheDraw or  THEPP (The Presentation Program).  In Ansi files, timed
  4819.       pauses cannot be accurately saved.  Keyboard pauses  are flatly not
  4820.       possible with standard Ansi.
  4821.  
  4822.  
  4823.  
  4824.        The COLOR Menu
  4825.        ──────────────
  4826.        Use this menu to select edit colors.  Available options set the normal
  4827.        edit foreground and background  color,  the  default  background color
  4828.        used for  erasing areas,  and "picking up" colors currently used under
  4829.        the cursor.
  4830.  
  4831.  
  4832.       ════════════════════════════════════════════════════════════════
  4833.       Files Global Options Screen foNts Animation   COLOR Toggles Help
  4834.                            ┌─────────────────────┐
  4835.                            │ Fore/Back     Alt-A │
  4836.                            │ Default       Alt-D │
  4837.                            │ Under Cursor  Alt-U │
  4838.                            │ Shading     Alt-A,A │
  4839.                            └─────────────────────┘
  4840.       ════════════════════════════════════════════════════════════════
  4841.  
  4842.  
  4843.        FORE/BACK - Change New Character Fore/Background Color (ALT-A)
  4844.  
  4845.       Displays a screen showing available colors.   Simply  select wanted
  4846.       color using  mouse, arrow keys, or directly typing the number.  See
  4847.       also CTRL-UP/DOWN.
  4848.  
  4849.  
  4850.        DEFAULT - Change Default Erase Background Color (ALT-D)
  4851.  
  4852.       Similar to above, except  changes  default  color.    This  is used
  4853.       whenever  TheDraw  must  erase  an  area,  or otherwise deal with a
  4854.       "void" created by some operation.
  4855.  
  4856.  
  4857.        UNDER CURSOR - Use Colors Currently Under Cursor (ALT-U)
  4858.  
  4859.       Changes new character  fore/background  color  attributes  to those
  4860.       under the  edit cursor.   Very  useful for making quick updates and
  4861.       fixes.
  4862.  
  4863.  
  4864.  
  4865.  
  4866.        TheDraw v4.63           Pull Down Menu System            68
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.        SHADING - Select Color Shading Combination (ALT-A,A)
  4873.  
  4874.       Present only in the registered version of TheDraw.   It  is derived
  4875.       from  the  SHADING.TD  example  file distributed with the shareware
  4876.       version of TheDraw.  Incorporated  in  the  registered  version, it
  4877.       provides a powerful and easy to use tool.
  4878.  
  4879.       A screen is shown containing all available color combinations, when
  4880.       used in conjunction with the block symbols from function key set 6:
  4881.  
  4882.                     ░░  ▒▒  ▓▓
  4883.  
  4884.       Pressing the [SPACE] bar  toggles the  color highlight  on any off.
  4885.       Use  the  arrow  keys  to  select  a color.  The current colors are
  4886.       spelled out along the bottom of the selection window.
  4887.  
  4888.       Press [ENTER]  to  choose  a  color.    The  block  symbol selected
  4889.       becomes the  current "picked"  character, and  can be used with the
  4890.       manual painting keystrokes (shift arrow-keys).
  4891.  
  4892.  
  4893.  
  4894.  
  4895.        The TOGGLES Menu
  4896.        ────────────────
  4897.        The Toggles menu contains settings for controlling how  TheDraw works.
  4898.        The settings  affect things  like line  draw or sprite mode, animation
  4899.        mode toggling, character insert mode, and full screen editing.
  4900.  
  4901.  
  4902.       ════════════════════════════════════════════════════════════════
  4903.       Files Global Options Screen foNts Animation   Color TOGGLES Help
  4904.                            ┌─────────────────────────┐
  4905.                            │ Draw Mode         Alt-M │
  4906.                            │ Color Draw        Alt-- │
  4907.                            │ Sprite Mode     Alt-E,T │
  4908.                            │ Animation Mode    Alt-J │
  4909.                            │ Pick Character    Alt-/ │
  4910.                            │ Insert Mode         Ins │
  4911.                            │ Full Screen  Ctrl-PrtSc │
  4912.                            └─────────────────────────┘
  4913.       ════════════════════════════════════════════════════════════════
  4914.  
  4915.  
  4916.        DRAW MODE - Line Draw Mode Toggle (ALT-M)
  4917.  
  4918.       Turns on/off line drawing mode.  Line drawing is accomplished using
  4919.       characters from function key sets 1 to 4.  In this mode, moving the
  4920.       cursor draws a line.  Useful  for creating  abstract shapes quickly
  4921.       and easily.
  4922.  
  4923.  
  4924.  
  4925.        TheDraw v4.63           Pull Down Menu System            69
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.        COLOR DRAW - Color Draw Mode Toggle (ALT--)
  4932.  
  4933.       Turns on/off  color attribute drawing mode.  Color drawing involves
  4934.       simply changing characters to the current colors.  A manual  way of
  4935.       easily painting an area a given color.
  4936.  
  4937.  
  4938.        SPRITE MODE - Sprite Editing Toggle (ALT-E,Toggle)
  4939.  
  4940.       Turns on/off  TheDraw Sprite  Editing Mode.   Please refer to ALT-E
  4941.       for discussion about this mode.
  4942.  
  4943.  
  4944.        ANIMATION MODE - Animation Mode Toggle (ALT-J)
  4945.  
  4946.       Changes TheDraw from Normal to Animation mode and visa versa.  When
  4947.       going from  Normal to  Animation mode,  a list  of available screen
  4948.       scanners are presented.  Refer to ALT-J for more details.
  4949.  
  4950.  
  4951.        PICK CHARACTER - Select Current Character for Manual Painting (ALT-/)
  4952.  
  4953.       Toggles  manual  painting,  using  the  character  currently  under
  4954.       cursor.   It is  indicated by  a "x"  structure in  the status line
  4955.       (where 'x' is the symbol chosen).    You  manually  paint  with the
  4956.       Shift  Arrow-Key  combinations  (ie:  Shift-Up-Arrow,  Shift-Right-
  4957.       Arrow, etc...).
  4958.  
  4959.       Other ways to pick characters include  using the  Quick Palette, or
  4960.       the  color  Shading  screen  available  in  the registered version.
  4961.       Manual painting is turned off by  picking  up  the  same  symbol as
  4962.       currently selected.
  4963.  
  4964.  
  4965.        INSERT MODE - Character Insert Mode Toggle (INS)
  4966.  
  4967.       Turns  on/off  character  insert  mode.    In  insert  mode, typing
  4968.       something bumps everything to the right  to make  room for  the new
  4969.       character.
  4970.  
  4971.  
  4972.        FULL SCREEN - Full Screen Editing Toggle (CTRL-PRTSC)
  4973.  
  4974.       Toggles using  the entire  screen for editing.  In full screen edit
  4975.       mode, the status line  along with  all indicators  disappear.  This
  4976.       makes the entire video screen available for editing.
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.        TheDraw v4.63           Pull Down Menu System            70
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.        The HELP Option
  4991.        ───────────────
  4992.        This is not really a pulldown menu at all.  Rather, it is a entry into
  4993.        the outline help screens of  TheDraw.    The  four  screens  provide a
  4994.        general overview of most functions in the program.
  4995.  
  4996.  
  4997.  
  4998.        The QUICK PALETTE Window
  4999.        ────────────────────────
  5000.        The  Quick  Palette  is  perhaps  one  of the easiest ways of choosing
  5001.        colors and  extended characters;  especially if  using a  mouse.  This
  5002.        window appears  at the  same time as the pull down menu bar.  From the
  5003.        keyboard type either [ALT-Q] or the [TAB] key to select.   Mouse users
  5004.        simply need move the pointer over the window.
  5005.  
  5006.        ┌─ Quick Palette ──────────────────────┬─────┬───────────────────────┐
  5007.        │ Fore ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒[] │Blink│ Back ▒▒[]▒▒▒▒▒▒▒▒▒▒▒▒ │
  5008.        ├──────────────────────────────────────┴─────┴───────────────────────┤
  5009.        │┌┐╔╗╒╕╓╖ ░▒▓█  ■· ΦΘ¢£Ö∩ .......... π±⌠⌡Ω¥Σ°√ⁿ ÇçÑñÿƒ≈∙¡¿ êëèéÉîïìí₧│
  5010.        │└┘╚╝╘╛╙╜ ▌▀▄▐ ......≡ .. «»≥≤⌐¬²÷½¼ αßΓσµτδ∞φε âäàáªåÄÅæÆ ôöòóºûüùúÜ│
  5011.        └────────────────────────────────────────────────────────────────────┘
  5012.  
  5013.        There are  four fields.   The  top three are for choosing a foreground
  5014.        color, toggling the blink attribute, and choosing a background color.
  5015.        Mouse users need only click on the desired color to  select.  Keyboard
  5016.        users must  use the  CTRL-Up/Down/Left/Right arrow key combinations to
  5017.        change colors using the Quick Palette.
  5018.  
  5019.        The  bottom  field  contains   most  extended   character  attributes.
  5020.        Choosing  an  extended  character  from  the  Quick Palette does three
  5021.        things for you:
  5022.  
  5023.       o  Places the character onto the edit screen at the cursor.
  5024.       o  It makes that character the "picked" symbol for manual painting.
  5025.       o  It changes the current function key set to the one containing
  5026.            the specified symbol.
  5027.  
  5028.        Keyboard users move around in the  bottom field  with the  arrow keys.
  5029.        Press [ENTER] to choose a symbol.
  5030.  
  5031.        This  can  be  very  helpful  for quickly using odd symbols, which are
  5032.        spread across multiple function  key sets.   Instead  of typing ALT-F,
  5033.        finding the  symbol, selecting a set, then hitting the proper function
  5034.        key, you now simply point and click.  What could be easier?
  5035.  
  5036.        The Quick Palette does not contain  all of  the line  drawing symbols.
  5037.        Typically there  is no  point in using the manual paint mode for these
  5038.        symbols, as the line drawing toggle (ALT-M) is available.   The act of
  5039.        choosing the function key set can be useful though, and is provided.
  5040.  
  5041.  
  5042.  
  5043.        TheDraw v4.63           Pull Down Menu System            71
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.                  THEDRAW KEYBOARD COMMANDS
  5050.  
  5051.  
  5052.             ALT-A: CHANGE TEXT COLOR ATTRIBUTES
  5053.  
  5054.        This function  allows you  to change the current color attributes used
  5055.        by TheDraw.  These attributes "color" any new characters placed on the
  5056.        screen.   When you press ALT-A, the screen will change to a display of
  5057.        the available and currently selected colors.
  5058.  
  5059.        The lower portion of the screen contains two prompts:
  5060.  
  5061.               Please Select Foreground Color (0-31):
  5062.               Please Select Background Color  (0-7):
  5063.  
  5064.        The cursor will be flashing immediately after the  first prompt.   You
  5065.        can now change the current foreground color via the Up/Down arrow keys
  5066.        or by directly typing  the number  associated with  a foreground color
  5067.        (see table  below).   Mouse users can position the mouse on the wanted
  5068.        color then press a button.
  5069.  
  5070.            0  Black              8  Dark Gray
  5071.            1  Blue               9  Light Blue
  5072.            2  Green             10  Light Green
  5073.            3  Cyan              11  Light Cyan
  5074.            4  Red               12  Light Red
  5075.            5  Magenta           13  Light Magenta
  5076.            6  Brown             14  Yellow
  5077.            7  Light Gray        15  White
  5078.  
  5079.        Characters can be made to blink by selecting colors from  the range 16
  5080.        through 31.  These match the above exactly, except they blink.
  5081.  
  5082.        After  changing  the  foreground  color  (or leaving it alone) you can
  5083.        either proceed to the background colors  by pressing  [ENTER] or press
  5084.        [ESC] to  return to the edit screen.  The background color is selected
  5085.        in a fashion similar to the above.  Allowed values are the first eight
  5086.        (0 through  7) colors.   There are no background colors available that
  5087.        allow background blinking.
  5088.  
  5089.        Pressing either [ENTER] or [ESC] at this point will return to the edit
  5090.        screen.
  5091.  
  5092.        Notes:   It  is  possible  to  change  the colors without using ALT-A.
  5093.         Please see the Ctrl-<Arrow Key> commands for more details
  5094.         (ie: Ctrl-<Up Arrow>, Ctrl-<Left Arrow>, etc...)
  5095.  
  5096.         Monochrome screen users will find background colors generally
  5097.         useless except when set to light gray (7) while using a black
  5098.         foreground color of 0 or 16 (blinking black).
  5099.  
  5100.  
  5101.  
  5102.        TheDraw v4.63         TheDraw Command Functions          72
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.        COLOR SHADING SCREEN
  5109.        ────────────────────
  5110.        The registered version of TheDraw includes  a built-in  version of the
  5111.        SHADING.TD example  file (distributed with the shareware release).  As
  5112.        incorporated into the registered version, it  provides a  powerful and
  5113.        easy to use aid in color mixing and selection.
  5114.  
  5115.        To reach  this screen,  type ALT-A  from the change attributes screen.
  5116.        From the edit screen type ALT-A twice, or pick the Shading option from
  5117.        the COLORS pulldown menu.
  5118.  
  5119.        A screen  will appear  showing all  available color combinations using
  5120.        along with the block symbols from function key set 6:  ░░  ▒▒  ▓▓
  5121.  
  5122.        Pressing the [SPACE] bar toggles the color highlight on any  off.  Use
  5123.        the arrow  keys to select a color.  The current colors are spelled out
  5124.        along the bottom of the selection window.
  5125.  
  5126.        Press [ENTER] to choose a color.   The  block symbol  selected becomes
  5127.        the  current  "picked"  character,  and  can  be  used with the manual
  5128.        painting keystrokes (shift arrow-keys).
  5129.  
  5130.  
  5131.  
  5132.                ALT-B: BLOCK ACTION COMMANDS
  5133.  
  5134.        The Block Action Commands  provide  many  facilities  for  editing the
  5135.        current screen  and making  extensive changes.   The following options
  5136.        are available:
  5137.  
  5138.       o  Move or Copy blocks of text.
  5139.       o  Fill in areas with characters, colors or both.
  5140.       o  Perform left, right or center text justification.
  5141.       o  Draw boxes or outline text with lines quickly and easily.
  5142.       o  Delete or simply Erase blocks of text.
  5143.       o  Load a block of screen area from a file on disk.
  5144.       o  Save just a piece of the current screen to disk.
  5145.       o  Rescan an area into animation sequence (animation mode only).
  5146.  
  5147.        The Block Action Commands in TheDraw are one of the  more useful tools
  5148.        available.  After pressing ALT-B, you will see the following prompt:
  5149.  
  5150.      Use [L]ast block or move to Upper-Left corner and press [SPACE].
  5151.  
  5152.        Press [L]  to use  the last  block specified.   Otherwise define a new
  5153.        block by indicating the upper-left and  lower-right corners.   Use the
  5154.        arrow keys,  PgUp, PgDn,  Home or End keys on the keyboard to move the
  5155.        cursor to  the wanted  locations, then  press [SPACE]  after you reach
  5156.        each point.
  5157.  
  5158.  
  5159.  
  5160.  
  5161.        TheDraw v4.63         TheDraw Command Functions          73
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.        The current block is highlighted (colors inverted) to make it obvious.
  5168.        Once you define the upper-left corner of the block, moving above or to
  5169.        the left  of it will not invert any text.  TheDraw will stop the block
  5170.        marking if you press [SPACE] under this situation.
  5171.  
  5172.        Upon pressing  [SPACE] the  second time  (with an  inverted block) you
  5173.        will see  the available block option commands.  Mouse users may mark a
  5174.        block by pressing and holding the LEFT mouse button, moving  the mouse
  5175.        to wanted block size, and releasing.
  5176.  
  5177.  
  5178.        COPY - Copy a Block
  5179.  
  5180.       Copies the marked block.  Use mouse or normal cursor movement keys,
  5181.       such as the arrow keys, Tab, PgUp, PgDn,  Home or  End to  move the
  5182.       block copy around.  Available sub-commands are:
  5183.  
  5184.         pagE   - Change to  a different page layer screen.  With this
  5185.              option you can choose to stamp (see below) copies of
  5186.              the block  on other  layers.  A small window appears
  5187.              with a prompt for  the  new  page  layer.    Enter a
  5188.              number or press [ESC] to abort.
  5189.  
  5190.         Toggle - Toggles  between  single  layer  and  sprite editing
  5191.              modes (see ALT-E for discussion on  sprite editing).
  5192.              In sprite  mode, any  text on a higher numbered page
  5193.              layer will appear "under" text on the current page.
  5194.  
  5195.         Stamp  - Makes a copy of the  current  block  at  the current
  5196.              position.    Additional  copies  can be made as many
  5197.              times as wished.
  5198.  
  5199.         Under  - Toggles between moving the block "above"  or "under"
  5200.              the current  page layer.   The  block copy starts in
  5201.              above mode.   In  above  mode  the  entire  block is
  5202.              visible,  no  matter  where  it  is moved.  In under
  5203.              mode, the block appears UNDER any other text  on the
  5204.              current page  layer.   It will only show through the
  5205.              black spaces on the current layer.
  5206.  
  5207.              Note:     Under  mode  also  allows  an  interesting
  5208.                    effect.    If  you are sprite editing (see
  5209.                    ALT-E command) the  block  will  appear to
  5210.                    move -between- the current layer and those
  5211.                    below it.
  5212.  
  5213.         [ENTER]  Saves all changes made to all layers.
  5214.  
  5215.         [ESC]    Aborts and removes all changes made to all layers.
  5216.  
  5217.  
  5218.  
  5219.  
  5220.        TheDraw v4.63         TheDraw Command Functions          74
  5221.  
  5222.  
  5223.  
  5224.  
  5225.        MOVE - Move a Block
  5226.  
  5227.       Moving a block operates identically to copying a block (see above).
  5228.       The  only  difference  is  the  block is "cut" out from the current
  5229.       screen, leaving a hole behind.  This hole is filled with spaces and
  5230.       the default background color (see ALT-D command).  All sub-commands
  5231.       are identical to the block copy described above.   Under animation,
  5232.       the exact pattern of a the shifted animation sequence is relocated.
  5233.  
  5234.        FILL - Fill a Block
  5235.  
  5236.       Fills the marked block  based  on  a  specified  sub-command.   The
  5237.       available options are listed below:
  5238.  
  5239.         Attribute - Changes  both  foreground  and  background  color
  5240.                 attributes to current status line values.
  5241.  
  5242.         Fore      - Changes just  the foreground  color attributes to
  5243.                 current values shown in status line.
  5244.  
  5245.         bacK      - Changes just  the background  color attributes to
  5246.                 current values shown in status line.
  5247.  
  5248.         Use       - Changes  both  foreground  and  background  color
  5249.                 attributes  to  those  under  the CURSOR when you
  5250.                 first pressed ALT-B.  This is  not the upper-left
  5251.                 block corner,  but the position on the screen the
  5252.                 cursor  was  sitting  when  block  commands  were
  5253.                 first selected.
  5254.  
  5255.         Character - Prompts  for  a  keyboard  character  or  special
  5256.                 function set symbol (see  ALT-F command).   Solid
  5257.                 spaces can  be used by pressing Shift-Space.  The
  5258.                 block  is  then  overwritten  using  whatever was
  5259.                 selected.   The color  attributes at a given spot
  5260.                 are not changed, just the character there.
  5261.  
  5262.         Both      - Combines both the  Attribute  and  Character fill
  5263.                 operations  described  above.    A  character  is
  5264.                 prompted for, then  everything  in  the  block is
  5265.                 overwritten using that character with the current
  5266.                 color attributes from the status line.
  5267.  
  5268.       These  commands  offer  much  flexibility;  however,  nothing  will
  5269.       satisfy everyone.   For  this reason,  the "last  block" option was
  5270.       added.  To perform  multiple fill  operations on  a given  block is
  5271.       now done quickly and easily.
  5272.  
  5273.       Note: In animation mode, the Attribute, Fore, bacK, and Use options
  5274.         actually change characters in the animation  sequence (no new
  5275.         characters  are  added).    The Character and Both options in
  5276.         Animator mode ADD to the animation sequence.
  5277.  
  5278.  
  5279.        TheDraw v4.63         TheDraw Command Functions          75
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.        TEXT - Block Text Operations
  5286.  
  5287.       Performs various text operations on the specified block.  Available
  5288.       sub-commands are:
  5289.  
  5290.         Box     - Draws a  box using  the current  function set.  The
  5291.               box border is defined by  the  edges  of  the block
  5292.               area.   The contents of the box are left unchanged,
  5293.               however anything where the  box lines  are actually
  5294.               drawn will be overwritten.
  5295.  
  5296.         Outline - Operates  similar  to  the  Box command, except the
  5297.               contents of the block are examined first.   The box
  5298.               border  will  be  adjusted  to just accommodate all
  5299.               words either fully or  partially  contained  by the
  5300.               block area.
  5301.  
  5302.               For  instance,  assume  just  one  character in the
  5303.               center of the  edit  screen.    You  then  mark the
  5304.               entire screen  as a block, and select text outline.
  5305.               The result would only be  a  small  box  around the
  5306.               character.
  5307.  
  5308.               Going the  other way,  if you block marked just the
  5309.               center letter of a long word  (with no  spaces) the
  5310.               block edges  would expand to accommodate the entire
  5311.               word.   Note: the expansion is only  done for words
  5312.               INITIALLY part  of the  block.  Any words the block
  5313.               expansion happens to go  over are  ignored, and are
  5314.               not considered by Text Outline.
  5315.  
  5316.         Center  - Text contained  or partially contained by the block
  5317.               is centered.  The  way this  is done  is similar to
  5318.               the  text  Outline  described  above.  Each line of
  5319.               characters considered  is expanded  to just enclose
  5320.               all words.  The string of words is then centered on
  5321.               the position of the block.
  5322.  
  5323.         Left    - Text contained or partially  contained is  moved to
  5324.               the  left  edge  of  the block.  Block expansion is
  5325.               used so words are not split apart.
  5326.  
  5327.         Right   - Identical to  Left  except  contained  or partially
  5328.               contained text  is moved  to the  right edge of the
  5329.               block.
  5330.  
  5331.  
  5332.       These  commands  are  useful  making  menu  displays,  short memos,
  5333.       letters, etc...
  5334.  
  5335.  
  5336.  
  5337.  
  5338.        TheDraw v4.63         TheDraw Command Functions          76
  5339.  
  5340.  
  5341.  
  5342.  
  5343.  
  5344.        DELETE - Delete a Block
  5345.  
  5346.       This command is fairly intuitive.  The block is completely removed.
  5347.       Anything on the edit screen to the right of the block is shift over
  5348.       to fill  in the space.  The area previously occupied by the shifted
  5349.       text is erased using spaces and  the default  background color (see
  5350.       the ALT-D).
  5351.  
  5352.  
  5353.        ERASE - Erase a Block
  5354.  
  5355.       Erases the  block, without  changing anything  other portion of the
  5356.       edit screen.  The block is  erased  using  spaces  and  the default
  5357.       background color (see ALT-D).
  5358.  
  5359.  
  5360.        REPLACE - Block Character/Color Replace
  5361.  
  5362.       Performs  character  and/or  color  attribute  replacement on block
  5363.       based on specified sub-command.  The pattern is  whatever was under
  5364.       the  cursor  when  ALT-G  was  selected.  The available options are
  5365.       shown below (these are similar to the Fill options):
  5366.  
  5367.         Attribute -   Searches both foreground  and  background color
  5368.                   attributes,  then  replaces  all  matches  with
  5369.                   current values shown on status line.
  5370.  
  5371.         Fore       -  Searches and replaces just the foreground color
  5372.                   attributes with current value.
  5373.  
  5374.         bacK       -  Searches and replaces just the background color
  5375.                   attributes with current value.
  5376.  
  5377.         Character -   Prompts for  a  keyboard  character  or special
  5378.                   function set symbol (see ALT-F command).  Solid
  5379.                   spaces can  be  used  by  pressing Shift-Space.
  5380.                   The block  is then  searched and all characters
  5381.                   matching the pattern are replaced with  the new
  5382.                   selection.    Color  attributes at any position
  5383.                   are not changed, just character values.
  5384.  
  5385.         Both       -  Combines  both  the  Attribute   and  Character
  5386.                   operations  described  above.    A  replacement
  5387.                   character is  prompted for,  then everything on
  5388.                   the screen matching the pattern (both character
  5389.                   and fore/back attributes) is  replaced with the
  5390.                   character and current colors.
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.        TheDraw v4.63         TheDraw Command Functions          77
  5398.  
  5399.  
  5400.  
  5401.  
  5402.        The following  commands are  available only  in normal (non-animation)
  5403.        screen edit mode:
  5404.  
  5405.        LOAD - Load a Block
  5406.  
  5407.       Imports a block of data from another screen saved on disk.  You are
  5408.       first prompted  for the  import filespec  (see ALT-L for details on
  5409.       loading files).
  5410.  
  5411.       The import image is then loaded  onto the  screen, and  an inverted
  5412.       area of  the defined  block size  appears.  Move this inverted area
  5413.       using arrow keys, PgUp, PgDn, Home  or End  to the  wanted portion.
  5414.       Press [ENTER]  to save  a copy of the inverted area in the original
  5415.       edit screen.  The rest of the import image is discarded.
  5416.  
  5417.  
  5418.        SAVE - Save a Block
  5419.  
  5420.       Operates almost identically to the normal save screen  command (see
  5421.       ALT-S  for  information  on  saving  edit screens).  The difference
  5422.       being the save is restricted to the defined block.
  5423.  
  5424.        -----
  5425.  
  5426.        The following are available only in animation edit mode:
  5427.  
  5428.        FADEOUT - Animation Fadeout Fill
  5429.  
  5430.       Identical to the block fill command;  however, in  addition you are
  5431.       prompted  for  an  animation  scanner.    This option gives you the
  5432.       ability to easily have a screen appear using  one animation effect,
  5433.       then be erasing using another.
  5434.  
  5435.  
  5436.        RESCAN - Rescan a Block
  5437.  
  5438.       Operates just  like the  ALT-J animator  rescan option, except only
  5439.       the marked block is rescanned.   The  marked  block  area  is first
  5440.       erased from the animation sequence, then the block is rescanned and
  5441.       added onto the end of sequence.
  5442.  
  5443.  
  5444.  
  5445.                 ALT-C: CLEAR CURRENT SCREEN
  5446.  
  5447.        The operation of this command should be apparent.  Once  selected, the
  5448.        following prompt appears:
  5449.  
  5450.       Do you want to CLEAR this Page or All Page Layers? (Yes/No/All)
  5451.  
  5452.        Selecting [Y]es  or pressing [ENTER] will clear the current page layer
  5453.        and nothing else.   Selecting [N]o  or pressing  [ESC] will  abort the
  5454.  
  5455.  
  5456.        TheDraw v4.63         TheDraw Command Functions          78
  5457.  
  5458.  
  5459.  
  5460.  
  5461.        command.    Selecting  [A]ll  will  clear  ALL  page  layers.  You are
  5462.        prompted to verify this request before continuing.  Useful if you want
  5463.        a completely clean slate.
  5464.  
  5465.        The clearing  of a  given page  layer is  done by using spaces and the
  5466.        default background  color  (see  ALT-D).    The  clear  screen  can be
  5467.        reversed using the Restore/Undo command (see ALT-R).
  5468.  
  5469.  
  5470.  
  5471.             ALT-D: SET DEFAULT BACKGROUND COLOR
  5472.  
  5473.        The default  background color  is used  whenever TheDraw  must erase a
  5474.        portion of the screen.  Examples of commands where this is used are:
  5475.  
  5476.       o  Clear Current Screen.
  5477.       o  Block Delete, Erase, and Move.
  5478.       o  Text Operations which move words.
  5479.       o  Use of the Backspace or Delete keys to remove characters.
  5480.       o  Inserting or Deleting of lines or columns.
  5481.  
  5482.        All these commands "clear"  an  area  of  the  screen  in  one  way or
  5483.        another.   TheDraw does  this using  spaces and the default background
  5484.        color specified.
  5485.  
  5486.        When you select ALT-D, the screen  changes to  a display  of available
  5487.        colors and the current default background color.  In the lower portion
  5488.        of the screen is the prompt:
  5489.  
  5490.                Please Select Background Color (0-7):
  5491.  
  5492.        The cursor will be flashing after  this  prompt.    Select  the wanted
  5493.        default background  color via  the Up/Down  arrow keys  or by directly
  5494.        entering the number associated with a  color (see  ALT-A for available
  5495.        colors).   Mouse users  simply position  the mouse on the wanted color
  5496.        and press a button.
  5497.  
  5498.        Press [ENTER] or [ESC] to return to the edit screen.
  5499.  
  5500.  
  5501.  
  5502.  
  5503.               ALT-E: CHANGE PAGE LAYER/TOGGLE SPRITES
  5504.  
  5505.        The change page layer command allows  you to  select a  different page
  5506.        layer for  editing.   Up to  eight simultaneous  layers can be used at
  5507.        once, in either normal or animation  modes.   With this  facility, you
  5508.        can load several images, copy/exchange parts and do much more.
  5509.  
  5510.        After pressing ALT-E, the following prompt appears:
  5511.  
  5512.          Display Page Layer (1-8), Toggle Single/Layers, or [ESC]?
  5513.  
  5514.  
  5515.        TheDraw v4.63         TheDraw Command Functions          79
  5516.  
  5517.  
  5518.  
  5519.  
  5520.  
  5521.        The number  of available  layers (8  here) will  vary depending on how
  5522.        TheDraw has been configured.  To select a different page layer, simply
  5523.        press the  number.   The second  option, [T]oggle Single/Layers, is to
  5524.        toggle the  sprite  editing  facility  of  TheDraw.    Sprite  mode is
  5525.        indicated by  the word  "Page" or  "Anim" appearing in capital letters
  5526.        on the status line (ie: PAGE).
  5527.  
  5528.        Sprite editing allows you to see  everything "underneath"  the current
  5529.        page layer.   Imagine  several sheets  of glass, stacked on top of one
  5530.        another.  If you look  down  from  the  top-most  sheet,  you  can see
  5531.        anything placed on a piece of glass lower down.
  5532.  
  5533.        The sprite  editing mode  of TheDraw  is akin  to the  layers of glass
  5534.        described above.  In  this case,  layer one  is the  top-most sheet of
  5535.        glass.  Page layer eight (8) is the bottom-most sheet of glass.  ie:
  5536.  
  5537.                        ┌────────┐
  5538.                       .│      . │
  5539.                     .  │    .   │ Bottom-Most Layer
  5540.                  ┌────────┐    8│
  5541.                    ┌─┴──────┐ │─────┘
  5542.                  ┌─┴──────┐ │ │   .
  5543.                  │        │ │3│ .
  5544.           Top-Most Layer │        │2├─┘
  5545.                  │       1├─┘
  5546.                  └────────┘
  5547.  
  5548.        Naturally,  an  object  or  character  closer  to  the  top will cover
  5549.        anything under it.  In TheDraw, anything other than a  non-solid black
  5550.        space will  conceal the contents of a lower layer (see SHIFT-SPACE for
  5551.        information on solid spaces).
  5552.  
  5553.        Another useful feature about sprite editing  is only  the current page
  5554.        layer may  be changed.  Nothing you do will alter a layer below (short
  5555.        of clearing all layers), even though  you can  see its  contents.  The
  5556.        current layer  can be  globally moved, have lines inserted or deleted,
  5557.        etc...  Anything  lower  down  is  protected  unless  you specifically
  5558.        change to that page layer for editing.
  5559.  
  5560.        The question than now comes to mind is:  What can be done with it?
  5561.        Imagine  you  have  a  screen  made  of  several distinct parts, say a
  5562.        backdrop with figures on it.  Now a figure must be moved  to make room
  5563.        for something  else.   Unless "block"  shaped, the  block move command
  5564.        (ALT-B) is tedious to use.  For something  tree shaped,  an easier way
  5565.        is desired.
  5566.  
  5567.        Using sprite  editing each  figure could  have its own layer, with the
  5568.        backdrop placed on the  bottom-most  page.    To  move  a  figure, you
  5569.        merely  switch  to  its  layer  and use the global screen move command
  5570.        (ALT-G,M).  Nothing could be simpler.    To  see  the  result  of your
  5571.        change, switch back to the top-most layer.
  5572.  
  5573.  
  5574.        TheDraw v4.63         TheDraw Command Functions          80
  5575.  
  5576.  
  5577.  
  5578.  
  5579.  
  5580.        Menu making  is made easier with sprites also.  Put together the basic
  5581.        outline (lines, boxes, etc...) on one page layer,  then switch  to one
  5582.        higher up  for the text.  If you do not like the initial text, erasing
  5583.        it will not harm the outline.   There  are endless  more possibilities
  5584.        waiting to be discovered.
  5585.  
  5586.  
  5587.  
  5588.                ALT-F: VIEW FUNCTION KEY SETS
  5589.  
  5590.        This command presents a display of the 150 special extended characters
  5591.        supported by TheDraw.  These characters are stored in fifteen separate
  5592.        "function  key  sets".    The  current set is displayed on the TheDraw
  5593.        status line.
  5594.  
  5595.        Selecting function key sets within  this  display  is  done  using the
  5596.        Up/Down arrow  keys or  using the  mouse.   Press [ENTER] or click the
  5597.        mouse button when satisfied.
  5598.  
  5599.        The  actual  characters  are  accessed  using  the  function  keys  by
  5600.        themselves.   If function  key set 7 was selected, pressing [F2] would
  5601.        display the second character in that set (a smiley face).
  5602.  
  5603.        ----
  5604.  
  5605.        An alternate means for selecting function  key sets  is available from
  5606.        the normal  edit screen.   To use function key sets 1 to 10, press ALT
  5607.        followed by a function key 1 to 10.  To  use function  key sets  11 to
  5608.        15, press CTRL followed by a function key 1 to 5.  ie:
  5609.  
  5610.                ALT-F7 will select function key set 7
  5611.               CTRL-F4 will select function key set 14
  5612.  
  5613.        Note:    Appendix  C   contains  a  list  of  all  special  characters
  5614.         supported by the IBM-PC  extended  character  set  in numeric
  5615.         order.    To  access  these  characters  -without-  using the
  5616.         function key sets, press and hold  down  the  ALT  key.   Now
  5617.         using the numeric keypad on the side of the keyboard, type in
  5618.         the number associated with the wanted character.   Once done,
  5619.         release the  ALT key.   The  character will then appear.  ie:
  5620.         press and hold ALT.  Now type 65  on the  numeric keypad, and
  5621.         release ALT.  The letter "A" will appear.
  5622.  
  5623.  
  5624.  
  5625.  
  5626.  
  5627.  
  5628.  
  5629.  
  5630.  
  5631.  
  5632.  
  5633.        TheDraw v4.63         TheDraw Command Functions          81
  5634.  
  5635.  
  5636.  
  5637.  
  5638.  
  5639.                   ALT-G: GLOBAL COMMANDS
  5640.  
  5641.        The global  commands offer  many facilities for doing "global" changes
  5642.        to the entire screen.  All of these commands could  be duplicated with
  5643.        block  operations;   they  exist   for  convenience.    The  following
  5644.        selections are available:
  5645.  
  5646.       o  Copy the current screen to another page layer.
  5647.       o  Move/Rotate the current screen around its borders.
  5648.       o  Globally fill the screen with colors and/or characters.
  5649.       o  Perform text operations globally on the screen.
  5650.       o  Globally replace a character or color with something else.
  5651.  
  5652.        After pressing ALT-G the available commands are listed.
  5653.  
  5654.  
  5655.        COPY - Copy Screen
  5656.  
  5657.       The command first prompts  for the  destination page.   The current
  5658.       screen is then copied to the specified page layer.
  5659.  
  5660.       In  animation  mode,  this  deletes  everything  on the destination
  5661.       layer.  The current screen is then copied item by item to it.
  5662.  
  5663.  
  5664.        MOVE - Move/Rotate Screen
  5665.  
  5666.       Moves the entire screen around its borders.  Use the arrows keys to
  5667.       rotate the  screen.  Press [ENTER] when satisfied or [ESC] to leave
  5668.       the screen as it was.   ie: moving the screen upwards will "rotate"
  5669.       the line at the top of the screen down to the bottom of the screen.
  5670.  
  5671.  
  5672.        FILL - Fill Screen
  5673.  
  5674.       Fills  the  entire  screen  based  on a specified sub-command.  The
  5675.       available options are listed  below  (these  are  identical  to the
  5676.       block fill commands):
  5677.  
  5678.         Attribute - Changes  both  foreground  and  background  color
  5679.                 attributes  to  current  values  shown  in status
  5680.                 line.
  5681.  
  5682.         Fore      - Changes just  the foreground  color attributes to
  5683.                 current values shown in status line.
  5684.  
  5685.         bacK      - Changes just  the background  color attributes to
  5686.                 current values shown in status line.
  5687.  
  5688.  
  5689.  
  5690.  
  5691.  
  5692.        TheDraw v4.63         TheDraw Command Functions          82
  5693.  
  5694.  
  5695.  
  5696.  
  5697.  
  5698.         Use       - Changes  both  foreground  and  background  color
  5699.                 attributes to those  under  the  CURSOR  when you
  5700.                 first pressed ALT-G.  This is the position on the
  5701.                 screen  the   cursor  was   sitting  when  global
  5702.                 commands were selected.
  5703.  
  5704.         Character - Prompts  for  a  keyboard  character  or  special
  5705.                 function set symbol (see  ALT-F command).   Solid
  5706.                 spaces can  be used by pressing Shift-Space.  The
  5707.                 screen is  then  overwritten  using  whatever was
  5708.                 selected.    The  color  attributes  at any given
  5709.                 position are not changed,  just the  character at
  5710.                 that position.
  5711.  
  5712.         Both      - Combines  both  the  Attribute and Character fill
  5713.                 operations  described  above.    A  character  is
  5714.                 prompted  for,  then  everything on the screen is
  5715.                 overwritten using that character with the current
  5716.                 color attributes from the status line.
  5717.  
  5718.  
  5719.       In animation  mode, the Attribute, Fore, bacK, and Use options only
  5720.       alter characters already in  the animation  sequence (no additional
  5721.       characters are  added).  The Character or Both options however WILL
  5722.       add additional characters to the animation sequence.
  5723.  
  5724.  
  5725.        FADEOUT - Animation Fadeout Fill (animation mode only)
  5726.  
  5727.       Identical to the global fill command; however, in  addition you are
  5728.       prompted  for  an  animation  scanner.    This option gives you the
  5729.       ability to easily have a screen appear using  one animation effect,
  5730.       then be erasing using another.
  5731.  
  5732.  
  5733.        TEXT - Global Text Operations
  5734.  
  5735.       Performs  various  text  operations  on the screen.  Available sub-
  5736.       commands are:
  5737.  
  5738.         Box     - Draws a box using  the current  function set.   The
  5739.               box border  will be the defined by the edges of the
  5740.               screen.  The inside of the  box is  left unchanged,
  5741.               however anything  where the  box lines are actually
  5742.               drawn will be overwritten.
  5743.  
  5744.         Outline - Operates similar to the  Box  command,  however the
  5745.               contents of  the block are examined first.  The box
  5746.               border will be  adjusted  to  just  accommodate all
  5747.               words contained by the screen.
  5748.  
  5749.  
  5750.  
  5751.        TheDraw v4.63         TheDraw Command Functions          83
  5752.  
  5753.  
  5754.  
  5755.  
  5756.               For instance,  assume you just had one character in
  5757.               the center of the edit screen.  The result of using
  5758.               global  text  outline  would  only  be  a small box
  5759.               around the character.
  5760.  
  5761.         Center  - Text in the screen  is centered.   The  way this is
  5762.               done  is  similar  to  the  text  Outline described
  5763.               above.    Each  line  of  characters  considered is
  5764.               reduced to  just enclose  all words.  The string of
  5765.               words is then centered in the screen.
  5766.  
  5767.         Left    - Text is moved to the left edge of the screen.
  5768.  
  5769.         Right   - Identical to Left except text is moved to the right
  5770.               edge of the screen.
  5771.  
  5772.  
  5773.        REPLACE - Global Character/Color Replace
  5774.  
  5775.       Performs  character  and/or  color  attribute replacement on entire
  5776.       screen based on specified sub-command.  The pattern is whatever was
  5777.       under the  cursor when  ALT-G was  selected.  The available options
  5778.       are shown below (these are similar to the Fill options):
  5779.  
  5780.         Attribute -   Searches both foreground  and  background color
  5781.                   attributes,  then  replaces  all  matches  with
  5782.                   current values shown on status line.
  5783.  
  5784.         Fore       -  Searches and replaces just the foreground color
  5785.                   attributes with current value.
  5786.  
  5787.         bacK       -  Searches and replaces just the background color
  5788.                   attributes with current value.
  5789.  
  5790.         Character -   Prompts for  a  keyboard  character  or special
  5791.                   function set symbol (see ALT-F command).  Solid
  5792.                   spaces can  be  used  by  pressing Shift-Space.
  5793.                   The screen  is then searched and all characters
  5794.                   matching the pattern are replaced with  the new
  5795.                   selection.    Color  attributes at any position
  5796.                   are not changed, just character values.
  5797.  
  5798.         Both       -  Combines  both  the  Attribute   and  Character
  5799.                   operations  described  above.    A  replacement
  5800.                   character is  prompted for,  then everything on
  5801.                   the screen matching the pattern (both character
  5802.                   and fore/back attributes) is  replaced with the
  5803.                   character and current colors.
  5804.  
  5805.       These commands operate similar to the block action text commands.
  5806.  
  5807.  
  5808.  
  5809.  
  5810.        TheDraw v4.63         TheDraw Command Functions          84
  5811.  
  5812.  
  5813.  
  5814.  
  5815.  
  5816.               ALT-H: DISPLAY HELP INFORMATION
  5817.  
  5818.        The help  screens provide  a quick  reminder for  the various commands
  5819.        supported  by  TheDraw.    The  three  screens  briefly  describe most
  5820.        available functions.
  5821.  
  5822.        The registered  version of  TheDraw supports  context sensitive pop-up
  5823.        help for the ENTIRE  program.    Typing  ALT-H  at  any  position will
  5824.        display specific help on what you are doing.  Try it, you'll like it!
  5825.  
  5826.  
  5827.                    ALT-I: INSERT A LINE
  5828.  
  5829.        Inserts a  blank horizontal line at the current position.  The current
  5830.        line and all those  below it  are shifted  down.   The bottom  line is
  5831.        lost.   The blank line is filled with spaces colored using the default
  5832.        background color.  This command can be reversed using the Restore/Undo
  5833.        command (ALT-R).
  5834.  
  5835.  
  5836.                   ALT-J: ANIMATOR OPTIONS
  5837.  
  5838.        The Animator  Options command  operates differently depending on which
  5839.        mode you are currently in (normal or animator).
  5840.  
  5841.  
  5842.        ALT-J FROM NORMAL/STATIC MODE
  5843.        ─────────────────────────────
  5844.        When in normal mode, selecting ALT-J  will put  TheDraw into animation
  5845.        mode.  To convert the existing normal screen images (static images) to
  5846.        animation entries, a scan "method" or pattern must be specified.   The
  5847.        particular pattern  used tells  TheDraw how to read your static images
  5848.        for display.   Scan  patterns  can  be  altered  using  two adjustment
  5849.        toggles.  These are:
  5850.  
  5851.  
  5852.       REVERSE   Reverse  entire  scan  pattern.    Last character scanned
  5853.             becomes the first displayed in the animation sequence.
  5854.  
  5855.       FLIP      Vertically exchanges scanning of  the screen  scan top to
  5856.             bottom.   For example  the TOP  scanner below scan across
  5857.             the screen (left to right) starting  on the  bottom line,
  5858.             moving upwards.
  5859.  
  5860.  
  5861.        There  are   fourteen  different  generic  scan  methods/patterns  are
  5862.        available.  By combining these with the above adjust toggles,  over 50
  5863.        patterns are possible.
  5864.  
  5865.  
  5866.  
  5867.  
  5868.  
  5869.        TheDraw v4.63         TheDraw Command Functions          85
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.        TOP - Scan Top to Bottom
  5876.  
  5877.       The static  page layers are scanned from their upper-left to lower-
  5878.       right corners.  The scan goes  across the  screen (left  to right).
  5879.       The next line down is then scanned, and so on.
  5880.  
  5881.  
  5882.        LEFT - Scan Left to Right
  5883.  
  5884.       Similar  to  TOP,  except  the  scan  goes  down the screen (top to
  5885.       bottom).  The next column over is then scanned, and so on.
  5886.  
  5887.  
  5888.        CLOCK - Clock Arm Scan
  5889.  
  5890.       Scans in clockwise direction from center  of screen  to border edge
  5891.       around screen.  Appears somewhat like a growing pie-slice.
  5892.  
  5893.  
  5894.        CIRCLES - Circular Ring Scan
  5895.  
  5896.       Scans image  in ever growing circles from center of screen outward.
  5897.       ie:  small circle, then slightly  larger encompassing  circle, then
  5898.       slightly larger again, etc...
  5899.  
  5900.  
  5901.        CHECKERBOARD - Checkerboard Effect Scan
  5902.  
  5903.       Scans  alternating  squares  on  first pass creating a checkerboard
  5904.       appearance, then fills in all the gaps on the second pass.
  5905.  
  5906.  
  5907.        ANGLE - Angle Scan
  5908.  
  5909.       Scans  each  static  page  layer  from  upper-left  to  lower-right
  5910.       corners, using  a backward angle approach.  ie: scan character then
  5911.       move down to next line and backup one position.
  5912.  
  5913.                    AAAAAAAAAA
  5914.                    BBBBBBBBB
  5915.                    CCCCCCCC
  5916.                    DDDDDDD
  5917.                    etc...
  5918.  
  5919.        GATE - Gated Scan
  5920.  
  5921.       Alternating lines scan from opposite sides  of the  screen forwards
  5922.       and backwards  going across.     The first  line will  scan left to
  5923.       right going across the screen.  The second line scans right to left
  5924.       across the  screen.  The third line scans as the first, etc...  All
  5925.       lines are processed at once, so the screen appears "gated".
  5926.  
  5927.  
  5928.        TheDraw v4.63         TheDraw Command Functions          86
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.        PYRAMID - Pyramid Scan
  5935.  
  5936.       Scans in a "pyramid" shape, starting from bottom center of screen.
  5937.                     .
  5938.                        .D.
  5939.                       cDCD.
  5940.                      tDCBCD.
  5941.                     eDCBABCD.
  5942.  
  5943.        SQUARES - Squares or Spiral Scan
  5944.  
  5945.       Scans static screen images using squares.  The border of the screen
  5946.       is first  scanned (progressing clockwise).  The next smaller square
  5947.       is then scanned, and so.  Produces a spiral effect.
  5948.  
  5949.        SCRAMBLE - Random Scramble Scan
  5950.  
  5951.       Each static page layer is scanned in a completely random order.
  5952.  
  5953.        DOOR - Closing Door Scan
  5954.  
  5955.       Screen is scanned from top to  bottom, on  both sides  of screen at
  5956.       once.  Gives the impression of doors closing on the user.
  5957.  
  5958.        DIAMOND - Growing Diamond Scan
  5959.  
  5960.       Scans image using ever growing diamond shapes from center of screen
  5961.       outward.  Mildly similar to the circle scan in operation.
  5962.  
  5963.        WIGGLE - Wiggle Scan
  5964.  
  5965.       Similar to GATE, except only  one  line  is  processed  at  a time.
  5966.       Produces a  snaking line  appearance starting  from the  top of the
  5967.       screen.  Scan first goes across screen, then returns on  next.  The
  5968.       cycle is then repeated.
  5969.  
  5970.        WIGGLEOUT - Wiggle Out Scan
  5971.  
  5972.       Starts in  center of screen with wiggle operation going both up and
  5973.       down at once.
  5974.  
  5975.  
  5976.        Once the animation  scan  is  completed,  the  screen  is  cleared and
  5977.        redrawn.    At  this  point  TheDraw will operate normally, except all
  5978.        entries are sequenced by the animation  system.   Please refer  to the
  5979.        section "The Animation System" for more details on its use.
  5980.  
  5981.        If you have ideas for more animation scanners, please send them!
  5982.  
  5983.  
  5984.  
  5985.  
  5986.  
  5987.        TheDraw v4.63         TheDraw Command Functions          87
  5988.  
  5989.  
  5990.  
  5991.  
  5992.  
  5993.        ALT-J FROM ANIMATOR MODE
  5994.        ────────────────────────
  5995.        Once in animator mode, selecting ALT-J presents several facilities for
  5996.        managing the animation system.  The following commands are available:
  5997.  
  5998.       o  Specify Animation Include Files
  5999.       o  Specify User Control Sequences
  6000.       o  Toggle storing of cursor movements
  6001.       o  Convert animation screens to normal mode static screen images
  6002.       o  Rescan current animation screen
  6003.       o  Enter a pause into the animation sequence
  6004.  
  6005.        The registered version of TheDraw also supports:
  6006.  
  6007.       o  Animation Position Editing (Sequence Limiting)
  6008.       o  Specify Animation Markers
  6009.  
  6010.  
  6011.        INCLUDE - Specify Animation Include File
  6012.  
  6013.       When creating an ANSI  file, TheDraw  allows you  to "include" text
  6014.       from other files in the new one being created.  Ten different files
  6015.       can be included at various  points  in  the  sequence.    These are
  6016.       useful for  the so  called "Ansi  Music" sequences, frequently used
  6017.       images, complex BBS control code  sequences  (for  systems  such as
  6018.       WildCat), etc...    The animation USER-SEQ function following might
  6019.       be more suitable for the latter task however.
  6020.  
  6021.       When TheDraw includes another  file, its  contents are  copied into
  6022.       the new  output file  TheDraw is making.  Once the output Ansi file
  6023.       is created, the include file is not needed again.  The include file
  6024.       need only be present when TheDraw is actually copying text from it.
  6025.  
  6026.       Include files are only accessed  when  TheDraw  is  saving  a file.
  6027.       They are  ignored by  ALT-Q.   If you  wish to  see what everything
  6028.       looks like before saving, use the View option described below.
  6029.  
  6030.       Upon choosing the INCLUDE  option,  a  window  will  appear  on the
  6031.       screen.   All currently defined include files will be listed, along
  6032.       with their positions in the animation sequence.  The following sub-
  6033.       commands are available:
  6034.  
  6035.          SET   - Sets an  include file at the current animation position.
  6036.              In the shareware version of TheDraw, this will always be
  6037.              the end of the current animation sequence.
  6038.  
  6039.              In the registered version, this is the current animation
  6040.              limit position.  This allows include files to  be easily
  6041.              specified  "after  the  fact", anywhere in the animation
  6042.              sequence (see Limit below).
  6043.  
  6044.  
  6045.  
  6046.        TheDraw v4.63         TheDraw Command Functions          88
  6047.  
  6048.  
  6049.  
  6050.  
  6051.  
  6052.          CLEAR - Erases the include file entry you specify.  No verify is
  6053.              done before the entry is deleted, so be warned.
  6054.  
  6055.          VIEW  - Displays  the   entire  animation   sequence,  with  all
  6056.              specified include  files.   Very useful  for testing the
  6057.              appearance of things.
  6058.  
  6059.  
  6060.       Press [ESC]  once when done editing the include files.  All changes
  6061.       are saved.
  6062.  
  6063.  
  6064.       ANSI MUSIC WITH INCLUDE FILES:
  6065.  
  6066.       Animation include files  are  especially  useful  for  including so
  6067.       called "Ansi  Music" sequences into a TheDraw image.  Ansi Music is
  6068.       not part of the standard Ansi driver.  It is an extension  found in
  6069.       certain modem communication programs (such as Qmodem).  Please note
  6070.       that TheDraw cannot generate Ansi Music source sequences.  The code
  6071.       format of Ansi Music is as follows:
  6072.  
  6073.                <esc>[MF<music control codes><ctrl-N>
  6074.              │                     │
  6075.                ascii 27             ascii 14
  6076.  
  6077.       The section  <music control codes> is a string of music descriptors
  6078.       identical to  those used  in the  Basic PLAY  command.   Refer to a
  6079.       Basic language reference manual for further information.
  6080.  
  6081.  
  6082.  
  6083.        USER_SEQ - Specify Animation User Control Sequence
  6084.  
  6085.       Allows you to insert your own short control code sequences directly
  6086.       into the Ansi/Avatar  file  output  TheDraw  generates.   Extremely
  6087.       useful  for  BBS  control  codes  (ie: for user names and such), or
  6088.       inserting special extra Ansi codes into the animation (ie: clearing
  6089.       the  display  midstream,  or  causing  an  image  to scroll).  User
  6090.       Sequences are only referred to when TheDraw saves  a file,  and are
  6091.       not used when redrawing (see ALT-Q).
  6092.  
  6093.       Upon  choosing  the  USER_SEQ  option,  a window will appear on the
  6094.       screen.  All  currently  defined  user  control  sequences  will be
  6095.       listed, along with their positions in the animation sequence.
  6096.  
  6097.  
  6098.  
  6099.  
  6100.  
  6101.  
  6102.  
  6103.  
  6104.  
  6105.        TheDraw v4.63         TheDraw Command Functions          89
  6106.  
  6107.  
  6108.  
  6109.  
  6110.  
  6111.       The following sub-commands are available:
  6112.  
  6113.          SET   - Sets a  user sequence at the current animation position.
  6114.              In the shareware version of TheDraw, this will always be
  6115.              the  end  of  the  current  animation  sequence.  In the
  6116.              registered version, this is the current  animation limit
  6117.              position.    This  allows  control  codes  to  be easily
  6118.              specified after a screen has been  made, anywhere during
  6119.              the display of the animation sequence (see Limit below).
  6120.  
  6121.              You are  prompted for the user sequence to modify.  Next
  6122.              the sequence must be typed in.  For Ansi escape sequence
  6123.              press the  escape key  (appears as "^["), an open square
  6124.              bracket, followed by the necessary command codes.  ie:
  6125.  
  6126.                   <esc>[2J    (will clear the screen)
  6127.  
  6128.          CLEAR - Removes the user sequence entry you specify.   No verify
  6129.              is done before the entry is deleted, so be warned.
  6130.  
  6131.          VIEW  - Displays  the  animation  sequence,  up  to the position
  6132.              where the  specified  user  sequence  is  to  be output.
  6133.              Useful for jogging your memory.
  6134.  
  6135.  
  6136.  
  6137.        LIMIT - Specify Animation Limit (registered version only)
  6138.  
  6139.       The  animation  limit  facility  of TheDraw provides for a powerful
  6140.       animation editing system.  You can easily correct mistakes, insert,
  6141.       delete or do anything else in the MIDDLE of any animation sequence.
  6142.  
  6143.       To  use  limiting,  you  tell  TheDraw where to stop displaying the
  6144.       animation sequence.  For  example, assume  you had  a sequence with
  6145.       5000  entries.    You  could  limit  it to 2000, correct a spelling
  6146.       mistake, then quickly reset the limit back to 5000.   With limiting
  6147.       turned on  TheDraw operates  as always, except everything above the
  6148.       animation limit is temporarily held out of the way.
  6149.  
  6150.       Upon choosing the LIMIT option, you can specify the animation limit
  6151.       position by means of the following keys:
  6152.  
  6153.          Up/Down Arrows   Advance/Backup limit by one position.
  6154.          PgUp/PgDn        Advance/Backup limit by 100 positions.
  6155.          Home             Go to start of sequence (position = 0).
  6156.          End          Go to end of sequence (all entries).
  6157.  
  6158.  
  6159.  
  6160.  
  6161.  
  6162.  
  6163.  
  6164.        TheDraw v4.63         TheDraw Command Functions          90
  6165.  
  6166.  
  6167.  
  6168.  
  6169.  
  6170.          marKer           Move to the position of an animation marker.
  6171.                   Selecting this command displays a window of all
  6172.                   currently  set   animation   markers.     After
  6173.                   choosing a marker, the animation limit moves to
  6174.                   the position of the marker.   Assuming you have
  6175.                   set  markers  in  strategic places, this allows
  6176.                   you  to  quickly  bounce  around  an  animation
  6177.                   sequence looking for a particular spot.
  6178.  
  6179.       Press  [ENTER]  to  save  the  new animation limit.  Pressing [ESC]
  6180.       leaves the original animation limit position unchanged.
  6181.  
  6182.  
  6183.  
  6184.        MARKER - Specify Animation Markers (registered version only)
  6185.  
  6186.       Markers are  used  to  "mark"  different  places  in  the animation
  6187.       sequence for  later reference.   Once  set, markers can be used for
  6188.       changing the animation limit position (see above) and  viewing just
  6189.       portions  of  the  animation  sequence.      They  can be useful in
  6190.       locating things forgotten or set aside until later,  editing images
  6191.       a page at a time, etc...
  6192.  
  6193.       Upon  choosing  the  MARKER  option,  a  window  will appear on the
  6194.       screen.  All currently defined markers are listed, along with their
  6195.       position  in  the  animation  sequence.  The following sub-commands
  6196.       are available:
  6197.  
  6198.          SET   - Sets a marker at the current animation limit position.
  6199.              This allows markers to  be easily  specified anywhere in
  6200.              the animation  sequence.   You are first be prompted for
  6201.              which marker to change.  If  the marker  is already set,
  6202.              it will  be erased before continuing.  After you specify
  6203.              a marker, you can then enter a comment (32 characters).
  6204.  
  6205.          CLEAR - Erases the marker you specify.  No verify is done before
  6206.              the entry is deleted, so be warned.
  6207.  
  6208.          VIEW  - Displays  the  animation  sequence,  up  to  a specified
  6209.              marker.  Useful for  reminding yourself  of what happens
  6210.              early in a 16000 entry animation sequence.
  6211.  
  6212.       Press [ESC] once done editing markers.  All changes are saved.
  6213.  
  6214.  
  6215.  
  6216.  
  6217.  
  6218.  
  6219.  
  6220.  
  6221.  
  6222.  
  6223.        TheDraw v4.63         TheDraw Command Functions          91
  6224.  
  6225.  
  6226.  
  6227.  
  6228.  
  6229.        MOVEMENT - Toggle Storage of Cursor Movements
  6230.  
  6231.       Toggles  whether  or  not  TheDraw  stores  actual movements of the
  6232.       cursor.  Normally only typed characters  are recorded;  however, if
  6233.       the cursor  movement toggle  is on  all movements of the cursor are
  6234.       also stored.  Cursor movements are  being stored  whenever the ANIM
  6235.       symbol in  the status line is flashing.  If you are still in doubt,
  6236.       watch the animation entry count.  It will  increase every  time you
  6237.       move the cursor.
  6238.  
  6239.  
  6240.        NORMAL - Convert to Normal Edit Mode.
  6241.  
  6242.       Converts what  appears on  the screen  to normal  mode images.  All
  6243.       animation is erased after  executing this  command.   You are first
  6244.       prompted to verify this before continuing.
  6245.  
  6246.       In  the  registered  version,  anything  not  displayed  because of
  6247.       animation limiting is lost.    Only  what  appears  exactly  on the
  6248.       screen when  you select  this command  is converted  to normal mode
  6249.       images.
  6250.  
  6251.  
  6252.        RESCAN - Rescan the Screens
  6253.  
  6254.       Selecting this command prompts  for  an  animation  scan  method as
  6255.       described above  in the ALT-J FROM NORMAL MODE section.  Everything
  6256.       in the animation sequence is first erased, then  the images  on the
  6257.       screens are rescanned.
  6258.  
  6259.       In  the  registered  version,  any animation sequence not displayed
  6260.       because of animation limiting  is  NOT  lost.    It  will  still be
  6261.       available  after  this  operation  is  done.  This differs from the
  6262.       above suboption and permits rebuilding something which did  not cut
  6263.       it the first time.
  6264.  
  6265.  
  6266.        PAUSE - Animation Pausing
  6267.  
  6268.       Allows  for  the  putting  of  pauses  into the animation sequence.
  6269.       TheDraw can wait for either a  key press  or a  specified number of
  6270.       seconds.   There is  no limit on pauses and they may occur anywhere
  6271.       in  the  animation  sequence.      This  can  be  very   useful  in
  6272.       presentations.
  6273.  
  6274.       After selecting PAUSE, the following sub-commands are available:
  6275.  
  6276.          TIME_PAUSE       Creates  a  pause  for  a  specified  number of
  6277.                   seconds (the pause can  be aborted  by pressing
  6278.                   any  key  when  actually  displayed).   You are
  6279.                   prompted for the number of seconds to delay.
  6280.  
  6281.  
  6282.        TheDraw v4.63         TheDraw Command Functions          92
  6283.  
  6284.  
  6285.  
  6286.  
  6287.  
  6288.          KEY_ONLY_PAUSE   Creates a pause for a key to be pressed.
  6289.  
  6290.          CLEAR            Erases  pauses  from  the  animation  sequence.
  6291.                   TheDraw  searches  backwards  from  the current
  6292.                   animation position for  a  Pause.    If  one is
  6293.                   found, you  can DELETE,  VIEW up to this pause,
  6294.                   or scan for the  NEXT  pause  before  this one.
  6295.                   Press [ESC] to abort clearing a pause.
  6296.  
  6297.       Pauses are observed whenever you redraw the animation sequence with
  6298.       ALT-Q.  When you save an ANSI file, it is  not possible  to produce
  6299.       the exact  pause equivalent (pauses for a key are impossible).  For
  6300.       this reason,  a  small  separate  presentation  program  (THEPP) is
  6301.       included  with   registered  copies   of  TheDraw.    This  program
  6302.       duplicates the operation of the  ALT-Q  command,  and  uses THEDRAW
  6303.       format data files.  See section entitled "The Presentation Program"
  6304.       for information on using THEPP.
  6305.  
  6306.  
  6307.  
  6308.                    ALT-K: DELETE A FILE
  6309.  
  6310.        Deletes a specified file from disk.  Use this option  to free  up disk
  6311.        space when  the need  arises.   The directory file selector (see ALT-L
  6312.        below) displays everything in  the current  directory.   Use the arrow
  6313.        keys to select a file to delete, or simply type in the filename at the
  6314.        bottom of the screen.  Press [ENTER] to select the file.
  6315.  
  6316.        TheDraw will then check for the file.  If it exists, you  are prompted
  6317.        to  verify  before  continuing.    This is your last chance before you
  6318.        delete something you might regret later.
  6319.  
  6320.  
  6321.  
  6322.                ALT-L: LOAD SCREEN FROM DISK
  6323.  
  6324.        This command allows you to load any ANSI  text, ANSI  Animation, ASCII
  6325.        text,  AVATAR  text,  PCBOARD  text,  WILDCAT text, BINARY dump, Basic
  6326.        BSAVE, TheDraw Object, TheDraw COM, TheDraw TD format file, or TheDraw
  6327.        Library file.
  6328.  
  6329.        You are  prompted to continue if the current screen image has not been
  6330.        saved.  The directory  file selector  next displays  all files  in the
  6331.        current directory for convenience.  The selector cursor may be used to
  6332.        choose a file, or a filename can  be  typed  in  directly.    Move the
  6333.        selector cursor  via the  arrow and  PgUp/PgDn keys.   To see the pick
  6334.        list of last 10 files accessed, press the TAB key.   Press  [ENTER] to
  6335.        load the file.
  6336.  
  6337.  
  6338.  
  6339.  
  6340.  
  6341.        TheDraw v4.63         TheDraw Command Functions          93
  6342.  
  6343.  
  6344.  
  6345.  
  6346.  
  6347.        If there  are many  files in the directory, a wildcard filename can be
  6348.        used to display a partial listing  of  those  available.     Wildcards
  6349.        operate  as  found  in  Dos.    Please  refer  to  your Dos manual for
  6350.        additional information.  Wildcards are normally temporary, and are not
  6351.        maintained between  directory invocations.   They can be made "sticky"
  6352.        however by use of the Setup utility.
  6353.  
  6354.        If you type in  the  filename,  a  file  extension  is  assumed unless
  6355.        otherwise specified.   The  assumed value  is ".ANS" unless changed in
  6356.        the setup  options.   The following  file types  require the specified
  6357.        extensions for TheDraw to be able to load them:
  6358.  
  6359.          Avatar            .AVT
  6360.          PCBoard           .PCB
  6361.          Wildcat           .BBS
  6362.          Binary Dump       .BIN
  6363.          Basic BSAVE       .BSV
  6364.          TheDraw COM File      .COM
  6365.          TheDraw OBJ File      .OBJ
  6366.          TheDraw Format        .TD
  6367.          TheDraw Library File  .TDL
  6368.  
  6369.        (Note:   The above filename extensions can be changed in Setup Options
  6370.        menu with TheDraw, or via the Setup Utility Defaults option).
  6371.  
  6372.        A file without one of  the  above  is  assumed  to  be  an  ANSI file.
  6373.        Assembler, Pascal,  and C  format files  cannot be reloaded, except as
  6374.        Ascii text.  You  must  keep  another  copy  of  those  screens safely
  6375.        somewhere in one of the above loadable formats.
  6376.  
  6377.        When loading  Ansi, Ascii,  Avatar, PCBoard, or Wildcat files only the
  6378.        first screen is stored.  Any  extra lines  are discarded.   Do  not be
  6379.        alarmed by  Ansi files which might be hundreds (or thousands) of lines
  6380.        long.  So long as the  cursor  never  goes  below  the  bottom  of the
  6381.        screen, everything will load properly.
  6382.  
  6383.        Ansi  animation   is  automatically  detected  by  TheDraw  using  the
  6384.        following advanced system:  If the cursor suddenly moves to a place it
  6385.        normally could never go, the file must be animated.
  6386.  
  6387.  
  6388.        AVATAR/PCBOARD/WILDCAT:
  6389.  
  6390.        These formats are pseudo-text files.  They load similar to Ansi files,
  6391.        but  because   the  control   patterns  differ   TheDraw  selects  the
  6392.        appropriate routines based on the extension.
  6393.  
  6394.  
  6395.  
  6396.  
  6397.  
  6398.  
  6399.  
  6400.        TheDraw v4.63         TheDraw Command Functions          94
  6401.  
  6402.  
  6403.  
  6404.  
  6405.  
  6406.        BINARY/BSAVE/COM/OBJECT/THEDRAW:
  6407.  
  6408.        These formats  may contain  either a full screen or small block image.
  6409.        Where a block is displayed depends upon the  file format.   Binary and
  6410.        Object formats  load in the upper-left corner.  Formatting information
  6411.        is not stored with binary blocks however, so  TheDraw will  prompt for
  6412.        block width before loading.
  6413.  
  6414.        BSave and  COM formats load in the same locations they were originally
  6415.        saved from.  The TheDraw format is more flexible however,  placing you
  6416.        automatically into block copy/move mode to position the block.
  6417.  
  6418.  
  6419.        THEDRAW LIBRARY FILES:
  6420.  
  6421.        These  are  an  extension  to  TheDraw TD files, permitting many to be
  6422.        stored together.   Comments  may  be  added  to  provide  a  quick and
  6423.        efficient  reference.    System  administrators or BBS operators could
  6424.        place all screens into a library for convenient reference when updates
  6425.        are necessary.
  6426.  
  6427.        Since multiple  images are stored per library file, attempting to load
  6428.        one presents  the user  with a  directory.   Choose an  entry from the
  6429.        directory with  the up/down  arrows and  press [ENTER] to load a file.
  6430.        Typing [ESC] will abort the load.
  6431.  
  6432.  
  6433.  
  6434.                   ALT-M: SELECT DRAW MODE
  6435.  
  6436.        TheDraw supports the "drawing" of lines.   This  is easily  done using
  6437.        the arrow  keys while in Draw mode.   The characters used in the lines
  6438.        are those available via  the function  keys from  the current function
  6439.        key set.  Only the first four sets of characters contain lines.   If a
  6440.        function key set without lines  is  selected,  the  first  set (single
  6441.        lines) is  used.   Draw mode  is indicated  by the  word "Draw" at the
  6442.        bottom of the screen.
  6443.  
  6444.        In draw mode, everything  operates without  change.   Typed characters
  6445.        still appear.     The only change is that using the arrow keys makes a
  6446.        line appear in the direction moved.
  6447.  
  6448.  
  6449.  
  6450.  
  6451.  
  6452.  
  6453.  
  6454.  
  6455.  
  6456.  
  6457.  
  6458.  
  6459.        TheDraw v4.63         TheDraw Command Functions          95
  6460.  
  6461.  
  6462.  
  6463.  
  6464.  
  6465.                    ALT-N: RULER
  6466.  
  6467.        The Ruler command places a pair of intersecting  lines on  the screen.
  6468.        The point  of intersection  represents the position of the cursor.  It
  6469.        is useful for lining up rows or columns of text or figures.
  6470.  
  6471.        The ruler can be  moved using  all normal  cursor keys  (ie: the arrow
  6472.        keys, Tab,  PgUp, PgDn, Home, End, etc...).  Press [ENTER] to save the
  6473.        new cursor location, or press [ESC]  to return  to the  initial cursor
  6474.        position.
  6475.  
  6476.        The ruler  can held  on the  screen during normal editing by selecting
  6477.        [S]ticky mode.  The  ruler will  appear under  the current  layer.  To
  6478.        turn off the sticky ruler, simply select ALT-N again then press [ESC].
  6479.  
  6480.  
  6481.  
  6482.              ALT-O: CHANGE DRIVE/SUB DIRECTORY
  6483.  
  6484.        This command  allows you  to change  the Dos default directory or path
  6485.        (displayed when loading or  viewing a  file).   All sub-directories of
  6486.        the  current  path  are  displayed  for  you.   A new directory can be
  6487.        selected by using the arrows keys  or typing  in the  pathname.  Press
  6488.        [ENTER] to change to it.  Note that the details of sub-directories are
  6489.        not covered here.  Please refer to your dos manual for that.
  6490.  
  6491.        For example, if you were on  drive C  in a  sub-directory named GAMES,
  6492.        you could  switch to  the subdirectory  UTILITY of drive D by entering
  6493.        "D:\UTILITY".  You could then  get  back  to  the  directory  GAMES by
  6494.        simply entering "C:" (no backslash).
  6495.  
  6496.  
  6497.                 Alt-P:  PAINT/FILL COMMANDS
  6498.  
  6499.        This command allows enclosed areas to be easily filled with characters
  6500.        and/or attributes.  An enclosed area  is  made  by  using  lines (from
  6501.        function key  sets 1-4) or using the Draw command (see ALT-M).  To use
  6502.        this command, position the cursor inside the area then press ALT-P.
  6503.  
  6504.        The following sub-commands are available:
  6505.  
  6506.      ATTRIBUTE   Changes all  foreground and  background color attributes
  6507.              within the  enclosed area  to those  values shown in the
  6508.              status line.
  6509.  
  6510.      FORE        Changes only the foreground color attributes  within the
  6511.              enclosed area to the current foreground value.
  6512.  
  6513.      BACK        Changes only  the background color attributes within the
  6514.              enclosed area to the current background value.
  6515.  
  6516.  
  6517.  
  6518.        TheDraw v4.63         TheDraw Command Functions          96
  6519.  
  6520.  
  6521.  
  6522.  
  6523.      CHARACTER   Prompts for a keyboard character or special function set
  6524.              symbol (see ALT-F command).  Solid spaces can be used by
  6525.              pressing Shift-Space.  All enclosed characters  are then
  6526.              overwritten  using  whatever  was  specified.   No color
  6527.              attributes are changed, just actual character symbols.
  6528.  
  6529.      BOTH        Combines  both  the   Attribute   and   Character  paint
  6530.              operations  above.    A  character is prompted for, then
  6531.              everything  in  the  area  is  overwritten   using  that
  6532.              character  with  the  current  color attributes from the
  6533.              status line.
  6534.  
  6535.        In animation mode, the Character and Both options  add new  entries to
  6536.        the  animation  sequence;  nothing  is deleted.  The Attribute command
  6537.        however only changes the color attributes of characters already in the
  6538.        animation sequence.  No new entries are added.
  6539.  
  6540.  
  6541.  
  6542.            ALT-Q (normal mode): AT-CODES QUICK REFERENCE
  6543.  
  6544.        Shows a  window containing  the AT-Code  commands used  by the PCBoard
  6545.        and Wildcat bulletin board systems.  Some examples of AT-codes are:
  6546.  
  6547.                @CLS@   @NODE@   @USER@   @LASTCALL@
  6548.  
  6549.        Use arrows keys or mouse to  scroll, and  press [ENTER]  to place your
  6550.        choice in the edit screen.  The current color attributes are used when
  6551.        drawing.  This effect  when used  in the  BBS will  be to  display the
  6552.        appropriate item in the displayed color.
  6553.  
  6554.        Note:   The codes  are put down simply as normal text.  TheDraw has no
  6555.        awareness of  these codes  beyond the  quick reference  chart.  Mixing
  6556.        colors  within  a  code  will  not  affect TheDraw, but will adversely
  6557.        affect your bulletin boards ability to interpret the codes properly.
  6558.  
  6559.  
  6560.                ALT-Q (animation mode): REDRAW SCREEN
  6561.  
  6562.        This command redraws the animation sequence on the screen.   With this
  6563.        you can  see how  your work  is developing.   You are prompted for the
  6564.        display speed to redraw at.  Available speeds are from  0 (fastest) to
  6565.        255 (crawl).   A  value of  about 40 is generally a good speed to view
  6566.        at.  Be warned that 255 literally is a crawl speed, displaying between
  6567.        two and  four characters  per second  (standard PC/XT).  A slow redraw
  6568.        can be broken out of by pressing any key.
  6569.  
  6570.        AUTOREPEAT OPTION:
  6571.  
  6572.        Typing "A" will turn  on autorepeat  redraw.   The animation sequences
  6573.        will be repeated over and over until a key is pressed.
  6574.  
  6575.  
  6576.  
  6577.        TheDraw v4.63         TheDraw Command Functions          97
  6578.  
  6579.  
  6580.  
  6581.  
  6582.                 ALT-R: RESTORE/UNDO CHANGES
  6583.  
  6584.        Restores from  unwanted or  unintended screen  changes.  This function
  6585.        can undo block or global  changes,  clear  or  load  screens,  line or
  6586.        column insert or deletes, animation mode toggles, font entry, mistakes
  6587.        made to the current line, etc...
  6588.  
  6589.        In regards to current line changes,  such modifications  are permanent
  6590.        once you move to a new line.
  6591.  
  6592.  
  6593.  
  6594.                 ALT-S: SAVE SCREEN TO DISK
  6595.  
  6596.        The  Save  Screen  command  offers  many formats for saving the entire
  6597.        current screen.   If you do not require the  full screen,  use a block
  6598.        save (see  ALT-B).   These can  be more  effective at  times.  Another
  6599.        option is turning off excess  blank  lines  using  the  defaults setup
  6600.        (refer to pull down OPTIONS menu).
  6601.  
  6602.        The  available  formats  are:   Ansi, Ascii, Avatar, PCBoard, Wildcat,
  6603.        Binary, BSave, Com, Asm, C, Pascal, Object, TheDraw  Data, and TheDraw
  6604.        Library.   Please note  that all color attributes are lost in an Ascii
  6605.        file.  All other formats store the complete screen with  color (unless
  6606.        overridden).
  6607.  
  6608.        You are  first prompted for which storage format to use.  In animation
  6609.        mode, only ANSI, AVATAR, and THEDRAW formats are available.  The items
  6610.        on the menu are discussed below.
  6611.  
  6612.  
  6613.        ANSI - Ansi text file
  6614.  
  6615.       You are first asked what initial screen preparation you want before
  6616.       the image is displayed.  Options are:
  6617.  
  6618.         CLEAR - Clear the screen
  6619.         HOME  - Move cursor to the upper-left corner of screen
  6620.         NONE  - Leave the screen and cursor position as is.
  6621.  
  6622.       The next prompt is for the maximum length of each line in the saved
  6623.       file.   TheDraw can  generate over  1300 characters  per video line
  6624.       (if every character  had  a  differing  color  combination).   Some
  6625.       applications  (such  as  some  bulletin  boards  and  text editors)
  6626.       cannot handle  so many  characters per  line.   Limiting the output
  6627.       line length  sacrifices display  time for  compatibility with these
  6628.       applications.  If length is no problem, specify [N]ONE for the most
  6629.       efficient file.
  6630.  
  6631.  
  6632.  
  6633.  
  6634.  
  6635.  
  6636.        TheDraw v4.63         TheDraw Command Functions          98
  6637.  
  6638.  
  6639.  
  6640.  
  6641.  
  6642.       Lastly, you  are prompted for the Ansi display speed (a number from
  6643.       0 to 100).  The operation is similar  to the  ALT-Q animator redraw
  6644.       screen function.   Things are slowed down by adding redundant codes
  6645.       after displayed characters.
  6646.  
  6647.          NOTE:  No exact equation relates the slowdown speed to animation
  6648.          redraw speed.  Display is intimately tied to the computer speed,
  6649.          and how the file  ultimately is  displayed.   A program included
  6650.          with the  registered version  (BAUDSIM) simulates  the effect of
  6651.          displaying a file over  a modem.   BBS  operators can  find this
  6652.          valuable  in  gauging  screens  beforehand.   Experimenting will
  6653.          find the best speed for your needs.
  6654.  
  6655.  
  6656.        ASCII - Ascii Text (no colors)
  6657.  
  6658.       Selecting ASCII, you are  prompted  to  continue  with  a non-color
  6659.       image.   The Ascii file produced is similar to any file produced by
  6660.       a normal text editor (ie: Dos  EDIT, Brief,  Turbo Pascal/C  IDE or
  6661.       Sidekick editors).
  6662.  
  6663.       There is  one difference  in the  approach used by TheDraw however.
  6664.       Lines of  Ascii fully  80 characters  wide, are  normally NOT ended
  6665.       with carriage return sequences (CR/LF).
  6666.  
  6667.       Such Ascii  files viewed  via the Dos TYPE command display properly
  6668.       but do not load correctly into most other software.   Therefore, an
  6669.       option  to  force  CR/LF  was  added  to  the Setup Default Options
  6670.       configuration (see pulldown OPTIONS menu).  Set this  toggle if you
  6671.       are having difficulties.
  6672.  
  6673.  
  6674.        AVATAR - Avatar Type 0 Text
  6675.  
  6676.       TheDraw produces  an AVT/0 type file.  These are compliant with all
  6677.       needs for reproducing animation.  There  are two  prompts presented
  6678.       after selecting this format, similar to those used by Ansi files.
  6679.  
  6680.       The first  is identical  to Ansi; initial screen preparation.  This
  6681.       controls what happens before the images is displayed.  Choices are:
  6682.  
  6683.         CLEAR - Clear the screen
  6684.         HOME  - Move cursor to the upper-left corner of screen
  6685.         NONE  - Leave the screen and cursor position as is.
  6686.  
  6687.       The second  prompt is  for display  speed slowdown  (ironic in that
  6688.       Avatar was  devised as  a technique  to draw color text faster than
  6689.       Ansi).  This is a number  from 0  to 100  enabling you  to slow how
  6690.       fast the  Avatar file  is drawn.   Things are slowed down by adding
  6691.       redundant control codes into the display.
  6692.  
  6693.  
  6694.  
  6695.        TheDraw v4.63         TheDraw Command Functions          99
  6696.  
  6697.  
  6698.  
  6699.  
  6700.  
  6701.        AT-Codes / PCBoard / Wildcat BBS
  6702.  
  6703.       The main save prompt lists "@-codes" as a  file type,  then prompts
  6704.       for the  PCBoard or  Wildcat variation.  These are so close to each
  6705.       other both are covered together.
  6706.  
  6707.       Like the Avatar format above, there  are two  parameter options for
  6708.       video preparation  and display speed.  The first prompt only offers
  6709.       Clear Screen or None.   TheDraw  AT-Code files  do not  provide for
  6710.       cursor control, and thus the cursor Home option is not provided.
  6711.  
  6712.       The AT-Code format was devised to simplify the system operators job
  6713.       in create screens.  Only one need be  created, and  the BBS filters
  6714.       out  color  codes  for  users  not  wanting  Ansi  graphics.  It is
  6715.       unfortunate the authors did not consider the ease at which a simple
  6716.       Ansi filter could have been created.
  6717.  
  6718.       TheDraw contains  a convenient  quick reference of most PCBoard and
  6719.       WildCat BBS macro codes (such as @CLS@, @USER@, @LASTCALL@).  These
  6720.       can be  also typed manually onto the screen.  No special processing
  6721.       is done with these codes beyond the reference  screen.   The actual
  6722.       field lengths  of some macros might affect your screen display, and
  6723.       should be compensated for.
  6724.  
  6725.       The color combinations of  Black-on-Black (code  $00), and Blinking
  6726.       White-on-Lightgray (code  $FF) are  not permitted by PCBoard and/or
  6727.       Wildcat.  These are  translated into  Lightgray-on-Black (code $0F)
  6728.       and  White-on-Lightgray   (code  $7F)  accordingly  by  TheDraw  as
  6729.       appropriate.
  6730.  
  6731.  
  6732.        BINARY - Binary Screen Dump
  6733.  
  6734.       Produces a straight data byte dump of the video screen.   This data
  6735.       format is  generic.   It is useful for many things, such as loading
  6736.       screen images directly to video ram,  etc...    This  will  be 4000
  6737.       bytes for a standard 80x25 screen; larger for EGA/VGA displays.
  6738.  
  6739.  
  6740.        BSAVE - Basic BSave Screen Dump
  6741.  
  6742.       This  file  is  identical  to  a binary screen dump, except loading
  6743.       codes for Basic are placed at the front.  These files can be loaded
  6744.       from basic with:
  6745.  
  6746.               DEF SEG = &HB800 : BLOAD"filespec.BSV"
  6747.  
  6748.       If you have a monochrome monitor, replace the B800 with B000 in the
  6749.       above line.  BSAVE files are always saved to the full screen width.
  6750.       Block saves are limited by this restriction also.
  6751.  
  6752.  
  6753.  
  6754.        TheDraw v4.63         TheDraw Command Functions         100
  6755.  
  6756.  
  6757.  
  6758.  
  6759.  
  6760.        COM - Dos Executable COM Files.
  6761.  
  6762.       Produces a truly separate program executable from Dos by typing the
  6763.       program name.  COM  files are  useful in  batch files  and the like
  6764.       for -fast-  displaying.  COM file screen blocks (via ALT-B) display
  6765.       only  the  block  without  changing  anything  else.     You  could
  6766.       conceivably generate a "layering" windows effect if you so desired.
  6767.       TheDraw has  three different  styles of  COM file,  and selects the
  6768.       most appropriate to minimize file size.
  6769.  
  6770.  
  6771.        ASM - Assembly Language
  6772.  
  6773.       ASM  produces  a  list  of  DB  data statements for use by assembly
  6774.       language  programmers.    Additional  suboptions  are  available to
  6775.       specify  the  assembler  data  format.   You can specify to Crunch,
  6776.       output only Ascii characters, or generate a normal file.  Crunching
  6777.       uses a  custom technique  for compressing color changes and strings
  6778.       of identical characters to make the smallest possible file.
  6779.  
  6780.          Note:  To display a crunched  file you  must use  the uncruncher
  6781.          routine included  (file UNCRUNCH.ASM).   This  file has comments
  6782.          explaining its use.  It is compatible with  Microsoft (MASM) and
  6783.          Borland  (TASM)  assemblers.    Simple formatting changes may be
  6784.          required for other vendors assemblers.
  6785.  
  6786.       The Ascii format saves  only characters  on the  screen.   No color
  6787.       attribute  information  is  stored.    The  Normal format is a pure
  6788.       binary dump of the screen,  converted  to  an  assembler compatible
  6789.       format.
  6790.  
  6791.       You are also prompted for a reference identifier to use.  This will
  6792.       be the  name used  to access  the data  within a  program.  TheDraw
  6793.       takes this  and generates  statements to simplify programming.  For
  6794.       instance, assume a standard full screen with the default IMAGEDATA:
  6795.  
  6796.         IMAGEDATA_WIDTH EQU 80
  6797.         IMAGEDATA_DEPTH EQU 25
  6798.         IMAGEDATA_LENGTH EQU 4000
  6799.         IMAGEDATA LABEL BYTE
  6800.              ... data for screen image follows here ...
  6801.  
  6802.       The width and depth statements reflect  the character  dimension of
  6803.       the image  saved.  Saving a block changes them appropriately.  This
  6804.       facilitates easier program development.  Instead of directly coding
  6805.       block sizes  refer to  the above identifiers.  Thus eliminating the
  6806.       need to remember arbitrary  block sizes  and the  dreaded so called
  6807.       "magic numbers".
  6808.  
  6809.  
  6810.  
  6811.  
  6812.  
  6813.        TheDraw v4.63         TheDraw Command Functions         101
  6814.  
  6815.  
  6816.  
  6817.  
  6818.        PASCAL - Turbo Pascal Compatible Screen Dump
  6819.  
  6820.       This operates  the same  as the  ASM option described above, except
  6821.       the output is in a Turbo  Pascal compatible  CONST structure.   See
  6822.       Appendix B for the section entitled "Programmers Programming Tips".
  6823.       To use the Crunched file format, use the file UNCRUNCH.PAS.
  6824.  
  6825.  
  6826.        C Language - C Formatted Compatible Screen Dump
  6827.  
  6828.       Again, this  operates the  same as  the ASM  option.  The format is
  6829.       standard predefined  C array  of type  char.   Crunched screens are
  6830.       handled  using   routines  in   the  two   files  UNCRUN_N.OBJ  and
  6831.       UNCRUN_F.OBJ (for near and  far  code  models  respectfully).   The
  6832.       header file UNCRUNCH.H contains instructions on their proper usage.
  6833.       In short, depending on the code model use select (near or far), the
  6834.       corresponding object must be linked with your program.
  6835.  
  6836.  
  6837.        OBJECT - Intel Compatible Object Code File
  6838.  
  6839.       This  is  a  file  format  compatible with many high level language
  6840.       compilers.  Object files  can be  produced with  screen information
  6841.       crunched, ascii  only, or  binary normal  (as in ASM format).  Four
  6842.       code/data models are supported:
  6843.  
  6844.                  Turbo Pascal v4.0 (and above)
  6845.                  QuickBasic v4.0 (and above)
  6846.                  Small Data
  6847.                  Large Data
  6848.  
  6849.       The TP40 format is compatible with Turbo Pascal  v4.0 through v7.0,
  6850.       and Borland  Pascal v7.0.   Data saved to these files is referenced
  6851.       by external procedure calls and  pointers.    Refer  to  the topics
  6852.       "TURBO PASCAL v4.0 through v5.5" and "TURBO PASCAL VERSION 6.0/7.0"
  6853.       in the Programmers Programming Tips section for examples.
  6854.  
  6855.       The QB40 format is for use  with QuickBasic  v4.0 and  higher.  The
  6856.       image data  saved to these files are referenced by provided display
  6857.       routines.  The  object  files  are  linkable  (if  you  use  the BC
  6858.       compiler),  or  can  be  incorporated  into a Quick Library for use
  6859.       within the  QuickBasic environment.   When  linking separately, you
  6860.       must include  the file QBUTIL.LIB in addition to any TheDraw object
  6861.       files.  To simplify  matters,  you  can  merge  the  QBUTIL.LIB and
  6862.       object files into one library.
  6863.  
  6864.       A batch  file MAKEQLB.BAT  is provided  to create the Quick Library
  6865.       and separate  library files  easily.   To use,  the first parameter
  6866.       should be the name of the quick library to create.
  6867.  
  6868.  
  6869.  
  6870.  
  6871.  
  6872.        TheDraw v4.63         TheDraw Command Functions         102
  6873.  
  6874.  
  6875.  
  6876.  
  6877.  
  6878.       The following parameters are TheDraw object files plus other object
  6879.       (.OBJ) and library (.LIB) files you want included.  ie:
  6880.  
  6881.                MAKEQLB testlib IMAGE1.OBJ IMAGE2.OBJ
  6882.  
  6883.       This creates the files named TESTLIB.LIB and TESTLIB.QLB.   Note no
  6884.       file  extension  was  specified  on  the "testlib" parameter above,
  6885.       since the  batch file  adds ".LIB"  and ".QLB"  automatically.  The
  6886.       Quick Library contains the display routines (from QBUTIL.LIB, which
  6887.       is always added by the  batch  file),  plus  the  screen  images in
  6888.       IMAGE1.OBJ  and  IMAGE2.OBJ.    See the topic "MICROSOFT QUICKBASIC
  6889.       v4.0 AND v4.5" in  the  Programmers  Programming  Tips  section for
  6890.       examples on usage.
  6891.  
  6892.  
  6893.       OBJECT FILE DATA FORMATS:
  6894.  
  6895.       The data formats use the following identifiers:
  6896.  
  6897.                  Small Data        Large Data
  6898.                  ──────────      ───────────────
  6899.              Segment:      _DATA      filename_DATA
  6900.              Group:        DGROUP         filename_DATA
  6901.  
  6902.       Where "filename" is the actual filename given the object file.
  6903.  
  6904.       The  last  prompt  under  object  files  is  for the data reference
  6905.       identifier.  This is the name  you  will  use  in  your  program to
  6906.       access the  object data.   It  defaults to  IMAGEDATA (for TP40 and
  6907.       QuickBasic) or _IMAGEDATA (Small or Large Data).  The underscore is
  6908.       usually  required   for  small   or  large  data  formats,  but  is
  6909.       application and compiler dependent.
  6910.  
  6911.       The above identifier is used to  directly reference  the image data
  6912.       stored.      In   addition,   TheDraw  generates  three  additional
  6913.       identifiers similar to the ASM case:
  6914.  
  6915.         <identname>_WIDTH   <identname>_DEPTH   <identname>_LENGTH
  6916.  
  6917.       For QuickBasic users the following identifiers are used,  called as
  6918.       subroutine functions to obtain the wanted value:
  6919.  
  6920.           <identname>WIDTH   <identname>DEPTH   <identname>LENGTH
  6921.  
  6922.       In all  cases, these  contain the dimensions of the block specified
  6923.       (width and depth).  The last identifier specifies how long the data
  6924.       block is.   The  width/depth values  are useful for drawing windows
  6925.       and other related functions.   The  length parameter  is useful for
  6926.       displaying crunched images.
  6927.  
  6928.  
  6929.  
  6930.  
  6931.        TheDraw v4.63         TheDraw Command Functions         103
  6932.  
  6933.  
  6934.  
  6935.  
  6936.        THEDRAW Data File - TheDraw Setup Save
  6937.  
  6938.       This  format  saves  everything  about the current configuration of
  6939.       TheDraw.  In normal edit mode, all occupied page layers  are saved.
  6940.       In animation  mode, the complete animation sequence is stored.  All
  6941.       other parameters are saved  also  (ie:  current  colors,  tab line,
  6942.       cursor position, current page layer, etc...).
  6943.  
  6944.       The TheDraw  format file  also has the benefit of being the fastest
  6945.       way to load and retrieve screen images; eight page layers  or 16000
  6946.       animation entries take only seconds to load.
  6947.  
  6948.  
  6949.        THEDRAW Library File - Group Management of TheDraw Setup Saves
  6950.  
  6951.       Very similar  to TheDraw  Data files, this extension permits saving
  6952.       many screens  in one  file.   A description  can be  added for each
  6953.       entry, and  information on the screen size and type (normal, block,
  6954.       or animated) is also stored.   After entering  a filename  as shown
  6955.       below, the screen switches to a directory of the specified library.
  6956.  
  6957.       Once  in  the  directory,  selecting  the  last entry adds onto the
  6958.       library.  Choosing an  existing entry  replaces it.   Press [ENTER]
  6959.       and the entry is updated.  Press [ESC] to abort.
  6960.  
  6961.          Note:    For  maximum  file  security,  a  temporary copy of the
  6962.          library is kept while  updates are  made.   You therefore should
  6963.          have  enough  disk  space  available  for  an entire copy of the
  6964.          library before attempting to save.
  6965.  
  6966.       An example of the library entry selection window is shown below:
  6967.  
  6968.       ┌─────────────────────────────────────────────────────────────────┐
  6969.  
  6970.          #:  Description             Last Updated   Size   Info
  6971.  
  6972.          1:  Main Menu for System          02/01/93 4:06pm  80x25  Anim
  6973.          2:  New User Information Screen   01/17/93 2:17pm  80x100
  6974.          3:  <add new entry to library>
  6975.          4:
  6976.          5:
  6977.          6:
  6978.          7:
  6979.          8:
  6980.          9:
  6981.         10:
  6982.  
  6983.       └─────────────────────────────────────────────────────────────────┘
  6984.  
  6985.  
  6986.  
  6987.  
  6988.  
  6989.  
  6990.        TheDraw v4.63         TheDraw Command Functions         104
  6991.  
  6992.  
  6993.  
  6994.  
  6995.  
  6996.        TYPING IN THE FILENAME:
  6997.  
  6998.        Following the above prompts, TheDraw asks  for  a  filename.    If the
  6999.        file already  exists, you  are prompted to verify the save.  If you do
  7000.        not specify a filename extension, TheDraw assumes the following:
  7001.  
  7002.               .ANS     ANSI compatible files
  7003.               .ASC     ASCII text files
  7004.               .AVT     Avatar Type 0 compatible
  7005.               .PCB     PCBoard BBS
  7006.               .BBS     Wildcat BBS
  7007.               .BIN     Binary dumps
  7008.               .BSV     Bsave files
  7009.               .COM     Dos COM executable files
  7010.               .ASM     Assembler source code files
  7011.               .PAS     Pascal source code files
  7012.               .H       C source code files
  7013.               .OBJ     Object files
  7014.               .TD      TheDraw Data files.
  7015.               .TDL     TheDraw Library files.
  7016.  
  7017.        A file without an extension can  be specified  by placing  a period as
  7018.        the last character of the filename (ie: TESTFILE. ).  After entry of a
  7019.        valid filename, the screen is saved to disk.
  7020.  
  7021.        For information and suggestions on using  the screen  files created by
  7022.        TheDraw in your programs, see section PROGRAMMERS PROGRAMMING TIPS.
  7023.  
  7024.  
  7025.  
  7026.                  ALT-T: TAB SETUP
  7027.  
  7028.        This command allows you to set tabs in the editor (positions where the
  7029.        [TAB] key stops).  Initially the positions are at every  tenth column.
  7030.        Available sub-commands are:
  7031.  
  7032.       SET       - Set a  new tab position.  Move the cursor to the wanted
  7033.               position then press 'S'.
  7034.       CLEAR     - Clears tab at current cursor position
  7035.       RESET     - Resets tab line to initial settings (every ten spaces).
  7036.       ERASE     - Delete all current tab setting for a clean slate.
  7037.       INCREMENT - Prompts for a  step  size.    From  the  current cursor
  7038.               position, every  nth location is then set.  This allows
  7039.               you to  quickly specify,  say every  fourth position if
  7040.               your need requires it.
  7041.  
  7042.        Press [ESC] to leave the tab set command.
  7043.  
  7044.  
  7045.  
  7046.  
  7047.  
  7048.  
  7049.        TheDraw v4.63         TheDraw Command Functions         105
  7050.  
  7051.  
  7052.  
  7053.  
  7054.               ALT-U: USE COLORS UNDER CURSOR
  7055.  
  7056.        Changes current  edit colors  (seen on status line) to those currently
  7057.        under the cursor.   This provides  a fast  method to  change to colors
  7058.        already displayed on the screen.  See also Pick Character (ALT-/).
  7059.  
  7060.  
  7061.                    ALT-V: VIEW A SCREEN
  7062.  
  7063.        This command allows you to look at an image saved on disk.  Nothing is
  7064.        altered by this command.  This might be  used in  conjunction with the
  7065.        block load/import function (see ALT-B).
  7066.  
  7067.        Viewing a  screen is  similar to loading (see ALT-L) except the loaded
  7068.        image is not remembered.  Once the image is fully  displayed, a window
  7069.        appears  with  instructions.      Press  [ENTER]  to  exit  view mode.
  7070.        Pressing any other key  will make  the window  disappear to facilitate
  7071.        viewing.  After about 30 seconds it reappears to remind you about view
  7072.        mode (in case you leave the computer unattended).
  7073.  
  7074.  
  7075.                    ALT-W: EDIT CHARACTER
  7076.             (available in animation mode only)
  7077.  
  7078.        Allows the editing of a mistyped animation entry.  This command exists
  7079.        because simply  overwriting an incorrect character does not delete it.
  7080.        In  animation  mode,  both  entries  are  remembered  -  the incorrect
  7081.        character,  plus  the  wanted  one.    Upon redisplaying the animation
  7082.        sequence (see ALT-Q), both  characters would  be seen  (the former for
  7083.        only a millisecond perhaps, but it would appear).
  7084.  
  7085.        Another way  is using ALT-Z to delete the incorrect entry.  The wanted
  7086.        character could then be typed in.  This works perfectly well, and some
  7087.        people may  prefer it;  however, to  quickly change  an entry ALT-W is
  7088.        more convenient.
  7089.  
  7090.        After pressing Alt-W you are prompted to type the new  character.  The
  7091.        current  position  will  flicker.    All  color  changing commands are
  7092.        available (ALT-A and the Ctrl-Arrow keys) while editing.
  7093.  
  7094.  
  7095.                 ALT-X: EXIT THEDRAW
  7096.  
  7097.        Prompts if you wish  to  exit  TheDraw  or  execute  a  shell  to DOS.
  7098.        Responding Yes exits the program.  No cancels the command.
  7099.  
  7100.        Shell  also  exits  to  Dos,  however  TheDraw remains in memory.  All
  7101.        screen page layers and  animation entries  are retained.   To  free up
  7102.        memory for the Dos Shell, TheDraw will try temporarily saving its data
  7103.        to expanded memory/EMS  or  a  disk  swap  file  (if  insufficient EMS
  7104.        exists).    Typing  the  command  "EXIT" at the Dos prompt will return
  7105.        control to TheDraw.
  7106.  
  7107.  
  7108.        TheDraw v4.63         TheDraw Command Functions         106
  7109.  
  7110.  
  7111.  
  7112.  
  7113.  
  7114.                 ALT-Y: DELETE CURRENT LINE
  7115.  
  7116.        Deletes the current horizontal line on  the screen.   All  lines below
  7117.        are shifted  up one  line position.   The bottom line is cleared using
  7118.        spaces and the default background color.   This  command is reversible
  7119.        using the Restore/Undo command (ALT-R).
  7120.  
  7121.  
  7122.  
  7123.                ALT-Z: ERASE CURSOR CHARACTER
  7124.             (available in animation mode only)
  7125.  
  7126.        Erases  the  top-most  character  from  the  animation sequence at the
  7127.        current cursor position.  Only the last character typed at  the cursor
  7128.        position is deleted, everything typed before is unchanged.
  7129.  
  7130.        This  differs  from  the  Backspace  key which deletes everything at a
  7131.        cursor position.
  7132.  
  7133.  
  7134.  
  7135.              ALT-/: PICK CHARACTER FOR MANUAL PAINTING
  7136.  
  7137.        TheDraw offers easy manual painting support.  Similar to line drawing,
  7138.        you draw  or paint  using a specific "picked" character.  This command
  7139.        toggles manual painting, using the character currently under cursor.
  7140.  
  7141.        Manual paint mode is indicated by a "x"  structure in  the status line
  7142.        (where 'x' is the symbol chosen).  You draw with the symbol by via the
  7143.        Shift Arrow-Key combinations.  ie:
  7144.  
  7145.                  Shift Up-Arrow
  7146.                  Shift Right-Arrow
  7147.                       etc...
  7148.  
  7149.        To turn off manual paint mode, you must pick the same character again.
  7150.        If  painting  with  an  "*",  you  must  type ALT-/ when the cursor is
  7151.        resting on a "*" symbol.
  7152.  
  7153.        There are other ways of picking characters.   These are  via the Quick
  7154.        Palette  and  the  color  shading  screen (in the registered version).
  7155.        Using the Quick Palette is very easy with  a mouse.   Simply  click on
  7156.        the wanted character is it immediately becomes the picked character.
  7157.        The color shading screen sets the picked character to "░", "▒", or "▓"
  7158.        depending on the shading selected.
  7159.  
  7160.  
  7161.  
  7162.  
  7163.  
  7164.  
  7165.  
  7166.  
  7167.        TheDraw v4.63         TheDraw Command Functions         107
  7168.  
  7169.  
  7170.  
  7171.  
  7172.  
  7173.              ALT-[LEFT]: DELETE CURRENT COLUMN
  7174.  
  7175.        Deletes the  current column on the screen.  Everything to the right of
  7176.        the current column is  shifted  over  one  position.    The right-most
  7177.        column is cleared using the default background color.  This command is
  7178.        equivalent to a Block  Delete (ALT-B,D)  on the  current column.   The
  7179.        action is reversible using Restore/Undo (ALT-R).
  7180.  
  7181.  
  7182.  
  7183.                ALT-[RIGHT]: INSERT A COLUMN
  7184.  
  7185.        Inserts a  blank vertical column at the current position, filled using
  7186.        the default background color.  The current column and all those to its
  7187.        right are  shifted over.  The right-most column is lost.  This command
  7188.        is reversible using the Restore/Undo command (ALT-R).
  7189.  
  7190.  
  7191.  
  7192.                ALT-- TOGGLE COLOR DRAW MODE
  7193.  
  7194.        Toggles color attribute drawing.   In  this  mode,  moving  the cursor
  7195.        updates the  new character  position to the current edit colors.  This
  7196.        permits easy manual color painting of  a  given  area.    In animation
  7197.        mode, only  those locations  with characters in the animation sequence
  7198.        will be altered.  Unused locations will not be affected.
  7199.  
  7200.        Operation of TheDraw is not changed by this  mode.   Moving the cursor
  7201.        will simply change colors.
  7202.  
  7203.  
  7204.  
  7205.                ALT-= TOGGLE MACRO LEARN MODE
  7206.                  (registered version only)
  7207.  
  7208.        Activates the  macro learning  mode of TheDrawR.  You are prompted for
  7209.        which macro key to program (0-9).  After specifying the macro, TheDraw
  7210.        remembers everything  you type.   This  is somewhat  akin to animation
  7211.        mode; however, macro learn mode literally  remembers everything.   All
  7212.        editing commands  performed, any  characters typed,  etc...  Up to 512
  7213.        characters will be recorded.
  7214.  
  7215.        Once satisfied with the macro, type ALT-= again  to save  it.   To use
  7216.        the macro,  press ALT  followed by  the proper  number key 0 through 9
  7217.        (do not use the numbers on the keypad).
  7218.  
  7219.        While programming a macro,  selecting  another  macro  chains  the two
  7220.        together.    Chaining  a macro  in this  fashion permits you to create
  7221.        longer macros than available otherwise.   When you  specify the second
  7222.        macro, the one being programmed is saved and learn mode is turned off.
  7223.  
  7224.  
  7225.  
  7226.        TheDraw v4.63         TheDraw Command Functions         108
  7227.  
  7228.  
  7229.  
  7230.  
  7231.  
  7232.        To program  the second macro (and continue the sequence), select Alt-=
  7233.        from command mode again.
  7234.  
  7235.        You can create an "endless" macro quite easily.   Simply  have a macro
  7236.        call itself.  For instance, if programming macro 0, type ALT-0.  ie:
  7237.  
  7238.         ALT-= 0 [Enter]     Start programming macro 0.
  7239.         <macro contents>
  7240.         Alt-0
  7241.  
  7242.        TheDraw would repeat the macro contents until ESC was pressed.
  7243.  
  7244.  
  7245.  
  7246.                   MANUAL PAINTING OPTIONS
  7247.  
  7248.        The manual  painting is  done using  the shift-arrow key combinations.
  7249.        For instance:
  7250.                  Shift Up-Arrow
  7251.                  Shift Right-Arrow
  7252.                       etc...
  7253.  
  7254.        Selecting a character to paint with  is done  with the  Pick Character
  7255.        command (ALT-/),  then choosing  a symbol  from the Quick Palette (see
  7256.        pulldown menus), or the color shading  screen found  in the registered
  7257.        version (ALT-A,A).
  7258.  
  7259.        To turn  off manual  paint mode, simply pick the same character again.
  7260.  
  7261.  
  7262.  
  7263.               ALTERNATE COLOR CHANGE OPTIONS
  7264.  
  7265.        For the experienced user,  TheDraw provides  a more  convenient way of
  7266.        adjusting the current status line colors.
  7267.  
  7268.        Pressing Ctrl-Up increments the current foreground color number (found
  7269.        in ALT-A) and Ctrl-Down decrements it.  These two key  combinations do
  7270.        not always  work reliably  on all  computers (a Bios flaw exists).  To
  7271.        get around this, TheDraw incorporates  a  special  keyboard  driver to
  7272.        handle these  two keys.   If  they do not work on your machine run the
  7273.        SETUP utility and use "Keyboard  Customize"  to  configure  TheDraw to
  7274.        your keyboard.
  7275.  
  7276.        Pressing  Ctrl-Right  increments  the current background color number;
  7277.        Ctrl-Left decrements it.
  7278.  
  7279.  
  7280.  
  7281.  
  7282.  
  7283.  
  7284.  
  7285.        TheDraw v4.63         TheDraw Command Functions         109
  7286.  
  7287.  
  7288.  
  7289.  
  7290.  
  7291.             SHIFT-SPACE: SOLID SPACE CHARACTER
  7292.  
  7293.        As stated elsewhere in this documentation (see ALT-E), the sprite mode
  7294.        of TheDraw  makes lower  page layers  appear through "black spaces" on
  7295.        the  current  page  layer.    This  can  sometimes  be  convenient and
  7296.        sometimes  not.    There  are  instances  when you want to have a non-
  7297.        transparent black space on the screen.
  7298.  
  7299.        The Solid Space performs this function  (non-transparent black space).
  7300.        Moving the  cursor onto  a solid space will cause the background color
  7301.        to flicker as an  indicator.   A Solid  space is  nothing more  than a
  7302.        character #255 (which is a blank IBM extended character).
  7303.  
  7304.  
  7305.  
  7306.             CTRL-PRTSC: FULL SCREEN MODE TOGGLE
  7307.  
  7308.        This command  toggles screen  usage in TheDraw between normal and full
  7309.        screen.  In full-screen  mode the  status line  disappears so  you can
  7310.        fully  use  the  screen.    Also,  TheDraw  makes  heavy use of pop up
  7311.        windows for prompts and  messages.   While useful,  it can  be awkward
  7312.        since YOU  must remember  where you  are at  all times.  For instance,
  7313.        block marking and etc...  It is easy to become confused unless you are
  7314.        careful.   If all else fails, hit ESC a few times to abort the current
  7315.        command.  Some people  may prefer  this mode  which is  fine.  Nothing
  7316.        forces you to use either way.
  7317.  
  7318.        TheDraw will  automatically scroll  the video  as necessary, even with
  7319.        the status line on.   Full  screen mode  is generally  used to  take a
  7320.        complete look at your work.
  7321.  
  7322.        Ctrl-PrtSc only operates from command mode.  It is not available under
  7323.        any sub commands (such  as  Block,  Global,  etc...).    There  are no
  7324.        restrictions on full screen use in animation modes.
  7325.  
  7326.  
  7327.  
  7328.  
  7329.  
  7330.  
  7331.  
  7332.  
  7333.  
  7334.  
  7335.  
  7336.  
  7337.  
  7338.  
  7339.  
  7340.  
  7341.  
  7342.  
  7343.  
  7344.        TheDraw v4.63         TheDraw Command Functions         110
  7345.  
  7346.  
  7347.  
  7348.  
  7349.  
  7350.                   THE FONT EDITOR
  7351.  
  7352.  
  7353.        TheDraw has  complete support  for Ascii class fonts.  These fonts are
  7354.        letters and symbols drawn using the IBM extended character set.  ie:
  7355.  
  7356.                  ┌────┐   ┌─────┐    ▄▄▄▄
  7357.                  │    │   │ ┌─┐ │   █▀  ▀█
  7358.                  ├────┤   │ └─┘ │   █▄▄▄▄█   etc...
  7359.                  │    │   │ ┌─┐ │   █▀▀▀▀█
  7360.                       └─┘ └─┘   ▀    ▀
  7361.  
  7362.        TDFonts is  the management  utility for  adding and  updating the font
  7363.        database.  The utility was designed to be straightforward to learn.
  7364.  
  7365.        There are  two types  of fonts supported by TDFonts and TheDraw: Block
  7366.        and Outline formatted.  Block fonts are very  simple and  nothing more
  7367.        than recorded  shapes you  enter.   Outline fonts  are special in that
  7368.        they can appear using one  of  17  different  styles  (see  "The FONTS
  7369.        Menu").   Included with  TheDraw, the fonts "Outline" and "BigOutline"
  7370.        are examples of this type.  Some examples of the styles are:
  7371.  
  7372.               ┌─────┐     ┌─────╖    █▀▀▀▀▀█
  7373.               │     │     │     ║    █     █
  7374.               │     │     │     ║    █     █
  7375.               └─────┘     ╘═════╝    ▀▀▀▀▀▀▀
  7376.  
  7377.        The choice of formatting types is made when creating a font.  The Font
  7378.        Editor (described later) is used to prepare and update the symbols.
  7379.  
  7380.  
  7381.        RUNNING TDFONTS
  7382.        ───────────────
  7383.        To start TDFonts, type from the dos prompt:
  7384.  
  7385.       TDFONTS
  7386.  
  7387.        Press [ENTER]  to run  the program.   By default the program looks for
  7388.        the database file TDFONTS.TDF in the current directory.  To edit other
  7389.        files, list the filename as show:
  7390.  
  7391.       TDFONTS MYFONTS.TDF      (loads MYFONTS.TDF instead of default)
  7392.  
  7393.        Keep in  mind only  TDFONTS.TDF is actually used by TheDraw.  You must
  7394.        either import  your fonts  into the  file TDFONTS.TDF,  or rename your
  7395.        file to TDFONTS.TDF.
  7396.  
  7397.  
  7398.  
  7399.  
  7400.  
  7401.  
  7402.  
  7403.        TheDraw v4.63          The Font Editor              111
  7404.  
  7405.  
  7406.  
  7407.  
  7408.  
  7409.        The database is loaded and the font names listed on the screen.  ie:
  7410.  
  7411.       A: Outline
  7412.       B: BigOutline
  7413.       C: Raster
  7414.       D: Rounded
  7415.  
  7416.        Naturally the actual list will vary depending on how the data file has
  7417.        been manipulated.  Along  the bottom  of the  screen are  all the edit
  7418.        commands.    These  are  for  viewing,  changing,  creating new fonts,
  7419.        importing and exporting fonts, etc...
  7420.  
  7421.  
  7422.        VIEWING FONTS
  7423.        ─────────────
  7424.        This command is for  seeing exactly  how a  given font  symbol appears
  7425.        when used in TheDraw.  Any special formatting information is hidden.
  7426.  
  7427.        Select [V]iew  from the main menu.  Next, pick a font to display using
  7428.        either the up/down arrows keys or by typing the letter associated with
  7429.        the wanted font.  Press [ENTER] to continue, or [ESC] to return to the
  7430.        main menu.
  7431.  
  7432.        Pressing [ENTER] brings up the font symbol selector bar.  ie:
  7433.  
  7434.           !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  7435.           PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  7436.  
  7437.        The first character "!" is  highlighted,  and  the  corresponding font
  7438.        symbol appears  below the  selector bar.   Choose different symbols to
  7439.        view with the  arrow  keys.    For  undefined  symbols,  the following
  7440.        message "Symbol not defined" is shown.
  7441.  
  7442.        Just above  the command  bar is  a note  about the font spacing.  This
  7443.        number tells how many spaces are inserted between font symbols as they
  7444.        are typed  onto TheDraw's edit screen.  In most cases this number will
  7445.        either be zero or one.
  7446.  
  7447.        When done viewing font symbols, press [ESC] for the main menu.
  7448.  
  7449.  
  7450.  
  7451.        CHANGING A FONT
  7452.        ───────────────
  7453.        The change command allows modifying or  adding symbols  to an existing
  7454.        font.  To create a font, use the [N]ew command.
  7455.  
  7456.        Select [C]hange  from the  main menu, and pick a font using either the
  7457.        up/down arrows keys  or  by  typing  the  letter  associated  with the
  7458.        wanted font.   Press  [ENTER] to  continue.  Pressing [ESC] returns to
  7459.        the main menu.
  7460.  
  7461.  
  7462.        TheDraw v4.63          The Font Editor              112
  7463.  
  7464.  
  7465.  
  7466.  
  7467.  
  7468.        Once a font has been selected,  a screen  similar to  the View command
  7469.        appears.  Additional options are available however:
  7470.  
  7471.       [ENTER]     Select symbol for editing (or creating if undefined).
  7472.       [DEL]       Delete current symbol
  7473.       [INS]       Copy current symbol
  7474.       [TAB]       Change font spacing
  7475.  
  7476.        These  four  commands  in  combination with the font editor (described
  7477.        below) give good flexibility in maintaining the symbol database.
  7478.  
  7479.  
  7480.        EDITING SYMBOLS:
  7481.  
  7482.       Transfers symbol definition to the font editor.  The font editor is
  7483.       similar to  TheDraw in many respects, supporting a useful subset of
  7484.       functions.  Some familiarity  with TheDraw  is assumed.   Available
  7485.       editor commands are:
  7486.  
  7487.            [ALT-A]    Change Colors (Color-Block fonts only)
  7488.            [ALT-C]    Clear Screen
  7489.            [ALT-F]    Function key symbol table
  7490.            [ALT-H]    Help Screen
  7491.            [ALT-I]    Insert a blank line
  7492.            [ALT-M]    Toggle line drawing mode
  7493.            [ALT-X]    Leave font editor, saving changes.
  7494.            [ALT-Y]    Delete current line
  7495.              [INS]    Toggle insert mode
  7496.              [DEL]    Delete character under cursor.
  7497.              [ESC]    Leave font editor, discarding changes.
  7498.          [SHIFT-SPACE]    Enter a solid space (a "≈" symbol)
  7499.  
  7500.       All function  key sets  are identical  to TheDraw  and are selected
  7501.       using the same keystrokes:  ALT-F1 to F10, and CTRL-F1 to F5.
  7502.  
  7503.       EDIT MODES:
  7504.  
  7505.       There are two  main  differences  between  editing  in  TheDraw and
  7506.       TDFonts.    These  refer  to  the  special  edit modes and reserved
  7507.       characters.  The edit  modes are  for the  three font  format types
  7508.       (Outline, Block, and Color Block).
  7509.  
  7510.       Outline  formatted  fonts  place  restrictions  on  the  characters
  7511.       composing each symbol.   You  can  only  use  certain  line drawing
  7512.       characters  from  function  key  sets  1  to  4.  In addition, some
  7513.       symbols must used in specific places  for the  variable outlines to
  7514.       work properly.
  7515.  
  7516.       Block fonts  are simple text graphics.  No extra processing is done
  7517.       either by TDFonts or TheDraw.   The current color  attribute in use
  7518.       by TheDraw is used to color these type of fonts.
  7519.  
  7520.  
  7521.        TheDraw v4.63          The Font Editor              113
  7522.  
  7523.  
  7524.  
  7525.  
  7526.       Color Block  type fonts  are complete mini-text graphics containing
  7527.       both character and color.   The  colors  used  when  creating color
  7528.       block  fonts  are  the  ones  which  will  appear on TheDraw's edit
  7529.       screen.  Color Block fonts override the current colors of TheDraw.
  7530.  
  7531.  
  7532.       EDITING OUTLINE TYPE FONTS:
  7533.  
  7534.       All outline symbols are made from  vertical columns  and horizontal
  7535.       beams.  The "T" below is a classic example.  The double lines which
  7536.       give the 3D effect tell TDFonts  about the  left/right column sides
  7537.       and top/bottom of beams.
  7538.  
  7539.         ╒═════════════╗
  7540.         │ ╓─────────┐ ║     ╒══╗     Horizontal Beam
  7541.         │ ╚═══╗ ╒═══╛ ║     │  ║       ╒═════════╗
  7542.         └───┐ ║ │ ╓───╜     │  ║       └─────────╜
  7543.             │ ║ │ ║         │  ║
  7544.             │ ║ │ ║         │  ║ <── Vertical Beam
  7545.             │ ╚═╛ ║         └──╜
  7546.             └─────╜
  7547.  
  7548.       Pay special  attention to  how the top/right of the outside border,
  7549.       and the bottom/left of the inside border were done.   Of particular
  7550.       importance are  the corners.  The following characters must be used
  7551.       in the described locations.
  7552.  
  7553.       For outside borders:
  7554.         ╒     Upper-left outer corner
  7555.         ╗     Upper-right outer corner
  7556.         └     Lower-left outer corner
  7557.         ╜     Lower-right outer corner
  7558.         ╓     Up-to-Right inner corner
  7559.         ┐     Right-to-Down inner corner
  7560.  
  7561.       For inside borders:
  7562.         ╓     Upper-left inner corner
  7563.         ┐     Upper-right inner corner
  7564.         ╚     Lower-left inner corner
  7565.         ╛     Lower-right inner corner
  7566.         ╒     Up-to-Right outer corner
  7567.         ╗     Right-to-Down outer corner
  7568.  
  7569.  
  7570.       In general the drawing rules are:
  7571.  
  7572.          Double lines are always the rightmost side of a column.
  7573.          Double lines are always the topmost side of a beam.
  7574.  
  7575.       You must  follow  the  guidelines  exactly  in  order  to  create a
  7576.       functional  outline  formatted  font.    Failing  to do so produces
  7577.       undesirable side effects when changing the outlines in TheDraw.
  7578.  
  7579.  
  7580.        TheDraw v4.63          The Font Editor              114
  7581.  
  7582.  
  7583.  
  7584.  
  7585.  
  7586.       RESERVED CHARACTERS:
  7587.  
  7588.       The reserved characters are for  solid  spaces  and  descender line
  7589.       markers.   Typically solid  spaces are  used to  fill the inside of
  7590.       columns and beams.  These are drawn with "≈" characters.  ie:
  7591.  
  7592.                   ╒════════╗  ╒════════╗
  7593.                   │≈≈≈≈≈≈≈≈║  │≈≈≈≈≈≈≈≈║      Note that solid
  7594.                   │≈≈╓──┐≈≈║  │≈≈╔══╕≈≈║      spaces are always
  7595.                   │≈≈╚══╛≈≈║  │≈≈║  │≈≈║      visible in TDFonts
  7596.                   │≈≈≈≈≈≈≈≈║  │≈≈╙──┘≈≈║        editor verses the
  7597.                   │≈≈╓──┐≈≈║  │≈≈≈≈≈≈≈≈║      TheDraw editor).
  7598.                   └──╜  └──╜  └────┐≈≈╓╜
  7599.                            └──╜&
  7600.  
  7601.       TheDraw specially  tracks descenders so to align symbols and handle
  7602.       carriage returns properly.  A carriage return should  move the same
  7603.       number of  lines for  either A's or Q's for instance.  If decenders
  7604.       were not marked, following kind of alignment error occurs:
  7605.  
  7606.                    ▄▄▄▄▄   █▀▀▀█
  7607.                    █   █   █   █
  7608.                    █▀▀▀█   ▀▀▀█▀
  7609.  
  7610.       Symbols demanding descenders should be marked as shown in the above
  7611.       "Q"  symbol.    Lines  marked  with ampersands are not counted when
  7612.       TheDraw aligns the symbols.   Font  symbols  typically  needing the
  7613.       descender marks are:
  7614.  
  7615.                 $ , ; _ Q g j p q y
  7616.  
  7617.       Others symbols may require them also, depending on how your font is
  7618.       designed or implemented.
  7619.  
  7620.  
  7621.        DELETE SYMBOL:
  7622.  
  7623.       Removes the database definition for the specified symbol.   You are
  7624.       asked to  verify this  command before  continuing.  Once deleted, a
  7625.       font symbol cannot be restored.
  7626.  
  7627.  
  7628.        COPY SYMBOL:
  7629.  
  7630.       Copies current symbol over  to another  undefined symbol.   You are
  7631.       asked  to  specify  what  the  target  symbol is.  Note: The target
  7632.       symbol cannot be defined.  The prevents overwriting  definitions by
  7633.       accident.    This  option  is  of particular use in duplicating the
  7634.       letters symbols (ie:  "A" to "a", "B" to "b", etc...), assuming you
  7635.       intend uppercase  and lowercase  to appear  the same.  This command
  7636.       permits quickly filling out all the definitions.
  7637.  
  7638.  
  7639.        TheDraw v4.63          The Font Editor              115
  7640.  
  7641.  
  7642.  
  7643.  
  7644.  
  7645.        CHANGE FONT SPACING:
  7646.  
  7647.       This command changes the  number  of  spaces  TheDraw  puts between
  7648.       typed symbols.   Typically  values are zero or one, but is entirely
  7649.       dependent on the font being managed.  Legal values are 0 to 40.
  7650.  
  7651.  
  7652.  
  7653.        MAKING NEW FONTS
  7654.        ────────────────
  7655.        Creating a new font is a simple two part process.   First  make a font
  7656.        slot with  the [N]ew  command.  Next, use the [C]hange command to fill
  7657.        in all the font symbol definitions.
  7658.  
  7659.        After choosing [N]ew, TDFonts asks  for  three  items  of information.
  7660.        The first is a descriptive name for the font.  This will appear in the
  7661.        font listing, and in TheDraw.  Names can be up to 12 characters.
  7662.  
  7663.        Once a name is  picked (which  can be  changed later),  you select the
  7664.        font  formatting  type.    Choices  are [B]lock, [O]utline, or [C]olor
  7665.        Block.    Refer  to  "EDIT  MODES"  above  for  a  description  of the
  7666.        difference.   Briefly, fonts of type Block can be drawn using anything
  7667.        but remain fixed.  As you drawn, they will appear in TheDraw.  Outline
  7668.        fonts  can  be  altered  on  the fly using the "Outline Type" pulldown
  7669.        command.  Color Block fonts are  similar to  the normal  Block variety
  7670.        but also save color attributes.
  7671.  
  7672.        You have  now generated  a new font slot.  Proceed to use the [C]hange
  7673.        command to define  the  individual  font  symbols.    One  approach to
  7674.        simplify the  procedure is  making a generic symbol such as "O" first.
  7675.        Copy it to other similar symbols (such as "0", "Q", "G", "C", etc...).
  7676.        Only minor edits are needed to finish the first symbols.  Use parts of
  7677.        these to make other symbols, such as "(", ")", and carry onwards.
  7678.  
  7679.        Keep in mind nothing requires you to place letters into  a font.   You
  7680.        could create a font holding several often used patterns or pictures.
  7681.  
  7682.        If you  create a  font you  are particularly proud of, please consider
  7683.        sending in to TheSoft for inclusion  in the  next release  of TheDraw.
  7684.        All authors of such donated fonts will be duly noted.
  7685.  
  7686.  
  7687.        MOVING A FONT
  7688.        ─────────────
  7689.        This command  reorders the  list of  font names.  Use it to place your
  7690.        fonts in alphabetical or any order which you prefer.
  7691.  
  7692.        Press [M], then choose a font (see View command).   Next, TDFonts asks
  7693.        the destination  to put  it.  The font is placed in front of whichever
  7694.        destination font you pick.
  7695.  
  7696.  
  7697.  
  7698.        TheDraw v4.63          The Font Editor              116
  7699.  
  7700.  
  7701.  
  7702.  
  7703.        RENAMING A FONT
  7704.        ───────────────
  7705.        Changes font descriptions which appear in the main menu list.   Select
  7706.        [R]ename and  choose a  font.   You are then prompted for the new font
  7707.        name.  Press [ENTER] when done or [ESC] to abort.
  7708.  
  7709.  
  7710.        DELETING A FONT
  7711.        ───────────────
  7712.        Permanently removes a font  from the  database file.   Press  [D] then
  7713.        choose the  target font.   TDFonts  asks you to verify this operation.
  7714.        Be careful since deleting a  font  cannot  be  undone.    Type  [Y] to
  7715.        proceed with erasing the font or [N] to abort.
  7716.  
  7717.  
  7718.  
  7719.        FONT IMPORTING
  7720.        ──────────────
  7721.        Appends  a  separate  database  file  onto the current database file.
  7722.        Press [I], and TDFonts prompts for a filename.   Type  in the pathname
  7723.        to the  import file.   Press [ENTER] to continue or [ESC] to abort the
  7724.        command.
  7725.  
  7726.        Upon pressing [ENTER] all fonts contained in the specified import file
  7727.        are loaded  and added  to the current database list.  An error message
  7728.        appears if the file was invalid.
  7729.  
  7730.  
  7731.  
  7732.        FONT EXPORTING
  7733.        ──────────────
  7734.        Copies fonts in the current database to another file.   Press [E], and
  7735.        choose  the  font  to  export/copy.    TDFonts  prompts for the output
  7736.        filename.  Enter your filename and press [ENTER] to continue  or [ESC]
  7737.        to abort.
  7738.  
  7739.        After hitting  [ENTER], TDFonts  checks to  see if  the file specified
  7740.        already exists.  If so, type [Y] to overwrite the existing file or [N]
  7741.        to abort this command.
  7742.  
  7743.        The new font file is generated and you return to the main menu.
  7744.  
  7745.  
  7746.  
  7747.  
  7748.  
  7749.  
  7750.  
  7751.  
  7752.  
  7753.  
  7754.  
  7755.  
  7756.  
  7757.        TheDraw v4.63          The Font Editor              117
  7758.  
  7759.  
  7760.  
  7761.  
  7762.  
  7763.             THE SCREEN CAPTURE/GRABBER UTILITY
  7764.  
  7765.        The screen  grabber utility  (THEGRAB) is  a small  and very flexible,
  7766.        providing many features not found in similar programs.   The following
  7767.        features are available:
  7768.  
  7769.       o  Flexible "hot" keys.
  7770.       o  A hands-off screen snap shot mode.
  7771.       o  A hands-off interval screen capture mode.
  7772.       o  Choice of four file formats: Ansi, Ascii, COM, or THEDRAW
  7773.       o  Up to 10000 screens can be captured at any given time.
  7774.  
  7775.        THEGRAB  is  driven  from  the  command line, and is a memory resident
  7776.        utility (a so called TSR by  technical types).   Once  loaded, it uses
  7777.        only 11k  of memory.   Any parameter you set can be changed on the fly
  7778.        at any time.  THEGRAB can also be removed from memory easily.
  7779.  
  7780.        Please note:   THEGRAB is designed to only handle text screens  - just
  7781.               like  TheDraw.    Attempts  to  capture high resolution
  7782.               graphics are ignored by THEGRAB.
  7783.  
  7784.        General users will love  being able  to capture  any screen,  from any
  7785.        bulletin board  or online services, edit them with TheDraw then upload
  7786.        back.  The single and interval  modes can  capture screens  even under
  7787.        programs locking out normal keyboard functions.  Documentation writers
  7788.        can capture application screens as Ascii, and load them into  any word
  7789.        processor or output to any printer.
  7790.  
  7791.        The command line options are:
  7792.  
  7793.      /UNLOAD      Unload/Remove THEGRAB from memory (when possible)
  7794.      /RESET       Change file count back to zero.
  7795.      /KEY [choices]   Capture  key  when  the  specified  key sequence is
  7796.               pressed.      Keystroke   sequences   can   be  any
  7797.               combination of:  LSHIFT, RSHIFT, ALT, CTRL
  7798.      /SINGLE [time]   Make a single snap shot capture after the specified
  7799.               time period has elapsed.   Time  entered can  be of
  7800.               the formats:
  7801.                   ss    Seconds
  7802.                   mm:ss     Minutes and seconds
  7803.                   hh:mm:ss  Hours, minutes, and seconds.
  7804.      /INTERVAL [time] Similar  to  SINGLE,  but repeatedly captures every
  7805.               time interval as specified.
  7806.      /DIR [path]      Specify where captures screens  are saved.   Saving
  7807.               to a ram disk for instance for maximum speed.
  7808.      /ANSI        Create standard Ansi files.
  7809.      /ASCII       Create Ascii text files.
  7810.      /COM         Create Dos executable COM files.
  7811.      /THEDRAW         Create TheDraw format .TD data files.
  7812.  
  7813.  
  7814.  
  7815.  
  7816.        TheDraw v4.63          The Font Editor              118
  7817.  
  7818.  
  7819.  
  7820.  
  7821.  
  7822.        USING THEGRAB
  7823.        ─────────────
  7824.        First  load  THEGRAB  into  memory,  along with any command line shown
  7825.        above.  The default  configuration is  the hot  key [CTRL RIGHT-SHIFT]
  7826.        saving to  THEDRAW format  data files.   If  you prefer some other key
  7827.        combination, use the /KEY parameter (once  THEGRAB is  loaded, the hot
  7828.        keys can be changed anytime).
  7829.  
  7830.        THEGRAB uses  certain sound  effects to indicate success or failure to
  7831.        save a screen.  Success is indicated by a short single beep.   Failure
  7832.        to save  (disk not  ready or  disk full  usually) by  three beeps.  On
  7833.        occasion the operating system will be busy, and not permit  THEGRAB to
  7834.        save screens.   During  these times several short bleeps of increasing
  7835.        frequency will occur.
  7836.  
  7837.        If you need to capture a screen from  a program  which takes  over the
  7838.        keyboard  (thus  disabling  the  hot  keys),  try  single  or interval
  7839.        captures.  Most  applications  which  take  over  the  keyboard rarely
  7840.        affect the timer clock.  Start THEGRAB with a suitable delay, run your
  7841.        application up to the proper point then wait for the beep.
  7842.  
  7843.        Capture as many screens as you want, then quit the  target application
  7844.        back to  Dos.   Remove THEGRAB  with the /UNLOAD parameter.  This will
  7845.        free up the memory being consumed.
  7846.  
  7847.        USING THE GRABBED SCREENS
  7848.        ─────────────────────────
  7849.        By default screens are saved  to  the  directory  THEGRAB  was started
  7850.        from, unless  the /DIR  parameter was  used.  The filenames are of the
  7851.        format GRAB0000.ext, where <ext> is .ANS .ASC .COM or .TD
  7852.  
  7853.        THEGRAB will  not overwrite  any file  with the  same name.   The file
  7854.        number is  incremented until an unused filename is found.  The default
  7855.        can easily be renamed later at your convenience.
  7856.  
  7857.        Ansi files saved from THEGRAB can be viewed  from the  Dos prompt with
  7858.        the TYPE  command.   They can  be loaded  into TheDraw  for editing as
  7859.        required, or just to resave them for more compact files.   Ascii files
  7860.        are compatible  with any text editor or word processor.  COM files can
  7861.        be directly used from the Dos  prompt, and  are fully  compatible with
  7862.        TheDraw.  Just type in the filename and the screen will appear.
  7863.  
  7864.        TD files  are uncompressed  TheDraw format  data files.  Since TheDraw
  7865.        has the necessary routines  to significantly  reduce the  size of such
  7866.        screens, it is highly recommended you resave them for that purpose.
  7867.  
  7868.        Example usage:
  7869.  
  7870.       THEGRAB /KEY LSHIFT RSHIFT CTRL /COM
  7871.         --  Saves a  Dos COM  file whenever  Left Shift,  Right Shift and
  7872.         CTRL keys are pressed simultaneously.
  7873.  
  7874.  
  7875.        TheDraw v4.63          The Font Editor              119
  7876.  
  7877.  
  7878.  
  7879.  
  7880.  
  7881.                  THE PRESENTATION PROGRAM
  7882.  
  7883.  
  7884.        The Presentation Program (THEPP) included with  the registered version
  7885.        of  TheDraw  is  a  command  line  driven utility intended to simplify
  7886.        displays and demonstrations.  It is flexible and  easy to  use.  THEPP
  7887.        can display any file loadable by TheDraw (Ansi, Ascii, Avatar, Binary,
  7888.        BSave,  PCBoard,  Wildcat,  Object  and  TheDraw  formats).    As with
  7889.        TheDraw, the  filename extensions  tell THEPP what format a given file
  7890.        is saved in.  The following  extensions are  used (but  changeable via
  7891.        the SETUP utility):
  7892.  
  7893.                   Ansi           .ANS
  7894.                   Avatar         .AVT
  7895.                   PCBoard        .PCB
  7896.                   Wildcat        .BBS
  7897.                   Binary Dump        .BIN
  7898.                   Basic BSAVE        .BSV
  7899.                   TheDraw COM Files  .COM
  7900.                   TheDraw OBJ Files  .OBJ
  7901.                   TheDraw Format     .TD
  7902.  
  7903.        Any other  file is assumed to be either Ansi or Ascii.  TheDraw format
  7904.        files store which page layer was  being edited.   THEPP  displays only
  7905.        this page  layer.  If sprite mode was turned on, any page layers below
  7906.        the current one will appear also ("under" the current layer).
  7907.  
  7908.        THEPP takes as its parameters a  list of  filenames to  display on the
  7909.        screen.   This it  will do  as fast and efficiently as possible unless
  7910.        otherwise stated (on other  words,  you  will  probably  want  to slow
  7911.        things down a bit).
  7912.  
  7913.        The  following  options  may  be  interspersed anywhere in the command
  7914.        line, before between or after, any  filenames.   Options are specified
  7915.        by using a slash followed by one of these characters:
  7916.  
  7917.       Character       Action
  7918.  
  7919.           p       Stops THEPP  the display  of pause  messages on the
  7920.               screen.  Note the pauses are still performed.
  7921.  
  7922.           k       Pause for a key  to be  pressed by  user.   This is
  7923.               useful for  placing between  files, so you can stop
  7924.               to appreciate what is shown.  See also /i command.
  7925.  
  7926.  
  7927.  
  7928.  
  7929.  
  7930.  
  7931.  
  7932.  
  7933.  
  7934.        TheDraw v4.63         The Presentation Program          120
  7935.  
  7936.  
  7937.  
  7938.  
  7939.  
  7940.       Character       Action (continued)
  7941.  
  7942.           t<num>      Pauses for <num> number of seconds.   Valid numbers
  7943.               for <num> are 1 to 255 seconds.  ie:
  7944.  
  7945.                    /t10   (pause for ten seconds)
  7946.  
  7947.           s<num>      Animation display speed.  This is a slowdown factor
  7948.               identical to the value you enter  when using ALT-Q.
  7949.               It is  used whenever  THEPP displays a Ansi, Ascii,
  7950.               or TheDraw format file.   ie:  s10  slows  down the
  7951.               file display equivalent to an ALT-Q value of 10.
  7952.  
  7953.           b       Produces a beep on the computer speaker.
  7954.  
  7955.           c       Clears the  screen.   THEPP by default does nothing
  7956.               before displaying a file.  If you wish to clear the
  7957.               screen beforehand use this option.
  7958.  
  7959.           m<x>,<y>    Moves  the  cursor  to  horizontal position <x> and
  7960.               vertical position  <y>.    Useful  if  you  want to
  7961.               control where  an Ansi  or Ascii file will start to
  7962.               appear on the screen, or wish to display  a message
  7963.               using the command below.  ie:
  7964.  
  7965.                  /m40,12   (move cursor to center of screen)
  7966.  
  7967.           a<f>,<b>    Changes   text   output   color  to  the  specified
  7968.               foreground and background colors.   Colors  are the
  7969.               same as listed under ALT-A, but are repeated below:
  7970.  
  7971.                   Black           DGray     (Dark Gray)
  7972.                   Blue            LBlue     (Light Blue)
  7973.                   Green           LGreen    (Light Green)
  7974.                   Cyan            LCyan     (Light Cyan)
  7975.                   Red             LRed      (Light Red)
  7976.                   Magenta         LMagenta  (Light Magenta)
  7977.                   Brown           Yellow
  7978.                   LGray (Light Gray)  White
  7979.  
  7980.               Foreground  colors   may  be   any  of  the  above.
  7981.               Background colors are restricted to the first eight
  7982.               however (Black to LGray).  ie:
  7983.  
  7984.                   /aYellow,Cyan  (Yellow on Cyan background)
  7985.  
  7986.  
  7987.  
  7988.  
  7989.  
  7990.  
  7991.  
  7992.  
  7993.        TheDraw v4.63         The Presentation Program          121
  7994.  
  7995.  
  7996.  
  7997.  
  7998.  
  7999.       Character       Action (continued)
  8000.  
  8001.           "text"      Displays  any  message  or text between the quotes.
  8002.               The  message  MUST  be   terminated  by   a  quote,
  8003.               otherwise  THEPP  assumes  the  rest of the command
  8004.               line is a message.  This is useful  if you  wish to
  8005.               display your  own "Press any key to continue" style
  8006.               message, etc...  Use the "m" option described above
  8007.               to  position  messages  anywhere on the screen, and
  8008.               "a" option to select appropriate colors.  ie:
  8009.  
  8010.                       /"Hello World"
  8011.  
  8012.               Prints  message  "Hello   World"   (without  quotes
  8013.               naturally) at cursor position.
  8014.  
  8015.           v<size>     Specify video  size to  use.   Either 25, 43, or 50
  8016.               vertical  lines.    Note  the  43  &  50 parameters
  8017.               operate identically  (43 lines  always selected for
  8018.               EGA adapter, 50 for VGA).  ie:
  8019.  
  8020.                  /v50  (select VGA 50 line display)
  8021.  
  8022.           f<filename> Directs THEPP  to  obtain  more  commands  from the
  8023.               specified file.   This command file simply contains
  8024.               a list of the above  commands.    In  addition, the
  8025.               command  file  may  call upon another command file.
  8026.               Once  that  nested   command   file   is  finished,
  8027.               execution returns  to the  following instruction in
  8028.               the first file.   Up to  ten levels  of nesting may
  8029.               be active at once.  ie:
  8030.  
  8031.                        /fCOMMANDS.FIL
  8032.  
  8033.               Use file COMMANDS.FIL as source for next commands.
  8034.  
  8035.  
  8036.        If you  do not  give any parameters, THEPP will display an abbreviated
  8037.        help screen for convenience.  Examples of THEPP usage and explanations
  8038.        are given below:
  8039.  
  8040.  
  8041.        THEPP /c/p SHUTTLE2.ANS /m34,25 /aYellow,Black /"Press a key" /k/c
  8042.  
  8043.       Clears the  screen, and  turns off  the display  of pause messages.
  8044.       The Ansi text demo file SHUTTLE2.ANS is displayed,  followed by the
  8045.       message "Press  a key" in Yellow approximately in the center of the
  8046.       bottom line.  THEPP then waits  for  a  key  to  be  pressed before
  8047.       clearing the screen and returning to Dos.
  8048.  
  8049.  
  8050.  
  8051.  
  8052.        TheDraw v4.63         The Presentation Program          122
  8053.  
  8054.  
  8055.  
  8056.  
  8057.  
  8058.        THEPP DEMO.TD /c /m38,12 /"BLIP" /b/p/t10 /m1,20
  8059.  
  8060.       Displays the current page layer of DEMO.TD, then immediately clears
  8061.       the screen, displays "BLIP" in the middle of the screen, and sounds
  8062.       the speaker.  The cursor is then placed at the beginning of line 20
  8063.       and THEPP exits.
  8064.  
  8065.  
  8066.        THEPP SOMEFILE.ASC
  8067.  
  8068.       Displays the contents of the Ascii file SOMEFILE.ASC on the screen.
  8069.       Equivalent to using "TYPE SOMEFILE.ASC".
  8070.  
  8071.        THEPP /fCOMMAND1.FIL /m1,6 /"All done!"
  8072.  
  8073.       Makes THEPP  obtain its  next commands  from the file COMMAND1.FIL.
  8074.       This file simply contains a list  of command  line parameters.   An
  8075.       example might be:
  8076.  
  8077.          Filename #1:  COMMAND1.FIL
  8078.         /m1,1
  8079.         /"Command file 1 running - Running command file 2"
  8080.         /fCOMMAND2.FIL
  8081.         /m1,3
  8082.         /"Command file 1 resumed."
  8083.         /m1,4
  8084.         /"All done!"
  8085.  
  8086.          Filename #2:  COMMAND2.FIL
  8087.         /m1,2
  8088.         /"Command file 2 running"
  8089.  
  8090.       In this  example, command files are nest two levels deep.  In other
  8091.       words, COMMAND1.FIL calls COMMAND2.FIL  which  then  exits  back to
  8092.       COMMAND1.FIL.   THEPP allows nesting to go ten (10) levels deep for
  8093.       a large amount of complexity.    Running  the  above  example would
  8094.       produce the output:
  8095.  
  8096.          Command file 1 running - Running command file 2
  8097.          Command file 2 running
  8098.          Command file 1 resumed
  8099.          All done!
  8100.  
  8101.       Note:    Conceivably,  an  semi-endless  loop is possible.  In this
  8102.       case, a command file would call itself (ie:  replace /fCOMMAND2.FIL
  8103.       with /fCOMMAND1.FIL in the above example).  If this occurred, THEPP
  8104.       would open the same command file 10 times  then stop  with an error
  8105.       message.
  8106.  
  8107.  
  8108.  
  8109.  
  8110.  
  8111.        TheDraw v4.63         The Presentation Program          123
  8112.  
  8113.  
  8114.  
  8115.  
  8116.  
  8117.                  THE SETUP UTILITY
  8118.  
  8119.  
  8120.        This  section  describes  how  to  customize  TheDraw and install your
  8121.        customizations in the THEDRAW.EXE or THEDRAWR.EXE (registered version)
  8122.        files.
  8123.  
  8124.  
  8125.        WHY SETUP?
  8126.        ──────────────────────────────────────────────────────────────────────
  8127.        Setup  is  the  TheDraw  installation  program;  used to customize the
  8128.        TheDraw program (.EXE) file.  With this utility you can specify screen
  8129.        modes, change  edit colors  and customize  various other defaults.  It
  8130.        directly  modifies  various  parameter  values  within  your  copy  of
  8131.        THEDRAW.EXE or THEDRAWR.EXE.
  8132.  
  8133.        Via Setup you can do the following:
  8134.  
  8135.       o  Setup the default video display mode
  8136.  
  8137.       o  Change screen colors
  8138.  
  8139.       o  Resize TheDraw's usage of available memory
  8140.  
  8141.       o  Change save screen default parameters.
  8142.  
  8143.       o  Specify initial default filespec wildcards.
  8144.  
  8145.  
  8146.        In the registered version of TheDraw, the Setup utility can also:
  8147.  
  8148.       o  Customize or "remap" the editor command keys and mouse buttons.
  8149.  
  8150.       o  Setup a path to the directory where help files are stored.
  8151.  
  8152.  
  8153.        TheDraw comes ready to run; there is no mandatory installation.  After
  8154.        setting up as specified in "GETTING STARTED", TheDraw is usable.
  8155.  
  8156.        However, you  will need  to run  Setup if  you want  to do  any of the
  8157.        following:
  8158.  
  8159.       o  Change TheDraw default colors.
  8160.  
  8161.       o  Force a display mode or "snow" checking
  8162.  
  8163.       o  Customize the editor commands to preferred sequences.
  8164.  
  8165.       o  Adjust memory usage to better suit your needs.
  8166.  
  8167.  
  8168.  
  8169.  
  8170.        TheDraw v4.63         The Setup Utility             124
  8171.  
  8172.  
  8173.  
  8174.  
  8175.  
  8176.        DISPLAY WINDOWS AND SELECTING OPTIONS
  8177.        ──────────────────────────────────────────────────────────────────────
  8178.        The  setup  utility  operates  in  a  windowing user environment.  You
  8179.        select commands by either pressing the highlighted capital letter of a
  8180.        given option,  or using  the Up  and Down  arrow keys  to move to your
  8181.        selection and then pressing [ENTER].
  8182.  
  8183.  
  8184.        SAVING AND ABORTING CHANGES
  8185.        ──────────────────────────────────────────────────────────────────────
  8186.        In general, pressing [ENTER]  will save  any changes.   Pressing [ESC]
  8187.        (as many  times as needed) will abort a function and return you from a
  8188.        submenu to the main installation menu.  Where  this convention  is not
  8189.        followed, instructions are displayed on screen for you.
  8190.  
  8191.  
  8192.        RUNNING SETUP
  8193.        ──────────────────────────────────────────────────────────────────────
  8194.        To get started, from the Dos prompt type:
  8195.  
  8196.       SETUP
  8197.  
  8198.        Press [ENTER]  to start  the utility.   Once running, you are prompted
  8199.        for the program filename to configure.  You can have several different
  8200.        customized copies  of TheDraw on your system.  These various copies of
  8201.        THEDRAW.EXE can each have  different executable  program names.   This
  8202.        allows you to prepare various editor command-keys, menu colors, etc...
  8203.        if you are so inclined.   The  registered  program  version  is called
  8204.        THEDRAWR.EXE.
  8205.  
  8206.        After  selecting  a  file  to  edit,  SETUP determines what version of
  8207.        TheDraw is being updated (shareware or registered).   It then proceeds
  8208.        to the main menu.
  8209.  
  8210.  
  8211.        THE MAIN MENU:
  8212.  
  8213.        The  main  setup  menu  displays  all  the  primary  areas  which  are
  8214.        configurable.  Options available  are Editor  configuration*, Keyboard
  8215.        customize, Screen  mode, Colors,  Help and  overlay file path*, Memory
  8216.        usage, Defaults, or Quit/Save.  These are described below.
  8217.  
  8218.        * Available while editing the registered version only.
  8219.  
  8220.  
  8221.  
  8222.  
  8223.  
  8224.  
  8225.  
  8226.  
  8227.  
  8228.  
  8229.        TheDraw v4.63         The Setup Utility             125
  8230.  
  8231.  
  8232.  
  8233.  
  8234.  
  8235.        EDITOR CONFIGURATION:
  8236.  
  8237.       The editor in  TheDraw  provides  many  features,  including cursor
  8238.       control,  color  changing,  various  text operations, etc...  These
  8239.       editing commands are assigned  to certain  keystrokes, as described
  8240.       earlier throughout  this documentation.   This setup option permits
  8241.       you to change the default assignments for each function.
  8242.  
  8243.       When you select Editor  Configuration from  SETUP's main  menu, the
  8244.       editor installation  screen appears.   Three columns of information
  8245.       will be immediately notable:
  8246.  
  8247.          o  The  first  (left-most)  column  describes  each configurable
  8248.         function available in the editor.
  8249.  
  8250.          o  The second  column lists  Primary keystrokes.  These keys are
  8251.         the defaults by which TheDraw normally operates.
  8252.  
  8253.          o  The third  column  lists  Secondary  keystrokes.    These are
  8254.         optional  alternates  keystrokes  you  may  press to invoke a
  8255.         given  editor  action.      These   keystrokes   always  take
  8256.         precedence over the primary keystrokes described above.
  8257.  
  8258.       Along the bottom of the screen is a list of the keys used to select
  8259.       and modify entries.
  8260.  
  8261.          Key          Action
  8262.          ───────────────────────────────────────────────────────────────
  8263.          [UP] [DOWN]      Selects the editor command you wish to change.
  8264.  
  8265.          [PGUP] [PGDN]    Scrolls up/down one full screen page.
  8266.  
  8267.          [ENTER]          Enters the secondary keystroke modify mode.
  8268.  
  8269.          [R]          Restore all  editor  commands  to  the original
  8270.                   default values.
  8271.  
  8272.          [ESC]            Returns to the main SETUP options menu.
  8273.          ───────────────────────────────────────────────────────────────
  8274.  
  8275.       After pressing  [ENTER] to  modify a command, the current secondary
  8276.       definition disappears.  You can then  type in  your new definition.
  8277.       Anything may  be used  for redefining  a key  except Numbers (0-9),
  8278.       Letters (A-Z,a-z), [ENTER], [ESC]  and [BACKSPACE].   A  maximum of
  8279.       four keystrokes  for any  given editor command is allowed; however,
  8280.       certain key  combinations  are  equal  to  two  keystrokes.   These
  8281.       include ALT-(key),  cursor movement keys ([UP], [PGDN], etc...) and
  8282.       any keystroke involving a function key ([F1], [CTRL-F4], etc...).
  8283.  
  8284.  
  8285.  
  8286.  
  8287.  
  8288.        TheDraw v4.63         The Setup Utility             126
  8289.  
  8290.  
  8291.  
  8292.  
  8293.  
  8294.       Press [ESC] to  save  any  changes  to  keystrokes.    You  will be
  8295.       prompted  to   verify  the  save.    If  there  are  any  duplicate
  8296.       keystrokes, SETUP will point  out the  first occurrence  so you can
  8297.       clear up the problem (marked with an asterisk).
  8298.  
  8299.  
  8300.  
  8301.        KEYBOARD CUSTOMIZE:
  8302.  
  8303.       The true  IBM-PC and certain clones have a Bios omission preventing
  8304.       the [CTRL-UP],  [CTRL-DOWN], [ALT-LEFT]  and [ALT-RIGHT] keystrokes
  8305.       from working  properly.  TheDraw gets around this by using a custom
  8306.       keyboard driver.  The factory defaults  from TheSoft  will work for
  8307.       the great majority of computers.  However, if you have difficulties
  8308.       try this setup configuration option.
  8309.  
  8310.       SETUP examines the keyboard hardware to  see what  happens when any
  8311.       of the  above are  pressed.  Upon selecting this option, the screen
  8312.       clears and prompts if you wish to continue.  Next you are  asked to
  8313.       press  [CTRL-UP],  [CTRL-DOWN],  [ALT-LEFT] and [ALT-RIGHT] in that
  8314.       order.  The scan codes returned by your keyboard are displayed.
  8315.  
  8316.       Next you can experiment  to see  that everything  is indeed working
  8317.       properly.      Press   [CTRL-UP/DOWN]  and  [ALT-LEFT/RIGHT]  until
  8318.       satisfied the keys were programmed  correctly.    Press  [ENTER] to
  8319.       return to the main menu.
  8320.  
  8321.       Note:
  8322.          A few  computers react  badly to  this driver.  If your computer
  8323.          does not operate as expected  when  running  TheDraw,  start the
  8324.          setup utility by typing (from the dos prompt):
  8325.  
  8326.            SETUP *
  8327.  
  8328.          Press  [ENTER]  to  start  Setup.    The current settings of the
  8329.          keyboard driver will be displayed.  Respond [Y]es or [N]o if the
  8330.          setting  is  correct.    If  after  deactivating the driver your
  8331.          computer still malfunctions, please contact TheSoft.
  8332.  
  8333.  
  8334.  
  8335.        SCREEN MODE:
  8336.  
  8337.       Normally, THEDRAW will automatically  determine  the  correct video
  8338.       mode of  your computer.   You should only need to change the Screen
  8339.       mode option if:
  8340.  
  8341.          o  you think TheDraw is incorrectly detecting your hardware.
  8342.  
  8343.          o  you have a Color Graphics Adapter (CGA) that does not produce
  8344.         the "snow" or hashing effect.
  8345.  
  8346.  
  8347.        TheDraw v4.63         The Setup Utility             127
  8348.  
  8349.  
  8350.  
  8351.  
  8352.  
  8353.          o  You have an EGA or VGA video card and wish to always start in
  8354.         43/50 line edit mode.
  8355.  
  8356.          o  your computer has a composite or LCD video  screen, appearing
  8357.         like a  CGA but  with only one color.  In this case, you want
  8358.         the Black and White screen option.
  8359.  
  8360.       Upon pressing S to select this  option, a  pop-up menu  will appear
  8361.       with the available options.  These are fairly apparent:
  8362.  
  8363.  
  8364.       DEFAULT
  8365.  
  8366.          TheDraw will operate in the mode active when first run.
  8367.  
  8368.  
  8369.       BLACK AND WHITE
  8370.  
  8371.          TheDraw  will  use  composite  black and white mode (80 column),
  8372.          regardless of the active mode  when  first  run.    The original
  8373.          video mode will be selected when you exit TheDraw.
  8374.  
  8375.  
  8376.       COLOR
  8377.  
  8378.          TheDraw will use color mode (80 column), regardless of what mode
  8379.          active when first run.  The original video mode will be selected
  8380.          when you exit TheDraw.
  8381.  
  8382.  
  8383.       EGA/VGA
  8384.  
  8385.          TheDraw  will  use  color  mode  (80  column)  and  43/50 lines,
  8386.          regardless of what mode was  active  initially.    Initial video
  8387.          mode is restored upon exit from TheDraw.
  8388.  
  8389.  
  8390.       MONOCHROME
  8391.  
  8392.          TheDraw  uses  monochrome  video  mode, and switches back to the
  8393.          previous mode upon exiting.
  8394.  
  8395.       After selecting one of the first three options above (Default, B&W,
  8396.       or Color),  SETUP checks  the screen  for snow.  If you see snow or
  8397.       hashing, respond Yes to the prompt that appears.
  8398.  
  8399.  
  8400.  
  8401.  
  8402.  
  8403.  
  8404.  
  8405.  
  8406.        TheDraw v4.63         The Setup Utility             128
  8407.  
  8408.  
  8409.  
  8410.  
  8411.  
  8412.        COLOR CONFIGURATION:
  8413.  
  8414.       TheDraw holds three complete  sets of  configurable colors.   Which
  8415.       color  set  is  used  depends  on the initial screen mode specified
  8416.       above.  The sets  are for  Color, Black  and White,  and Monochrome
  8417.       screen users.  A pop-up window prompts for which set to edit.
  8418.  
  8419.       After selecting  a color  set, another  pop-up prompts for the item
  8420.       type to configure.  Options are the Edit Screen, Main Help Display,
  8421.       Directory  (Load/View)  Screen,  Pop-up  help,  and  Pull-Down menu
  8422.       display.
  8423.  
  8424.       Next,  a  menu  of  configurable  items  under  that  type appears.
  8425.       Selecting one  displays a  view port and list of available colors.
  8426.       The view port shows an example of the  screen item  you chose.   It
  8427.       also reflects any changes in colors as you scroll through the color
  8428.       palette.
  8429.  
  8430.       Use the arrows keys to select  a  color  to  your  liking  from the
  8431.       palette.   Watch the  view port  to see  how the item looks in that
  8432.       color.  Press [ENTER] or [ESC] to save your choice.
  8433.  
  8434.       Now repeat this procedure for every screen color  item you  want to
  8435.       customize.   When done,  press [ESC]  until you  return to the main
  8436.       SETUP menu.
  8437.  
  8438.  
  8439.  
  8440.        FILES DIRECTORY:
  8441.  
  8442.       The Files  Directory is  used by  TheDraw to  find its  files.  The
  8443.       shareware version looks for the pick list file (THEDRAW.PCK) there.
  8444.       The registered version of TheDraw looks for its help and  macro key
  8445.       files there in addition.
  8446.  
  8447.       The current  setting is  displayed for  you.   To change it, simply
  8448.       type in the new directory.  Enter a period (.) by itself to use the
  8449.       current directory  of Dos  when TheDraw  is loaded.   Press [ENTER]
  8450.       without entry to leave unchanged.
  8451.  
  8452.  
  8453.  
  8454.  
  8455.  
  8456.  
  8457.  
  8458.  
  8459.  
  8460.  
  8461.  
  8462.  
  8463.  
  8464.  
  8465.        TheDraw v4.63         The Setup Utility             129
  8466.  
  8467.  
  8468.  
  8469.  
  8470.  
  8471.        MEMORY USAGE:
  8472.  
  8473.       TheDraw always tries to allocate all available memory  up to limits
  8474.       specified by this SETUP option.  When fully configured, TheDraw can
  8475.       use as much as 410k of  memory.    Memory  is  allocated  first for
  8476.       screen page layers and then for the animation system.
  8477.  
  8478.       If you  have limited  memory, there might not be enough space for 8
  8479.       page layers and 16000 animation entries (maximum usage).  There may
  8480.       however  be  enough  space  for  4  page  layers and 5000 animation
  8481.       entries, or just one layer, or anything in between.
  8482.  
  8483.       This  is  when  you  may  wish  to  override  the  automatic memory
  8484.       allocation.   To make  TheDraw operate  as in earlier versions, you
  8485.       would want just 2 page layers  and  5000  entries.    Feel  free to
  8486.       experiment.  Keep in mind that TheDraw will scale down all settings
  8487.       when loaded if there is insufficient memory.
  8488.  
  8489.       Upon selecting this option the current  settings are  displayed for
  8490.       you.   The amount  of memory occupied by screen page layers and the
  8491.       animation system is also  indicated.   If you  wish to  change them
  8492.       answer Yes to the prompt.  You can then enter new values for both.
  8493.  
  8494.  
  8495.  
  8496.        DEFAULTS:
  8497.  
  8498.       TheDraw  has  certain  default  values used throughout the program.
  8499.       Some of these are:
  8500.  
  8501.          o  Initial edit colors
  8502.          o  Default file extensions
  8503.          o  Default file save parameters
  8504.          o  Sticky directory wildcards
  8505.          o  Initial work file directory
  8506.          etc...
  8507.  
  8508.       Selecting Defaults from the main setup menu displays  a screen with
  8509.       several fields.  Use the up and down arrow keys to select the field
  8510.       you wish to change.  PgUp/PgDn  switches between  the three screens
  8511.       of options.   To  change a  value follow  the on screen directions.
  8512.       Pressing [R] at any  time restores  all "factory"  defaults.  Press
  8513.       [ESC] when satisfied with your changes.
  8514.  
  8515.       Note: Many  of the defaults may be changed using TheDraw's internal
  8516.       Setup screen also.
  8517.  
  8518.  
  8519.  
  8520.  
  8521.  
  8522.  
  8523.  
  8524.        TheDraw v4.63         The Setup Utility             130
  8525.  
  8526.  
  8527.  
  8528.  
  8529.  
  8530.        QUIT/SAVE:
  8531.  
  8532.       Once all changes are completed, select Quit/save at  the main SETUP
  8533.       menu.  The message:
  8534.  
  8535.                 Save Changes? (Y/N)
  8536.  
  8537.       appears along  the bottom  line of  the screen.  Reply Yes, and all
  8538.       the changes you have made will  be saved  into TheDraw.   Reply No,
  8539.       and all  your changes  are ignored.  After either reply, you return
  8540.       to the dos prompt.
  8541.  
  8542.       If you ever decide to reset TheDraw completely to factory defaults,
  8543.       simply copy  the EXE  program file from your original disk (you did
  8544.       make one right?) onto your work  disk.    If  you  -just-  want the
  8545.       editor commands restored, type [R] under the editor configuration.
  8546.  
  8547.  
  8548.  
  8549.  
  8550.  
  8551.  
  8552.  
  8553.  
  8554.  
  8555.  
  8556.  
  8557.  
  8558.  
  8559.  
  8560.  
  8561.  
  8562.  
  8563.  
  8564.  
  8565.  
  8566.  
  8567.  
  8568.  
  8569.  
  8570.  
  8571.  
  8572.  
  8573.  
  8574.  
  8575.  
  8576.  
  8577.  
  8578.  
  8579.  
  8580.  
  8581.  
  8582.  
  8583.        TheDraw v4.63         The Setup Utility             131
  8584.  
  8585.  
  8586.  
  8587.  
  8588.  
  8589.                     APPENDIX A
  8590.  
  8591.                    SETTING UP CONFIG.SYS
  8592.  
  8593.  
  8594.        The ANSI  driver must  be installed  to display  Ansi color images and
  8595.        Ansi animation files via the Dos TYPE command.   This  can be  done by
  8596.        adding a  'DEVICE=ANSI.SYS' statement to your CONFIG.SYS file.  If you
  8597.        do not have a CONFIG.SYS  file,  you  can  create  one  by  typing the
  8598.        following in your root directory:
  8599.  
  8600.               COPY CON CONFIG.SYS<enter>
  8601.               DEVICE=ANSI.SYS<enter>
  8602.               ^Z<enter>           ( <-- press CTRL and Z )
  8603.  
  8604.        If you have a CONFIG.SYS file, append the sequence with:
  8605.  
  8606.               EDLIN CONFIG.SYS<enter>
  8607.               #I<enter>
  8608.               DEVICE=ANSI.SYS<enter>
  8609.               ^Z<enter>           ( <-- press CTRL and Z )
  8610.               E<enter>
  8611.  
  8612.        For this  to work properly, the ANSI.SYS file must also be in the root
  8613.        directory of your boot disk or hard drive (whichever is applicable).
  8614.  
  8615.        People wanting  to use  a mouse  with TheDraw  may have  to install an
  8616.        additional  file  in  their  CONFIG.SYS  file.    If  a driver must be
  8617.        installed, follow the above instructions using the name  of your mouse
  8618.        driver  (ie:  MSMOUSE.SYS  or  MOUSE.SYS, etc...) instead of ANSI.SYS.
  8619.        Additional parameters  may be  required.   Please refer  to the manual
  8620.        that came with your mouse for more details.
  8621.  
  8622.        There  are  many  other  useful  statements that can be placed in your
  8623.        CONFIG.SYS file.  Two which can  dramatically improve  the performance
  8624.        of DOS are:
  8625.  
  8626.                      BUFFERS=10
  8627.                      FILES=10
  8628.  
  8629.        Add these  as stated  above.   If you created a new CONFIG.SYS for the
  8630.        DEVICE=ANSI.SYS clause by COPY CON, then append these using the second
  8631.        method.  Enjoy!
  8632.  
  8633.  
  8634.  
  8635.  
  8636.  
  8637.  
  8638.  
  8639.  
  8640.  
  8641.  
  8642.        TheDraw v4.63            Appendix A             132
  8643.  
  8644.  
  8645.  
  8646.  
  8647.  
  8648.                     APPENDIX B
  8649.  
  8650.               EXTENDED/SPECIAL CHARACTER SET
  8651.  
  8652.  
  8653.        The  following  lists  every  symbol  available  in  the  IBM extended
  8654.        character set.  These  are  all  found  in  the  15  special character
  8655.        function key sets supported by TheDraw.
  8656.  
  8657.  
  8658.         Code Symbol     Code Symbol     Code Symbol     Code Symbol
  8659.  
  8660.          128   Ç         160   á         192   └         224   α
  8661.          129   ü         161   í         193   ┴         225   ß
  8662.          130   é         162   ó         194   ┬         226   Γ
  8663.          131   â         163   ú         195   ├         227   π
  8664.          132   ä         164   ñ         196   ─         228   Σ
  8665.          133   à         165   Ñ         197   ┼         229   σ
  8666.          134   å         166   ª         198   ╞         230   µ
  8667.          135   ç         167   º         199   ╟         231   τ
  8668.          136   ê         168   ¿         200   ╚         232   Φ
  8669.          137   ë         169   ⌐         201   ╔         233   Θ
  8670.          138   è         170   ¬         202   ╩         234   Ω
  8671.          139   ï         171   ½         203   ╦         235   δ
  8672.          140   î         172   ¼         204   ╠         236   ∞
  8673.          141   ì         173   ¡         205   ═         237   φ
  8674.          142   Ä         174   «         206   ╬         238   ε
  8675.          143   Å         175   »         207   ╧         239   ∩
  8676.          144   É         176   ░         208   ╨         240   ≡
  8677.          145   æ         177   ▒         209   ╤         241   ±
  8678.          146   Æ         178   ▓         210   ╥         242   ≥
  8679.          147   ô         179   │         211   ╙         243   ≤
  8680.          148   ö         180   ┤         212   ╘         244   ⌠
  8681.          149   ò         181   ╡         213   ╒         245   ⌡
  8682.          150   û         182   ╢         214   ╓         246   ÷
  8683.          151   ù         183   ╖         215   ╫         247   ≈
  8684.          152   ÿ         184   ╕         216   ╪         248   °
  8685.          153   Ö         185   ╣         217   ┘         249   ∙
  8686.          154   Ü         186   ║         218   ┌         250   ·
  8687.          155   ¢         187   ╗         219   █         251   √
  8688.          156   £         188   ╝         220   ▄         252   ⁿ
  8689.          157   ¥         189   ╜         221   ▌         253   ²
  8690.          158   ₧         190   ╛         222   ▐         254   ■
  8691.          159   ƒ         191   ┐         223   ▀         255   solid spc
  8692.  
  8693.  
  8694.  
  8695.  
  8696.  
  8697.  
  8698.  
  8699.  
  8700.  
  8701.        TheDraw v4.63            Appendix B             133
  8702.  
  8703.  
  8704.  
  8705.  
  8706.  
  8707.                     APPENDIX C
  8708.  
  8709.                 COMMON QUESTIONS & ANSWERS
  8710.  
  8711.        In  an  attempt  to  help  users  with  commonplace difficulties, this
  8712.        section answers some of the more frequent questions.
  8713.  
  8714.        Q:   When saving a full screen  Ansi  file,  TheDraw  reports  it used
  8715.         only 3 or 4 lines.  Did something go wrong?
  8716.  
  8717.        A:   No.   The number  TheDraw reports  is the number of output lines.
  8718.         This is the number  of lines,  for instance,  used when uploading
  8719.         such an  Ansi screen  to a  BBS system.  TheDraw normally puts as
  8720.         much information onto a given output  text line  as possible.   A
  8721.         number of  the Ansi  screen lines might be placed onto one output
  8722.         line; however, the file will display as expected.
  8723.        ----
  8724.        Q:   Why does TheDraw display  garbage when  I load  captured graphics
  8725.         screens?
  8726.  
  8727.        A:   TheDraw is  not designed  to handle  high resolution graphics per
  8728.         say.  TheDraw handles only text images.  It is similar to  a word
  8729.         processor in that regard.
  8730.        ----
  8731.        Q:   How can TheDraw support imbedded Ansi BBS control sequences?
  8732.  
  8733.        A:   Previously  users  had  to  resort  to  Animation  Include files,
  8734.         however starting  with TheDraw  v4.0, user  control sequences are
  8735.         directly  supported.    Refer  to command ALT-J,User-Seq for more
  8736.         information.    PCBoard  and  Wildcat  BBS  users  will   find  a
  8737.         convenient quick reference chart handy in normal editing mode.
  8738.        ----
  8739.        Q:   How can  I control  the location of the cursor after an Ansi file
  8740.         is displayed?
  8741.  
  8742.        A:   The easiest way is to  convert  your  Ansi  screen  to Animation.
  8743.         Select the  ALT-J, and  the "Top"  scanner.  The top scanner will
  8744.         make your Ansi file  display as  before.   You could  choose some
  8745.         other if you like.  Next, move the cursor where you would like to
  8746.         appear after the display is finished, and press the [SPACE] bar.
  8747.  
  8748.         The space  will  become  the  last  character  displayed  and the
  8749.         position where TheDraw leaves the cursor.
  8750.        ----
  8751.        Q:   Can I  use images  created with  this software in my own programs
  8752.         for public use (or sale)?
  8753.  
  8754.        A:   Yes.  There are  absolutely no  restrictions on  work you create.
  8755.         You  might  add  a  mention  "Screens  produced  by TheDraw", but
  8756.         TheSoft does not require it.
  8757.  
  8758.  
  8759.  
  8760.        TheDraw v4.63            Appendix C             134
  8761.  
  8762.  
  8763.  
  8764.  
  8765.        Q:   How do I upload Ansi files to another computer (a  bulletin board
  8766.         system)?
  8767.  
  8768.        A:   Ansi files  are sent  identically to regular text messages, using
  8769.         your communication  programs Ascii  upload option.   Before doing
  8770.         so, be  aware some  BBS's explicitly do not support Ansi.  If you
  8771.         pass the first hurdle, note  some  BBS's  feature  automatic text
  8772.         wrap-around for  lines which are too long.  Other's simply refuse
  8773.         to accept more than a maximum line length.  Either  of the latter
  8774.         cases will disrupt the appearance of your Ansi files.
  8775.  
  8776.         To  avoid  difficulties,  find  the maximum line length enterable
  8777.         before the above problems occur (generally 70 characters is about
  8778.         average).    Next,  when  saving  your  Ansi files using TheDraw,
  8779.         specify the number determined  (70 here)  for the  maximum output
  8780.         line length.   TheDraw will limit lines to that length, and there
  8781.         should be no problems uploading the image.
  8782.        ----
  8783.        Q:   How do I draw circles/ovals/etc?
  8784.  
  8785.        A:   Smooth circles & ovals  are  not  possible  using  text graphics.
  8786.         Approximations are  done with careful selection of characters and
  8787.         symbols.  For instance:
  8788.                     ▄▄▄▄
  8789.                      ▄▀▀    ▀▀▄
  8790.                     █          █
  8791.                    ▐▌          ▐▌
  8792.                     █          █
  8793.                      ▀▄▄    ▄▄▀
  8794.                     ▀▀▀▀
  8795.         The above was produced using symbols from function key set #6.
  8796.        ----
  8797.        Q:   I get disk full error messages when I try saving an Ansi  file to
  8798.         an empty  diskette.   The file  is large, very close to the 16000
  8799.         animation limit.  Is this a bug?
  8800.  
  8801.        A:   Seems unlikely a bug  exists.    The  Ansi  produced  is probably
  8802.         larger than  your diskette.   Try  splitting it  into two smaller
  8803.         chunks.  Although dependant  primarily  on  the  application, the
  8804.         largest  Ansi  file  we  know  of TheDraw producing was about 7.9
  8805.         million bytes (a test  of  16000  random  entries,  32 char/line,
  8806.         ansi pause of 50).  Even larger files might be possible.
  8807.        ----
  8808.        Q:   Why can't I change the video size from 25 lines to 43 or 50 lines
  8809.         as the manual suggests?
  8810.  
  8811.        A:   You must have an EGA or VGA video card adapter installed in order
  8812.         to  use  these  video  modes.    If  you  have a EGA/VGA card and
  8813.         TheDraw is not recognizing  your  hardware,  then  please contact
  8814.         TheSoft describing the situation.
  8815.  
  8816.  
  8817.  
  8818.  
  8819.        TheDraw v4.63            Appendix C             135
  8820.  
  8821.  
  8822.  
  8823.  
  8824.        Q:   How can I combine two Ansi files together?
  8825.  
  8826.        A:   There are  three ways.   Either load them both into TheDraw under
  8827.         animation mode (you will be  prompted  if  to  append  the second
  8828.         file), or use the Dos COPY command.  ie:
  8829.  
  8830.               COPY FILE1.ANS+FILE2.ANS FILE3.ANS
  8831.  
  8832.         The  above  will  create  a  new  file "FILE3.ANS" containing the
  8833.         complete contents of FILE1.ANS and FILE2.ANS.
  8834.  
  8835.         The last method involves using a  50  or  100  line  buffer mode,
  8836.         loading each target Ansi file into appropriate portions (an ideal
  8837.         use of Block Load), then saving as one file.
  8838.        ----
  8839.        Q:   My mouse  will not  go below  line 25  when using  the 43/50 line
  8840.         video mode.   I  can use the cursor keys fine, but the mouse gets
  8841.         stuck.  What is wrong?
  8842.  
  8843.        A:   TheDraw requires a mouse  driver  (ie:  MOUSE.SYS,  MOUSE.COM, or
  8844.         similar  variation)  be  installed  which  is compatible with the
  8845.         EGA/VGA video card.   Please contact  your mouse  manufacturer or
  8846.         check local computer bulletin board systems for an update.
  8847.        ----
  8848.        Q:   Every  so  often  I  get  a  funny  space character on my screen.
  8849.         Moving the  cursor onto  it causes  the cursor  to "flicker" with
  8850.         colors.  Why does that happen?
  8851.  
  8852.        A:   You have  come across  what is termed a "Solid-Space".  These are
  8853.         special characters  normally  used  with  TheDraw's  sprite mode.
  8854.         Solid  spaces   are  entered  by  pressing  the  SHIFT-SPACE  key
  8855.         combination.   They are not normal spaces  (character 32),  but a
  8856.         blank special IBM extended space (character 255).  A setup option
  8857.         exists for filtering them from your Ansi/Ascii screen files.
  8858.        ----
  8859.        Q:   When I  type  saved  ASCII  files,  sometimes  extra  blank lines
  8860.         appear.  What is wrong?
  8861.  
  8862.        A:   Your screen  contains lines which are the full screen width.  The
  8863.         cursor is "wrapping" down to the next line thus causing the extra
  8864.         blank  line  to  appear.    Such  Ascii files are compatible with
  8865.         standard  text  editors.    To  make  Ascii  files  which display
  8866.         properly  using  the  Dos  TYPE command, toggle the "Force CR/LF"
  8867.         option in the Setup options screen to "NO".
  8868.        ----
  8869.        Q:   When I save animated Ansi files,  I  cannot  get  a  character to
  8870.         display in the lower-right corner.  How can I correct this?
  8871.  
  8872.        A:   You can't.   The screen scrolls whenever a character is displayed
  8873.         in the lower-right  corner.    This  is  extremely  disruptive to
  8874.         animated Ansi  files.   TheDraw thus  does not output characters,
  8875.         but will however paint the corner with the desired colors.
  8876.  
  8877.  
  8878.        TheDraw v4.63            Appendix C             136
  8879.  
  8880.  
  8881.  
  8882.  
  8883.  
  8884.        Q:   I am a BBS system operator and puzzled  by the  Ansi maximum line
  8885.         length parameter.   What  exactly is  this used  for, and does it
  8886.         mean I can't have full screen Ansi images?
  8887.  
  8888.        A:   The Ansi maximum  line  length  is  completely  separate  of what
  8889.         appears  on  the  screen.    The  parameter  affects  the  output
  8890.         formatting of Ansi files, but not  the way  they appear onscreen.
  8891.         We  must  make  the  distinction between displayed Ansi lines (as
  8892.         they appear) and output lines (as in the .ANS files).
  8893.  
  8894.         Output lines contains large  amounts  of  cursor  positioning and
  8895.         color control  codes.  A given displayed Ansi line might actually
  8896.         translate to an output line over 1000 characters long.
  8897.  
  8898.         In situations where Ansi files are loaded into other software, or
  8899.         uploaded  to  BBS  systems  as  messages,  physical limits on the
  8900.         output line lengths might be  imposed.    Say,  for  instance, 70
  8901.         characters.   This limits  the maximum amount of Ansi information
  8902.         TheDraw can pack onto  a given  output line.   However,  the Ansi
  8903.         screen display  will not  change at all!  TheDraw will compensate
  8904.         for the  short output  lines by  moving the  cursor and adjusting
  8905.         color codes  as required.  The more TheDraw is forced to do this,
  8906.         the longer and slower your Ansi file becomes.
  8907.  
  8908.         For maximum speed and the smallest  files, use  an Unlimited line
  8909.         length.    BBS  system  operators should use unlimited length for
  8910.         menu screens and the like --  unless  all  Ansi  files  are being
  8911.         stored as  messages.   Your message base might have a line length
  8912.         limit.  If all your BBS does is display text  files however, then
  8913.         use the unlimited line length.
  8914.  
  8915.  
  8916.  
  8917.  
  8918.  
  8919.  
  8920.  
  8921.  
  8922.  
  8923.  
  8924.  
  8925.  
  8926.  
  8927.  
  8928.  
  8929.  
  8930.  
  8931.  
  8932.  
  8933.  
  8934.  
  8935.  
  8936.  
  8937.        TheDraw v4.63            Appendix C             137
  8938.  
  8939.  
  8940.  
  8941.  
  8942.  
  8943.                  REVISION HISTORY
  8944.  
  8945.  
  8946.        05/01/86  -  Version 1.00  -  Program completed.
  8947.        ____
  8948.  
  8949.        05/05/86  -  Version 1.01
  8950.  
  8951.        Carl Ehmann noticed a glitch in text creation that caused highlighting
  8952.        and blinking attributes  changes  to  go  unnoticed.    This  has been
  8953.        corrected.
  8954.        ____
  8955.  
  8956.        06/05/86  -  Version 1.02
  8957.  
  8958.        Steven Mills  discovered a bug in the file loading routine that caused
  8959.        TheDraw to flag valid filenames as invalid.  It has been squashed.
  8960.  
  8961.        Changed the program to not allow the user to enter a code  #26 or code
  8962.        #27 into  a text screen. A code #26 is the Dos end of file marker, and
  8963.        entering it means loss of all following text upon displaying  the file
  8964.        or reloading  it back  into TheDraw.   A  code #27  is the ANSI driver
  8965.        signal  character.  Supposedly  ANSI  ignores  invalid  sequences, but
  8966.        allowing  the  code  created  "false"  ANSI codes which caused loading
  8967.        problems.
  8968.        ____
  8969.  
  8970.        07/31/86  -  Version 1.03
  8971.  
  8972.        Upon prompting from Carl Ehmann, output line length  limiting has been
  8973.        added.   This will  facilitate other  programs which cannot load lines
  8974.        conceivably going over 1300 characters (such as RBBS).   Color changes
  8975.        can now  be accomplished  using the  Ctrl-Left and Right arrow keys to
  8976.        increment the fore and background colors respectively.
  8977.        ____
  8978.  
  8979.        08/15/86  -  Version 1.10  (later changed to v2.00)
  8980.  
  8981.        Changes in a big way.  New features include:
  8982.      ANSI Animation, Line Drawing, Ruler, movement of
  8983.      blocks UNDER other text and much more!!
  8984.  
  8985.        Quick color change keys have been expanded to  use the  Ctrl-Up, Down,
  8986.        Left, and Right keys in a more logical manner.
  8987.        ____
  8988.  
  8989.        09/13/86  -  Version 2.01
  8990.  
  8991.        A few  more enhancements.   Pop-Up help, and macros have been added to
  8992.        the new registered version of the program.  Also a few aspects  of the
  8993.        animation editor have been sped up.
  8994.  
  8995.  
  8996.        TheDraw v4.63              History              138
  8997.  
  8998.  
  8999.  
  9000.  
  9001.  
  9002.                   REVISION HISTORY (cont)
  9003.  
  9004.  
  9005.        09/19/86 - Version 2.02
  9006.  
  9007.        Fixed a slight bug which was causing TheDraw to display the wrong Help
  9008.        Screen (in registered version).  Also,  the registered  version wasn't
  9009.        keeping track of where its overlay was.
  9010.        ____
  9011.  
  9012.        09/27/86 - Version 2.03
  9013.  
  9014.        Carl Ehmann noticed yet another glitch (what would I do without him?).
  9015.        The Ascii save routine was using ANSI codes  to advance  the cursor to
  9016.        the next line.
  9017.        ____
  9018.  
  9019.        11/28/86 - Version 2.04
  9020.  
  9021.        Ray Buti  discovered an  oddity with  the Pascal  screen save.  If you
  9022.        used a single quote "'" TheDraw didn't compensate  for it.   Therefore
  9023.        when  Turbo  Pascal  compiled  that  screen  it  complained.  Ray also
  9024.        noticed that  characters under  #32 were  missing the  "#" required by
  9025.        Turbo.  These have both been cured.
  9026.  
  9027.        In addition,   the animation load routine has been made more reliable.
  9028.        Occasionally movement just involving the  cursor  (no  text)  would be
  9029.        lost.   Other improvements  were made  to make  animation screen files
  9030.        smaller and display faster.
  9031.        ____
  9032.  
  9033.        03/06/87 - Version 2.10
  9034.  
  9035.        Support for monochrome monitors has finally been added.  Don't ask why
  9036.        I never  did it  before...   The glitches  Paul Pacter (and many other
  9037.        people) found  with IBM  PC Ctrl-Up/Down  keys has  been eliminated. I
  9038.        would have  never noticed  that glitch,  so many thanks!  Kent Godding
  9039.        made an excellent suggestion for a ansi-file slow down routine.   This
  9040.        has  been  added.    Lastly,  a  few  changes were made to the command
  9041.        structure to clarify things and many prompts were cleaned up.
  9042.  
  9043.  
  9044.  
  9045.  
  9046.  
  9047.  
  9048.  
  9049.  
  9050.  
  9051.  
  9052.  
  9053.  
  9054.  
  9055.        TheDraw v4.63              History              139
  9056.  
  9057.  
  9058.  
  9059.  
  9060.  
  9061.                   REVISION HISTORY (cont)
  9062.  
  9063.  
  9064.        06/20/87 - Version 2.20
  9065.  
  9066.        BSave saves fixed to operate properly  for monochrome  monitors.  Ansi
  9067.        files now  output <esc>[40m  color sequences  to clear screen to black
  9068.        color before doing anything else.  Thanks to Barry Simon  for bringing
  9069.        this  oversight  to  my  attention  and  also  suggesting command line
  9070.        filespecs.  Some  new  items  were  added,  most  notably  full screen
  9071.        editing.   Thank Ray  Buti for  finally bugging  me enough  to add it.
  9072.        Also extended options for Asm, Pascal,  and  new  C  storage  modes to
  9073.        crunch and  store only  Ascii in addition to the original normal (4000
  9074.        byte) mode.  Thanks to Douglas A. Nicklow for suggesting the C storage
  9075.        capacity.
  9076.        ____
  9077.  
  9078.        08/22/87 - Version 2.21
  9079.  
  9080.        Fixed a  minor glitch  with window  sizes being  slightly off.  Also I
  9081.        missed a problem in the registered version.  TheDraw was not using the
  9082.        overlay path  entered by the Setup utility when initializing.  So much
  9083.        for learning  from mistakes  (ie: it  happened before).   In addition,
  9084.        using a  command line  filespec sometimes loaded a Ansi or Ascii image
  9085.        with a random background color.  Needless to say, everything  has been
  9086.        fixed.
  9087.        ____
  9088.  
  9089.        04/28/88 - Version 3.00
  9090.  
  9091.        Many, MANY  changes.   TheDraw totally  rewritten to take advantage of
  9092.        Turbo Pascal v4.0.  A new title screen,  dynamic allocation  of screen
  9093.        layers and  animation space  (up to 16000 animation entries and 8 page
  9094.        layers can now be  used),  multi-layer  Sprite  editing,  dos shelling
  9095.        (suggestion from Billy Noto), and a new high-speed TheDraw format data
  9096.        file have all been added.    TheDraw  now  incorporates  its  own Ansi
  9097.        driver so Ansi/Ascii file loading is much faster.
  9098.  
  9099.        The animation  system has  been greatly  expanded.  Five new animation
  9100.        scanners have been added (ANGLE, GATE, PYRAMID, SQUARES,  and WIGGLE).
  9101.        Animation markers(R),  "include files",  animation pausing, support of
  9102.        animation on multiple page  layers (no  longer restricted  to just one
  9103.        page), global  animation screen  copies, and more have all been added.
  9104.        Animation sequences can now  be  appended  together.    The registered
  9105.        version supports easy animation editing.
  9106.  
  9107.        A couple  of bugs  were fixed.   The  pascal save left spurious single
  9108.        entries on the end of lines (yet another discovery of Ray Buti  :-) ).
  9109.        The Ascii Save no longer outputs spaces on the end of every line.
  9110.  
  9111.  
  9112.  
  9113.  
  9114.        TheDraw v4.63              History              140
  9115.  
  9116.  
  9117.  
  9118.  
  9119.  
  9120.                   REVISION HISTORY (cont)
  9121.  
  9122.        (v3.00 cont)
  9123.  
  9124.        The  Setup   utility  has   been  vastly  overhauled  and  now  allows
  9125.        configuring  of  the  TheDraw  edit  screen  colors,  TheDraw keyboard
  9126.        commands(R), and many other parameters.
  9127.        ____
  9128.  
  9129.        09/09/88 - Version 3.10
  9130.  
  9131.        Support for the Microsoft Mouse has been added, making cursor movement
  9132.        and the marking of blocks easier.  Five additional character sets have
  9133.        been added.   These  are accessed via CTRL-F(1-5).  With this revision
  9134.        goes a  new function  key screen  (ALT-F).   Finally, a  few bugs were
  9135.        eradicated.   Many people reported CTRL-Up/Down keys were not working.
  9136.        They did work, however the status display was not always updated (thus
  9137.        causing  the  following  confusion).    TheDraw  now  allows filespecs
  9138.        without extensions  to  be  used  again.    In  addition,  the default
  9139.        filespec extensions  can be  changed using the Setup utility (Ray Buti
  9140.        can now change .PAS to anything he likes  <grin>).   The Setup utility
  9141.        Defaults option now works as advertised.  Finally, the keyboard driver
  9142.        for Ctrl-Up/Down has been changed yet again.  With the  last revision,
  9143.        a few computers were gained but the PCjr was lost.
  9144.        ____
  9145.  
  9146.        04/04/89 - Version 3.20
  9147.  
  9148.        Pull down  menu system has been added to TheDraw.  The program can now
  9149.        be totally controlled by use of a mouse.   Various  small details that
  9150.        escaped detection  regarding the  mouse were corrected.  TheDraw has a
  9151.        new storage format -- COM files.  Separate  programs useful  for batch
  9152.        files and  the like.  They work with blocks and (naturally) the entire
  9153.        screen.  A few bugs floating around the program have been cured.  When
  9154.        attempting a  block save, TheDraw would sometimes display and save the
  9155.        wrong screen portion.  The ALT-U  command was  not processing blinking
  9156.        colors properly  -- thanks  to Darin  May for  pointing this out.  The
  9157.        ALT-L file directory had a minor problem when  there were  exactly 124
  9158.        items displayed.  You could go down to the next page even though there
  9159.        was nothing on it.   Animation  screen copies  might possibly  fail if
  9160.        they run out of room.  What the user saw didn't necessarily match what
  9161.        TheDraw thought was there until everything  got redrawn.   The problem
  9162.        with CTRL-UP/DOWN  simply won't go away.  The driver will work for 99%
  9163.        of  machines,  but  certain  computers  with  non-compatible  keyboard
  9164.        hardware  will  lockup  (notably  the  Tandy 1000A and HX).  The SETUP
  9165.        utility now has a provision for deactivating the driver completely.
  9166.  
  9167.  
  9168.  
  9169.  
  9170.  
  9171.  
  9172.  
  9173.        TheDraw v4.63              History              141
  9174.  
  9175.  
  9176.  
  9177.  
  9178.  
  9179.                   REVISION HISTORY (cont)
  9180.  
  9181.  
  9182.        11/01/89 - Version 3.30
  9183.  
  9184.        TheDraw format files now support block load/save.   A color attributes
  9185.        drawing  mode  has  been  added,  access  via  Alt--.  Thanks to James
  9186.        Carroll  for  this  suggestion.    You  can  now   specify  a  default
  9187.        directory/wildcard when  using sticky  directory listings.   Thanks to
  9188.        Sylvest Adam for this suggestion.   TheDraw supports  a ten  file pick
  9189.        list now.   This  maintains a  listing of the last ten files accessed.
  9190.        Simply press the TAB whenever TheDraw prompts for a filespec.  TheDraw
  9191.        now generates  Intel format  compatible object code files.  Useful for
  9192.        linking with Turbo Pascal v4.0 and above, C plus many other high-level
  9193.        languages.   The ruler  can now  be made  "sticky".   When active, the
  9194.        ruler stays on the screen appearing under the  current page  layer.  A
  9195.        few bugs  were fixed.   The  problem with ansi animation files getting
  9196.        confused  when  saved  without  screen  preparation  has  been solved.
  9197.        Thanks to Terry Blake for reporting it.  Alt-O now properly allows you
  9198.        to change  drives.    A  minor  glitch  with  animation  include files
  9199.        dropping characters  has been  solved.  Finally, the directory listing
  9200.        handles the mouse in a more predictable/controllable manner.
  9201.        ____
  9202.  
  9203.        03/01/91 - Version 4.00
  9204.  
  9205.        A great number of changes, additions, and improvements.  First the bug
  9206.        fixes:   Garry Kraemer  found the  uncruncher was not in sync with how
  9207.        TheDraw handled flashing characters.    Michael  Harris  discovered it
  9208.        was possible  to select  a page  0 in version 3.30.  Paul Furman noted
  9209.        BSAVE files  were not  quite compatible  with Basic,  lacking a ending
  9210.        sequence.   Carter Downer  noted that 80 column Ansi files produced by
  9211.        TheDraw were not fully compatible with bulletin board systems.
  9212.  
  9213.        New features are:  EGA/VGA screen  editing (43/50  lines for EGA/VGA).
  9214.        A virtual  screen edit  buffer was  added, allowing  screens up to 160
  9215.        characters by 50 lines can  be  edited.    Mouse  aided  line drawing;
  9216.        pressing the  middle mouse button down and moving will draws a line or
  9217.        box.  All cursor keys now function throughout  TheDraw.   Line drawing
  9218.        now tolerates bumping into the screen border.  New animation scanners:
  9219.        Doors*,  Diamond*,  Circle*,  Clock*,   Checkerboard,  and  Wiggleout.
  9220.        Thanks to  Guy StarBuck for suggesting the first four.  The ability to
  9221.        reverse any  animation scan  (making the  scan go  backwards) was also
  9222.        added.   Thanks to  Dorothy Hade  for this excellent suggestion.  User
  9223.        Ctrl sequences permitting BBS operators to install custom Ansi codes.
  9224.        The last animation improvement  was the  ability to  append -ANY- file
  9225.        format  (except  .TD)  to  an  animation sequence.  For non-ansi/ascii
  9226.        files, TheDraw requests an animation scanner to reading the screen.
  9227.  
  9228.  
  9229.  
  9230.  
  9231.  
  9232.        TheDraw v4.63              History              142
  9233.  
  9234.  
  9235.  
  9236.  
  9237.  
  9238.                   REVISION HISTORY (cont)
  9239.  
  9240.        (v4.00 cont)
  9241.  
  9242.        Block and global character/attribute  replace  has  been  added.   The
  9243.        default load  filename extension can now be changed to something other
  9244.        than  ANS.    An  online  setup  menu  was  added  to  TheDraw, making
  9245.        configuration of the environment much easier.  Two additional COM file
  9246.        formats were added, with TheDraw transparently  selecting the  best of
  9247.        the three for a given application.
  9248.  
  9249.        Ascii files  can now  be forced to have carriage returns placed on the
  9250.        end of each line.  ALT-Key pop-up help screen added.  TheDraw  can now
  9251.        save  backup  files.    The  ALT-Left/Right key sequence delete/insert
  9252.        columns.  Automatic screen blanking was added.  Dos Shell now attempts
  9253.        to swap  out information to EMS memory or a disk swap file to increase
  9254.        available memory  during the  shell.   Lastly (whew!),  TheDraw can be
  9255.        made  to  prompt  to  save  changes  before exit.  Either just for the
  9256.        current page, or for all page layers.
  9257.        ____
  9258.  
  9259.        03/18/91 - Version 4.01
  9260.  
  9261.        A minor correction to the .OBJ  file  format  loader,  the  Last Block
  9262.        option works  properly now,  plus a  couple other  minor fixes to bugs
  9263.        somehow squirming through testing.   The  presentation program (THEPP)
  9264.        now  properly  displays  TheDraw  format  files saved with sprite mode
  9265.        turned on.
  9266.  
  9267.        ----
  9268.        Version  numbers  4.10  through  4.40  skipped   because  unauthorized
  9269.        (illegal) modification of TheDraw v4.00 by an individual.
  9270.        ----
  9271.  
  9272.        03/16/92 - Version 4.50
  9273.  
  9274.        Over  50  improvements  and  corrections.  Bug fixes include corrected
  9275.        Ansi file generation, improved QuickBasic support,  cleaned up various
  9276.        screen  display  quirks  associated  with  the  virtual  edit  buffer,
  9277.        problems  with  column  insert/delete,  better  handling  of  switches
  9278.        between 25  and 43/50  line buffers,  difficulty with read-only marked
  9279.        files, quirks with screen blanking, better  handling of  bell codes in
  9280.        Ansi files,  problems with the Sticky ruler not being saved to TheDraw
  9281.        format files, glitches with  display refresh  in animation  mode, plus
  9282.        several other minor improvements.
  9283.  
  9284.  
  9285.  
  9286.  
  9287.  
  9288.  
  9289.  
  9290.  
  9291.        TheDraw v4.63              History              143
  9292.  
  9293.  
  9294.  
  9295.  
  9296.  
  9297.                   REVISION HISTORY (cont)
  9298.  
  9299.        (v4.50 cont)
  9300.  
  9301.        Thanks to:
  9302.       Steven Fischkoff for finding bugs with animation scramble scanner.
  9303.       J. T. Merrill for finding problems with THEPP when displaying
  9304.         animated files.
  9305.       Warren Leadbeatter for pointing out circumstances where unwanted
  9306.         blank lines could get inserted into Ansi files.
  9307.       Jeff Lawson for finding bugs when loading read-only files, saving
  9308.         small  (less   than  512  bytes)  object  files,  and  suggesting
  9309.         improvements for the QuickBasic MAKEQLB batch file.
  9310.       Ian Thurston for supplying a example for the Clipper compiler.
  9311.       Joe Fischer (and others) for helping identify a glitch with Ansi
  9312.         saves relative to spurious linefeeds in the top video line.
  9313.  
  9314.        Improvements include  encrypted screen  data to  thwart hack attempts,
  9315.        internal Ansi/Ascii font support, true restore/undo facility which can
  9316.        reverse any screen operation, a 23 line edit  buffer (very  useful for
  9317.        BBS screen  generation), improved cursor viability when foreground and
  9318.        background colors are the same, pull  down menus  now display shortcut
  9319.        keystrokes, file  listing used  with the load/view/delete function now
  9320.        show directories, more efficient Ansi file generation, and mouse users
  9321.        can  now  click  on  items  in  the  status  line (when pulldown menus
  9322.        displayed) as shortcuts for common commands.  Enjoy!
  9323.  
  9324.        ----
  9325.  
  9326.        04/15/92 - Version 4.51
  9327.  
  9328.        Alas...  the  best  laid  plans.    Another  bug  in  the  creation of
  9329.        QuickBasic object  files was  found by Gary Deal.  This has been taken
  9330.        care of.  An obscure problem  with  background  colors  in  Ansi files
  9331.        reported by  Chris Wirth (and others) has been cured.  Lastly, a minor
  9332.        hiccup with the sticky ruler only  working  in  sprite  mode  has been
  9333.        repaired.
  9334.  
  9335.        ----
  9336.  
  9337.        02/15/93 - Version 4.60
  9338.  
  9339.        Many  overall  improvements.    New  title screen, Added are the Quick
  9340.        Palette  (for  choosing  color  &  symbols),  picking  up  symbols and
  9341.        manually paint  with it,  a 100  line static  edit buffer, multi-color
  9342.        fonts, larger font capacity, animation fade-out, animation auto-repeat
  9343.        displaying,  Library  format  files  which permit saving many TD files
  9344.        together  along   with  descriptions,   ability  to   view  TD  files,
  9345.        compression  in  TD  files,    C  source  code  file  format  now more
  9346.        compatible with more compilers, new  file  formats  for  BBS operators
  9347.        (Avatar, PCBoard, and Wildcat BBS), quick reference for PCBoard and
  9348.  
  9349.  
  9350.        TheDraw v4.63              History              144
  9351.  
  9352.  
  9353.  
  9354.  
  9355.  
  9356.                   REVISION HISTORY (cont)
  9357.  
  9358.        (4.60 cont)
  9359.  
  9360.        Wildcat @-code  keywords, optional removal of unused lines when saving
  9361.        screens (very useful for  BBS operators),  and for  registered users a
  9362.        built in version of the SHADING.TD screen (R).
  9363.  
  9364.        Bug fixes  to animation  text centering,  viewing object files, column
  9365.        insert/delete (when used with  numeric  keypad  arrows),  Ansi include
  9366.        files, Ansi  loader less  likely to spuriously turn on animation mode,
  9367.        improved handling  for  "color-bleeding"  with  scrolling  Ansi files,
  9368.        fixes to TDFonts, QuickBasic functions adjusted to avoid leaving extra
  9369.        data on stack, saving COM files safer when  large edit  buffer in use,
  9370.        global screen move works with large edit buffers, cursor not forced to
  9371.        left-most column at end of  animation  files  anymore,  can  no longer
  9372.        "click" on  status line  items with  mouse if  the status  line is not
  9373.        displayed, and the SETUP  utility  now  ignores  shift-key  codes when
  9374.        programming the keyboard driver.
  9375.  
  9376.        Thanks to:
  9377.      Toby Vander Steen for finding animation text centering bug.
  9378.      Gary Yuen for object file viewing and column insert/delete glitches.
  9379.      Michael Arnett for pointing out the animation include files were
  9380.         less than perfect.
  9381.      Brad Crouch for finding a circumstance in which COM files would not
  9382.         be saved properly.
  9383.      B.J. Freeman for indicating the Setup utility keyboard config bug.
  9384.      Dafyd V. Smith for the 23 line buffer loading problem, and
  9385.         suggesting animation auto-repeating!
  9386.      David P. Hummel & Dafyd V. Smith for suggesting animation fadeout!
  9387.      Abram Miller for suggesting the modified dos prompt in shells.
  9388.      Carter  Downer  for  suggesting  the  Quick  Palette feature, screen
  9389.         autocompress, and new BBS file formats!
  9390.      The many users who all requested the screen capture utility!
  9391.  
  9392.  
  9393.        03/22/93 - Version 4.61
  9394.  
  9395.        Maintenance release.  TheDraw  had a  problem handling  color setup in
  9396.        Ansi files with a space in the upper-left corner of the screen.  Other
  9397.        minor bugs in the Setup utility, PRINTDOC, and TheGrab were fixed.
  9398.  
  9399.        Thanks to:
  9400.      Anthony  Haxton  for  pointing  out  the  Setup  utility  might  not
  9401.         recognize the registered version of TheDraw.
  9402.      Paul  Hirsch  for  finding  one  of  the  items in the Setup utility
  9403.         default section worked backwards (ie: typing "Yes", got "No").
  9404.  
  9405.        (R) = Feature in Registered Version of TheDraw Only
  9406.  
  9407.  
  9408.  
  9409.        TheDraw v4.63              History              145
  9410.  
  9411.  
  9412.  
  9413.  
  9414.  
  9415.                   REVISION HISTORY (cont)
  9416.  
  9417.        09/07/93 - Version 4.62
  9418.  
  9419.        Maintenance  release.    Problem  with  saving  PCBoard/Wildcat  files
  9420.        related  to  background  colors  and scrolling (ie: color wrap-around)
  9421.        fixed.  Also repaired minor glitch  in ALT-A  screen when  Numlock was
  9422.        turned on  - the  arrow keys  would only increment colors.  Ansi files
  9423.        now include a special sequence  which  turns  on  line  wrap-around on
  9424.        terminal programs.   This  should cure a number of problems related to
  9425.        display of characters in the 80th column.
  9426.  
  9427.        Thanks to Luke Rice for reporting how typing an 'A' in the color setup
  9428.        (ALT-A) screen might cause a crash.
  9429.  
  9430.        ____
  9431.  
  9432.  
  9433.        10/19/93 - Version 4.63
  9434.  
  9435.        Maintenance  release.    A  glitch  which  came and went... came back.
  9436.        Blinking colors in Ansi files would not be properly output  if 1) they
  9437.        were the  first colors  used and  2) not  on the  first line.  Special
  9438.        thanks to  William Zakreski  for reporting  this.   TDFonts would exit
  9439.        with the  cursor turned  off in  some situations; this should be fixed
  9440.        now.  Thanks to Brian Morin for writing in.
  9441.  
  9442.        Avatar, PCBoard, and Wildcat  formats  can  now  optionally  reset the
  9443.        display color to light gray on the end of files.  The reset is enabled
  9444.        by default, and corresponds to how  Ansi files  are handled.   To turn
  9445.        off the  color reset,  choose Setup from the Options pulldown menu, go
  9446.        to page 2, and change the "Reset colors..." toggle.   Direct thanks to
  9447.        Alan Shoemaker for recommending this one.
  9448.  
  9449.        TheDraw  now  handles  @CLS@  Wildcat/PCBoard  commands  properly.  In
  9450.        attempting to filter the @CLS@ command  TheDraw adds  itself, all were
  9451.        removed.  Lastly, Wildcat/PCBoard slowdown codes are fixed.
  9452.  
  9453.  
  9454.  
  9455.  
  9456.  
  9457.  
  9458.  
  9459.  
  9460.  
  9461.  
  9462.  
  9463.  
  9464.  
  9465.  
  9466.  
  9467.  
  9468.        TheDraw v4.63              History              146
  9469.  
  9470.  
  9471.  
  9472.  
  9473.  
  9474.                     THE FUTURE
  9475.  
  9476.  
  9477.        Look for these features in the next release of TheDraw:
  9478.  
  9479.         New painting routine options to make coloring areas easier.
  9480.         User definable "favorite" color combination keystrokes.
  9481.         Multi-speed animation sequences.
  9482.  
  9483.        Send in  your ideas,  suggestions, criticisms and bug reports.  Report
  9484.        something first and be immortalized in the docs of TheDraw!
  9485.  
  9486.        If you ever find a copy of TheDraw  with a  version number  other than
  9487.        one  listed  above,  please  take  the  time  to write us a quick note
  9488.        describing it.  Thank you!
  9489.  
  9490.  
  9491.  
  9492.  
  9493.  
  9494.  
  9495.  
  9496.  
  9497.  
  9498.  
  9499.  
  9500.  
  9501.  
  9502.  
  9503.  
  9504.  
  9505.  
  9506.  
  9507.  
  9508.  
  9509.  
  9510.  
  9511.  
  9512.  
  9513.  
  9514.  
  9515.  
  9516.  
  9517.  
  9518.  
  9519.  
  9520.  
  9521.  
  9522.  
  9523.  
  9524.  
  9525.  
  9526.  
  9527.        TheDraw v4.63                           147
  9528.  
  9529.  
  9530.  
  9531.  
  9532.  
  9533.                      COMMENTS
  9534.  
  9535.  
  9536.        Please consider registering for the amount  of $22.   Quality software
  9537.        at good  prices is  very difficult to find.  We at TheSoft Programming
  9538.        Services firmly  believe  in  and  support  the  concept  of shareware
  9539.        products, and  hopefully you  do also.   Please make any checks out to
  9540.        TheSoft Programming Services.  If you  have any  requests, comments or
  9541.        suggestions for TheDraw, please send them to:
  9542.  
  9543.  
  9544.  
  9545.                TheSoft Programming Services
  9546.                c/o Ian Davis - TheDraw
  9547.                P.O. Box 7657
  9548.                Fremont, CA, 94537-7657
  9549.  
  9550.  
  9551.  
  9552.        Thanks for your support!
  9553.  
  9554.  
  9555.  
  9556.  
  9557.  
  9558.  
  9559.  
  9560.  
  9561.  
  9562.  
  9563.  
  9564.  
  9565.  
  9566.  
  9567.  
  9568.  
  9569.  
  9570.  
  9571.  
  9572.  
  9573.  
  9574.  
  9575.  
  9576.  
  9577.  
  9578.  
  9579.  
  9580.  
  9581.  
  9582.  
  9583.  
  9584.  
  9585.  
  9586.        TheDraw v4.63                           148
  9587.