home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 556.THEDRAW.DOC < prev    next >
Text File  |  1993-03-21  |  355KB  |  9,366 lines

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