home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / l / lddoc112.zip / LDOG.DOC < prev    next >
Text File  |  1992-04-11  |  240KB  |  5,808 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                    L A U G H I N G  D O G  S C R E E N  M A K E R
  11.                   -----------------------------------------------
  12.  
  13.                                        V1.00
  14.  
  15.  
  16.                               U s e r 's   M a n u a l
  17.                             ---------------------------
  18.  
  19.                              Copyright 1992, Jeff Sloan
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                                  Yardbird Software
  28.                                       Box 4646
  29.                             West Hills, California 91308
  30.  
  31.  
  32.  
  33.                                 Phone: (818)704-6402
  34.                                CompuServe: 73650,104
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                  _______
  44.                             ____|__     |               (R)
  45.                          --|       |    |-------------------
  46.                            |   ____|__  |  Association of
  47.                            |  |       |_|  Shareware
  48.                            |__|   o   |    Professionals
  49.                          -----|   |   |---------------------
  50.                               |___|___|    MEMBER
  51.  
  52.  
  53.          Trademarks & Acknowledgments
  54.  
  55.          Registered Trademarks
  56.  
  57.          HP & LaserJet are trademarks of Hewlett-Packard Company.
  58.          Turbo C & Turbo Pascal are trademarks of Borland International.
  59.          Epson is a trademark of Epson Corporation.
  60.          PostScript is a trademark of Adobe Systems, Incorporated.
  61.          PageMaker is a trademark of Aldus Corporation.
  62.          Ventura Publisher is a trademark of Xerox Corporation.
  63.          PKZIP and PKware are trademarks of PKware Incorporated.
  64.          WildCat! is a trademark of Mustang Software.
  65.          PCBoard is a trademark of Clark Development Company, Inc.
  66.          DESQview is a trademark of Quarterdeck Office Systems.
  67.          Macintosh is a trademark of Apple Computer Inc.
  68.          IBM is a trademark of International Business Machines.
  69.          GW Basic, QuickBASIC, QuickC, Windows & MASM.
  70.           are trademarks of Microsoft Corp.
  71.  
  72.  
  73.          Acknowledgments
  74.  
  75.               The author wishes to thank Mike McGrath for his advice,
  76.          testing, and encouragement early on in this program's development.
  77.          Most of his suggestions have made their way into the program in
  78.          one form or another.  Mike also acted as my proofreader and editor
  79.          while preparing this manual.  I also wish to recognize Bob Wenzel
  80.          for his important help in the fine-tuning of the Laughing Dog's
  81.          user interface.  I would like to thank all of my CompuServe and
  82.          GEnie beta testers, especially Duane Paulson.
  83.               Their suggestions have helped make the Laughing Dog Screen
  84.          Maker a more complete and easier program to use.
  85.  
  86.  
  87.  
  88.  
  89.  
  90.          ASP Ombudsman statement
  91.  
  92.              Yardbird Software is a member of the Association of Shareware
  93.          Professionals (ASP).  ASP wants to make sure that the shareware
  94.          principle works for you.  If you are unable to resolve a
  95.          shareware-related problem with an ASP member by contacting the
  96.          member directly, ASP may be able to help.  The ASP Ombudsman can
  97.          help you resolve a dispute or problem with an ASP member, but does
  98.          not provide technical support for members' products.  Please write
  99.          to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442 or
  100.          send a CompuServe message via CompuServe Mail to ASP Ombudsman
  101.          70007,3536.
  102.  
  103.  
  104.  
  105.  
  106.          _________________________________________________________________
  107.          Laughing Dog Screen Maker V1.00 User's Manual                i
  108.  
  109.  
  110.          The Shareware Concept
  111.  
  112.               Shareware distribution gives users a chance to try software
  113.          before buying it.  If you try a Shareware program and continue
  114.          using it, you are expected to register.  Individual programs
  115.          differ on details -- some request registration while others
  116.          require it, some specify a maximum trial period.  With
  117.          registration, you get anything from the simple right to continue
  118.          using the software to an updated program with printed manual.  See
  119.          "Registering The Laughing Dog Screen Maker" below for details on
  120.          what you will receive in return for registering this program.
  121.               Copyright laws apply to both Shareware and commercial
  122.          software, and the copyright holder retains all rights, with a few
  123.          specific exceptions as stated below.  Shareware authors are
  124.          accomplished programmers, just like commercial authors, and the
  125.          programs are of comparable quality.  (In both cases, there are
  126.          good programs and bad ones!) The main difference is in the method
  127.          of distribution.  The author specifically grants the right to copy
  128.          and distribute the software, either to all and sundry or to a
  129.          specific group.  For example, some authors require written
  130.          permission before a commercial disk vendor may copy their
  131.          Shareware.  See the files VENDOR.DOC and SYSOP.DOC for Laughing
  132.          Dog Screen Maker distribution rights.
  133.               Shareware is a distribution method, not a type of software.
  134.          You should find software that suits your needs and pocketbook,
  135.          whether it's commercial or Shareware.  The Shareware system makes
  136.          fitting your needs easier, because you can try before you buy.
  137.          Because the overhead is low, prices are low also.
  138.               Shareware has the ultimate money-back guarantee -- if you
  139.          don't use the product, you don't pay for it.
  140.  
  141.  
  142.  
  143.          This Program is YOURS!
  144.  
  145.               Participating in the shareware marketplace as a registered
  146.          user brings more than the mere satisfaction of doing the right
  147.          thing, you really become a part of the creative process.  We at
  148.          Yardbird Software welcome any comments, requests or suggestions
  149.          you may have for enhancements to this program, or for entirely new
  150.          programs you would like to see produced and distributed as
  151.          shareware.  Please let us know how we may serve you in any way we
  152.          can.
  153.               Registered users will also be kept abreast of updates and new
  154.          product offerings from Yardbird Software.
  155.               We would also love to hear about your particular application
  156.          of the Laughing Dog Screen Maker.
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.          _________________________________________________________________
  164.          Laughing Dog Screen Maker V1.00 User's Manual                ii
  165.  
  166.  
  167.          Disclaimer -- Agreement
  168.  
  169.          (All references to the "Laughing Dog Screen Maker" include the
  170.          executable files: LDOG.EXE, LDOGRAB.EXE and LDOGSHOW.EXE.)
  171.  
  172.               Users of the Laughing Dog Screen Maker must accept this
  173.          disclaimer of warranty:  "The Laughing Dog Screen Maker is
  174.          supplied as is.
  175.               The author disclaims all warranties, expressed or implied,
  176.          including, without limitation, the warranties of merchantability
  177.          and of fitness for any purpose.  The author assumes no liability
  178.          for damages, direct or consequential, which may result from the
  179.          use of the Laughing Dog Screen Maker."
  180.               The Laughing Dog Screen Maker is a "shareware program" and is
  181.          provided at no charge to the user for evaluation.  Feel free to
  182.          share it with your friends, but please do not give it away altered
  183.          or as part of another system.  The essence of "user-supported"
  184.          software is to provide personal computer users with quality
  185.          software without high prices, and yet to provide incentive for
  186.          programmers to continue to develop new products.
  187.               If you find the Laughing Dog Screen Maker to be a useful
  188.          program and continue to use it after a reasonable trial period (30
  189.          days), you must make a registration payment of $35.00 to Yardbird
  190.          Software (See Registering The Laughing Dog Screen Maker below).
  191.          The $35.00 registration fee will license one copy for use on any
  192.          one computer at any one time.  You must treat this software just
  193.          like a book.  An example is that this software may be used by any
  194.          number of people and may be freely moved from one computer
  195.          location to another, so long as  there is no possibility of it
  196.          being used at one location while it's being used at another, just
  197.          as a book cannot be read by two different persons at the same
  198.          time.
  199.               Anyone distributing the Laughing Dog Screen Maker for any
  200.          kind of remuneration must first contact Yardbird Software at the
  201.          address below for authorization.  This authorization will be
  202.          automatically granted to distributors recognized by the
  203.          Association of Shareware Professionals as adhering to its
  204.          guidelines for shareware distributors, and such distributors may
  205.          begin offering the Laughing Dog Screen Maker immediately.
  206.          However, Yardbird Software must still be advised so that the
  207.          distributor can be kept up-to-date with the latest version of the
  208.          Laughing Dog Screen Maker.  For more information see the file:
  209.          VENDOR.DOC, included on the distribution disk.
  210.               You are encouraged to pass a copy of the Laughing Dog Screen
  211.          Maker along to your friends for evaluation.  Please encourage them
  212.          to register their copy if they find that they can use it.
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.          _________________________________________________________________
  221.          Laughing Dog Screen Maker V1.00 User's Manual                iii
  222.  
  223.  
  224.          Registering The Laughing Dog Screen Maker
  225.  
  226.               If you find the Laughing Dog Screen Maker to be a useful
  227.          tool, please register it.  Yardbird Software depends on your
  228.          support in order to continue to serve your needs with high
  229.          quality, reasonably priced software.
  230.               To register, send $35 cash, check, or money order to Yardbird
  231.          Software at the address below.  California residents please add
  232.          the current sales tax to the total.
  233.               Outside the USA, please add $10 to cover special shipping and
  234.          handling costs, for a total of $45.  US funds drawn on a US bank,
  235.          or cash are acceptable--cash payments should be sent via
  236.          registered mail and may be in US funds or in your country's
  237.          currency at the current exchange rate.  Yardbird Software cannot
  238.          be responsible for cash payment lost in the mail.
  239.               You may print out an order form from within the Laughing Dog
  240.          Screen Maker program by selecting the Print Registration Form
  241.          button on the registration reminder screen or by printing the
  242.          REGISTER.DOC file included on the distribution disk.
  243.               Credit Card orders will be accepted through Public (software)
  244.          Library (PsL).  Call the PsL toll-free order line (800)242-4775 to
  245.          place your order.  To speed your order use PsL's item number #10538
  246.          for the Laughing Dog Screen Maker when ordering.This 800 number is
  247.          for ORDERS ONLY!  The people there are unable to answer any other 
  248.          questions about the program.  For information on the program or
  249.          technical help please call Yardbird Software direct at the number
  250.          below.
  251.               For information on volume discounts or site licensing, see
  252.          the file SITELICE.DOC, included on the distribution disk.
  253.  
  254.               All registered users will receive a copy of the latest
  255.          version of the Laughing Dog Screen Maker Programs: LDOG.EXE,
  256.          LDOGSHOW.EXE, & LDOGRAB.EXE, devoid of ALL Shareware notices and
  257.          reminder screens.  Registered users also receive a bound,
  258.          illustrated version of this manual and several demonstration
  259.          screen files.  Registered users will also be notified of any
  260.          future updates to the Laughing Dog Screen Maker, and be given the
  261.          opportunity to upgrade at a reduced price.
  262.               For further information or technical assistance, please feel
  263.          free to contact Yardbird Software via mail, phone, or email at:
  264.  
  265.               Yardbird Software             Phone (voice): (818)704-6402
  266.               Box 4646                      CompuServe: 73650,104
  267.               West Hills, CA 91308          GEnie: J.SLOAN7
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.          _________________________________________________________________
  278.          Laughing Dog Screen Maker V1.00 User's Manual                iv
  279.  
  280.  
  281.          What is The Laughing Dog Screen Maker?
  282.  
  283.               A hammer is the ideal tool, you just pick it up and use it.
  284.          Its purpose is obvious and its function is intuitive.  The
  285.          Laughing Dog Screen Maker is that kind of a tool.
  286.               You won't be spending a lot of time reading this manual, you
  287.          will be spending your time creating screens.  After all, that's
  288.          what you are interested in, isn't it?
  289.               Full mouse support, on-line help, pop up menus, and dialog
  290.          boxes provide an intuitive user interface to the various nuts and
  291.          bolts used to design screens.  Choose colors and special
  292.          characters by pointing to what you want.  Copy, move, clear,
  293.          recolor, or fill a portion of the screen with a few keystrokes.
  294.          Draw titled windows automatically.
  295.               Save screens in a compressed format to be displayed later
  296.          individually, or as a part of a slide show.  Capture screens from
  297.          other text mode programs, modify them if needed, and then use them
  298.          in a slide show presentation.
  299.               Print screens on most dot-matrix and laser printers.  Produce
  300.          PostScript (EPS) output for import into word processing or desktop
  301.          publishing programs.
  302.               Source code is automatically generated in BASIC, C, Pascal,
  303.          and assembly language.  Screens can be exported in the WildCat!
  304.          and PCBoard BBS formats, for use on bulletin board systems.  Ready
  305.          to run executable files can also be produced.
  306.  
  307.             In addition to all of this, the Laughing Dog Screen Maker is
  308.          FUN TO USE.
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.          _________________________________________________________________
  335.          Laughing Dog Screen Maker V1.00 User's Manual                v
  336.  
  337.  
  338.                            ---TABLE OF CONTENTS---                         
  339.  
  340.  
  341.       Trademarks & Acknowledgements...................................i
  342.       The Shareware Concept..........................................ii
  343.       Disclaimer -- Agreement.......................................iii
  344.       Registering The Laughing Dog Screen Maker......................iv
  345.       What is The Laughing Dog Screen Maker?..........................v
  346.       
  347.  
  348.       1. Introduction.................................................3
  349.       2. Packing List--Files you should have..........................5
  350.       3. System Requirements..........................................6
  351.       4. Installation.................................................6
  352.       5. Quick Start (the bare-bone essentials).......................7
  353.       6. The Basics..................................................12
  354.           6.1 Starting the Laughing Dog Screen Maker.................12
  355.               6.1.1 Command Line Options.............................12
  356.               6.1.2 Running LDOG Under Desqview......................13
  357.           6.2 Using the On-line Help System..........................13
  358.           6.3 Using Menus............................................14
  359.           6.4 Using Hot Keys.........................................16
  360.           6.5 Using Dialog Boxes.....................................17
  361.           6.6 Using LDOG.EXE On a Mono or LCD Monitor................18
  362.       7.  The STATUS BOX -- Information at Your Paws.................19
  363.           7.1 Using The STATUS BOX...................................19
  364.               7.1.1 The Cursor Position Indicator....................19
  365.               7.1.2 The Line-Type/Window Border Indicator............20
  366.               7.1.3 The Current Special Character/Color Attribute
  367.                     Indicator........................................20
  368.               7.1.4 The Special Mode Indicator.......................20
  369.               7.1.5 Moving and Hiding The Status Box.................20
  370.               7.1.6 Dumb Mouse Tricks................................21
  371.               7.1.7 Selecting a Special Character/Line-Type..........21
  372.               7.1.8 Selecting A Color Attribute......................23
  373.       8. Drawing Screens.............................................25
  374.           8.1 Modes of Operation.....................................25
  375.               8.1.1 NORMAL Mode......................................25
  376.               8.1.2 INSERT Mode......................................27
  377.               8.1.3 SELECT Mode......................................28
  378.               8.1.4 LINE DRAWING Mode................................30
  379.           8.2 Drawing Screens Using the Mouse........................32
  380.               8.2.1 Accessing Menus..................................32
  381.               8.2.2 Positioning the Cursor...........................32
  382.               8.2.3 Selecting a Block................................32
  383.               8.2.4 Drawing Lines & Boxes............................33
  384.               8.2.5 Changing the Current Color or Special Character..33 
  385.               8.2.6 Getting Help.....................................33
  386.               8.2.7 Taming the Wild Mouse
  387.                     (Constraining Mouse Cursor Movement).............34
  388.                     
  389.      
  390.  
  391.          _________________________________________________________________
  392.          Laughing Dog Screen Maker V1.00 User's Manual                1
  393.           8.3 Drawing Screens Using the Keyboard.....................35
  394.               8.3.1 Accessing Menus..................................35
  395.               8.3.2 Positioining the Cursor..........................35
  396.               8.3.4 Selecting a Block................................35
  397.               8.3.5 Drawing Lines & Boxes............................35
  398.               8.3.6 Entering Text....................................36
  399.               8.3.7 Entering Special Characters......................36
  400.               8.3.8 Changing the Current Color or Special Character..36
  401.               8.3.9 Getting Help.....................................37
  402.           8.4 Block Operations: Moving, Copy, Paste, Recolor, Fill,
  403.               Erase, & Make A Window.................................38
  404.       9. Loading and Saving Screens..................................39
  405.           9.1 Loading a Screen.......................................39
  406.           9.2 Saving a Screen........................................40
  407.           9.3 Changing the Data Path.................................41
  408.       10. Producing Useful Output....................................42
  409.           10.1 Generating Source Code................................42
  410.               10.1.1 BASIC Code......................................44
  411.               10.1.2 BSAVE File Format...............................46
  412.               10.1.3 C Code..........................................47
  413.               10.1.4 Pascal Code.....................................50
  414.               10.1.5 Assembly Code...................................52
  415.           10.2 Other Export File Formats.............................56
  416.               10.2.1 BINARY Files....................................57
  417.               10.2.2 Executable COM Files............................58
  418.               10.2.3 ANSI Files......................................64
  419.               10.2.4 WildCat! & PCBoard BBS Files....................66
  420.           10.3 Printing Screens......................................67
  421.               10.3.1 Setting the Printer Options.....................67
  422.               10.3.2 Laughing Dog's PostScript Output................68
  423.       11. The Laughing Dog Menus.....................................69
  424.           11.1 The MAIN MENU.........................................71
  425.               11.1.1 The NEW SCREEN MENU.............................72
  426.               11.1.2 The OPTIONS MENU................................73
  427.               11.1.3 The GENERATE CODE/EXPORT FILE MENU..............76
  428.               11.1.4 The PRINT SCREEN/PRINTER SETUP MENU.............76
  429.           11.2 The BLOCK MENU........................................81
  430.               11.2.1 The CLEAR/FILL BLOCK MENU.......................83
  431.               11.2.2 The RECOLOR MENU................................84
  432.               11.2.3 The MAKE A WINDOW MENU..........................86
  433.               11.2.4 The WINDOW TITLE OPTIONS MENU...................86
  434.       12. LDOG.EXE Error Messages....................................88
  435.       13. The Laughing Dog Utilities.................................90
  436.           13.1 Grabbing Text Screens from Other Programs
  437.                  with LDOGRAB.EXE....................................90
  438.               13.1.1 Starting LDOGRAB.EXE............................90
  439.               13.1.2 Using The Screen Grabber........................91
  440.           13.2 Displaying Your Screens with LDOGSHOW.EXE.............93
  441.               13.2.1 Starting LDOGSHOW.EXE...........................93
  442.               13.2.2 Displaying A Single Screen......................94
  443.               13.2.3 Creating A Presentation.........................94
  444.               13.2.4 Displaying a Presentation Manually..............96
  445.               13.2.5 Displaying a Presentation Automatically.........96
  446.  
  447.  
  448.          _________________________________________________________________
  449.          Laughing Dog Screen Maker V1.00 User's Manual                2
  450.  
  451.  
  452.          1. Introduction
  453.  
  454.               This manual was designed to be used more as a reference guide
  455.          to consult from time to time, rather than something that you must
  456.          read from cover to cover before you start using the program.
  457.               Start up LDOG.EXE, play around a little, then read the "Quick
  458.          Start" chapter.  It will just take you a few minutes, and you will
  459.          be well on your way to creating your first screen.  Then later on,
  460.          come back to the manual and browse around through the topics that
  461.          you need more help on.  You will find that the program is very
  462.          easy to pick up and use immediately.
  463.               You may never have to go beyond this level of expertise, but
  464.          if you really want to tap the full power of the Laughing Dog
  465.          Screen Maker, everything you need is here in this manual.
  466.               For a more detailed discussion of the nuances of the screen
  467.          drawing tools, check out "The Status Box" and "Drawing Screens"
  468.          chapters.
  469.               To learn more about generating source code, exporting screens
  470.          in different file formats, or printing your screens, consult the
  471.          "Producing Useful Output" chapter.
  472.               For a blow by blow description of the menus and what each
  473.          menu choice does, see "The Laughing Dog Menus" chapter.  This
  474.          chapter presents the menus in the same nested organization that
  475.          you will encounter them within the program.  For instance, the
  476.          Options Menu is reached by first calling the Main Menu, then
  477.          choosing "Options."  The Options Menu is found in this manual, as
  478.          a sub-topic of the Main Menu section of the Menus chapter.
  479.               The companion Laughing Dog utility programs LDOGRAB.EXE (for
  480.          capturing screens from other applications) and LDOGSHOW.EXE (the
  481.          screen display utility) each have their own chapters.
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.          _________________________________________________________________
  506.          Laughing Dog Screen Maker V1.00 User's Manual                3
  507.  
  508.            Typographic Conventions
  509.  
  510.               The following typographic conventions are used when
  511.          referring to filenames and command line arguments, as in the
  512.          "Starting LDOG.EXE," "Starting LDOGRAB.EXE," and "Starting
  513.          LDOGSHOW.EXE" sections of the manual.
  514.  
  515.  
  516.          Example             Description
  517.          -------             -----------
  518.          C:                  An uppercase letter with a colon after it
  519.                              indicates an explicit disk drive identifier.
  520.  
  521.          d:                  A lowercase d, followed by a colon indicates
  522.                              a variable drive identifier (substitute any
  523.                              valid disk drive letter).
  524.  
  525.          path                The lowercase word "path" indicates a
  526.                              variable path (substitute a valid path).
  527.  
  528.          LDOG.EXE            All uppercase indicates an explicit filename.
  529.  
  530.          filename or fname   All lowercase indicates a variable filename
  531.                              (substitute any valid filename).
  532.  
  533.          filename.DOG        A combination of lower and uppercase
  534.                              indicates that the portion in lowercase is
  535.                              variable, while the portion in uppercase must
  536.                              be as indicated.
  537.  
  538.          [a]                 Square brackets enclose optional single
  539.                              command line arguments.
  540.  
  541.          [a][b]              Several bracketed optional arguments may be
  542.                              used singly or together.
  543.  
  544.          [a]|[c]             Arguments separated by a vertical bar
  545.                              indicate that a choice of items on either
  546.                              side of the bar can be made.  In this case
  547.                              you may choose a OR c, but not a & c.
  548.  
  549.          [a]|[[b][c]]        Several single optional arguments can be
  550.                              grouped together on either side of a vertical
  551.                              bar by enclosing them in another set of
  552.                              square brackets.  In this example you may
  553.                              choose a OR [a and/or b].  Illegal
  554.                              combinations would be a & b, and a & c.
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.          _________________________________________________________________
  563.          Laughing Dog Screen Maker V1.00 User's Manual                4
  564.  
  565.  
  566.          2. Packing List--Files you should have
  567.  
  568.  
  569.               The complete Laughing Dog Screen Maker evaluation package
  570.          should contain the following files.  If any of these files are
  571.          missing then the package is not complete and is not suitable for
  572.          distribution to others.  The complete package may be obtained
  573.          directly from Yardbird Software.
  574.  
  575.             File Name          Purpose of File
  576.            ------------   -------------------------------------------------
  577.  
  578.            READ.ME      Important last-minute information.
  579.  
  580.            PACKING.LST  This list.
  581.  
  582.            VENDOR.DOC   Information and restrictions for disk vendors,
  583.                         distributors, user groups, and more.
  584.  
  585.            SYSOP.DOC    Information for Bulletin Board System distribution.
  586.  
  587.            DESCRIBE.DOC Sample descriptions for catalogs, BBSs, etc.
  588.  
  589.            WARRANTY.DOC Important Warranty Information.
  590.  
  591.            LICENSE.DOC  Important license and usage information.
  592.  
  593.            REGISTER.DOC Registration information and order form.
  594.  
  595.            SITELICE.DOC Site license information and agreement.
  596.  
  597.            HISTORY.DOC  Laughing Dog Screen Maker upgrade history.
  598.  
  599.            LDOG.EXE     The Laughing Dog Screen Maker program file.
  600.  
  601.            LDOG.HLP     The Laughing Dog Screen Maker on-line help file.
  602.  
  603.            LDOG.DOC     The Laughing Dog Screen Maker User's Manual.
  604.  
  605.            LDOGRAB.EXE  The Laughing Dog screen capture utility.
  606.  
  607.            LDOGSHOW.EXE The Laughing Dog presentation (slide show) utility
  608.  
  609.            COLORS.DOG   An example Laughing Dog screen file containing all
  610.                         of the possible screen colors.  Good for
  611.                         demonstrating PostScript gray scale rendering.
  612.  
  613.            ALLCHARS.DOG An example Laughing Dog Screen file containing the
  614.                         entire ASCII character set.  Good for testing
  615.                         printer compatibility.
  616.  
  617.  
  618.  
  619.          _________________________________________________________________
  620.          Laughing Dog Screen Maker V1.00 User's Manual                5
  621.  
  622.  
  623.          3. System Requirements
  624.  
  625.            IBM compatible running DOS 2.1 or greater
  626.            512K of RAM
  627.            CGA, EGA, VGA, MONOCHROME, or LCD display
  628.            Keyboard
  629.            1 Floppy disk drive
  630.  
  631.            Suggested, but not required:
  632.               Microsoft compatible mouse or trackball
  633.               Hard Disk Drive
  634.  
  635.            Printers Supported:
  636.               Epson dot matrix or compatible
  637.               HP LaserJet II or compatible
  638.               PostScript
  639.  
  640.  
  641.  
  642.  
  643.          4. Installation
  644.  
  645.               If you received this program on a distribution disk, it is
  646.          suggested that you make a back-up copy, and use the original disk
  647.          for archival purposes only.
  648.               If you received your disk from a disk vendor, follow the
  649.          directions that came along with the disk for decompressing the
  650.          files.
  651.               If you downloaded the Laughing Dog package from a BBS, the
  652.          files are most likely compressed in PKware's ZIP format.  You will
  653.          need a copy of the decompression utility: PKUNZIP.EXE, available
  654.          from PKware or almost any BBS, to decompress the files.
  655.  
  656.               First, Create a directory on your hard disk and name it
  657.          whatever you like.  For example, type:
  658.  
  659.               MD C:/LDOG
  660.  
  661.          Then copy the all of the files from the distribution disk into
  662.          this directory:
  663.  
  664.               COPY A:*.* C:/LDOG
  665.  
  666.          Then decompress the files if needed, and delete the original
  667.          compressed file.
  668.  
  669.          ATTENTION: The files LDOG.EXE and LDOG.HLP must reside in the same
  670.          subdirectory to enable LDOG.EXE to have access to its help file
  671.          LDOG.HLP.  That subdirectory may be included in the PATH statement
  672.          in the AUTOEXEC.BAT file, allowing you to start the program from
  673.          anywhere on your hard drive.
  674.  
  675.  
  676.          _________________________________________________________________
  677.          Laughing Dog Screen Maker V1.00 User's Manual                6
  678.  
  679.  
  680.          5. Quick Start (The Bare-Bone Essentials)
  681.  
  682.               This section is for those of you that don't want to spend a
  683.          lot of time reading a manual, but instead want to jump right in
  684.          and get going!
  685.               The Laughing Dog Screen Maker has extensive on-line, context-
  686.          sensitive help available at all times.  The Status Box also
  687.          contains a few helpful clues about which keys to use and how to
  688.          get help or pop up a menu.
  689.               The program operates like many other paint and drawing
  690.          applications.  If you are familiar with the basic operations of
  691.          that type of program, you can probably put this manual down right
  692.          now, jump right in, and get productive!
  693.               There are many subtle features, however, that require some
  694.          reading-up on (either here, or on-line), to get the most out of
  695.          the program.  If you can possibly spare a few moments to read this
  696.          brief section, you will be better equipped to explore the program.
  697.               The following explanations are necessarily brief, and since a
  698.          picture really is worth a thousand words, it might be useful to
  699.          follow along at the computer, and try out each item as you go.
  700.  
  701.  
  702.            STARTING THE PROGRAM
  703.  
  704.               Type: "LDOG" to start the program with the default settings
  705.          for a color monitor.  For a list of the command line options, type
  706.          "LDOG /?"
  707.  
  708.  
  709.            GETTING HELP!
  710.  
  711.               To get help at any time press the <F1> key.  A help screen
  712.          dealing with what you are doing will pop up.  If it does not
  713.          contain the information you need, press the <up> or <down> arrow
  714.          keys to highlight the "Help Index" hyper-text link at the top of
  715.          the help screen and press <enter>, or double click it with the
  716.          left mouse button.  A list of all the menus and help topics will
  717.          pop up.  Highlight the topic of interest using the <arrow> keys
  718.          and press <enter> to go to that topic.
  719.  
  720.  
  721.            THE STATUS BOX
  722.  
  723.               The most useful feature of the Laughing Dog Screen Maker is
  724.          that rather busy looking box that appears at the bottom of the
  725.          screen when you start the program.  It is called the Status Box
  726.          because it displays the status of the screen maker at all times.
  727.          This is the quick start, so we won't go into everything here, just
  728.          take a look at the box (If the Status Box is not currently
  729.          visible, press the <F10> key).
  730.  
  731.  
  732.  
  733.          _________________________________________________________________
  734.          Laughing Dog Screen Maker V1.00 User's Manual                7
  735.  
  736.  
  737.            MOVING THE STATUS BOX OUT OF YOUR WAY
  738.  
  739.               The Status Box will automatically move out of your way as you
  740.          move around the drawing area using the cursor movement keys.
  741.               You may deliberately move it out of the way or hide it in the
  742.          following ways:
  743.  
  744.               To manually move the Status Box with the mouse,  click on the
  745.          little arrow in the upper right-hand corner of the Status Box.
  746.               To make the Status Box disappear, click on the little box in
  747.          the upper left-hand corner of the Status Box, press the <F10> key,
  748.          or select "Hide/Show Status Box" from the Main Menu.
  749.               Use the <tab> key to highlight the Special Character and
  750.          Color Selection boxes and to make the Status Box disappear and
  751.          reappear.  Just press the <tab> key several times and you will see
  752.          the cycle.
  753.  
  754.          NOTE: In order to draw or enter text on the drawing screen the
  755.          Status Box must either be hidden altogether, or if it is not
  756.          hidden, neither of the selection boxes within it can be
  757.          highlighted.  This is easy to see on VGA screens, because when the
  758.          drawing screen is active, it will be highlighted with a red
  759.          border.
  760.  
  761.  
  762.            MENUS
  763.  
  764.               To call the Main Menu press the <F2> key or click the right
  765.          mouse button.
  766.               To make a selection, highlight the desired menu item using
  767.          the <up/down arrow> keys, then press <enter>, or click on it with
  768.          the left mouse button.
  769.               To close a menu, press the <esc> key or click the right mouse
  770.          button inside the menu area, or click either mouse button outside
  771.          the menu in the drawing area.
  772.  
  773.  
  774.            BYPASSING THE MAIN MENU WITH HOT KEYS
  775.  
  776.               Most of the Main Menu functions are also available, without
  777.          having to call the menu, by pressing the "Hot Key" displayed to
  778.          the right of the menu item text.  For example the Main Menu
  779.          function "Quit" can also be performed directly, with the hot key
  780.          <cntl>-Q.
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.          _________________________________________________________________
  791.          Laughing Dog Screen Maker V1.00 User's Manual                8
  792.  
  793.            POSITIONING THE CURSOR
  794.  
  795.               Use the <up/down/left/right-arrow>, <home>, <end>, <page-up>,
  796.          and <page-down> keys to move the cursor around.  With a mouse,
  797.          just position the mouse cursor where you want it and click the
  798.          left mouse button.
  799.  
  800.  
  801.            ENTERING NORMAL TEXT
  802.  
  803.               Position the cursor where you want the text to appear and
  804.          type the text.
  805.  
  806.  
  807.            SELECTING A SPECIAL CHARACTER
  808.  
  809.               Special Characters are selected from the Special Character
  810.          Selection Box, which is located in the left hand side of the
  811.          Status Box.
  812.               If you are using a mouse, just point to the character that
  813.          you want in the Special Character Selection Box and click the left
  814.          mouse button.  There are two pages of special characters to choose
  815.          from.  Go to the other page by clicking on the scroll bar located
  816.          in the right hand side of the Special Character Selection Box.
  817.               If you are not using a mouse, press the <tab> key until the
  818.          Special Character Selection Box is highlighted.  Then move the
  819.          special character selection cursor around with the <arrow> keys.
  820.          The character under the cursor is the currently selected special
  821.          character.  There are two pages of special characters to choose
  822.          from.  To flip to the other page, just arrow up or down past the
  823.          first or last row, and the page will flip.  Press the tab key two
  824.          or three times to get back to the drawing screen.
  825.  
  826.  
  827.            ENTERING SPECIAL CHARACTERS
  828.  
  829.               Position the cursor where you want the special character to
  830.          appear, hold down the <shift> key, and press one of the <arrow>
  831.          keys to place the character.
  832.  
  833.  
  834.            SELECTING A COLOR ATTRIBUTE
  835.  
  836.               The Color Attribute Selection Box is located in the right-
  837.          hand side of the Status Box.  It displays a "Color Bar" consisting
  838.          of little x's showing each foreground color against the current
  839.          background color.  The "Happy Face" character shows the currently
  840.          selected color.
  841.               If you are using a mouse, just point to the 'x' which is the
  842.          color you want and click the left mouse button.  To scroll the
  843.          background colors, click on the double-headed arrow at the extreme
  844.  
  845.  
  846.  
  847.          _________________________________________________________________
  848.          Laughing Dog Screen Maker V1.00 User's Manual                9
  849.  
  850.          left side of the color bar, or by click the right mouse button
  851.          anywhere within the color bar.
  852.               If you are not using a mouse, press the <tab> key until the
  853.          Color Attribute Selection Box is highlighted.  Then use the
  854.          <left/right>-arrow keys to change the foreground color, or the
  855.          <up/down>-arrow keys to change the background color.  When the
  856.          desired color is highlighted (the happy face is sitting on it),
  857.          press the <tab> key once or twice to get back to the drawing
  858.          screen.
  859.  
  860.  
  861.            DRAWING LINES
  862.  
  863.               Lines are drawn using the current line-type, which is
  864.          displayed in the Status Box as the little box labeled "Line-Draw."
  865.          The Line-type is selected as a by-product of the special character
  866.          selection.  Go to the special character selection page which
  867.          contains the boxes, and choose a box that has as it's outside
  868.          lines the line-type you want to use.
  869.  
  870.               The choices are:
  871.  
  872.                    All Single Lines
  873.                    All Double Lines
  874.                    Single Vertical Lines, Double Horizontal Lines
  875.                    Double Vertical Lines, Single Horizontal Lines
  876.  
  877.                To draw lines with a mouse, position the cursor where you
  878.          wish to begin your line.  Double-click and hold the left mouse
  879.          button to enter Line Mode, then drag the mouse in the direction
  880.          you wish to draw the line.  Release the button to terminate the
  881.          line.
  882.               You can constrain the mouse movement to horizontal only by
  883.          pressing the <cntl> key, or to vertical only by pressing the <alt>
  884.          key while dragging the mouse.
  885.               To draw lines using the keyboard, position the cursor where
  886.          you want to begin your line.  Press and release the <alt>-L hot
  887.          key to enter Line Mode, then hold down the <shift> key and press
  888.          the <up/down/left/right-arrow>, <Pg-Up>, <Pg-Down>, <Home> or
  889.          <End> keys to draw lines.  You can release the <shift> key to move
  890.          the cursor without drawing a line and then press it again to start
  891.          drawing lines again without leaving Line Drawing Mode.  Press the
  892.          <enter> key to terminate a line and exit line mode, or press <esc>
  893.          to leave the line dangling and exit Line Drawing Mode.
  894.  
  895.  
  896.            SELECTING A BLOCK
  897.  
  898.               Selecting a block is the first step in performing a block
  899.          operation like Move, Copy, Fill, Make a Window, etc.
  900.               To select a block with the mouse, position the cursor at a
  901.          point which will become one corner of the rectangular area you
  902.  
  903.  
  904.          _________________________________________________________________
  905.          Laughing Dog Screen Maker V1.00 User's Manual                10
  906.  
  907.          wish to select, click and hold the left mouse button, then drag
  908.          the mouse to define the area.  The color of the area will change
  909.          to indicate that it is "selected."  End the selection by releasing
  910.          the mouse button.
  911.               To select a block using the keyboard, position the cursor at
  912.          a point which will become one corner of the rectangular area you
  913.          wish to select.  Press the <alt>-S hot key, then use the
  914.          <up/down/left/right-arrow>, <Pg-Up>, <Pg-Down>, <Home> or <End>
  915.          keys to define the rectangular area.  The color of the area will
  916.          change to indicate that it is "selected."  End the selection by
  917.          pressing the <enter> key.
  918.               Upon ending your selection the Block Menu will pop up,
  919.          allowing you to choose the operation you wish to perform on the
  920.          block.
  921.               To cancel the selection while selecting, press the <esc> key
  922.          or click the right mouse button.
  923.  
  924.  
  925.            BLOCK OPERATONS
  926.  
  927.               The Block Menu will pop up when you complete your selection.
  928.          The available operations are:
  929.  
  930.                    Move Block
  931.                    Copy Block
  932.                    Copy Block to a File
  933.                    Recolor Block
  934.                    Clear/Fill Block
  935.                    Erase Block
  936.                    Make a Window of Block
  937.  
  938.               When copying or moving a block, use the <arrow> keys or left-
  939.          click & drag the mouse to reposition the block.  Press <enter> or
  940.          release the mouse button to drop the block where you have
  941.          positioned it.  Press <esc> or the right mouse button to cancel
  942.          the move or copy.
  943.               When choosing one of the other menu items, you will be guided
  944.          through the process of performing the operation with additional
  945.          menus or dialog boxes, so we won't discuss them here.
  946.  
  947.  
  948.            BYPASSING THE BLOCK MENU WITH HOT KEYS
  949.  
  950.               The functions of the Block Menu are available as single key
  951.          presses, without calling the menu, while selecting a block.  The
  952.          highlighted letter in each Block Menu item is also the hot key for
  953.          that function.  For example the hot key for the Move function is
  954.          <M>.
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.          _________________________________________________________________
  962.          Laughing Dog Screen Maker V1.00 User's Manual                11
  963.  
  964.  
  965.          6. The Basics
  966.  
  967.               This chapter explains some of the general information you
  968.          will need to operate the program.  For more specific information
  969.          on actually drawing screens, see the "Drawing Screens" chapter.
  970.  
  971.  
  972.          6.1 Starting the Laughing Dog Screen Maker
  973.  
  974.               Typing "LDOG" at the DOS prompt will start up the Laughing
  975.          Dog Screen Maker with the default options in effect.  If you need
  976.          to override these options, use the command line switches and
  977.          arguments listed below.
  978.  
  979.          NOTE: Typing "LDOG /?" or "LDOG /H" at the DOS prompt will display
  980.          a help screen with all of these options.
  981.  
  982.  
  983.            6.1.1 Command Line Options
  984.  
  985.          LDOG [/H]|[[/Q][/M][/V][/E][/L][[fname]|[d:\path]|[d:\path\fname]]
  986.  
  987.               /H or /?         Displays a help screen similar to this
  988.                                page.
  989.  
  990.               /Q               Quiet (turns all sound effects OFF, default
  991.                                is ON)
  992.  
  993.               /M               Disables mouse support when there is
  994.                                actually a mouse driver present.
  995.  
  996.               /V               Changes the screen writing method from
  997.                                direct video memory access, to BIOS calls.
  998.                                See: Running LDOG Under DESQview.
  999.  
  1000.               /E               Display and print dates in European format
  1001.                                (day-month-year). Default is US format
  1002.                                (month-day-year)
  1003.  
  1004.               /L               Starts LDOG in monochrome (LCD) mode
  1005.  
  1006.               fname            Name of an LDOG screen file** to load
  1007.  
  1008.               d:\path          drive and path to use as default data path
  1009.                                for saving and loading screen and block
  1010.                                files
  1011.  
  1012.               d:\path\fname    The drive, path, and filename** to load
  1013.  
  1014.            **Since all screen files are saved with the extension "DOG," it
  1015.          is not necessary to include the file extension "DOG"
  1016.  
  1017.  
  1018.          _________________________________________________________________
  1019.          Laughing Dog Screen Maker V1.00 User's Manual                12
  1020.  
  1021.          command line examples:
  1022.  
  1023.          LDOG /Q DOGBARK       turns sound Off and loads the file
  1024.                                DOGBARK.DOG (from the current directory)
  1025.  
  1026.          LDOG /L C:\TEMP       starts program in monochrome mode, if the
  1027.                                subdirectory "C:\TEMP" exists, sets the
  1028.                                default Data Directory to C:\TEMP.  If this
  1029.                                is not a valid subdirectory, looks for a
  1030.                                screen file in the root directory of drive
  1031.                                C: called "TEMP.DOG" and loads it.
  1032.  
  1033.  
  1034.  
  1035.            6.1.2 Running LDOG Under DESQview
  1036.  
  1037.               If you plan to use The Laughing Dog Screen Maker under
  1038.          Quarterdeck Office System's DESQview Multitasking environment, you
  1039.          must use the command line switch /V.  This changes the default
  1040.          method of video access from direct memory writes, to the slower
  1041.          method using BIOS calls.
  1042.               Set up your PIF file to give LDOG.EXE at least 400K of
  1043.          memory, and indicate that it should allow LDOG.EXE to use its own
  1044.          screen colors.  It may be necessary to go into DESQview's on-line
  1045.          setup and further adjust the foreground and background colors
  1046.          until the true colors are displayed (use the included screen file:
  1047.          COLORS.DOG to verify the correct color settings).
  1048.               The operation of LDOG will be much slower using the /V
  1049.          option.  The sluggishness is especially noticeable when moving or
  1050.          copying a large block, or opening or closing a menu.  It is
  1051.          preferable to run LDOG from the DOS command line or in Microsoft
  1052.          Windows, where it can run at full speed.
  1053.  
  1054.          NOTE: If your mouse or trackball does not work in LDOG while
  1055.          running under DESQview, you may need to tell DESQview, via the PIF
  1056.          file, that the program uses the serial port (even if you are using
  1057.          a bus mouse).
  1058.  
  1059.  
  1060.  
  1061.          6.2 Using the On-line Help System
  1062.  
  1063.               Context-Sensitive Help is available at any time by pressing
  1064.          the Help Key: <F1>.  If help is more than a single page in length,
  1065.          you may browse through it using the <Page-Up> & <Page-Down> keys.
  1066.          Multiple-page help screens are indicated when the symbols: PgUp &
  1067.          PgDn appear in the lower left-hand corner of the help window.
  1068.               Exit help screens by pressing the <esc> key.
  1069.  
  1070.          NOTE: You may also click on the Esc, PgUp, or PgDn symbols in the
  1071.          lower left-hand corner of the window rather than pressing the
  1072.          corresponding keys.
  1073.  
  1074.  
  1075.          _________________________________________________________________
  1076.          Laughing Dog Screen Maker V1.00 User's Manual                13
  1077.  
  1078.  
  1079.            Hypertext Help Links
  1080.  
  1081.               While browsing through the help screens, you will come upon
  1082.          light blue (Cyan) sections of text surrounded by white arrow
  1083.          brackets.  This is what is known as a hypertext "Help Link."
  1084.               To get more help on the subject of the link, press the
  1085.          <up/down arrow> keys until the link of interest is highlighted,
  1086.          then press <enter> to go to that topic.  You may also double-click
  1087.          on a link with the left mouse button to go to that topic.
  1088.               All help screens contain two links: "USING HELP" and "HELP
  1089.          INDEX."  Instructions on using the help system can be displayed by
  1090.          selecting the "USING HELP" link.  An index of all help topics is
  1091.          available by selecting "HELP INDEX."  Each topic listed in the
  1092.          help index is a Help-Link, and may be accessed by simply
  1093.          highlighting it, and pressing <enter>, or double-clicking on it.
  1094.  
  1095.  
  1096.  
  1097.          6.3 Using Menus
  1098.  
  1099.               The Laughing Dog Screen Maker's menu system attempts to be a
  1100.          CUA (Common User Access)-compliant system, allowing easy access to
  1101.          the many features available in the program.  If you have used
  1102.          other programs that use pull-down menus, you probably already know
  1103.          how to use this one.
  1104.               There are basically two main menu structures in the program,
  1105.          the Main Menu (and its child menus) and the Block Menu (and its
  1106.          child menus).
  1107.               The Main Menu is the one you will use most of the time, the
  1108.          Block Menu only comes up after selecting a block.
  1109.               Menus may be accessed via the keyboard or the mouse.
  1110.  
  1111.               Call the Main menu by pressing the <F2> hot key, or by
  1112.          clicking the right mouse button anywhere within the drawing area
  1113.          of the screen.
  1114.  
  1115.  
  1116.          Selecting a menu item can be done in a number of ways:
  1117.  
  1118.            1. Highlight the desired item using the <up/down arrow> keys
  1119.               and then press the <enter> key.
  1120.  
  1121.            2. Hold down the left mouse button and drag the highlight to
  1122.               the desired menu item and release the button.
  1123.  
  1124.            3. Double click on the desired menu item with the left mouse
  1125.               button.
  1126.  
  1127.            4. Press the hot key for that particular menu item.  The hot
  1128.               key may be a single letter or a special key combination (like
  1129.               <cntl>-R) highlighted in red on the menu.
  1130.  
  1131.  
  1132.          _________________________________________________________________
  1133.          Laughing Dog Screen Maker V1.00 User's Manual                14
  1134.  
  1135.  
  1136.               Many menus will automatically close themselves when you are
  1137.          done with them.  If you need to close a menu yourself, you have
  1138.          several options:
  1139.  
  1140.            1. Press the <esc> key.
  1141.  
  1142.            2. Click the right mouse button anywhere within the menu you
  1143.               wish to close.
  1144.  
  1145.            3. Click either mouse button anywhere outside the menu, in the
  1146.               drawing area of the screen.
  1147.  
  1148.          NOTE: If several menus are on the screen, it is necessary to close
  1149.          lower level (most recently opened) menus before the higher level
  1150.          menus will close.
  1151.  
  1152.               See "The Laughing Dog Menus" chapter for more information on
  1153.          the individual menus, and menu items.  To get help on any menu
  1154.          item when on-line, move the highlight to that item and press the
  1155.          <F1> key.
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.          _________________________________________________________________
  1190.          Laughing Dog Screen Maker V1.00 User's Manual                15
  1191.  
  1192.  
  1193.          6.4 Using Hot Keys
  1194.  
  1195.               A hot key is a key or key combination used to instantly
  1196.          access a feature of the Laughing Dog Screen Maker, often bypassing
  1197.          a series of menu selections; thus, speeding up the screen making
  1198.          process.  single keys are usually referred to by the marking on
  1199.          the key surrounded in brackets <>:
  1200.  
  1201.               <A>                 Means press the "A" key.
  1202.               <F2>                Means press the "F2" function key.
  1203.  
  1204.               A multiple key combination will be referred to by the names
  1205.          of the two keys to be pressed  together:
  1206.  
  1207.               <Cntl>-A            Means hold Down The "Control" Key And
  1208.                                   Press The "A" Key.
  1209.               <Alt>-F1            Means hold Down The "Alt" Key And Press
  1210.                                   The "F1" Function Key.
  1211.  
  1212.  
  1213.          This chart shows all of the Laughing Dog Screen Maker (LDOG.EXE) Hot 
  1214.          Keys, what they do, and the modes in which they are available.
  1215.  
  1216.          --------------------------------------------------------Modes--------
  1217.          Hot Key        Action                           Normal  Select  Line
  1218.          ---------------------------------------------------------------------
  1219.          <F1>           HELP                               x       x      x
  1220.          <F2>           Menu                               x       x
  1221.          <F10>          Hide/Show Status Box               x
  1222.          <cntl>-Q       Quit the program                   x              x
  1223.          <cntl>-S       Save Screen                        x              x
  1224.          <cntl>-L       Load Screen                        x              x
  1225.          <cntl>-R       Toggle Relative Cursor Position    x        x     x
  1226.                         Display
  1227.          <cntl>-A       Pick-Up BG & FG Attribute          x              x
  1228.          <cntl>-F       Pick-Up FG Attribute               x              x
  1229.          <cntl>-B       Pick-Up BG Attribute               x              x
  1230.  
  1231.          <cntl>-K       Pick-Up Special Character          x              x
  1232.          <cntl>-<shift> Pick-Up Normal Character           x              x
  1233.          <cntl>-U       Undo                               x
  1234.          <alt>-S        Enter Select Mode                  x
  1235.          <alt>-L        Enter Line Mode                    x
  1236.          <M>            Move Block                                  x
  1237.          <C>            Copy Block                                  x
  1238.          <Y>            Copy Block to File                          x
  1239.          <F>            Fill Block                                  x
  1240.          <R>            Recolor Block                               x
  1241.          <E>            Erase Block                                 x
  1242.          <del>          Erase Block                                 x
  1243.          <W>            Make A Window                               x
  1244.  
  1245.  
  1246.  
  1247.          _________________________________________________________________
  1248.          Laughing Dog Screen Maker V1.00 User's Manual                16
  1249.  
  1250.  
  1251.          6.5 Using Dialog Boxes
  1252.  
  1253.               Dialog boxes are used extensively throughout the Laughing Dog
  1254.          Screen Maker program.  If you are not familiar with their use,
  1255.          this section briefly describes what a dialog box is and how you
  1256.          use them to communicate with the program.
  1257.  
  1258.               A dialog box is a window on the screen that may be used to
  1259.          convey information to you or to get some sort of input from you.
  1260.          There may be a list of items, which you can scroll through and
  1261.          make a selection; there may be a text entry field, where you may
  1262.          be asked to enter some information; or there may simply be several
  1263.          "buttons" that you can "push" to communicate something to the
  1264.          program.
  1265.               Other dialog boxes are informational only, used to inform you
  1266.          of something like an error that has occurred, etc.
  1267.  
  1268.  
  1269.            Buttons in Dialog Boxes
  1270.  
  1271.               All dialog boxes have at least one "button".  Each button is
  1272.          usually labeled with one of the following messages: "OK", "YES",
  1273.          "NO" or "CANCEL."  These buttons are used to close the dialog box
  1274.          and initiate some sort of action.
  1275.               Buttons may be "pushed" in several ways.  The easiest way, if
  1276.          you are using a mouse, is to simply click on the desired button
  1277.          with the left mouse button.
  1278.               If there is only one button (usually labeled "OK"), just
  1279.          press the <enter> key to close the dialog box and move on.
  1280.               If there is more than one button displayed, press the <tab>
  1281.          key to move the button highlight from button to button until the
  1282.          one representing the desired action is highlighted, then press the
  1283.          <enter> key to execute that function.
  1284.          (indicated by that button being surrounded by a double-line border
  1285.               If a letter in the button label is accented with a different
  1286.          color than the rest of the label (usually the first letter in the
  1287.          label), you may "push" that button by pressing the highlighted
  1288.          letter.  For example: if a button labeled "CANCEL" is in the
  1289.          dialog box, pressing <C> will close the dialog box and perform the
  1290.          cancel action.
  1291.  
  1292.          NOTE: Pressing the <esc> key is the same as pressing the Cancel
  1293.          button.
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.          _________________________________________________________________
  1305.          Laughing Dog Screen Maker V1.00 User's Manual                17
  1306.  
  1307.  
  1308.          6.6 Using LDOG.EXE on a Monochrome or LCD Monitor
  1309.  
  1310.               You don't have to stop designing screens and presentations,
  1311.          just because you don't have access to a color monitor!
  1312.               We recommended that all screen designing be done on a
  1313.          computer with a color monitor.  However, The Laughing Dog Screen
  1314.          Maker program has many features that support doing full-color
  1315.          screen design on computers with monochrome or LCD displays.  This
  1316.          support was built into the program with the idea that many of the
  1317.          program's end users, being the movers and shakers that you
  1318.          undoubtedly are,  may spend considerable time on airplanes,
  1319.          limousines, and trains, equipped with battery-powered laptop or
  1320.          notebook computers with LCD displays.
  1321.               The Laughing Dog Screen Maker's default display option is
  1322.          COLOR.  You may change this via the "Monochrome Monitor" selection
  1323.          on the Options Menu, or by starting the program with the following
  1324.          command line:
  1325.  
  1326.                    LDOG /L   ("L" for LCD)
  1327.  
  1328.               All of the design options for setting color attributes, etc.
  1329.          are still in effect.  The results are just being displayed in
  1330.          monochrome.  Color attributes are still stored when you save a
  1331.          screen.
  1332.               The Color Attribute Selection Box will display colors as
  1333.          text, such as: BLACK on RED (meaning Black foreground characters
  1334.          on a Red background).
  1335.               The existing color attribute at the cursor position is still
  1336.          displayed in the Status Box's Cursor Position display.
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.          _________________________________________________________________
  1362.          Laughing Dog Screen Maker V1.00 User's Manual                18
  1363.  
  1364.  
  1365.          7.  The STATUS BOX -- Information at Your Paws
  1366.  
  1367.               The Status Box is the heart of the Laughing Dog Screen Maker
  1368.          display.  It tells you more than you probably WANT to know about
  1369.          what is going on in the drawing screen!  It gives you a direct
  1370.          read-out of the X and Y cursor coordinates (absolute, or relative
  1371.          to some other point on the screen) as well as the color attribute
  1372.          and the ASCII value at the cursor position.  It informs you of any
  1373.          special modes of operation you may be in, like Insert, Select, or
  1374.          Line Modes.  It also displays the currently selected color
  1375.          attribute, special character, and line-type.
  1376.               The Status Box contains a toolbar, where you select colors
  1377.          and special characters with a few keystrokes, or a click of the
  1378.          mouse.  No more typing in obscure hex codes or hard to remember
  1379.          function key sequences.  With the Laughing Dog Screen Maker Status
  1380.          Box, choosing colors and special characters is simply a matter of
  1381.          what you POINT TO is what you get!
  1382.  
  1383.  
  1384.  
  1385.          7.1 Using The STATUS BOX
  1386.  
  1387.               The following section explains how to get the information you
  1388.          need from the Status Box, how to select colors and characters with
  1389.          it, and how to get the darn thing out of your way when you don't
  1390.          need it!
  1391.  
  1392.  
  1393.            7.1.1 The Cursor Position Indicator
  1394.  
  1395.               The Cursor Position Indicator is located in the lower right-
  1396.          hand corner of the Status Box.  It displays the current X,Y
  1397.          coordinates of the cursor, as well as the ASCII character code,
  1398.          and the Color Attribute at that position.  Cursor position may be
  1399.          displayed as an absolute or relative value (see below).
  1400.  
  1401.  
  1402.            Toggling the Relative Cursor Position Display
  1403.  
  1404.               Normally, the Cursor Position Indicator refers to the
  1405.          absolute X, Y coordinates, with reference to the upper left hand
  1406.          corner of the screen (0,0).  However, it is sometimes useful to
  1407.          display the coordinates relative to another point on the screen.
  1408.               For instance, if you have drawn a window on the screen and
  1409.          wish to get the coordinates of points within the window with
  1410.          respect to that window's upper left hand corner, place the cursor
  1411.          at the position you wish to be the point of reference, and press
  1412.          <cntl>-R.
  1413.               Now the coordinates displayed in the Status Box will be
  1414.          relative to the point you chose.  The cursor position indicator
  1415.          shows that the coordinates are relative and indicates the
  1416.  
  1417.  
  1418.          _________________________________________________________________
  1419.          Laughing Dog Screen Maker V1.00 User's Manual                19
  1420.  
  1421.          reference point by flashing "REL to x,y" (where x and y are the
  1422.          coordinates of the reference point) above the indicator.
  1423.               To go back to absolute coordinates, just press <cntl>-R
  1424.          again.
  1425.  
  1426.  
  1427.            7.1.2 The Line-Type/Window Border Indicator
  1428.  
  1429.               This indicator is located just to the left of the Cursor
  1430.          Position Indicator and is labeled "Line-Type".  It displays the
  1431.          current line-type that will be used for line drawing and for the
  1432.          frames drawn around windows created with the "Make a Window"
  1433.          function of the Block Menu.  The Line-Type is selected via the
  1434.          Special Character Selection Box (see below).
  1435.  
  1436.  
  1437.            7.1.3 The Current Special Character/Color Attribute Indicator
  1438.  
  1439.               This indicator (labeled "Ch/Attr") is located between the
  1440.          Special Character Selection Box and the Line-Type Indicator.  It
  1441.          shows the current Special Character, as selected in the Special
  1442.          Character Selection Box, using the currently selected Color
  1443.          Attribute.  See "Selecting a Special Character/Line-Type" and
  1444.          "Selecting a Color Attribute" below.
  1445.  
  1446.  
  1447.            7.1.4 The Special Mode Indicator
  1448.  
  1449.               This indicator is active whenever you are in a "Special Mode"
  1450.          to let you know that something out of the ordinary is going on and
  1451.          that the effects of certain keystrokes may be different than when
  1452.          in Normal Mode.
  1453.               The Special Mode Indicator will always be flashing if active,
  1454.          and will give the following indications:
  1455.  
  1456.               INS       while in Insert Mode
  1457.               SEL       while in Select Mode
  1458.               MOVE      while Moving a Selected Area
  1459.               COPY      while Copying a Selected Area
  1460.               LINE      while in Line Drawing Mode
  1461.  
  1462.  
  1463.            7.1.5 Moving and Hiding The Status Box
  1464.  
  1465.               The Status Box will automatically move out of your way as you
  1466.          move the cursor around the drawing screen.  To manually reposition
  1467.          the Status Box, from the top to the bottom of the screen and vise
  1468.          versa, click on the reposition button in the upper right-hand
  1469.          corner of the Status Box.
  1470.               To make the Status Box disappear and reappear choose the Main
  1471.          Menu item "Hide/Show Status Box", click on the small close button
  1472.  
  1473.  
  1474.  
  1475.          _________________________________________________________________
  1476.          Laughing Dog Screen Maker V1.00 User's Manual                20
  1477.  
  1478.          [-] in the upper left hand corner of the Status Box, press <F10>,
  1479.          or repeatedly press the <tab> key.
  1480.               Pressing the <tab> key cycles through the various Status Box
  1481.          states, as listed below.  You may use <backtab>, which is the key
  1482.          combination <shift>-<tab>, to move through this cycle in reverse.
  1483.  
  1484.          The forward cycle is as follows:
  1485.  
  1486.           1. Status Box visible, neither selection box active.
  1487.           2. Status Box visible, Special Character Selection Box ACTIVE.
  1488.           3. Status Box visible, Color Attribute Selection Box ACTIVE.
  1489.           4. Status Box not visible (press <tab> again to go to #1 above)
  1490.  
  1491.  
  1492.            7.1.6 Dumb Mouse Tricks
  1493.  
  1494.               There are a few other handy "mouseables" in the Status Box.  
  1495.               The reminder text "<F1> for Help" and "<F2> for Menu" are
  1496.          "hot spots" just waiting for you to on click them, so that they
  1497.          can perform their functions.
  1498.  
  1499.  
  1500.            7.1.7 Selecting a Special Character/Line-Type
  1501.  
  1502.               The Special Character Selection Box is the window on the
  1503.          left-hand side of the Status Box.  It allows you to easily select
  1504.          a Special Character and the Line-Type used for line drawing and
  1505.          making windows.
  1506.               The Special Character Selection Box has two separate pages of
  1507.          characters.  One page is devoted to characters used for drawing
  1508.          boxes and lines, plus a few other block/fill characters.  The
  1509.          other page contains all of the other miscellaneous special
  1510.          characters and symbols.
  1511.               To make the Status Box visible, if hidden, press the <tab>
  1512.          key, press <F10>, or select "Show Status Box" from the Main Menu.
  1513.          Then to activate the Special Character Selection Box either press
  1514.          the <tab> key until it is highlighted, or simply move the mouse
  1515.          cursor to within the Special Character Selection Box's border.
  1516.          The border around the selection box will become highlighted,
  1517.          indicating that it is active.
  1518.               You may now change the currently selected special character
  1519.          and/or Line-Type in the following ways:
  1520.  
  1521.  
  1522.            Selecting a Special Character Using the Keyboard
  1523.  
  1524.               The character under the highlight is the currently selected
  1525.          one.  Use the <arrow> keys to move the highlight around inside the
  1526.          selection box to select a different character.  The "Ch/Attr"
  1527.          indicator, next to the selection box also indicates the selected
  1528.          character using the current color.  As the highlight reaches the
  1529.          top or bottom of the selection box, the special character display
  1530.  
  1531.  
  1532.          _________________________________________________________________
  1533.          Laughing Dog Screen Maker V1.00 User's Manual                21
  1534.  
  1535.          will flip to the other page, allowing you to choose any character
  1536.          you desire.  When you have completed your selection, just press
  1537.          the <tab> or <enter> key until the drawing area of the screen is
  1538.          active again.
  1539.  
  1540.  
  1541.            Selecting a Special Character Using the Mouse
  1542.  
  1543.               To select a character, position the mouse cursor on the
  1544.          desired special character, and click the left mouse button.  If
  1545.          the character you wish to select is not visible, click on the
  1546.          Scroll Bar on the right-hand side of the selection box to display
  1547.          the second page of special characters.  The new selection will be
  1548.          displayed in the "Ch/Attr" indicator portion of the Status Box.
  1549.          If the selection has effected the Line-Type, that will also be
  1550.          indicated by the "Line-Type" indicator in the Status Box.  When
  1551.          the desired character is selected, just move the mouse cursor back
  1552.          to the drawing area of the screen to continue working.
  1553.  
  1554.          HINT: If you are selecting a Special Character from within a menu,
  1555.          pressing the <enter> key or moving the mouse out of the selection
  1556.          box will complete the selection and return you to the menu.
  1557.  
  1558.          NOTE: The characters displayed on the top line of the symbol page
  1559.          of the Special Character Selection Box will not print out on many
  1560.          printers.  A blank space will be inserted in any print-out in
  1561.          place of these characters when using the Print Screen command.
  1562.          PostScript printers will print all characters.
  1563.  
  1564.  
  1565.            Using a Special Character
  1566.  
  1567.               To print the current Special Character to the drawing screen
  1568.          hold down the <shift> key and press an <arrow> key.
  1569.  
  1570.  
  1571.          Selecting the Line-Type
  1572.  
  1573.               There are four Line-Types to choose from:
  1574.                    All Single Lines
  1575.                    All Double Lines
  1576.                    Vertical Lines: Single / Horizontal Lines: Double
  1577.                    Vertical Lines: Double / Horizontal Lines: Single
  1578.  
  1579.               To select one of these types, select any line drawing
  1580.          character from one of the box examples in the selection box.  A
  1581.          box showing that type will be shown in the Status Box's "Line-
  1582.          Type" indicator.
  1583.               As the special character selection display flips from the
  1584.          boxes to the other characters, the last line-type that the cursor
  1585.          was on before the flip will remain as the chosen Line-Type.
  1586.  
  1587.  
  1588.  
  1589.          _________________________________________________________________
  1590.          Laughing Dog Screen Maker V1.00 User's Manual                22
  1591.  
  1592.          SHORTCUT: You may also change the current Line-Type (and/or
  1593.          special character) by positioning the cursor on a line-drawing
  1594.          character in the drawing area of the screen and pressing the hot
  1595.          key <cntl>-K.
  1596.  
  1597.  
  1598.            7.1.8 Selecting A Color Attribute
  1599.  
  1600.               The Color Attribute Selection Box is the window in the upper
  1601.          right hand side of the Status Box.  It is used to select color
  1602.          attributes.  The currently selected color is shown on the color
  1603.          bar as a solid happy face symbol, while the other colors are x's.
  1604.               To make the Status Box visible, if hidden, press the <tab>
  1605.          key, press <F10>, or select "Show Status Box" from the Main Menu.
  1606.          Then to activate the Color Attribute Selection Box either press
  1607.          the <tab> key until it is highlighted, or simply move the mouse
  1608.          cursor to within the Color Attribute Selection Box's border.  The
  1609.          border around the selection box will become highlighted,
  1610.          indicating that it is active.  You may now change the currently
  1611.          selected color attribute in the following ways:
  1612.  
  1613.  
  1614.            Selecting a Color Using the Keyboard
  1615.  
  1616.               Use the <left-arrow> or <right-arrow> keys to change the
  1617.          foreground color, and the <up-arrow> or <down-arrow> keys to
  1618.          change the background color.
  1619.               When the display mode is set for COLOR, a little happy face
  1620.          within the color bar and the Status Box's Ch/Attr indicator will
  1621.          display the current color.
  1622.  
  1623.          NOTE: When the display is set for MONO, the color will be shown as
  1624.          text within the Color Attribute Selection Box (example: "WHITE on
  1625.          BLUE").
  1626.  
  1627.  
  1628.            Selecting a Color Using the Mouse (COLOR display mode)
  1629.  
  1630.               To select a color attribute, just click the left mouse button
  1631.          on the "x" of the desired color inside the Color Attribute
  1632.          Selection Box.  Only one background color is shown at a time, to
  1633.          scroll background colors either click on the little double arrow
  1634.          at the left-hand end of the color bar, or click the right mouse
  1635.          button anywhere within the color bar.
  1636.  
  1637.  
  1638.            Selecting a Color Using the Mouse (MONO display Mode)
  1639.  
  1640.               When the program is in MONO Mode, the Color Attribute
  1641.          Selection Box displays the current color as text in the following
  1642.          format: WHITE on BLUE (white foreground, on a blue background).
  1643.  
  1644.  
  1645.  
  1646.          _________________________________________________________________
  1647.          Laughing Dog Screen Maker V1.00 User's Manual                23
  1648.  
  1649.               To change the current foreground color, click on the left
  1650.          side of the box (on the word describing the foreground color).  To
  1651.          change the current background color, click on the right side of
  1652.          the box (on the word describing the background color).  In both
  1653.          cases clicking the left mouse button scrolls the list of choices
  1654.          one way, and clicking the right mouse button scrolls the list in
  1655.          the other direction.
  1656.               After you have selected your new color attribute, move the
  1657.          cursor back to the drawing area of the screen to continue.
  1658.  
  1659.          HINT: If you are changing colors from within a menu, pressing
  1660.          <enter>, double clicking, or moving the cursor outside of the
  1661.          selection box will return you to the menu.
  1662.  
  1663.          SHORTCUT: You may also change colors by placing the cursor on a
  1664.          point on the drawing area of the screen that is the color you
  1665.          want, then press the hot key <cntl>-A.
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.          _________________________________________________________________
  1704.          Laughing Dog Screen Maker V1.00 User's Manual                24
  1705.  
  1706.  
  1707.          8. Drawing Screens
  1708.  
  1709.               This chapter will give you all the information you need to
  1710.          create and edit your screens.  First, an explanation of the
  1711.          different modes of operation of the Laughing Dog Screen Maker,
  1712.          then on to the mechanics of creating screens.
  1713.  
  1714.  
  1715.  
  1716.          8.1 Modes of Operation
  1717.  
  1718.                While creating screens, you will spend most of your time in
  1719.          what we will refer to as Normal Mode.  This is the mode where
  1720.          colors and special characters are selected, text and special
  1721.          characters are printed to the screen, screens are loaded and
  1722.          saved, and other special modes of operation are entered.
  1723.               While in a special mode, some keystrokes may have different
  1724.          functions than they do in Normal Mode.  For instance, when in
  1725.          Select Mode, the arrow keys not only move the cursor, they also
  1726.          change the size of the highlighted rectangular area of the screen
  1727.          that is being selected, the <enter> key no longer returns the
  1728.          cursor to the beginning of the next line, it now terminates the
  1729.          selection and brings up the Block menu, etc.
  1730.               Upon entering one of these special modes, a flashing,
  1731.          indicator is displayed in the Status Box to remind you that you
  1732.          are in a special mode.  The indicator goes away when you return to
  1733.          normal mode.
  1734.               The table below shows the indicator message for each special
  1735.          mode and the hot keys used to enter that mode.
  1736.  
  1737.                MODE           Indicator Message      hot key
  1738.          ----------------------------------------------------------------
  1739.            Insert Mode               INS            <ins>
  1740.            Line Drawing Mode         LINE           <alt>-L*
  1741.            Select Mode               SEL            <alt>-S*
  1742.            Moving a Selected Area    MOVE           M** (from SEL Mode)
  1743.            Copying a Selected Area   COPY           C** (from SEL Mode)
  1744.  
  1745.           * also available as a Main Menu selection.
  1746.          ** also available as a Block Menu selection.
  1747.  
  1748.  
  1749.  
  1750.            8.1.1 NORMAL Mode
  1751.  
  1752.               Normal Mode is where most of your work will be done.  Here
  1753.          are some descriptions of the operations available to you in Normal
  1754.          Mode:
  1755.  
  1756.          Getting Context Sensitive Help
  1757.  
  1758.               Press the <F1> key.
  1759.  
  1760.          _________________________________________________________________
  1761.          Laughing Dog Screen Maker V1.00 User's Manual                25
  1762.  
  1763.  
  1764.  
  1765.          Calling the Main Menu
  1766.  
  1767.               Press the <F2> key or click the right mouse button.
  1768.  
  1769.  
  1770.          Placing Normal Text on the Screen
  1771.  
  1772.               Position the cursor using the <arrow> keys or the mouse and
  1773.          type in the desired text.
  1774.  
  1775.  
  1776.          Placing Special Characters on the Screen
  1777.  
  1778.               Position the cursor, then hold down the <shift> key while
  1779.          pressing one of the <arrow> keys.  This prints the character at
  1780.          the cursor position and moves the cursor in the direction of the
  1781.          arrow key used.
  1782.  
  1783.  
  1784.          Selecting a Color Attribute or Special Character
  1785.  
  1786.               Make one of the selection boxes active by pressing the <tab>
  1787.          key until the desired selection box is  highlighted, or by moving
  1788.          the mouse cursor into the desired selection box.  Then move the
  1789.          selection cursor to the desired color or special character with
  1790.          the <arrow> keys or click on it with the left mouse button.  (See
  1791.          "Selecting a Special Character/Line-Type" and "Selecting a Color
  1792.          Attribute" under "Using the Laughing Dog Screen Maker Status Box"
  1793.          for a more detailed explanation).
  1794.  
  1795.  
  1796.          Drawing Lines
  1797.  
  1798.               Place the cursor at the starting point of the line you want
  1799.          to draw and press the hot key <cntl>-L, select "Draw Line" from
  1800.          the Main Menu, or double-click and hold the left mouse button to
  1801.          enter Line Drawing Mode.
  1802.               Then hold the <shift> key down and use the
  1803.          <up/down/left/right-arrow>, <Pg-Up>, <Pg-Down>, <Home> and <End>
  1804.          keys or drag the mouse to draw lines (See "Line Drawing Mode"
  1805.          below for more detailed information on drawing lines).
  1806.  
  1807.  
  1808.          Selecting a Block to Move, Copy, Fill, Erase, Recolor, Copy to a
  1809.          File, or Make Into a Window
  1810.  
  1811.               Position the cursor at a corner of the rectangular block you
  1812.          wish to select and press the hot key <alt>-S, click and hold down
  1813.          the left mouse button, or choose "Select Block" from the Main Menu
  1814.          to enter Select Mode.
  1815.  
  1816.  
  1817.          _________________________________________________________________
  1818.          Laughing Dog Screen Maker V1.00 User's Manual                26
  1819.  
  1820.               Then hold the <shift> key down and use the
  1821.          <up/down/left/right-arrow>, <Pg-Up>, <Pg-Down>, <Home> and <End>
  1822.          keys or drag the mouse to define the block (See "Select Mode"
  1823.          below for more information on selecting and processing blocks).
  1824.  
  1825.  
  1826.          Pasting a Previously Saved Block File to the Screen
  1827.  
  1828.          (A block file contains an area of the screen copied to a file
  1829.          using the "Copy to File" option on the Block Menu).
  1830.               Position the cursor at the point on the screen where you wish
  1831.          to paste the upper left-hand corner of the block, and press the
  1832.          hot key <cntl>-P or choose "Paste From File" from the Main Menu.
  1833.               The block is placed on the screen in the "selected" state.
  1834.          Use the arrow keys or the mouse to reposition it, if desired, and
  1835.          press <enter> to paste it at the current location.
  1836.               The Paste may be aborted by pressing <esc>.
  1837.               If the block you attempt to place at the cursor position
  1838.          extends beyond the screen boundaries, the portion outside of the
  1839.          screen will be truncated.  If this happens unintentionally, just
  1840.          cancel the paste with the <esc> key, move the cursor further away
  1841.          from the left and/or bottom screen edge and try again.
  1842.  
  1843.  
  1844.          Picking Up the Color Attribute at the Cursor Position
  1845.  
  1846.               Press the hot key <cntl>-A or select "Pick up Attribute @
  1847.          Cursor" from the Main Menu.
  1848.            To pick up only the background color at the cursor position
  1849.          press the hot key <cntl>-B.
  1850.          To pick up only the foreground color at the cursor position  press
  1851.          the hot key <cntl>-F.
  1852.  
  1853.  
  1854.          Picking Up a Special Character at the Cursor Position
  1855.  
  1856.               Press the hot key <cntl>-K or select "Pick up Special Char.
  1857.          @ Cursor" from the Main Menu.
  1858.  
  1859.  
  1860.          Picking Up a Normal Character at the Cursor Position
  1861.  
  1862.               Press the hot key <shift>-<cntl>-K.  This function is NOT
  1863.          available from the Main Menu.
  1864.  
  1865.  
  1866.  
  1867.            8.1.2 INSERT Mode
  1868.  
  1869.               By default The Laughing Dog Screen Maker enters text in
  1870.          overstrike mode, overwriting anything under the cursor.  It is
  1871.          possible to temporarily override the overstrike by entering Insert
  1872.  
  1873.  
  1874.          _________________________________________________________________
  1875.          Laughing Dog Screen Maker V1.00 User's Manual                27
  1876.  
  1877.          Mode.  Insert Mode is toggled on and off by pressing the <ins>
  1878.          key.  The Special Mode Indicator in the Status Box will flash
  1879.          "INS" to  indicate Insert Mode is active.
  1880.               In Insert Mode text and special characters entered from the
  1881.          keyboard will be inserted at the current cursor position using the
  1882.          color attribute at that position.
  1883.               Insert Mode is exited by either pressing the <ins> key again
  1884.          or by pressing any other non-printable key such as an <arrow key>,
  1885.          <tab>, <PgUp>, <PgDn>, <esc> , etc.
  1886.  
  1887.          ATTENTION: While inserting, everything to the right of the cursor
  1888.          will be pushed over, eventually disappearing off the edge of the
  1889.          screen.  When something is pushed off the screen, IT IS LOST.  You
  1890.          cannot get it back.
  1891.  
  1892.  
  1893.  
  1894.            8.1.3 SELECT Mode
  1895.  
  1896.               There are many operations that can be performed on a block of
  1897.          the screen such as coloring, filling, moving, copying, etc.  In
  1898.          order to do something with a block of the screen, you must first
  1899.          "select" or define it.  To do this you must enter what is called
  1900.          the "Select Mode" and define that area.
  1901.  
  1902.  
  1903.          Selecting a Block
  1904.  
  1905.               To enter Select Mode, position the cursor at a corner of the
  1906.          rectangular area you wish to select and press the hot key <alt>-S,
  1907.          click and hold down the left mouse button, or choose "Select
  1908.          Block" from the Main Menu.
  1909.               The Status Box will indicate that you are in Select Mode by
  1910.          flashing the word "SEL."  If the sound is turned on, there will be
  1911.          an ascending melody indicating you just entered a special mode of
  1912.          operation (key clicks will be heard as each column or row is
  1913.          selected, and a descending melody will sound when exiting this
  1914.          special mode).
  1915.               Select a rectangular area of the screen using the
  1916.          <up/down/left/right-arrow>, <Pg-Up>, <Pg-Down>, <Home> and <End>
  1917.          keys or by dragging the mouse.  The selected block will change
  1918.          color to indicate it is selected.
  1919.  
  1920.          NOTE: For better control when selecting with the mouse, see
  1921.          "Taming the Wild Mouse" in the "Drawing Screens Using The Mouse"
  1922.          section this chapter.
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.          _________________________________________________________________
  1932.          Laughing Dog Screen Maker V1.00 User's Manual                28
  1933.  
  1934.          Ending the Selection and "DOING" Something with the Block
  1935.  
  1936.               Press <enter> or release the left mouse button or press one
  1937.          of the hot keys (see below).
  1938.               When the selection is complete, the Block Menu will
  1939.          automatically pop up.  You can then select your next action from
  1940.          this menu.
  1941.               As you become more familiar with the program, you may wish to
  1942.          eliminate this menu selection step.  In that case, just choose the
  1943.          "Menu Only on Request" item on the Block Menu the first time that
  1944.          it pops up.  From then on, you can either explicitly call the
  1945.          Block Menu (using the <F2> key) or use the expert hot keys listed
  1946.          below to end the selection and perform the desired action:
  1947.  
  1948.          To Move the block to another screen position            Press <M>
  1949.          To Copy the block to another screen position            Press <C>
  1950.          To Copy the block to a file                             Press <Y>
  1951.          To Clear or Fill the block                              Press <F>
  1952.          To Recolor the block                                    Press <R>
  1953.          To Erase any text in the block                          Press <E>
  1954.                                                                or <delete>
  1955.          To Make a Window of the Block                           Press <W>
  1956.  
  1957.          NOTE: See the "Block Operations" section of this chapter for
  1958.          instructions on performing each of the block operations above.
  1959.  
  1960.  
  1961.          Canceling the Selection
  1962.  
  1963.               To cancel the selection, press the <esc> key or click the
  1964.          right mouse button.  The cursor will return its original position.
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.          _________________________________________________________________
  1989.          Laughing Dog Screen Maker V1.00 User's Manual                29
  1990.  
  1991.            8.1.4 LINE DRAWING Mode
  1992.  
  1993.               The IBM character set provides a variety of special line
  1994.          drawing characters that may be used for drawing boxes, windows,
  1995.          and many other special effects.  The Laughing Dog Screen Maker
  1996.          makes it easy to use these special characters in an intuitive way
  1997.          with the Smart-Line-Drawing feature of Line Drawing Mode.  Line
  1998.          Drawing Mode is a special mode of operation that you enter into to
  1999.          draw your lines and then exit when done.
  2000.               The "Smart" part of the Line Drawing Mode comes into play
  2001.          when a line you are drawing changes direction or intersects itself
  2002.          or another line.  The appropriate line joining character is
  2003.          automatically generated by the Laughing Dog!
  2004.  
  2005.               There are 4 line-types used:
  2006.  
  2007.                    1. All single lines
  2008.                    2. All double lines
  2009.                    3. Single verticals with double horizontals
  2010.                    4. Double verticals with single horizontals.
  2011.  
  2012.                These line-types are displayed in the Special Character
  2013.          Selection Box as example boxes drawn using each type.  This makes
  2014.          selecting the proper line-type easier, as you can see the results
  2015.          of using that line-type before you choose it.
  2016.               The line-type is selected by highlighting the Special
  2017.          Character Selection Box and moving the cursor to an example box
  2018.          that has as its outside lines the line-type you want to use for
  2019.          drawing (See: Selecting a Special Character).
  2020.               Smart-line-drawing comes in handy when drawing windows
  2021.          freehand (you may also automatically generate a window by
  2022.          selecting a block and choosing the "Make a Window of Selected
  2023.          Block" function from the Block Menu), or to add vertical or
  2024.          horizontal dividing lines to existing windows.  It's also a heck
  2025.          of a lot of fun for doodling!
  2026.  
  2027.  
  2028.            Entering Line Mode
  2029.  
  2030.               To enter Line Drawing Mode press the hot key <alt>-L, double-
  2031.          click and hold the left mouse button, or select "Draw Line" from
  2032.          the Main Menu.
  2033.               The Status Box will indicate that you are in Line Drawing
  2034.          Mode by flashing the word "LINE" and if the sound is turned on,
  2035.          there will be an ascending melody indicating you just entered a
  2036.          special mode of operation (key clicks will be heard as each line
  2037.          segment is drawn, and a descending melody will sound when exiting
  2038.          Line Drawing Mode).
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.          _________________________________________________________________
  2046.          Laughing Dog Screen Maker V1.00 User's Manual                30
  2047.  
  2048.            Drawing the Lines
  2049.  
  2050.               Hold down <shift> and use the <up/down/left/right-arrow>,
  2051.          <Pg-Up>, <Pg-Down>, <Home> and <End> keys or drag the mouse to
  2052.          draw lines.
  2053.               You can move around the screen without drawing a line, while
  2054.          remaining in Line Drawing Mode, by simply releasing the <shift>
  2055.          key and using the cursor movement keys alone.
  2056.               To resume line drawing use <shift> with the <arrow> keys.
  2057.               Press the <enter> key or release the mouse button to exit
  2058.          Line Drawing Mode and "terminate" a line (see note below).  To
  2059.          exit Line Drawing Mode and leave the line "dangling" press <esc>
  2060.          or any printable key.
  2061.           
  2062.          NOTE: Line termination refers to the Line Drawing function of
  2063.          attempting to connect any lines in adjacent screen positions with
  2064.          the line character at the current cursor position, based on its
  2065.          line-type and the direction it came from--sounds complicated, but
  2066.          when you see it you will understand.
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.          _________________________________________________________________
  2103.          Laughing Dog Screen Maker V1.00 User's Manual                31
  2104.  
  2105.  
  2106.          8.2 Drawing Screens Using the Mouse
  2107.  
  2108.               All features of the Laughing Dog Screen Maker are available
  2109.          using either the keyboard or the mouse.  Using the mouse can
  2110.          considerably speed up many of these operations, however.
  2111.  
  2112.  
  2113.  
  2114.            8.2.1 Accessing Menus
  2115.  
  2116.          Popping Up the Main Menu
  2117.  
  2118.               Click the right mouse button anywhere inside drawing area of
  2119.          the screen (same as pressing the <F2> key).
  2120.  
  2121.  
  2122.          Making a Menu Selection
  2123.  
  2124.               Position the mouse cursor on the desired selection, and click
  2125.          the left mouse button.  OR position the mouse cursor anywhere
  2126.          inside a menu, hold down the left mouse button and drag the
  2127.          highlight to the desired selection, and release the button.
  2128.  
  2129.  
  2130.            8.2.2 Positioning the Cursor
  2131.  
  2132.               Move the mouse cursor to the desired point on the screen and
  2133.          click the left mouse button.
  2134.  
  2135.  
  2136.            8.2.3 Selecting a Block
  2137.  
  2138.               Place the mouse cursor at the position of a corner of a
  2139.          rectangular area you wish to select.  Press and hold the left
  2140.          mouse button and drag the mouse until the desired area is
  2141.          selected.
  2142.               The selected area will become highlighted in a different
  2143.          color than it was originally, to indicate that it is being
  2144.          selected.  When the area is completely selected, release the left
  2145.          mouse button.
  2146.               Unless it has been inhibited via the "Menu Only on Request"
  2147.          toggle on the Block Menu, the Block Menu will now pop-up with a
  2148.          list of the things you may now do with the block you have
  2149.          selected.
  2150.               See the "Block Menu" section of The Laughing Dog Menus
  2151.          chapter for information of the various block operations.
  2152.               The selection may be canceled at any time before you have
  2153.          released the left button during the drag, by clicking the right
  2154.          mouse button, or by pressing the <esc> key.  The cursor will
  2155.          return to its original position, before the selection started.
  2156.  
  2157.  
  2158.  
  2159.          _________________________________________________________________
  2160.          Laughing Dog Screen Maker V1.00 User's Manual                32
  2161.  
  2162.            8.2.4 Drawing Lines & Boxes
  2163.  
  2164.               Place the mouse cursor at the position in the drawing area
  2165.          where you wish to begin drawing a line.  Double-click and hold the
  2166.          left mouse button to begin drawing a line.  Drag the mouse in the
  2167.          direction you wish to draw the line.  Release the left mouse
  2168.          button to terminate the line.
  2169.               Line termination refers to the Smart Line Drawing function of
  2170.          ending a line and terminating it to any surrounding lines.
  2171.                 If you wish to stop drawing the line without doing a "Smart
  2172.          Termination", press the <esc> key before releasing the left mouse
  2173.          button.
  2174.  
  2175.          HINT: Line Drawing with the mouse is a whole lot of fun but
  2176.          according to the sensitivity setting of your mouse driver, it can
  2177.          at times be VERY hard to control!  See "Taming the Wild Mouse"
  2178.          below for ways to make line drawing with the mouse easier to
  2179.          control.
  2180.  
  2181.  
  2182.            8.2.5 Changing the Current Color Attribute or Special Character
  2183.  
  2184.               Changing colors or special characters with the mouse is
  2185.          literally as easy as point and click.
  2186.               To make the Status Box visible if it is hidden press the
  2187.          <tab> key, or <F10> key or select "Hide/Show Status Box" from the
  2188.          Main Menu.
  2189.               Then point to the desired selection box with the mouse.  The
  2190.          boarder of the box will become highlighted to indicate that it is
  2191.          active.  Then point to the color or character you wish to select
  2192.          and click the left mouse button.
  2193.               If the special character you wish to select is not on the
  2194.          currently displayed special character page, click on the special
  2195.          character selection box's scroll bar to flip pages.
  2196.               If the background color you want is not showing, click the
  2197.          right mouse button anywhere inside the color attribute selection
  2198.          box, or click the right mouse button on the up & down arrow head
  2199.          at the extreme left-hand side of the box, to scroll through the
  2200.          available background colors.
  2201.  
  2202.  
  2203.            8.2.6 Getting Help
  2204.  
  2205.               If the Status Box is visible, you can click the mouse on the
  2206.          "<F2> For Help" mouse Hot Spot to activate the context-sensitive
  2207.          help system.  See: Using Help.
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.          _________________________________________________________________
  2217.          Laughing Dog Screen Maker V1.00 User's Manual                33
  2218.  
  2219.            8.2.7 Taming the Wild Mouse (Constraining Mouse Cursor Movement)
  2220.  
  2221.               The mouse cursor's movement may be constrained to the
  2222.          horizontal or vertical axes while selecting an area or drawing a
  2223.          line with the mouse in the following way:
  2224.  
  2225.          Horizontal Constraint   Hold down <cntl> key while dragging mouse
  2226.          Vertical Constraint     Hold down <alt> key while dragging mouse
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.          _________________________________________________________________
  2274.          Laughing Dog Screen Maker V1.00 User's Manual                34
  2275.  
  2276.  
  2277.          8.3 Drawing Screens Using the Keyboard
  2278.  
  2279.               The Laughing Dog Screen Maker program was designed to be just
  2280.          as easily used without a mouse, as with one.  Many commands can be
  2281.          accessed via the menu system or directly via hot keys.
  2282.  
  2283.  
  2284.            8.3.1 Accessing Menus
  2285.  
  2286.               To call up the Main Menu press the <F2> key.  Highlight your
  2287.          choice using the <up/down-arrow> keys and press <enter> to execute
  2288.          it.  To exit a menu, press the <esc> key.  For more help on menus
  2289.          see "Using Menus" in the Quick Start chapter.
  2290.  
  2291.  
  2292.            8.3.2 Positioning the Cursor
  2293.  
  2294.               Use the <arrow> keys to move about the screen one character
  2295.          position at a time.  Use the <home> & <end> keys to  move to the
  2296.          left-edge or right-edge of the screen.  Use the <PgUp> & <PgDn>
  2297.          keys to move the cursor to the top-edge or bottom-edge of the
  2298.          screen.  Press the <enter> key to go to the beginning of the next
  2299.          row.
  2300.  
  2301.  
  2302.            8.3.4 Selecting a Block
  2303.  
  2304.               To begin selecting a block, you can either choose "Select
  2305.          Block" from the Main Menu, or press the <alt>-S hot key.  You then
  2306.          define the selected area using the <up/down/left/right-arrow>,
  2307.          <Pg-Up>, <Pg-Down>, <Home> and <End> keys.  During selection, the
  2308.          Status Box will flash the "SEL" indicator, and the area being
  2309.          selected will change color.
  2310.               Press the <enter> key to end the selection.  A menu will pop
  2311.          up with the choices of operations you may perform on the block.
  2312.          To abort the selection at any time, press the <esc> key.
  2313.  
  2314.  
  2315.            8.3.5 Drawing Lines & Boxes
  2316.  
  2317.               To enter Line-Drawing Mode press the hot key <alt>-L, or
  2318.          select "Draw Line" from the Main Menu.  Then, hold down the
  2319.          <shift> key and use the <up/down/left/right-arrow>, <Pg-Up>, <Pg-
  2320.          Down>, <Home> and <End> keys to draw the lines.
  2321.               You may also move around the screen without drawing a line by
  2322.          releasing the <shift> key and using the cursor movement keys
  2323.          alone.
  2324.               To exit Line-Drawing Mode and terminate the line (make any
  2325.          final connections at the cursor position) press the <enter> key.
  2326.          To exit Line Drawing Mode without terminating the line, press
  2327.          <esc>, or any printable (alpha, numeric, or punctuation) key.
  2328.  
  2329.  
  2330.          _________________________________________________________________
  2331.          Laughing Dog Screen Maker V1.00 User's Manual                35
  2332.  
  2333.            8.3.6 Entering Text
  2334.  
  2335.               Any of the normal text characters may be printed to the
  2336.          screen using the currently selected color attribute by merely
  2337.          typing them as you would expect.
  2338.               Pressing the <insert> key will toggle between the default
  2339.          Overstrike mode and Insert Mode.
  2340.  
  2341.  
  2342.            8.3.7 Entering Special Characters
  2343.  
  2344.               In addition to the normal text characters, there are many
  2345.          "Special Characters" that are not directly accessible from the
  2346.          keyboard.  These characters include line-drawing characters,
  2347.          mathematical symbols, Greek letters, etc.
  2348.               To print a special character to the screen, first select the
  2349.          desired character from the Special Character Selection portion of
  2350.          the Status Box.  Then to place it on the screen hold down the
  2351.          <shift> key and press one of the <arrow> keys.  This will place
  2352.          the special character at the current cursor position and then move
  2353.          the cursor in the direction of the arrow key pressed.
  2354.  
  2355.  
  2356.            8.3.8 Changing the Current Color Attribute or Special Character
  2357.  
  2358.               Color and Special Character Selection are easily done in the
  2359.          Color Attribute and the Special Character Selection Boxes in the
  2360.          Status Box.
  2361.               First, press the <tab> key until the desired selection box is
  2362.          highlighted.  Next use the <arrow> keys to move the cursor to the
  2363.          color or character you want.  The "Ch/Attr" indicator in the
  2364.          Status Box will display the currently selected Special Character
  2365.          using the currently selected Color Attribute.
  2366.               When the color or character is chosen, press the <tab> or
  2367.          <enter> key to lock in your selection (the highlight will move on
  2368.          to the next selection box or to the drawing screen).
  2369.  
  2370.  
  2371.            "Picking Up" a Color Directly From the Screen
  2372.  
  2373.               To pick up a color attribute, place the cursor on the drawing
  2374.          screen over a character of the desired color.  Then press <cntl>-A
  2375.          to pick up the entire color attribute, <cntl>-F to pick up only
  2376.          the foreground color, or <cntl>-B to pick up only the background
  2377.          color.
  2378.  
  2379.  
  2380.            "Picking Up" a Special Character Directly From the Screen
  2381.  
  2382.               Place the cursor on the desired special character, then press
  2383.          <cntl>-K (K for Karacter!).
  2384.  
  2385.  
  2386.  
  2387.          _________________________________________________________________
  2388.          Laughing Dog Screen Maker V1.00 User's Manual                36
  2389.  
  2390.               It is also possible to pick up a "normal" (alpha-numeric or
  2391.          punctuation) character to use for filling a block by using the
  2392.          <shift>-<cntl>-K hot key.
  2393.  
  2394.  
  2395.            8.3.9 Getting Help
  2396.  
  2397.               Press <F1> at any time to activate the context-sensitive help
  2398.          system.  See "Using the On-Line Help System" in the Quick Start
  2399.          chapter for more information.
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.          _________________________________________________________________
  2445.          Laughing Dog Screen Maker V1.00 User's Manual                37
  2446.  
  2447.  
  2448.          8.4 Block Operations:
  2449.          Move, Copy, Paste, Recolor, Fill, Erase, & Make A Window
  2450.  
  2451.               This first group of block operations are performed on a block
  2452.          that you define on the drawing screen.
  2453.               First select a block, as described in the "Select Mode" or
  2454.          "Selecting a Block" sections above.  Unless inhibited by the Block
  2455.          Menu toggle "Menu Only On Request", the Block Menu will
  2456.          automatically pop up when you have completed your selection.
  2457.               Choose an operation from the Block Menu, or use one of the
  2458.          hot keys listed below.
  2459.  
  2460.          Block Menu Operation         hot key      Action
  2461.          ---------------------------------------------------------------
  2462.          Move Block             <M>    Arrow keys or mouse will reposition
  2463.                                        the block.
  2464.  
  2465.          Copy Block             <C>    Arrow keys or mouse will position a
  2466.                                        copy of the block.
  2467.  
  2468.          Copy Block to File     <Y>    Pops up a File Save Dialog Box.
  2469.  
  2470.          Clear/Fill Block       <F>    Pops up the Clear/Fill Menu.
  2471.  
  2472.          Recolor Block          <R>    Pops up the Recolor Menu.
  2473.  
  2474.          Erase Block            <E>    Erases any characters in the block,
  2475.                                        leaving color attributes intact.
  2476.  
  2477.          Make a Window of Block <W>    Pops up the Make A Window Menu.
  2478.  
  2479.  
  2480.               See the "Block Menu" section of The Laughing Dog Menus
  2481.          chapter for a complete description of each of the above
  2482.          operations.
  2483.  
  2484.               The other block operation pastes blocks which have been
  2485.          previously saved to files into the current screen.
  2486.  
  2487.          Main Menu Operation        hot key       Action
  2488.          ---------------------------------------------------------------
  2489.          Paste Block         <cntl>-P  Pastes a block from a file to the
  2490.                                        current screen position.
  2491.  
  2492.               See the Main Menu "Paste From File" description in The
  2493.          Laughing Dog Menus chapter for a complete explanation of pasting
  2494.          blocks.
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.          _________________________________________________________________
  2502.          Laughing Dog Screen Maker V1.00 User's Manual                38
  2503.  
  2504.  
  2505.          9. Loading & Saving Screens
  2506.  
  2507.               Saving your work-in-progress or finished screens, and loading
  2508.          them back into the Laughing Dog Screen Maker is accomplished by
  2509.          calling up the Save File or Load File Dialog Box.
  2510.               Screens are saved to, and loaded from, the current Data
  2511.          Directory.  This data directory defaults to the directory you were
  2512.          in when you started the program.
  2513.               You may specify another drive and/or directory at start up
  2514.          time via a command line argument (See "Starting the Laughing Dog
  2515.          Screen Maker" in the Quick Start chapter), or you may change the
  2516.          drive and/or directory from within the program by calling the
  2517.          Change Data Directory Dialog Box by choosing "Change Data
  2518.          Directory" from the Main Menu.
  2519.               This chapter describes how to call up and use these dialog
  2520.          boxes.
  2521.  
  2522.  
  2523.  
  2524.          9.1 Loading a Screen
  2525.  
  2526.               Choose Load Screen from the Main Menu or press the hot key
  2527.          <cntl>-L.  The Load File Dialog Box will appear.
  2528.  
  2529.  
  2530.            Using the LOAD FILE Dialog Box
  2531.  
  2532.               The Load File Dialog Box displays a list of all the screen
  2533.          files (files having the extension "DOG") in the current Data
  2534.          Directory.  Choose a screen file to load in one of the following
  2535.          ways:
  2536.  
  2537.            Keyboard
  2538.               Move the highlight to the name of the file you wish to load
  2539.          using the <up/down-arrow> keys, and press <enter>.
  2540.               You may cancel loading a screen at any time by either
  2541.          pressing the <esc> key, pressing the <C> key (the highlighted
  2542.          letter on the "Cancel" button), or by moving the button highlight
  2543.          to the "Cancel" button using the <tab> key and then pressing
  2544.          <enter>.
  2545.  
  2546.          HINT: You may move the highlight a page at a time using the <page-
  2547.          up/down> keys. The <home> key moves you directly to the beginning
  2548.          of the list, and <end> moves directly to the end.
  2549.  
  2550.  
  2551.            Mouse
  2552.               If the file you wish to load is showing in the list box, just
  2553.          double-click on the filename with the left mouse button or move
  2554.          the highlight to the desired filename by single-clicking on the
  2555.  
  2556.  
  2557.          _________________________________________________________________
  2558.          Laughing Dog Screen Maker V1.00 User's Manual                39
  2559.  
  2560.          
  2561.          
  2562.          
  2563.          filename, and then clicking on the "OK" button.  Click on the up
  2564.          or down arrows of the scroll bar to scroll the list past the first
  2565.          page.
  2566.               You can move through the list a page at a time by clicking
  2567.          the left button of the mouse on the portion of the scroll bar that
  2568.          lies between the thumb and the arrow at the top or bottom of the
  2569.          scroll bar.
  2570.               You may cancel loading a screen at any time by clicking on
  2571.          the "Cancel" button.
  2572.  
  2573.          HINT: There is a solid block within the scroll bar between the up
  2574.          and down arrows called the "thumb".  As you scroll through the
  2575.          list (if the list is more than one page long), this thumb moves up
  2576.          or down the scroll bar to indicate your approximate position in
  2577.          the list.
  2578.  
  2579.  
  2580.  
  2581.          9.2 Saving a Screen
  2582.  
  2583.               Choose Save Screen from the Main Menu or press the hot key
  2584.          <cntl>-S.  The Save File Dialog Box will appear.
  2585.  
  2586.  
  2587.            Using the SAVE FILE Dialog Box
  2588.  
  2589.               Type in a legal 8 character filename (no extension) and press
  2590.          <enter>, click on the "OK" button with the mouse, or press the hot
  2591.          key <cntl>-O (for OK).
  2592.               If you type an illegal filename, an error dialog box will
  2593.          appear, explaining your error. You will be allowed to re-enter the
  2594.          filename.  Press the Help Key <F1> if you need help constructing a
  2595.          "legal" filename.
  2596.               If you enter a filename that already exists, you will be
  2597.          warned of this, and be given the option of renaming the file or
  2598.          overwriting the existing file.
  2599.               You may cancel the save at any time by clicking the "Cancel"
  2600.          button, pressing the <cntl>-C key (C for Cancel), or pressing the
  2601.          <esc> key.
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.          _________________________________________________________________
  2615.          Laughing Dog Screen Maker V1.00 User's Manual                40
  2616.  
  2617.  
  2618.          9.3 Changing the Data Path
  2619.  
  2620.               Choose Change Data Directory from the Main Menu.  The Change
  2621.          Data Directory Dialog Box will appear.
  2622.  
  2623.  
  2624.            Using The Change Data Drive/Directory Dialog Box
  2625.  
  2626.               Type in the new drive\path you want to use for loading and
  2627.          saving files.  The drive must exist, and have a formatted disc in
  2628.          it, and the path must already exist.
  2629.               Be sure to separate the drive and subdirectory names with
  2630.          backslashes, as in:
  2631.  
  2632.                    C:\LDOG\SCREENS
  2633.  
  2634.               When entering the path, your spelling must be exact.  See
  2635.          your DOS manual for a complete explanation of subdirectory and
  2636.          path usage.
  2637.               When done, press the <enter> key, click on the "OK" button, 
  2638.          or press the hot key <cntl>-O (for "OK").
  2639.               To cancel the path change, press <esc> or the hot key
  2640.          <cntl>-C (for "Cancel").
  2641.  
  2642.          NOTE: If you need to check a path, create a subdirectory, or
  2643.          format a disk, you can do so without quitting the program by
  2644.          shelling out to DOS, doing your work and EXITing the shell back to
  2645.          this program by using the "DOS Shell" command on the Main Menu.
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.          _________________________________________________________________
  2672.          Laughing Dog Screen Maker V1.00 User's Manual                41
  2673.  
  2674.  
  2675.          10. Producing Useful Output
  2676.  
  2677.               If you want to output your screens in a format other than the
  2678.          native  Laughing Dog format (*.DOG), you have several choices.
  2679.          This chapter explains those choices.
  2680.               If you are a programmer, the Laughing Dog can generate
  2681.          compiler-ready source code for you.  If you are a BBS sysop or an
  2682.          ANSI artist, you can output your screens in the ANSI, WildCat!
  2683.          BBS, or PCBoard BBS formats.  It is also possible to produce an
  2684.          executable COM file, or output an exact copy of the video memory,
  2685.          in the form of a binary file.
  2686.               Just draw your screens and then let Rover take over!
  2687.  
  2688.  
  2689.  
  2690.          10.1 Generating Source Code
  2691.  
  2692.          The source code formats supported are:
  2693.  
  2694.               Microsoft C/QuickC
  2695.               Turbo C
  2696.               QuickBASIC
  2697.               GW BASIC (generic)
  2698.               BASIC BSAVE File Format
  2699.               Turbo Pascal
  2700.               MASM Assembler
  2701.  
  2702.               The default will generate code to produce a full color
  2703.          rendition of a screen by creating an array of color attributes and
  2704.          characters which will be written directly to video memory.  
  2705.               Alternately, you may select the "Code/Export As Monochrome"
  2706.          option from the Generate Code/Export Menu to reproduce the screen
  2707.          without the colors. The source code produced will represent each
  2708.          line of the screen as a delimited ASCII text string.  The strings
  2709.          are printed to the screen using the language-specific function for
  2710.          the code type selected, such as PRINT for BASIC or printf() for C.
  2711.               This comes in handy when you want to have more control in
  2712.          manipulating portions of your screen, and need to have the strings
  2713.          or characters broken-out separately, or when your needs are for
  2714.          straight monochrome output.
  2715.               The same applies to the other file formats: you can generate
  2716.          a black and white image by selecting the "Code/Export As
  2717.          Monochrome" option.
  2718.  
  2719.  
  2720.            About Laughing Dog Source Code
  2721.  
  2722.               The philosophy of the Laughing Dog Screen Maker's code
  2723.          generation engine is to produce fully commented, compiler-ready
  2724.          source code.
  2725.               The code produced may be compiled and run as a stand-alone
  2726.          program with absolutely no further modification, or you may easily
  2727.  
  2728.          _________________________________________________________________
  2729.          Laughing Dog Screen Maker V1.00 User's Manual                42
  2730.  
  2731.          turn each screen into a subroutine or function for inclusion in a
  2732.          larger program.
  2733.               The stand-alone programs produced will display the screen,
  2734.          wait for a key stroke, then clear the screen, and exit.  That's
  2735.          it!  You may add any further functionality as you please.
  2736.               It is actually possible to use this code in place of a
  2737.          windowing library, and completely create your user interface by
  2738.          calling up Laughing Dog screens.
  2739.               This is by no means the most efficient way to implement a
  2740.          program with many screens and menus, however, it may be just the
  2741.          thing to spruce up a small program that only has a need for a few
  2742.          data entry screens, a few menu screens, some help screens, a nice
  2743.          title screen, etc.
  2744.               The code produced by the code generator, although clean and
  2745.          well behaved, is not necessarily the best or most efficient
  2746.          solution for your program.  It is ONE WAY to display the screen.
  2747.               You will probably want to break the code out into a
  2748.          subroutine or function and fine-tune it to your specifications.
  2749.          Use the Laughing Dog code as a starting point and go from there.
  2750.               The main job done for you is converting the screen data into
  2751.          an array of character and color attribute values that can then be
  2752.          written directly to video memory in order to be displayed on the
  2753.          monitor.
  2754.               The source code produced by the Laughing Dog Screen Maker
  2755.          will go out and determine what type of video adapter is present
  2756.          and the current video mode and then adjust the base address of the
  2757.          video buffer accordingly.
  2758.               Generally, for all color modes the video buffer is located at
  2759.          $B800:0000.  For monochrome (mode 7) it is $B000:0000.  However,
  2760.          just because a monitor is monochrome does not necessarily mean
  2761.          that its video buffer is at $B800:0000.  Many monochrome video
  2762.          cards (even for LCD monitors) try to emulate a CGA, EGA or VGA
  2763.          adapter, and accordingly use $B800:0000 as a base address.
  2764.               Pick up a good DOS reference book and study up on this
  2765.          subject if you need to.
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782.  
  2783.  
  2784.  
  2785.          _________________________________________________________________
  2786.          Laughing Dog Screen Maker V1.00 User's Manual                43
  2787.  
  2788.            10.1.1 BASIC Code
  2789.  
  2790.               The main difference between the GWBASIC and QuickBASIC styles
  2791.          of code is that QuickBASIC does not require line numbers, so none
  2792.          are used.
  2793.               The GWBASIC code will compile and run just fine in
  2794.          QuickBASIC, but the QuickBASIC code will not run under GWBASIC.
  2795.          Also note that the GWBASIC code is not limited to this particular
  2796.          version of BASIC, it should run in any generic BASIC environment
  2797.          like BASICA or the old IBM ROM BASIC.
  2798.  
  2799.  
  2800.          GWBASIC & QUICKBASIC CODE (full color):
  2801.  
  2802.               This code just READs the characters and attributes in from a
  2803.          DATA statement and POKEs them directly to video memory.
  2804.  
  2805.          1 REM C:\QC25\BIN\TEST.BAS
  2806.          2 REM -- Laughing Dog Screen Maker Generic Basic-Code file
  2807.  
  2808.          5 DEF SEG = &H40
  2809.          6 IF PEEK($H49) = 7 THEN DEF SEG = &HB000 ELSE DEF SEG = &HB800
  2810.          7 REM Color SEG = B800, Mono = B000
  2811.          8 CLS
  2812.          9 READ rows
  2813.          10 READ cols
  2814.          11 size = (rows * cols) - 1
  2815.          12 FOR x = 0 TO size
  2816.          13 READ z
  2817.          14 POKE (2 * x), z
  2818.          15 READ z
  2819.          16 POKE ((2 * x) + 1), z
  2820.          17 NEXT x
  2821.          18 REM Waits for a key press to end program
  2822.          19 WHILE INKEY$ = ""
  2823.          20 WEND
  2824.          21 END
  2825.  
  2826.          10000 DATA 25, 80
  2827.          10010 DATA 49, 15, 49, 15, 49, 15, 49, 15
  2828.          10020 DATA 49, 15, 49, 15, 49, 15, 49, 15....etc.
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.          _________________________________________________________________
  2843.          Laughing Dog Screen Maker V1.00 User's Manual                44
  2844.  
  2845.          GWBASIC & QUICKBASIC CODE (as Monochrome)
  2846.  
  2847.               This code represents each line of the screen as a double
  2848.          quotes-delimited string, with any characters that would cause
  2849.          problems, being handled as CHR$(n).  The strings are then just
  2850.          printed to the screen using a PRINT statement.
  2851.  
  2852.          1 REM C:\QC25\BIN\TEST1.BAS
  2853.          2 REM -- Laughing Dog Screen Maker Generic Basic-Code file
  2854.  
  2855.          100 PRINT "This is a line of the screen...."
  2856.          110 PRINT "This line has an unprintable char";ch$(26);"and so on"
  2857.          ...etc
  2858.          ...until the last line of the screen:
  2859.          ...
  2860.          350 lastline$ = "This is the last line ......."
  2861.          1000 REM POKE last line into memory to avoid scrolling screen
  2862.          1010 DEF SEG = &H40
  2863.          1020 IF PEEK(&H49) = 7 THEN DEF SEG = &HB000 ELSE DEF SEG = &HB00
  2864.          1030 REM Color SEG = B800, Mono = B000
  2865.          1040 offset = 3840
  2866.          1050 FOR x = 0 TO 158 STEP 2
  2867.          1060 POKE offset + x, ASC(MID$(lastline$, x / 2 + 1, 1))
  2868.          1070 NEXT x
  2869.          1080 REM Press anykey to end program
  2870.          1090 WHILE INKEY$ = ""
  2871.          1100 WEND
  2872.          1110 CLS
  2873.          1120 END
  2874.  
  2875.          NOTE: When printing screens as ASCII text, QuickBASIC and GWBASIC
  2876.          will not print the following ASCII values as characters correctly:
  2877.               $07, $08, $09, $0A, $0B, $0C, $1B, $1D, $1E, $1F
  2878.          In addition GWBASIC will not print $1A, but QuickBASIC will.
  2879.               In order to prevent crashing your program or messing-up your
  2880.          screens, these ASCII values are filtered out and replaced with
  2881.          spaces.
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.          _________________________________________________________________
  2900.          Laughing Dog Screen Maker V1.00 User's Manual                45
  2901.  
  2902.            10.1.2 BSAVE File Format
  2903.  
  2904.               BLOADing an image of the screen (which has been BSAVEd)
  2905.          directly to video memory is the most efficient way to handle
  2906.          multiple Laughing Dog screens from within a BASIC program, with
  2907.          the downside being that each screen is stored as a separate file.
  2908.          This means that your program now consists of multiple files,
  2909.          rather that just one.
  2910.               The Laughing Dog assumes that the screen will be BLOADed to a
  2911.          color monitor, and therefore internally uses the $B800:0000
  2912.          address as the base of video memory.  This may be overridden by
  2913.          your program by specifying the base address you want to BLOAD to
  2914.          using a DEF SEG statement (usually hB000 for monochrome adapters).
  2915.          The offset is always zero (See your BASIC manual: BSAVE, BLOAD,
  2916.          and DEF SEG).
  2917.               For an example of how to determine which address to use from
  2918.          within your program, see the BASIC code examples above.
  2919.                 If the "Code/Export As Monochrome" menu item is toggled ON
  2920.          at the time of the save, the BSAVE'd file will save all attributes
  2921.          as GRAY on BLACK (flashing attribute is preserved).
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.          _________________________________________________________________
  2957.          Laughing Dog Screen Maker V1.00 User's Manual                46
  2958.  
  2959.  
  2960.            10.1.3 C Code
  2961.  
  2962.          MICROSOFT C & TURBO C CODE (full color)
  2963.  
  2964.               Microsoft C and Turbo C code are the same, with the exception
  2965.          of the _fmemmove() function call in the Microsoft C code which is
  2966.          replaced with the following movedata() function call for Turbo C:
  2967.  
  2968.          movedata(FP_SEG(test_screen),FP_OFF(test_screen),0xB800,0,
  2969.                                        sizeof(test_screen));
  2970.  
  2971.               The array "test_screen[]" is composed of integers.  The MSB
  2972.          is the color attribute and the LSB is the ASCII character at the
  2973.          corresponding screen position.  The program simply moves this
  2974.          block of data directly to the video memory buffer, located at
  2975.          $B800:0000 for color adapters, and $B000:0000 for monochrome
  2976.          adapters.
  2977.  
  2978.          /*
  2979.              C:\QC25\BIN\TEST.C -- Laughing Dog Screen Maker C-Code file
  2980.          */
  2981.  
  2982.          #include <string.h>
  2983.          #include <conio.h>
  2984.          #include <dos.h>
  2985.          void clearscreen(void);
  2986.          union REGS regs;
  2987.  
  2988.          int test_screen[] = {
  2989.  
  2990.               0x7c35, 0x7c36, 0x7c37, 0xf31, 0xf31, 0xf31, 0xf31, 0xf31,
  2991.               etc...
  2992.               0x7c33, 0x7c34, 0x7c35, 0x7c36, 0x7c37, 0x7c38, 0x7c39};
  2993.  
  2994.          main()
  2995.          {
  2996.               int scnBuf
  2997.  
  2998.               regs.h.ah = 15;
  2999.               int86(16,®s,®s); /* Get Video Mode */
  3000.               if(regs.h.al == 7)
  3001.                    scnBuf = 0xB000; /* Mono */
  3002.               else
  3003.                    scnBuf = 0xB800; /* color */
  3004.               clearscreen();
  3005.               _fmemmove((int far*)0xB8000000,(int far*)tst_screen, 
  3006.                              sizeof(tst_screen));
  3007.               getch();
  3008.               clearscreen();
  3009.          }
  3010.  
  3011.  
  3012.  
  3013.          _________________________________________________________________
  3014.          Laughing Dog Screen Maker V1.00 User's Manual                47
  3015.  
  3016.          /* Clears the Screen */
  3017.          void clearscreen(void)
  3018.          {
  3019.               regs.h.ah = 6;
  3020.               regs.h.al = 0;
  3021.               regs.h.bh = 7;
  3022.               regs.h.ch = 0;
  3023.               regs.h.cl = 0;
  3024.               regs.h.dh = 25;
  3025.               regs.h.dl = 80;
  3026.               int86(16,®s,®s);
  3027.          }
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.          _________________________________________________________________
  3071.          Laughing Dog Screen Maker V1.00 User's Manual                48
  3072.  
  3073.          MICROSOFT C & TURBO C CODE (as Monochrome)
  3074.  
  3075.               The code produced for monochrome is the same for both
  3076.          compilers.  Here we write one row of the screen at a time as a
  3077.          simple ASCII string.  The cputs() function is used, as it treats
  3078.          the high-ASCII characters (ASCII codes above 125) as printable
  3079.          characters rather than as control codes.
  3080.               The last row, up to the last character position, is printed
  3081.          using cputs().  The last character must be written directly to
  3082.          video memory to avoid scrolling the screen.
  3083.  
  3084.  
  3085.          /*
  3086.              C:\QC25\BIN\TEST.C -- Laughing Dog Screen Maker C-Code file
  3087.          */
  3088.  
  3089.          #include <conio.h>
  3090.          #include <dos.h>
  3091.          void clearscreen(void);
  3092.          union REGS regs;
  3093.  
  3094.          main()
  3095.          {
  3096.               cputs("This is the first row of the screen.......");
  3097.               cputs("This is the second row of the screen......");
  3098.               ...etc..
  3099.               cputs("Last line: all but the last char printed this way");
  3100.  
  3101.          /* Printing last char this way prevents screen from
  3102.               scrolling up a line
  3103.          */
  3104.               regs.h.bh = 0;      /* video page 0 */
  3105.               regs.h.al = 32;     /* char to print */
  3106.               regs.x.cx = 1;      /* count */
  3107.               regs.h.ah = 10;     /* service 10 */
  3108.               int86(16,®s,®s);  /* interrupt #16 */
  3109.               getch();            /* Wait for a keystroke to end program */
  3110.               clearscreen();
  3111.          }
  3112.  
  3113.          /* Clears the Screen */
  3114.          void clearscreen(void)
  3115.          {    /* See the "MICROSOFT C & TURBO C CODE (full color)" section 
  3116.               above for the body of this function. */
  3117.          }
  3118.  
  3119.          NOTE: When printing screens as ASCII text, the following ASCII
  3120.          values are unprintable as characters using the cputs() function,
  3121.          and will be replaced with spaces:
  3122.                    $07, $08, $0A, $1B
  3123.  
  3124.  
  3125.  
  3126.  
  3127.          _________________________________________________________________
  3128.          Laughing Dog Screen Maker V1.00 User's Manual                49
  3129.  
  3130.            10.1.4 Pascal Code
  3131.  
  3132.               The Laughing Dog Screen Maker produces code which is
  3133.          compatible with Borland's Pascal compilers from version 4.0 on up
  3134.          (it may be compatible with earlier versions or other Pascal
  3135.          compilers, but has not been tested on them).
  3136.  
  3137.  
  3138.          TURBO PASCAL CODE(full color)
  3139.  
  3140.               The Laughing Dog Pascal code uses BIOS interrupt $10,
  3141.          function $13, mode 2; which writes directly to the screen from a
  3142.          buffer of alternating characters and attributes.
  3143.               The last character of the last row must be written separately
  3144.          to avoid scrolling the screen up one line.
  3145.  
  3146.          { C:\TPAS\TEST.PAS -- Laughing Dog Screen Maker Pascal-Code file}
  3147.  
  3148.          PROGRAM test;
  3149.          uses Crt, Dos;
  3150.  
  3151.          VAR
  3152.               ch : char;
  3153.               ScnPos : integer;
  3154.               Regs : Registers;
  3155.  
  3156.          CONST
  3157.               test_Length=25;
  3158.  
  3159.               test_SCREEN : ARRAY [1..4000] OF byte = (
  3160.                    219, 25, 196, 255, 196, 255, 196, 255, 196, 255,
  3161.                    ...etc...
  3162.                    85, 30, 115, 30, 105, 30, 110, 30, 103, 32, 30);
  3163.          BEGIN
  3164.               Regs.AH := $13;     {write chars & attributes to screen}
  3165.               Regs.AL := 3;
  3166.               Regs.BH := 0;       {video page 0}
  3167.               Regs.DX := 0;       {starting at position 0,0}
  3168.               Regs.CX := 1999;    {write all but last ch/attr pair}
  3169.               Regs.ES := DSeg;    {location of ch/attr array}
  3170.               Regs.BP := Ofs(test_SCREEN[1]);
  3171.               Intr($10,Regs);
  3172.           {Must write last char separately, to avoid scrolling screen}
  3173.               Regs.AH := 9;
  3174.               Regs.AL := test_SCREEN[3999];      {get last char}
  3175.               Regs.BH := 0;                      {video page 0}
  3176.               Regs.BL := test_SCREEN[4000];      {get last attr}
  3177.               Regs.CX := 1;                      {1 char only}
  3178.               Intr($10,Regs);
  3179.               read(ch);                          {wait for a keystroke}
  3180.               ClrScr;                            {clear the screen}
  3181.          END
  3182.  
  3183.  
  3184.          _________________________________________________________________
  3185.          Laughing Dog Screen Maker V1.00 User's Manual                50
  3186.  
  3187.  
  3188.          TURBO PASCAL CODE(as Monochrome)
  3189.  
  3190.               This code uses the Pascal procedure write() to write each row
  3191.          of the screen as a string, up to the last character of the last
  3192.          line, which must be written directly to video memory to avoid
  3193.          scrolling the screen up one line.
  3194.  
  3195.          { C:\TPAS\TEST.PAS -- Laughing Dog Screen Maker Pascal-Code file}
  3196.  
  3197.          PROGRAM test;
  3198.          uses Crt, Dos;
  3199.  
  3200.          VAR
  3201.            ch : char;
  3202.            Regs : Registers;
  3203.  
  3204.          BEGIN
  3205.            write('This is the first line...........');
  3206.            write('This is the second line....etc...');
  3207.          ..  etc...
  3208.            write('Last line has all but the last char printed this way');
  3209.  
  3210.          {Must write last char this way to avoid scrolling screen}
  3211.            Regs.AH := $0A; {Set up for calling interrupt $10, service $0A}
  3212.            Regs.AL := 32;        {Char to write}
  3213.            Regs.BH := 0;         {video page 0}
  3214.            Regs.BL := 7;         {color attribute}
  3215.            Regs.CX := 1;         {number chars to write}
  3216.            Intr($10,Regs);       {Write char to current cursor position}
  3217.            read(ch);             {wait for a keystroke}
  3218.            ClrScr;               {clear the screen}
  3219.          END.
  3220.  
  3221.          NOTE: When printing screens as ASCII text, the following ASCII
  3222.          values are unprintable as characters using the write() procedure,
  3223.          and will be replaced with spaces:
  3224.                    $07, $08, $0A, $1A
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.          _________________________________________________________________
  3242.          Laughing Dog Screen Maker V1.00 User's Manual                51
  3243.  
  3244.  
  3245.            10.1.5 Assembly Code
  3246.  
  3247.               The Laughing Dog Screen Maker produces code compatible with
  3248.          the Microsoft Macro Assembler and the Microsoft Quick assembler.
  3249.  
  3250.  
  3251.          MASM ASSEMBLER CODE (full color)
  3252.  
  3253.               The Laughing Dog creates an array of words using the DW
  3254.          directive.  The format is:
  3255.  
  3256.           attribute(MSB)/character(LSB), attribute(MSB)/character(LSB)...
  3257.  
  3258.               Here is the way The Laughing Dog moves the
  3259.          attribute/character data to the screen using the "rep movsw"
  3260.          combination.  There are many other ways to do the same thing,
  3261.          experiment.
  3262.  
  3263.          ; C:\MASM\TEST.ASM
  3264.          ; -- Laughing Dog Screen Maker MASM Assembly-Code file
  3265.  
  3266.  
  3267.          TEST_LENGTH    EQU  2000
  3268.               .MODEL    small
  3269.               .STACK    100h      ;256 byte stack
  3270.  
  3271.               .DATA
  3272.  
  3273.          TEST_SCREEN LABEL WORD
  3274.               DW   0F31H, 0F31H, 0F31H, 0F31H, 0F31H, 0F31H, 0F31H, 0F31H
  3275.                 ...etc...
  3276.               DW   7C33H, 7C34H, 7C35H, 7C36H, 7C37H, 7C38H, 7C39H, 7C30H
  3277.  
  3278.               .CODE
  3279.          ;STARTUP CODE
  3280.               ORG 100h            ;Set up DS, SS and SP Regs.
  3281.               mov dx, @data
  3282.               mov ds, dx
  3283.               mov bx, ss
  3284.               sub bx, dx
  3285.               shl bx, 1
  3286.               shl bx, 1
  3287.               shl bx, 1
  3288.               shl bx, 1
  3289.               cli
  3290.               mov ss, dx
  3291.               add sp, bx
  3292.               sti
  3293.          ;Actual program begins here
  3294.               push es                  ;save es register
  3295.               mov  ah,0fh              ;get current video mode
  3296.  
  3297.  
  3298.          _________________________________________________________________
  3299.          Laughing Dog Screen Maker V1.00 User's Manual                52
  3300.  
  3301.               int  010h
  3302.               cmp  al,7                ;is it a monochrome mode?
  3303.               jz   mono                ;yes
  3304.               mov  ax,0B800h           ;color text video segment
  3305.               jmp  SHORT doit
  3306.          mono:mov  ax, 0B000h          ;monochrome text video segment
  3307.          doit:mov  es,ax
  3308.               mov  es,ax               ; B800 = color, B000 = mono
  3309.               sub  si,si               ;clear source index counter
  3310.               mov  si,offset TEST_SCREEN   ;load destination offset
  3311.               sub  di,di               ;clear destination index counter
  3312.               mov  cx,TEST_LENGTH
  3313.               rep  movsw               ;write to video memory
  3314.               mov  ah,02h              ;hide cursor
  3315.               mov  bh,0                ;assume video page 0
  3316.               mov  dx,1A00h            ;moves cursor past bottom of screen
  3317.               int  010h
  3318.  
  3319.          lup: mov  ah, 01h             ;wait for a keystroke
  3320.               int  016h
  3321.               jz   lup
  3322.               mov  ah,0                ;clear keyboard buffer
  3323.               int016h
  3324.          ;Clear the screen
  3325.               mov  ah, 6               ;function 6 (scroll window up)
  3326.               mov  al, 0               ;blank entire screen
  3327.               mov  bh, 7               ;attribute to use
  3328.               mov  ch, 0               ;starting row
  3329.               mov  cl, 0               ;starting column
  3330.               mov  dh, 25              ;ending row
  3331.               mov  dl, 80              ;ending column
  3332.               int  10h                 ;call interrupt 10h
  3333.               mov  ah,02h              ;puts cursor back where it belongs
  3334.               mov  bh,0                ;assume video page 0
  3335.               mov  dx,0
  3336.               int  010h
  3337.  
  3338.               pop  es                  ;restore es register
  3339.               mov  ax,4c00h            ;DOS exit function w/exit code = 0
  3340.               int  21h
  3341.  
  3342.               END
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.          _________________________________________________________________
  3356.          Laughing Dog Screen Maker V1.00 User's Manual                53
  3357.  
  3358.          MASM ASSEMBLER CODE (as Monochrome)
  3359.  
  3360.               For moving the data to the screen as monochrome, the Dog has
  3361.          defined each row of the screen as a string using the DB directive
  3362.          combined with a double quotes delimited string.  BIOS interrupt
  3363.          $10, function $13, mode 1 (characters only) is then called to
  3364.          write the whole screen up to the last character, which must be
  3365.          written separately to avoid scrolling the screen.
  3366.  
  3367.          ; C:\MASM\TEST.ASM
  3368.          ; -- Laughing Dog Screen Maker MASM Assembly-Code file
  3369.  
  3370.          TEST_LENGTH    EQU  2000
  3371.               .MODEL    small
  3372.               .STACK    100h ;256 byte stack
  3373.               .DATA
  3374.  
  3375.          TEST_SCREEN LABEL WORD
  3376.               DB   "This is the first row, as a string"
  3377.                    ...etc...
  3378.               DB   "This is the last row, up to next to last char"
  3379.  
  3380.               .CODE
  3381.          ;STARTUP CODE
  3382.               ORG  100h           ;Set up DS, SS and SP Regs.
  3383.               mov  dx, @data
  3384.               mov  ds, dx
  3385.               mov  bx, ss
  3386.               sub  bx, dx
  3387.               shl  bx, 1
  3388.               shl  bx, 1
  3389.               shl  bx, 1
  3390.               shl  bx, 1
  3391.               cli
  3392.               mov  ss, dx
  3393.               add  sp, bx
  3394.               sti
  3395.          ;Actual program begins here
  3396.               ;write screen
  3397.               mov  ax,ds          ;make sure ES = DS
  3398.               mov  es,ax
  3399.               mov  ah,13h         ;function 13h (write string)
  3400.               mov  al,1           ;write mode 1, write chars only
  3401.               mov  bl,07h         ;color attribute to use
  3402.               mov  bh,0           ;video page
  3403.               mov  dx,0           ;start a 0,0 position
  3404.               mov  cx,TEST_LENGTH-1
  3405.               mov  bp,OFFSET TEST_SCREEN
  3406.               int  10h            ;do it
  3407.          ; must print last char this way to prevent screen
  3408.          ; scrolling up one line
  3409.               mov  ah, 0Ah        ;function 0Ah
  3410.  
  3411.  
  3412.          _________________________________________________________________
  3413.          Laughing Dog Screen Maker V1.00 User's Manual                54
  3414.  
  3415.               mov  bh, 0          ;page 0
  3416.               mov  al, 32         ;char to print
  3417.               mov  cx, 1          ;count
  3418.               int  10h            ;interrupt 10h
  3419.               mov  ah,02h         ;hide cursor
  3420.               mov  bh,0           ;assume video page 0
  3421.               mov  dx,1A00h       ;moves cursor past bottom of screen
  3422.               int  010h
  3423.  
  3424.               ;wait for a keystroke
  3425.          lup: mov  ah, 1          ;function 1 (read kbd status)
  3426.               int  016h           ;interrupt 16h
  3427.               jz   lup
  3428.               mov  ah,0           ;clear keyboard buffer
  3429.               int  016h
  3430.  
  3431.          ;Clear the screen
  3432.               mov  ah, 6          ;function 6 (scroll window up)
  3433.               mov  al, 0          ;blank entire screen
  3434.               mov  bh, 7          ;attribute to use
  3435.               mov  ch, 0          ;starting row
  3436.               mov  cl, 0          ;starting column
  3437.               mov  dh, 25         ;ending row
  3438.               mov  dl, 80         ;ending column
  3439.               int  10h            ;call interrupt 10h
  3440.  
  3441.               mov  ah,02h         ;puts cursor back where it belongs
  3442.               mov  bh,0           ;assume video page 0
  3443.               mov  dx,0
  3444.               int  010h
  3445.  
  3446.               ;DOS exit function w/exit code = 0
  3447.               mov  ax,4c00h
  3448.               int  21h
  3449.  
  3450.               END
  3451.  
  3452.          NOTE: When printing screens as ASCII text, the following ASCII
  3453.          values are unprintable as characters using interrupt 10h, function
  3454.          13, and will be replaced with spaces:
  3455.                    $07, $08, $0A
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.          _________________________________________________________________
  3470.          Laughing Dog Screen Maker V1.00 User's Manual                55
  3471.  
  3472.  
  3473.          10.2 Other Export File Formats
  3474.  
  3475.               The Laughing Dog Screen Maker can output your screens in a
  3476.          number of file formats:
  3477.  
  3478.               Binary File
  3479.               Executable .COM File
  3480.               ANSI File
  3481.               WildCat! BBS File
  3482.               PCBoard BBS File
  3483.  
  3484.               At this time The Laughing Dog Screen Maker cannot directly
  3485.          import one of these file types.  You should always save a copy of
  3486.          a screen you create in the native .DOG format, in addition to the
  3487.          export format, if you plan on editing or printing it at a later
  3488.          date.
  3489.               If you need to work on a screen that was originally created
  3490.          in one of these, or any other formats; and you don't have a copy
  3491.          of it as a .DOG file, all is not lost.  You can import any text
  3492.          screen into the Laughing Dog Screen Maker by first displaying it
  3493.          from within it's native environment (for instance, 'type' an ANSI
  3494.          file from the DOS prompt, or display a WildCat! file from within
  3495.          the WildCat! BBS software, etc.) and then capture it with the
  3496.          LDOGRAB.EXE utility.
  3497.               The resulting .DOG file can then be loaded into the Laughing
  3498.          Dog Screen Maker using the Load File command.
  3499.  
  3500.          See: "Capturing Screens Form Other Programs With LDOGRAB.EXE" for
  3501.          complete information on capturing screens.
  3502.  
  3503.               An explanation of each export file format, and possible uses
  3504.          of these files follows.
  3505.  
  3506.  
  3507.  
  3508.  
  3509.  
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524.  
  3525.  
  3526.          _________________________________________________________________
  3527.          Laughing Dog Screen Maker V1.00 User's Manual                56
  3528.  
  3529.            10.2.1 BINARY Files
  3530.  
  3531.               This is one of the most versatile forms of output available
  3532.          from the Laughing Dog Screen Maker program.  It is a truly generic
  3533.          record of a screen's contents.  It is, in fact an exact replica of
  3534.          the screen video memory buffer written to a disc file.  The format
  3535.          is simple:
  3536.  
  3537.          | character | attribute | character | attribute |... etc.
  3538.          |   (byte)  |  (byte)   |   (byte)  |  (byte)   |
  3539.  
  3540.               Using the BIN files created by the Laughing Dog, it is
  3541.          possible to open the file and process it or read it directly into
  3542.          the video buffer.
  3543.               Here is an example written in Microsoft C that reads the data
  3544.          from the disk directly to the screen:
  3545.  
  3546.          #include <dos.h>
  3547.          #include <fcntl.h>
  3548.          main()
  3549.          {
  3550.               int fHandle;
  3551.               unsigned count;
  3552.               char far *screen;
  3553.               screen = (char far *)0xb8000000;
  3554.  
  3555.               _dos_open("TEST.BIN",O_RDWR,&fHandle);
  3556.               _dos_read(fHandle,screen,4000,&count);
  3557.               _dos_close(fHandle);
  3558.          }
  3559.  
  3560.               The function _dos_read() is used because it allows for
  3561.          reading the data in from the file directly to a far buffer (a
  3562.          buffer whose segment address is different from the Data Segment).
  3563.               If your language or particular compiler doesn't allow you to
  3564.          read directly to a far buffer, you could read the file into an
  3565.          intermediate near buffer and then use one of the techniques used
  3566.          in the source code generation examples earlier in this chapter to
  3567.          move the data to the screen.
  3568.  
  3569.  
  3570.  
  3571.  
  3572.  
  3573.  
  3574.  
  3575.  
  3576.  
  3577.  
  3578.  
  3579.  
  3580.  
  3581.  
  3582.  
  3583.          _________________________________________________________________
  3584.          Laughing Dog Screen Maker V1.00 User's Manual                57
  3585.  
  3586.            10.2.2 Executable COM Files
  3587.  
  3588.               If you are not a programmer and don't even own a compiler,
  3589.          you can still produce a stand-alone executable program file with
  3590.          the Laughing Dog Screen Maker by choosing the "Executable COM
  3591.          file" item from the Generate Code/Export Menu.
  3592.               The Dog will compile the screen into a file that you can run,
  3593.          just like any other program, by simply typing its name, or calling
  3594.          it from a batch file.
  3595.  
  3596.  
  3597.          Using Laughing Dog COM Files
  3598.  
  3599.               The program generated by the Laughing Dog Screen Maker
  3600.          displays the screen and waits for a key press.  When a key is
  3601.          pressed, the program clears the screen and terminates, returning
  3602.          the scan code value of the key that was pressed as a DOS exit
  3603.          code.
  3604.               This ability to know which key was pressed allows you to
  3605.          create a simple or sophisticated menu system by calling Laughing
  3606.          Dog COM programs from a batch file and interpreting the user's
  3607.          response using the DOS "IF ERRORLEVEL" batch processing command.
  3608.               You can, for instance, write a batch file to display a screen
  3609.          looking something like this:
  3610.  
  3611.          Choose One:
  3612.               1. Run Word-Processor
  3613.               2. Run Spreadsheet
  3614.               3. Back-up Hard Drive
  3615.               4. Format a Disc
  3616.               5. Play a Game
  3617.               6. Quit
  3618.  
  3619.               The user then types in the number for the selection he wants
  3620.          and the COM program returns a code for the key pressed.
  3621.               By looking at this code, the batch file can branch to a
  3622.          command to run the requested program, or to an error screen if the
  3623.          user typed something other than the requested <1-6> keys.
  3624.               With a little work, you could even simulate a moving bar
  3625.          highlight, highlighting each selection as the <arrow> keys are
  3626.          pressed, waiting for the <enter> key before performing the
  3627.          indicated action.  The possibilities are limited only by your
  3628.          imagination.
  3629.               In order to utilize the input from the keyboard, you need to
  3630.          have a working knowledge of two things:
  3631.  
  3632.               1. Keyboard Scan Codes--the unique code returned by the COM
  3633.                 program which will indicate exactly which key was pressed
  3634.                 to exit the screen.
  3635.  
  3636.               2. DOS exit code processing using the "IF ERRORLEVEL" batch
  3637.                 file statement.  This is the mechanism the Laughing Dog
  3638.  
  3639.  
  3640.          _________________________________________________________________
  3641.          Laughing Dog Screen Maker V1.00 User's Manual                58
  3642.  
  3643.                 COM files use to tell your batch program which key was
  3644.                 pressed.
  3645.  
  3646.  
  3647.          Here is how it works:
  3648.  
  3649.               Every program you run returns an exit code.  This code may
  3650.          have a special purpose, or be meaningless, depending on the
  3651.          program.  The COM programs produced by the Laughing Dog Screen
  3652.          Maker require the user to press a key to remove the screen from
  3653.          the display and exit the program.  The scan code for the key
  3654.          pressed is returned via the exit code mechanism of DOS.
  3655.               These exit codes can be intercepted in a batch file by using
  3656.          the "IF ERRORLEVEL" statement.  If you are looking for a specific
  3657.          code, and all other codes are to be ignored, you can have a line
  3658.          in your batch file like this:
  3659.  
  3660.               IF ERRORLEVEL 1 GOTO DOSOMETHING
  3661.  
  3662.               In this case, if the exit code was 1, the batch file would
  3663.          branch to the label :DOSOMETHING, and continue from there.
  3664.          Otherwise it would just continue from the next line after the "IF
  3665.          ERRORLEVEL...." line.
  3666.               If there are several different exit codes you wish to parse,
  3667.          and perform a different action depending on the specific code, you
  3668.          would need something like this in your batch file:
  3669.  
  3670.               IF ERRORLEVEL 4 GOTO DO3
  3671.               IF ERRORLEVEL 3 GOTO DO2
  3672.               IF ERRORLEVEL 2 GOTO DO1
  3673.  
  3674.               There are a few important things to note about the example
  3675.          above.  One is that the words: "DO1", "DO2", and "DO3" refer to
  3676.          what is known as a "Label" in a batch file.  A label is a word,
  3677.          whose first character is a colon, which marks a location in a
  3678.          batch file (the colon is mandatory as the first character of the
  3679.          label at the location it is marking in the batch file, but is
  3680.          optional when referencing that location, as in the GOTOs above).
  3681.               That location can be used as a destination for a GOTO
  3682.          command, allowing for some very sophisticated branching within
  3683.          batch files. For instance, the ":DO3" label is the destination for
  3684.          the first GOTO command in the lines above.
  3685.               The second thing to note about the above batch file excerpt
  3686.          is that the parsing of the ERRORLEVELs must always be in
  3687.          descending order.  That is, you must always check for the highest
  3688.          meaningful exit code values first.  Then look for each smaller
  3689.          one, in turn.
  3690.               If you don't get a match, the batch file just continues
  3691.          executing (falls through to) the next line after the last IF
  3692.          ERRORLEVEL line.  It's actually a little more complicated than
  3693.          that, but we will get to that later.
  3694.  
  3695.  
  3696.  
  3697.          _________________________________________________________________
  3698.          Laughing Dog Screen Maker V1.00 User's Manual                59
  3699.  
  3700.               To better understand this concept, here is a more complete
  3701.          example of a batch file using several Laughing Dog COM files.  In
  3702.          this example, the file BDEMO.COM will present the user with a
  3703.          beautiful screen asking him/her to choose one of three programs,
  3704.          or to quit.  Here is a list of the keys we will ask the user to
  3705.          press, the codes that correspond to those keys, and the action we
  3706.          will take if that key is pressed:
  3707.  
  3708.           KEY     CODE      ACTION
  3709.          -----------------------------------------------------
  3710.           "1"      02      run the program called choice1
  3711.           "2"      03      run the program called choice2
  3712.           "3"      04      run the program called choice3
  3713.           "Q"      16      Quit, exit the batch program
  3714.          any other key     continue displaying the menu screen
  3715.  
  3716.  
  3717.               Here is the batch file written that does what was described
  3718.          above.  Trace through it using the different keys as inputs, and
  3719.          see if you can understand the flow:
  3720.  
  3721.               REM ----------beginning of batch file----------
  3722.               echo off
  3723.               :TOP
  3724.               bdemo
  3725.  
  3726.               IF ERRORLEVEL 17 GOTO TOP
  3727.               IF ERRORLEVEL 16 GOTO END
  3728.               IF ERRORLEVEL 5 GOTO TOP
  3729.               IF ERRORLEVEL 4 GOTO DO3
  3730.               IF ERRORLEVEL 3 GOTO DO2
  3731.               IF ERRORLEVEL 2 GOTO DO1
  3732.               GOTO TOP
  3733.  
  3734.               :DO1
  3735.               choice1
  3736.               goto TOP
  3737.  
  3738.               :DO2
  3739.               choice2
  3740.               goto TOP
  3741.  
  3742.               :DO3
  3743.               choice3
  3744.               goto TOP
  3745.  
  3746.               :END
  3747.               ECHO You pushed "Q" to quit
  3748.               REM ---------------end of batch file-------------
  3749.  
  3750.               First the Laughing Dog generated program "BDEMO.COM" is run.
  3751.          It waits for a keystroke from the user.  When the user presses a
  3752.  
  3753.  
  3754.          _________________________________________________________________
  3755.          Laughing Dog Screen Maker V1.00 User's Manual                60
  3756.  
  3757.          key, we compare it to the code for the "Q" key.  If it matches the
  3758.          code for "Q", we branch to the label ":END", which prints the
  3759.          message: "You pushed 'Q' to quit."  It then exits the batch file,
  3760.          and returns to the DOS prompt.
  3761.               If it wasn't a "Q" we compare the exit code to the code for
  3762.          the "3" key.  If it is a "3" we branch to the ":DO3" label and
  3763.          execute the program called "choice3".  After choice3 is finished,
  3764.          we go back to the label ":TOP" and redisplay our menu screen and
  3765.          wait for another key press.
  3766.               If it wasn't a "3", we compare the exit code to the code for
  3767.          "2".  If it matches, we branch to  the ":DO2" label and execute
  3768.          the program called "choice2", etc.
  3769.  
  3770.               There is one more thing about the IF ERRORLEVEL command that
  3771.          we need to understand, as illustrated in the above batch file.
  3772.          The IF is not simply testing for equality, it's a little more
  3773.          complicated that.  For example, the above line: "IF ERRORLEVEL X
  3774.          Y" really means:
  3775.  
  3776.          "IF the exit code is greater than or equal to X --AND-- less than
  3777.          the last exit code examined with the preceding 'IF ERRORLEVEL'
  3778.          command, THEN do Y, OTHERWISE go on to the next line."
  3779.  
  3780.               This is NOT explained in your DOS manual, and is kind of hard
  3781.          to understand the first time around.
  3782.  
  3783.               Let's examine the section of the batch file above that parses
  3784.          the exit codes, line by line, to better understand why it is
  3785.          written the way it is:
  3786.  
  3787.          IF ERRORLEVEL 17 GOTO TOP     This line is here to protect our
  3788.                                        batch file from executing the GOTO
  3789.                                        END command whenever an exit code is
  3790.                                        encountered that is above 16 (the
  3791.                                        code for the "Q" key).  Any exit
  3792.                                        code for a key greater than or equal
  3793.                                        to 17 will send us back to the label
  3794.                                        ":TOP"
  3795.  
  3796.          IF ERRORLEVEL 16 GOTO END     This is the line that actually looks
  3797.                                        for the "Q" key.  If the exit code
  3798.                                        matches the code for "Q" (16) we
  3799.                                        branch to the label ":END,"
  3800.                                        otherwise we fall through to the
  3801.                                        next line.
  3802.  
  3803.          IF ERRORLEVEL 5 GOTO TOP      This is another protection line.  It
  3804.                                        insures that exit codes between 16
  3805.                                        and 4 will branch to the label
  3806.                                        ":TOP"  Codes less than 5 cause us
  3807.                                        to fall through to the next line.
  3808.  
  3809.  
  3810.  
  3811.          _________________________________________________________________
  3812.          Laughing Dog Screen Maker V1.00 User's Manual                61
  3813.  
  3814.          IF ERRORLEVEL 4 GOTO DO3      Here is the line that looks for the
  3815.                                        code for the key "3".  If the exit
  3816.                                        code matches the code for the "3"
  3817.                                        key, we branch to the label ":DO3,"
  3818.                                        otherwise we fall through to the
  3819.                                        next line.
  3820.  
  3821.          IF ERRORLEVEL 3 GOTO DO2      Since there are not any other codes
  3822.                                        we need to protect against between 4
  3823.                                        and 3, we don't need any protection
  3824.                                        lines, and are able to immediately
  3825.                                        look for the next lower exit code
  3826.                                        value, which is 3 (the code for the
  3827.                                        "2" key).  If the exit code matches
  3828.                                        the code for the "2" key (3), we
  3829.                                        branch to the label ":DO2,"
  3830.                                        otherwise we fall through to the
  3831.                                        next line.
  3832.  
  3833.          IF ERRORLEVEL 2 GOTO DO1      Same explanation as preceding line
  3834.  
  3835.          GOTO TOP                      If none of the above conditions are
  3836.                                        satisfied, we fall through to this
  3837.                                        line, where we branch to the label
  3838.                                        :TOP
  3839.  
  3840.               The moral of the story is: Always parse exit codes in
  3841.          descending order and remember that it is easier to parse
  3842.          consecutive exit codes (6,5,4,3,2,1, etc.) than it is to parse
  3843.          codes separated by intermediate values.  If you do need to parse
  3844.          non-consecutive code values you need to "bracket" the IF
  3845.          ERRORLEVEL statement lines with lines that will let you capture
  3846.          the "unwanted" codes and decide what happens when those situations
  3847.          occur.
  3848.  
  3849.          NOTE: When you register, you will receive the above batch file
  3850.          called "TEST.BAT" plus screen files: "BDEMO", "CHOICE1", "CHOICE2"
  3851.          and "CHOICE3" (for producing COM files for use with this demo).
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.          _________________________________________________________________
  3869.          Laughing Dog Screen Maker V1.00 User's Manual                62
  3870.  
  3871.                                   Keyboard Scan Codes
  3872.          Scan codes identify the actual key pressed, and are distinct from
  3873.          the ASCII character produced when that key is pressed.  For
  3874.          instance, an upper case "A" and a lower case "a" have different
  3875.          ASCII codes, but they share the same scan code, since the same key
  3876.          is pressed in order to produce either character.
  3877.               This is pretty easy to understand with the alphabetic
  3878.          characters, it gets a little more tricky with the numeric keys.
  3879.          Consider a 102-key AT-style keyboard which has two separate keys
  3880.          for each number, the top row of the normal keyboard, and the
  3881.          numeric keypad on the right hand side of the keyboard! The number
  3882.          "1" from the top row of the keyboard has a different scan code
  3883.          from the "1" on the numeric keypad.  Suffice it to say that with
  3884.          scan codes, we are actually referring to the PHYSICAL key pressed,
  3885.          not to its LOGICAL character value.
  3886.           key     scan code      key     scan code       key     scan code
  3887.          -------------------    -------------------     ------------------
  3888.          Alpha keys:            Top Row Numeric:        Function Keys:
  3889.          a A.........30         1 !.........2           F1..........59
  3890.          b B.........48         2 @.........3           F2..........60
  3891.          c C.........46         3 #.........4           F3..........61
  3892.          d D.........32         4 $.........5           F4..........62
  3893.          e E.........18         5 %.........6           F5..........63
  3894.          f F.........33         6 ^.........7           F6..........64
  3895.          g G.........34         7 &.........8           F7..........65
  3896.          h H.........35         8 *.........9           F8..........66
  3897.          i I.........23         9 (.........10          F9..........67
  3898.          j J.........36         0 ).........11          F10.........68
  3899.          k K.........37         _ -.........12        Inverted T:
  3900.          l L.........38         = +.........13          UpArrow.....72
  3901.          m M.........50       Keypad Numerics:          DnArrow.....80
  3902.          n N.........49         1 End.......79          LtArrow.....75
  3903.          o O.........24         2 DnArrow...80          RtArrow.....77
  3904.          p P.........25         3 PgDn......81        Discrete whatevers:
  3905.          q Q.........16         4 LtArrow...75          Insert......82
  3906.          r R.........19         5...........76          Delete......83
  3907.          s S.........31         6 RtArrow...77          Home........71
  3908.          t T.........20         7 Home......71          End.........79
  3909.          u U.........22         8 UpArrow...72          PgUp........73
  3910.          v V.........47         9 PgUp......73          PgDn........81
  3911.          w W.........17         0 Insert....82        Other Keys:
  3912.          x X.........45         . Delete....83          Esc.........1
  3913.          y Y.........21         *...........55          Tab.........15
  3914.          z Z.........44         -...........74          L-Cntl......29
  3915.          [ {.........26         +...........78          R-Cntl......29
  3916.          ] }.........27                                 L-Shift.....42
  3917.          ; :.........39                                 R-Shift.....54
  3918.          ' ".........40                                 L-Alt.......56
  3919.          , <.........51                                 R-Alt.......38
  3920.          / ?.........53                                 BackSpace...14
  3921.          ` ~.........41                                 Enter.......28
  3922.          \ |.........43                                 Spacebar....57
  3923.  
  3924.  
  3925.          _________________________________________________________________
  3926.          Laughing Dog Screen Maker V1.00 User's Manual                63
  3927.  
  3928.            10.2.3 ANSI Files
  3929.  
  3930.               Another way of saving and displaying your screens is to use
  3931.          commands in the form of ANSI "escape sequences."  These escape
  3932.          sequences, or ANSI graphics commands, are particularly well suited
  3933.          for use on BBS's to add color to title screens, menus, and
  3934.          messages.
  3935.  
  3936.          
  3937.          ANSI File Options
  3938.  
  3939.               When you choose "ANSI File" from the Generate Code/Export
  3940.          Menu, the ANSI Menu will pop up.  Use the ANSI Menu to set the
  3941.          following ANSI file options and then create the file:
  3942.  
  3943.  
  3944.          SET LAST SCREEN ROW
  3945.  
  3946.                To save less than the full screen to the file select "Set
  3947.          Last Screen Row" from the ANSI Options Menu.  A dialog box will
  3948.          pop up.  Set the last screen row using the <up/down> arrow keys or
  3949.          by clicking on the up or down arrows in the dialog box
  3950.               The row numbers correspond to the y-coordinates displayed in
  3951.          the Status Box, a 25 line screen begins at row 0, and the last row
  3952.          is 24.
  3953.  
  3954.  
  3955.          PRODUCE COMPACT FILE
  3956.  
  3957.               When set to ON, this produces a file that is one long string
  3958.          of ANSI commands, with no line breaks.  The default, "Produce
  3959.          Compact File" OFF, will generate a file in which each line of the
  3960.          file is 70 characters or less in length.  This helps if you intend
  3961.          to go in and view or edit the resulting file with a text viewer or
  3962.          editor that may not be able to handle the longer line lengths.
  3963.               Short line lengths are also necessary if you are planning to
  3964.          upload your ANSI artwork to the message section of a BBS.  Many of
  3965.          the BBS line editors into which you would be transferring your
  3966.          file will not handle unbroken lines, and require carriage returns
  3967.          before the line wraps at 80 characters.
  3968.  
  3969.          NOTE: To insure that your file will upload into a BBS line editor,
  3970.          DO NOT save a full screen.  The last line in a full screen (Row
  3971.          24) cannot be broken up, so even when "Produce Compact File" is
  3972.          set to OFF, the last line in a screen will be as long as is
  3973.          necessary to hold all of the text and ANSI escape sequences.
  3974.  
  3975.               If the "Code/Export As Monochrome" toggle on the Generate
  3976.          Code/Export Menu set to ON, the screen will be saved using one
  3977.          color only (Light Gray on Black).  Any flashing attributes will be
  3978.          preserved.
  3979.               ANSI Files are saved with the ANS extension.
  3980.  
  3981.  
  3982.          _________________________________________________________________
  3983.          Laughing Dog Screen Maker V1.00 User's Manual                64
  3984.  
  3985.          Displaying an ANSI File
  3986.  
  3987.               The computer displaying these ANSI screens must have the
  3988.          ANSI.SYS device driver installed.  Check the CONFIG.SYS file for a
  3989.          line like this:
  3990.  
  3991.               DEVICE=C:\DOS\ANSI.SYS
  3992.  
  3993.               If this is not present, you must add it to the CONFIG.SYS
  3994.          file, specifying the actual path where the ANSI.SYS file is
  3995.          located.  Reboot the system to activate the ANSI.SYS driver.
  3996.  
  3997.               To display an ANSI screen on a system having the ANSI.SYS
  3998.          driver installed use the DOS "type" command:
  3999.  
  4000.                         TYPE filename.ANS
  4001.  
  4002.  
  4003.          Displaying a Full Screen ANSI File
  4004.  
  4005.               Normally, a full 25 line ANSI screen file when typed (using
  4006.          the DOS "type" command), will scroll up one extra row when the DOS
  4007.          prompt appears at the bottom of the screen at the end of the file.
  4008.               A full screen ANSI file produced by the Laughing Dog Screen
  4009.          Maker contains a little bit of ANSI magic that will allow you to
  4010.          display a full ANSI screen without scrolling.
  4011.               In order to take advantage of this feature you need to type
  4012.          the ANSI file from a batch file which "nulls out" the prompt
  4013.          temporarily.
  4014.               Here is a batch file you can use to display any full screen
  4015.          ANSI file produced by the Laughing Dog Screen Maker without
  4016.          scrolling:
  4017.  
  4018.               echo off
  4019.               type %1
  4020.               pause>nul
  4021.  
  4022.               Create this batch file and name it "ANS.BAT".  To display a
  4023.          full-screen ANSI file type:
  4024.  
  4025.                    ANS YOURFILE.ANS
  4026.  
  4027.               This will display the ANSI file called "YOURFILE.ANS," wait
  4028.          for a keystroke, and return to the DOS prompt.
  4029.  
  4030.               For more information on ANSI graphics, consult your DOS
  4031.          manual <Grin>.
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.          _________________________________________________________________
  4040.          Laughing Dog Screen Maker V1.00 User's Manual                65
  4041.  
  4042.            10.2.4 WildCat! & PCBoard BBS Files
  4043.  
  4044.               WildCat! BBS files are used by Mustang Software's WildCat!
  4045.          BBS System Software, and PCBoard BBS files are used by Clark
  4046.          Development Company's PCBoard BBS Software.  They allow sysops to
  4047.          save screens in a single format for presentation to both callers
  4048.          who desire ANSI graphics, and those who don't.
  4049.               Although the actual color code format is slightly different
  4050.          for each program, everything else about the way the Laughing Dog
  4051.          Screen Maker handles these two export files is the same, so they
  4052.          will be discussed together in this section.
  4053.                As with ANSI files, you can choose to save less than the
  4054.          full screen to the file.  This comes in handy when you need to
  4055.          allow room for other text or the BBS status line at the bottom of
  4056.          the screen.
  4057.               When you choose the WildCat! or PCBoard BBS selection from
  4058.          the Generate Code/Export Menu, a dialog box will pop up.  Set the
  4059.          last screen row using the <up/down> arrow keys or by clicking on
  4060.          the up or down arrows in the dialog box (row numbers correspond to
  4061.          the y-coordinates displayed in the Status Box, a 25 line screen
  4062.          begins at row 0 and ends at row 24).
  4063.               Your screen will be saved using WildCat! or PCBoard @Color
  4064.          Codes.  WildCat! BBS files are saved with the extension "BBS" and
  4065.          PCBoard files are saved with the extension "PCB."
  4066.               At this time, the Laughing Dog Screen Maker does not support
  4067.          automatic insertion of system info. and user info. macros such as
  4068.          @TIME@, @LASTCALL@, @USER@, etc.  You can, however, insert these
  4069.          macro codes manually, by typing them into the screen at the
  4070.          desired position.
  4071.               Keep in mind the field lengths of the resulting data which
  4072.          will be inserted into the final user screens, and allow for this
  4073.          with blanks in your screen design.
  4074.               Also, take care not to change colors within a macro string,
  4075.          as this will insert a color code in the middle of the macro,
  4076.          corrupting the macro.
  4077.  
  4078.          NOTE: The color code $OO has a special meaning to PCBoard and
  4079.          WildCat! and $FF has a special meaning to PCBoard, so will not be
  4080.          interpreted as colors.
  4081.               For this reason, characters with attributes having the value:
  4082.          $00 (black on black) will be converted to space characters with an
  4083.          attribute value of $0F (white on black) for both file formats, and
  4084.          attributes having the value of $FF (blinking white on lightgrey)
  4085.          will be changed to $7F (non-blinking white on lightgrey) for
  4086.          PCBoard files.
  4087.  
  4088.          A SPECIAL NOTE TO SYSOPS: If you have any comments or suggestions
  4089.          for ways that Yardbird Software could better serve your particular
  4090.          needs, please drop us a line or give us a call.  Our experience
  4091.          with BBS software admittedly is very limited, so we need your
  4092.          input in order to reach our goal of making the Laughing Dog Screen
  4093.          Maker the ultimate screen design tool for BBS sysops.
  4094.  
  4095.  
  4096.          _________________________________________________________________
  4097.          Laughing Dog Screen Maker V1.00 User's Manual                66
  4098.  
  4099.  
  4100.          10.3 Printing Screens
  4101.  
  4102.               Printouts of your screens may be useful as worksheets when
  4103.          developing screens, or for inclusion in printed documentation.  
  4104.               The printer types supported by this version of the Laughing
  4105.          Dog Screen Maker are:
  4106.  
  4107.                    Epson Dot Matrix
  4108.                    HP LaserJet
  4109.                    PostScript
  4110.  
  4111.               Epson-compatible and HP LaserJet-compatible printers will
  4112.          produce very nice printouts of your screens, suitable for
  4113.          inclusion in manuals, program documentation, or presentations.
  4114.          PostScript devices will produce stunning photo-like reproductions
  4115.          of your screens suitable for framing! (or certainly suitable for
  4116.          producing professionally typeset manuals.)
  4117.               The Laughing Dog Screen Maker assumes that you are printing
  4118.          to the LPT1: or PRN: device.  If you have a serial printer you
  4119.          need to tell DOS about this, either from the command line, or in
  4120.          your AUTOEXEC.BAT file using the DOS command "mode."
  4121.               Here is an example for redirecting printer output COM1:
  4122.  
  4123.                    MODE LPT1: = COM1:
  4124.  
  4125.  
  4126.            10.3.1 Setting the Printer Options
  4127.  
  4128.               Before attempting a print out, be sure to go to the Printer
  4129.          Setup Menu (available from the Print Screen Menu or the Options
  4130.          Menu) and select your printer type and set up the formatting
  4131.          options.
  4132.               You may also choose to send the printer output to a file for
  4133.          printing later.  The options you select may be preserved as the
  4134.          start-up defaults by selecting "Save Options" from the Options
  4135.          Menu after completing your setup.
  4136.               The options available to you in the Printer Setup Menu are as
  4137.          follows:
  4138.  
  4139.               PRINT TO FILE
  4140.               PRINT SCREEN BORDER
  4141.               PRINT COORDINATE SCALE
  4142.               PRINT SCREEN IN CONDENSED MODE
  4143.               PRINT SCREEN IN LANDSCAPE ORIENTATION
  4144.               SELECT PRINTER TYPE
  4145.          Special Postscript Options:
  4146.               DOWNLOAD FONT NOW / WRITE FONT FILE
  4147.               EPS FORMAT: COMPLETE (INCLUDING FONT)
  4148.               EPS FORMAT: NO FONT (FONT ALREADY DOWNLOADED)
  4149.  
  4150.               You may need to experiment with the different formatting
  4151.          options, to produce the most pleasing output from your particular
  4152.  
  4153.          _________________________________________________________________
  4154.          Laughing Dog Screen Maker V1.00 User's Manual                67
  4155.  
  4156.          printer.  For instance, you may need to print the screen in
  4157.          "Condensed" mode in order to have room to include a border or a
  4158.          coordinate scale, or using Landscape orientation might give you
  4159.          the best results when producing overhead transparencies, etc.
  4160.               Play around until you find the correct setup for your printer
  4161.          and the job at hand.
  4162.               See "Printer Setup Menu" in the Laughing Dog Menus section of
  4163.          the manual for a complete description of each option.
  4164.  
  4165.  
  4166.  
  4167.            10.3.2 Laughing Dog's PostScript Output
  4168.  
  4169.               PostScript printer output offers the most accurate rendition
  4170.          of your Laughing Dog screens, and should be used whenever
  4171.          possible.
  4172.               The Laughing Dog Screen Maker will output directly to a
  4173.          PostScript printer connected to your printer port (the device
  4174.          selected as PRN:, default = LPT1:) or, if the "Print To File"
  4175.          selection of the Printer setup Menu is toggled ON, to an
  4176.          Encapsulated PostScript (EPS) file.
  4177.               A custom, EGA/VGA look-alike font is downloaded to the
  4178.          PostScript device and the color attributes are represented as
  4179.          discrete gray scale values, producing a stunningly accurate "snap-
  4180.          shot" of your screen.
  4181.               An EPS file is, by its very nature, completely device
  4182.          independent, and may be imported into any program that accepts
  4183.          PostScript input (such as any PostScript compatible desktop
  4184.          publishing, draw, or paint program).
  4185.               The image of the screen may be manipulated (scaled, rotated,
  4186.          stretched, etc.) to suit your needs without losing any resolution.
  4187.          In fact, the resolution of PostScript images gets BETTER the
  4188.          larger it is scaled!
  4189.               If you are producing professional typeset quality
  4190.          documentation, or wish to, Laughing Dog EPS files are the only way
  4191.          to go.
  4192.               Registered users will receive a bound manual containing
  4193.          numerous examples of the PostScript output of this program.  You
  4194.          may also send Yardbird Software a Self Addressed Stamped Envelope
  4195.          and ask to be sent a sample PostScript printout if you need
  4196.          convincing!
  4197.  
  4198.  
  4199.          About the Special PostScript Options
  4200.  
  4201.               Printing a screen on a PostScript printer can take a long
  4202.          time (about 90 seconds on an HP LaserJet IIP w/HP PostScript
  4203.          cartridge) due to the fact that a special font is be downloaded to
  4204.          the printer each time a screen is printed.
  4205.               If you are just doing one printout, there is no way around
  4206.          this.  However, if you intend to do several screen printouts, the
  4207.          Special PostScript Options offer a way to cut down on this time.
  4208.  
  4209.  
  4210.          _________________________________________________________________
  4211.          Laughing Dog Screen Maker V1.00 User's Manual                68
  4212.  
  4213.               It is possible to do a "persistent download" of the font
  4214.          prior to printing any screens and avoid having to download the
  4215.          font with each job.  This means that once the font is downloaded
  4216.          to the printer, it will remain in memory for as long as the
  4217.          printer remains turned on, and is not reset.
  4218.  
  4219.  
  4220.  
  4221.          The PostScript Special Options
  4222.  
  4223.               The following options only apply to PostScript output.  They
  4224.          have no effect on the other types of printer output.
  4225.  
  4226.  
  4227.            DOWNLOAD FONT NOW / WRITE FONT FILE
  4228.  
  4229.               Choose the "Download Font Now" item from the Printer Setup
  4230.          Menu to do a persistent download of the Laughing Dog EGA/VGA look-
  4231.          alike font.
  4232.               If the "Print To File" option is ON, a file called
  4233.          "LDOGFONT.PS" is created in the current data directory.
  4234.               This file may be sent to your printer prior to printing a
  4235.          Laughing Dog PostScript screen using the DOS copy command:
  4236.  
  4237.                    "COPY LDOGFONT.PS LPT1:"
  4238.  
  4239.  
  4240.  
  4241.            EPS FORMAT: COMPLETE (INCLUDING FONT)
  4242.  
  4243.               This is the default setting.  The special, EGA/VGA look-alike
  4244.          font is downloaded with each job, and does not remain resident in
  4245.          the printer.  Once the screen is printed, the font is removed from
  4246.          printer memory.
  4247.               When the "Print To File" option is ON, the EPS files
  4248.          generated will be true EPS, meaning that they will contain all of
  4249.          the information needed by another application to import them.
  4250.  
  4251.  
  4252.            EPS FORMAT: NO FONT (FONT ALREADY DOWNLOADED)
  4253.  
  4254.               Only use this option if the special, EGA/VGA look-alike font
  4255.          has already been downloaded to the printer.  Screens will print
  4256.          MUCH faster this way, since the font does not have to be
  4257.          downloaded with each job.
  4258.               When the "Print To File" option is ON, the EPS files produced
  4259.          will be much smaller, due to the fact that the font is not
  4260.          included.  Just be sure that the font is sent to the printer prior
  4261.          to printing a file produced with this option ON.
  4262.  
  4263.          NOTE: Technically, the files created with this option set to ON
  4264.          are not TRUE Encapsulated PostScript files.  In order for a file
  4265.  
  4266.  
  4267.          _________________________________________________________________
  4268.          Laughing Dog Screen Maker V1.00 User's Manual                69
  4269.  
  4270.          to be true EPS, it must, among other things, contain EVERYTHING,
  4271.          including special fonts, necessary to produce the image.
  4272.  
  4273.  
  4274.            Additional PS Notes
  4275.  
  4276.          1.) The EPS files generated by the Laughing Dog Screen Maker do
  4277.            not contain a bitmap image of the screen so when you import
  4278.            them into other applications, you will most likely just see the
  4279.            bounding box as a place holder for the actual image.
  4280.               This is normal.  The actual screen image will print when you
  4281.            print the document containing the Laughing Dog EPS images.
  4282.  
  4283.          2.) The special, EGA/VGA look-alike font program is the
  4284.            copyrighted property of Yardbird Software (Jeff Sloan).  Only
  4285.            registered users of the Laughing Dog Screen Maker may legally
  4286.            use this font for printing anything other than Laughing Dog
  4287.            screens.
  4288.               Anyone using this font for Laughing Dog Screens, or anything
  4289.            else, must leave the font file header intact, including the
  4290.            copyright notice.
  4291.  
  4292.          3.)  The printed version of this manual has numerous screen-shot
  4293.            illustrations generated by the Laughing Dog as EPS files.
  4294.               It was created entirely using Microsoft Word For Windows
  4295.            V2.0.  The EPS files were saved without the font information to
  4296.            save on space.  The LDOGFONT.PS file was sent to the printer
  4297.            prior to printing anything, and remained resident.  EPS files
  4298.            were inserted into the manual using W4W's Insert Picture
  4299.            command.  The images, which showed up as a gray box, were then
  4300.            repositioned, scaled, and cropped as necessary.
  4301.               The process will be similar for any other word processor or
  4302.            desktop publishing program that accepts PostScript graphics.
  4303.            It's simple and the results are fantastic!  (Register, and
  4304.            you'll get the manual so you can see for yourself!)
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.          _________________________________________________________________
  4325.          Laughing Dog Screen Maker V1.00 User's Manual                70
  4326.  
  4327.  
  4328.  
  4329.          11. The Laughing Dog Menus
  4330.  
  4331.               The following section briefly describes each of the major
  4332.          menu structures of the Laughing Dog Screen Maker program and gives
  4333.          a brief explanation of the items on each of the menus.
  4334.               Most menu items, when selected, will immediately perform some
  4335.          function like Quit, Save a File, etc.
  4336.               Some menu items, however, represent some parameter which is
  4337.          used by another menu function.  These menu selections will
  4338.          alternately "toggle" the condition or parameter ON or OFF.  An
  4339.          example of this is the "Enable Undo" toggle in the Options Menu.
  4340.          When a toggle is ON, a check mark will appear immediately to the
  4341.          left of the menu item, when OFF, there will be nothing there.
  4342.               Most of this information is available in the on-line help
  4343.          system.  To access on-line help for a menu item, place the menu
  4344.          highlight on the item of interest and press the <F1> key.
  4345.  
  4346.  
  4347.          11.1 The MAIN MENU
  4348.  
  4349.               The Main Menu is accessed by pressing the <F2> key OR by
  4350.          clicking the right mouse button anywhere in the drawing area of
  4351.          the screen.  The menu contains the following items:
  4352.  
  4353.               New Screen...
  4354.               Load Screen...
  4355.               Save Screen...
  4356.               DOS Shell
  4357.               Change Data Directory...
  4358.               Options...
  4359.               UNDO!
  4360.               Select Block
  4361.               Draw Line
  4362.               Paste from File
  4363.               Pick up Attribute @Curs.
  4364.               Pick up Character @Curs.
  4365.               Generate Source Code...
  4366.               Print Screen...
  4367.               Hide/Show Status Box
  4368.               Registration Info...
  4369.               Quit Program
  4370.  
  4371.          HINT: an ellipsis ( ... ) next to a menu item indicates that
  4372.          selecting that item invokes another menu or a dialog box.
  4373.  
  4374.  
  4375.          NEW SCREEN
  4376.            This selection gives you the option to save the current screen
  4377.            (if needed) and start a new one.  You will be presented with a
  4378.            menu offering the following choices for clearing the screen.
  4379.  
  4380.  
  4381.          _________________________________________________________________
  4382.          Laughing Dog Screen Maker V1.00 User's Manual                71
  4383.  
  4384.  
  4385.            11.1.1 The NEW SCREEN MENU
  4386.                 This menu allows you to initialize the screen in a number
  4387.               of ways.
  4388.  
  4389.               CLEAR TO BLACK
  4390.                 This will clear the screen to black.  All text or special
  4391.                 characters will be wiped out.
  4392.  
  4393.               CLEAR TO CURRENT COLOR
  4394.                 This will clear the screen to the currently selected color
  4395.                 attribute (see: Selecting a Color Attribute).  All text or
  4396.                 special characters will be wiped out.
  4397.  
  4398.               CLEAR & FILL WITH CURRENT COLOR AND CHARACTER
  4399.                 This will clear the screen to the current color, and fill
  4400.                 the screen with the currently selected special character.
  4401.  
  4402.               CHANGE CURRENT COLOR ATTRIBUTE
  4403.                 This will activate the Color Attribute Selection Box,
  4404.                 allowing you to change colors without exiting the menu.
  4405.  
  4406.               CHANGE CURRENT SPECIAL CHARACTER
  4407.                 This will activate the Special Character Selection Box
  4408.                 allowing you to change special characters without exiting
  4409.                 the menu.
  4410.  
  4411.          LOAD SCREEN
  4412.            Use this to load a screen that was saved using the "Save
  4413.            Screen" function.  A Dialog Box will display a list of all the
  4414.            screen files in the current data directory.  Use the <up/down
  4415.            arrow> keys or the mouse to select the file to load
  4416.            This function is also available via the hot key <cntl>-L.
  4417.  
  4418.          SAVE SCREEN
  4419.            Use this to save the screen you are working on to a disk file.
  4420.            You may load it later using the "Load Screen" function, or
  4421.            display it using the Laughing Dog Screen Display  Utility:
  4422.            LDOGSHOW.EXE.
  4423.            You will be presented with Dialog Box allowing you to enter a
  4424.            filename under which to save the screen.
  4425.            This function is also available via the hot key <cntl>-S.
  4426.  
  4427.          CHANGE DATA DIRECTORY
  4428.            Use this to change the current Data Directory.  This is the
  4429.            disk and subdirectory where files are stored when the "Save
  4430.            Screen" or "Copy Selected Block to File" functions are used,
  4431.            and the place from which files are retrieved when using the
  4432.            "Load Screen" and "Paste from File" functions.
  4433.            You may have several different directories containing screen
  4434.            files from different projects and use this function to switch
  4435.            between these different directories.
  4436.  
  4437.  
  4438.          _________________________________________________________________
  4439.          Laughing Dog Screen Maker V1.00 User's Manual                72
  4440.  
  4441.            You will be presented with a Dialog Box for entering the new
  4442.            drive\path.
  4443.            The Data Directory defaults to the directory containing the
  4444.            LDOG.EXE file, but may be set differently at start-up time via
  4445.            a command line argument  (Type "LDOG /?" at the DOS prompt for
  4446.            a listing of all the available command line arguments and their
  4447.            usage, OR, see "Command Line Options" in the Quick Start
  4448.            chapter).
  4449.  
  4450.          DOS SHELL
  4451.            Use this to temporarily exit (shell out of) Laughing Dog to run
  4452.            another program or execute a DOS command, then return to
  4453.            Laughing Dog and resume where you left off.
  4454.            To return from the shell, type "EXIT" at the DOS prompt.
  4455.  
  4456.          OPTIONS
  4457.            This selection brings up a menu that allows you to configure
  4458.            the Laughing Dog Screen Maker options.
  4459.  
  4460.  
  4461.            11.1.2 The OPTIONS MENU
  4462.  
  4463.               Use this menu to set the various Laughing Dog options, set-up
  4464.            the printer, and to save these options as defaults.
  4465.               A check mark next to the menu item indicates that feature is
  4466.            ON.  To toggle the status of a menu item, highlight the item
  4467.            using the <up/down arrow> keys and press <enter>, or click on
  4468.            it with the mouse.
  4469.  
  4470.               SOUND ON/OFF
  4471.                 There are many situations when this program beeps to warn
  4472.                 of error conditions, or to let you know you are in a
  4473.                 special mode, etc.  To turn these sounds OFF, just un-
  4474.                 check the "Sound" item on the Options Menu.
  4475.                 The default is SOUND ON.
  4476.  
  4477.               MONOCHROME/COLOR MONITOR TYPE SELECTION
  4478.                 Use this selection to switch between the Color and
  4479.                 Monochrome Display modes.  In Monochrome Mode, all of the
  4480.                 menus, dialog boxes, and the drawing screen will be
  4481.                 displayed in black and white.  All of the actual color
  4482.                 attributes are stored when you use the "Save Screen"
  4483.                 command, allowing you to view the screen in full color on
  4484.                 a color monitor at another time.
  4485.                 The Monochrome option can also be specified at start-up by
  4486.                 using the command line argument "/L" (as in LCD)
  4487.                 The default is COLOR.
  4488.  
  4489.               ENABLE/DISABLE UNDO FEATURE
  4490.                 A one-step undo buffer is maintained when this menu item
  4491.                 is checked which allows you to undo the last change you
  4492.                 made to the screen.  When enabled, the last action may be
  4493.  
  4494.  
  4495.          _________________________________________________________________
  4496.          Laughing Dog Screen Maker V1.00 User's Manual                73
  4497.  
  4498.                 undone by using the hot key <cntl>-U or by selecting
  4499.                 "UNDO!" from the Main Menu.
  4500.                 NOTE: There is a slight degradation in the speed of the
  4501.                 program when this feature is enabled.
  4502.                 The default is UNDO DISABLED.
  4503.  
  4504.               SET UP PRINTER
  4505.                 This option brings up the Printer Setup Menu.  See the
  4506.                 Printer Setup Menu description, under the "Print
  4507.                 Screen/Printer Setup Menu" heading later in this chapter
  4508.                 for a complete description of this menu.
  4509.  
  4510.  
  4511.               SAVE OPTIONS
  4512.                 This will save the current state of the Options Menu and
  4513.                 the Printer Setup Menu to a configuration file called
  4514.                 LDOG.CFG in the subdirectory that contains LDOG.EXE.
  4515.                 These settings become the start-up defaults the next time
  4516.                 you start the program.  The file LDOG.CFG is created the
  4517.                 first time you save the options.  If this file is missing,
  4518.                 the default settings will take effect upon start-up.
  4519.                 The default display type and sound on/off options may be
  4520.                 overridden at start-up, if necessary, by using a command
  4521.                 line argument.  See "Command Line Options" in the Quick
  4522.                 Start chapter or type "LDOG.EXE /?" for further
  4523.                 information.
  4524.  
  4525.          UNDO
  4526.            If enabled (via the Options Menu), this allows you to "undo"
  4527.            the last action that effected the screen (print a character,
  4528.            copy, move, recolor, erase, a selected block, make a window,
  4529.            etc.).
  4530.            If the UNDO option is not enabled, this menu choice will be
  4531.            grayed out, and you will not be able to select it.
  4532.            To enable UNDO, choose "Options" from the Main Menu, and toggle
  4533.            the "Enable UNDO" menu item to ON.
  4534.            NOTE: There is a slight degradation in the speed of the program
  4535.            when this feature is enabled.
  4536.            The default is UNDO OFF.
  4537.  
  4538.  
  4539.          SELECT BLOCK
  4540.            This puts you into Select Mode.  You may also use the hot key
  4541.            <alt>-S or click & hold the left mouse button to enter Select
  4542.            Mode.  See "Select Mode" in the Drawing Screens chapter for
  4543.            more info.
  4544.  
  4545.          DRAW LINE
  4546.            This puts you into Line Drawing Mode.  You may also use the hot
  4547.            key <alt>-L or double-click & hold the left mouse button to
  4548.            begin drawing a line.  See "Line Drawing Mode" in the Drawing
  4549.            Screens chapter for more info.
  4550.  
  4551.  
  4552.          _________________________________________________________________
  4553.          Laughing Dog Screen Maker V1.00 User's Manual                74
  4554.  
  4555.  
  4556.          PASTE FROM FILE
  4557.            Use this to paste block files, which were previously saved
  4558.            using the Block Menu choice "Copy to File," into the current
  4559.            screen.
  4560.            To Paste a block, first position the cursor at the point where
  4561.            you want the upper left-hand corner of the block to be placed,
  4562.            then select this menu choice, or press the hot key <cntl>-P.
  4563.            You will be presented with a Dialog Box, and asked to choose a
  4564.            file from a list of all the block files in the current Data
  4565.            Directory (see "Loading & Saving Screens" for an explanation of
  4566.            using this dialog box).
  4567.            The block from the file you choose will be placed on the screen
  4568.            in a "selected" state, and you may then move it around using
  4569.            the <arrow> keys, or by clicking and holding the left mouse
  4570.            button and dragging it to the desired position.  Press <enter>
  4571.            or release the left mouse button to paste it at its current
  4572.            position.
  4573.            If the block you attempt to place at the cursor position
  4574.            extends beyond the screen boundaries, the portion outside of
  4575.            the screen will be truncated.  If this happens unintentionally,
  4576.            just cancel the paste with the <esc> key, move the cursor
  4577.            further away from the left and/or bottom edge of the screen and
  4578.            try again.
  4579.            You may abort the paste at any time while the area is still
  4580.            "selected," by pressing the <esc> key or clicking the right
  4581.            mouse button.
  4582.            This function may also be accessed directly by using the hot
  4583.            key <cntl>-P.
  4584.  
  4585.          PICK UP ATTRIBUTE AT CURSOR
  4586.            Use this to change the current color attribute without going to
  4587.            the Color Attribute Selection Box within the Status Box.
  4588.            Position the cursor on a point on the drawing screen that has
  4589.            the color attribute that you want, call the Main Menu with
  4590.            <F2>, then select "Pick up Attribute @ Cursor".
  4591.            This function may also be accessed directly by using the hot
  4592.            key <cntl>-A.
  4593.  
  4594.          PICK UP SPECIAL CHARACTER AT CURSOR
  4595.            Use this to change the current Special Character without going
  4596.            to the Special Character Selection Box within the Status Box.
  4597.            Position the cursor on a point on the drawing screen that has
  4598.            the Special Character you want (MUST be a Character not
  4599.            normally available from the keyboard), then call the Main Menu
  4600.            with <F2>, and select "Pick up Special Character @ Cursor".
  4601.            This function may also be accessed directly by using the hot
  4602.            key <cntl>-K.
  4603.  
  4604.          GENERATE SOURCE CODE / EXPORT
  4605.            Use this selection to generate compiler-ready source code to
  4606.            display a Laughing Dog Screen from within your own program, or
  4607.  
  4608.  
  4609.          _________________________________________________________________
  4610.          Laughing Dog Screen Maker V1.00 User's Manual                75
  4611.  
  4612.            to export a screen as an ANSI, WildCat! BBS, PCBoard BBS, or a
  4613.            stand-alone executable program.
  4614.            If the language you are using does not appear on the menu,
  4615.            select the closest match, examine the code produced, and make
  4616.            any changes necessary.
  4617.            After choosing the type of file you want to generate, you will
  4618.            be presented with a dialog box and asked to provide a filename.
  4619.            If the code generated uses a variable name for the screen array
  4620.            produced, that array will also take on the name of the source
  4621.            file (less the extension).
  4622.  
  4623.  
  4624.            11.1.3 The GENERATE CODE/EXPORT FILE MENU
  4625.  
  4626.               The selections on this menu allow you to reproduce your
  4627.            Laughing Dog screens in a variety of different programming
  4628.            languages and file formats.
  4629.  
  4630.            The languages and file formats supported are:
  4631.  
  4632.                    Microsoft C/QuickC
  4633.                    Turbo C
  4634.                    QuickBASIC
  4635.                    GW BASIC (generic)
  4636.                    BASIC BSAVE File Format
  4637.                    Turbo Pascal
  4638.                    MASM Assembler
  4639.                    Binary File
  4640.                    Executable .COM file
  4641.                    ANSI File
  4642.                    WildCat! BBS File
  4643.                    PCBoard File
  4644.               In addition, you may toggle the menu choice:
  4645.                    Code/Export As Monochrome
  4646.  
  4647.            See "Generating Source Code & Exporting Files" for a complete
  4648.            description of each type of file produced, and tips on using
  4649.            them.
  4650.  
  4651.  
  4652.          PRINT SCREEN / PRINTER SETUP
  4653.            This brings up a menu for setting up printer options and
  4654.            printing the currently displayed screen.
  4655.  
  4656.  
  4657.            11.1.4 The PRINT SCREEN/PRINTER SETUP MENU
  4658.  
  4659.               This menu allows you to produce a printout of your Laughing
  4660.            Dog Screen Maker screens on an Epson-compatible dot-matrix
  4661.            printer, HP LaserJet-compatible laser printer or PostScript-
  4662.            compatible output device.
  4663.  
  4664.  
  4665.  
  4666.          _________________________________________________________________
  4667.          Laughing Dog Screen Maker V1.00 User's Manual                76
  4668.  
  4669.               The two menu choices are:
  4670.  
  4671.               PRINT SCREEN
  4672.                 This will initiate printing of the screen using the
  4673.                 parameters set up in the "Printer Setup" sub-menu.
  4674.  
  4675.               SET UP PRINTER
  4676.                 This option brings up the Printer Setup Menu.
  4677.  
  4678.                    THE PRINTER SETUP MENU
  4679.                         Use this menu to specify your printer type and
  4680.                    choose from several formatting options.  This menu is
  4681.                    accessed from either the Print Screen/Printer Setup Menu
  4682.                    or the Options Menu.  These options may be saved as
  4683.                    start-up defaults via the Options Menu item "Save
  4684.                    Options."
  4685.  
  4686.                      PRINT TO FILE
  4687.                         When this option is toggled ON, everything that
  4688.                         would have been sent to the printer will be written
  4689.                         to a file.
  4690.                         You will be presented with a dialog box for
  4691.                         entering a filename for the print file.  Print
  4692.                         files have the filename extension PRN, with the
  4693.                         exception of PostScript printer files, which have
  4694.                         the extension EPS.
  4695.                         To print the resulting file use the DOS command:
  4696.  
  4697.                                   COPY filename.prn LPT1
  4698.  
  4699.                         Substitute the real filename and the correct
  4700.                         printer port name (LPT2, LPT3, COM1, etc.)
  4701.  
  4702.                      PRINT SCREEN BORDER
  4703.                         This option will print a single-line border around
  4704.                         the screen image sent to the printer.  If you are
  4705.                         having trouble fitting the screen with a border on
  4706.                         your paper, try using the "Print Screen in
  4707.                         Condensed Mode" or "Print Screen in Landscape Mode"
  4708.                         options, or simply de-select this option.
  4709.  
  4710.                      PRINT COORDINATE SCALE
  4711.                         When this option is ON, a scale will be printed
  4712.                         above, below, and along the left-hand edge of the
  4713.                         screen image, marking the X and Y screen
  4714.                         coordinates.  This is helpful when using printouts
  4715.                         as worksheets during screen development, or when
  4716.                         writing code to interface with screens you have
  4717.                         designed.  The coordinates are zero-based (screen
  4718.                         origin = 0,0).
  4719.  
  4720.  
  4721.  
  4722.  
  4723.          _________________________________________________________________
  4724.          Laughing Dog Screen Maker V1.00 User's Manual                77
  4725.  
  4726.                         If the language or function library you are using
  4727.                         treats screen coordinates as one-based (screen
  4728.                         origin = 1,1), add 1 to the coordinate values.
  4729.  
  4730.                         The scale printed will be in this format:
  4731.  
  4732.                                0         1         2         3
  4733.                                0123456789012345678901234567890...
  4734.                              0
  4735.                              2
  4736.                              3         Screen Image Here
  4737.                              4
  4738.                              .
  4739.                              .
  4740.                              .
  4741.                              24
  4742.                                0123456789012345678901234567890...
  4743.  
  4744.  
  4745.                      PRINT SCREEN IN CONDENSED MODE
  4746.                         If the selected printer type supports printing in
  4747.                         condensed mode, the screen will be printed
  4748.                         condensed.  This is sometimes helpful if you are
  4749.                         having trouble  getting the screen image to fit
  4750.                         correctly on the paper, or just prefer the smaller
  4751.                         finished size.
  4752.  
  4753.                      PRINT SCREEN IN LANDSCAPE ORIENTATION
  4754.                         This option will print the screen sideways on the
  4755.                         paper.  It is not available on all printers, but
  4756.                         having it selected for a printer that does not
  4757.                         support it will have no bad effects.
  4758.  
  4759.                      SELECT PRINTER TYPE
  4760.                         The printer types supported by this version of the
  4761.                         Laughing Dog Screen Maker are:
  4762.  
  4763.                                   Epson Dot Matrix
  4764.                                   HP LaserJet
  4765.                                   PostScript
  4766.  
  4767.                         Select the printer type that most closely matches
  4768.                         your printer, or a printer emulation that your
  4769.                         printer is capable of performing.
  4770.                         If your printer type doesn't appear here, try Print
  4771.                         Screen using the <shift>-<PrtScn> key combination
  4772.                         (it may be necessary to set up your printer to
  4773.                         print the IBM character set using DIP switches or
  4774.                         front panel commands -- see your printer manual).
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.          _________________________________________________________________
  4781.          Laughing Dog Screen Maker V1.00 User's Manual                78
  4782.  
  4783.                      SPECIAL POSTSCRIPT OPTIONS
  4784.                         The following options apply only to PostScript
  4785.                      output devices.
  4786.  
  4787.                      DOWNLOAD FONT NOW / WRITE FONT FILE
  4788.                         Choose this to do a persistent download of the
  4789.                         Laughing Dog EGA/VGA look-alike font.
  4790.                         If the "Print To File" option is ON, a file called
  4791.                         "LDOGFONT.PS" is saved in the Data Directory.
  4792.  
  4793.                      EPS FORMAT: COMPLETE (INCLUDING FONT)
  4794.                         This is the default setting.  The special EGA/VGA
  4795.                         look-alike font is downloaded with each job, and
  4796.                         does not remain resident in the printer.  Once the
  4797.                         screen is printed, the font is removed from printer
  4798.                         memory.
  4799.                         When the "Print To File" option is ON, the EPS
  4800.                         files generated will be True EPS, meaning that they
  4801.                         will contain all of the information needed by
  4802.                         another application to import them.
  4803.  
  4804.                      EPS FORMAT: NO FONT (FONT ALREADY DOWNLOADED)
  4805.                         Only use this option if the special, EGA/VGA look-
  4806.                         alike font has already been downloaded to the
  4807.                         printer.
  4808.  
  4809.                         NOTE: Technically, the files created with this
  4810.                         option set to ON are not true Encapsulated
  4811.                         PostScript files.  In order for a file to be true
  4812.                         EPS, it must contain EVERYTHING necessary to
  4813.                         produce the image, including special fonts.
  4814.  
  4815.                      See: Printing Screens for more information on the
  4816.                         Special PostScript Options.
  4817.  
  4818.          REGISTRATION INFORMATION
  4819.            This will display information describing how you may register
  4820.            this program with Yardbird Software and will give you the
  4821.            option to print out a registration form.
  4822.            When you register, you will receive the latest version of this
  4823.            program along with a printed manual.  You will also be notified
  4824.            of all future revisions and additions to the Laughing Dog
  4825.            Screen Maker Program.  Registered users are also entitled to
  4826.            free phone support.
  4827.  
  4828.          HIDE/SHOW STATUS BOX
  4829.            If the Status Box is not visible, this will make it visible
  4830.            again.  If it is currently visible, it will hide it.  You may
  4831.            also hide it by repeatedly hitting the <tab> key, by clicking
  4832.            the close button [-] in the upper-left corner of the Status Box
  4833.            or pressing the <F10> key.
  4834.  
  4835.  
  4836.  
  4837.          _________________________________________________________________
  4838.          Laughing Dog Screen Maker V1.00 User's Manual                79
  4839.  
  4840.          QUIT PROGRAM
  4841.            This will exit the program and return to DOS.  If the program
  4842.            detects that any changes were made to the screen since last
  4843.            saving it, it will prompt you to save the screen before
  4844.            exiting.
  4845.  
  4846.  
  4847.  
  4848.  
  4849.  
  4850.  
  4851.  
  4852.  
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858.  
  4859.  
  4860.  
  4861.  
  4862.  
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.          _________________________________________________________________
  4895.          Laughing Dog Screen Maker V1.00 User's Manual                80
  4896.  
  4897.  
  4898.  
  4899.          11.2 The BLOCK MENU
  4900.  
  4901.               This menu will pop up automatically when a selection is
  4902.          completed, unless this has been inhibited by the "Menu Only on
  4903.          Request" option (see below).  It can also be accessed while you
  4904.          are selecting a block by pressing the <F2> key.
  4905.  
  4906.            BLOCK MENU Choices:
  4907.  
  4908.               Move Block
  4909.               Copy Block
  4910.               Copy Block to a File
  4911.               Clear/Fill Block
  4912.               Recolor Block
  4913.               Erase Block
  4914.               Make a Window of Block
  4915.               Menu Only on Request (Expert Mode)
  4916.  
  4917.  
  4918.          MOVE BLOCK
  4919.            Use the MOVE command to reposition the selected block on the
  4920.            screen.  The difference between MOVE and COPY, is that COPY
  4921.            leaves the original area intact, while MOVE leaves the original
  4922.            area blank.
  4923.  
  4924.  
  4925.               Moving the Block (Keyboard)
  4926.  
  4927.                    Use the <arrow> keys to move the selected block to the
  4928.               desired position on the screen, then press <enter> to drop it
  4929.               there.  Press <esc> to cancel the move and return the cursor
  4930.               and the block to their original positions.
  4931.  
  4932.  
  4933.               Moving the Block (Mouse)
  4934.  
  4935.                    Position the mouse cursor anywhere within the selected
  4936.               block, click and hold the left mouse button, then drag the
  4937.               selected area to the desired position on the screen.  Drop it
  4938.               there by releasing the left mouse button.  The move may be
  4939.               canceled by clicking the right mouse button.  The cursor and
  4940.               the block will return to the original positions.
  4941.  
  4942.               NOTE: During the MOVE, the Cursor Position display within the
  4943.               Status Box displays the position of the upper left hand
  4944.               corner of the moving block.
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.          _________________________________________________________________
  4952.          Laughing Dog Screen Maker V1.00 User's Manual                81
  4953.  
  4954.               Controlling the Fill Color when Moving a Block
  4955.  
  4956.                    When moving a piece of the screen, the original area is
  4957.               left blank.  Since this area may have contained many
  4958.               different color attributes, the program must decide which
  4959.               color to use when filling the vacated area.  The color chosen
  4960.               is the color at the cursor position from which the original
  4961.               selection was begun.
  4962.                    By carefully choosing the point from which to begin
  4963.               selecting a block for a move, it is possible to control the
  4964.               fill color, allowing you to avoid leaving gaping "holes" in
  4965.               your screen, or to achieve many interesting effects such as
  4966.               drop-shadows, etc.
  4967.  
  4968.          The Move function can also be accessed by pressing the hot key <M>
  4969.          while selecting a block.
  4970.  
  4971.  
  4972.          COPY BLOCK
  4973.            Use the COPY command to copy the selected block to another
  4974.            position on the screen.  The difference between MOVE and COPY,
  4975.            is that COPY leaves the original area intact, while MOVE leaves
  4976.            the original area blank.
  4977.  
  4978.  
  4979.               Copying the Block (Keyboard)
  4980.  
  4981.                    Use the <arrow> keys to position the block to the
  4982.               desired position on the screen, then press <enter> to drop it
  4983.               there.
  4984.                    Press <esc> to cancel the copy and return the cursor and
  4985.               the block to their original positions.
  4986.  
  4987.  
  4988.               Copying the Block (Mouse)
  4989.  
  4990.                    Position the mouse cursor anywhere within the selected
  4991.               block, click and hold the left mouse button and drag the
  4992.               block to the desired position on the screen.  Drop it there
  4993.               by releasing the left mouse button.
  4994.                    The copy may be canceled by pressing <esc> or by
  4995.               clicking the right mouse button while copying.  The cursor
  4996.               and the block will return to their original positions.
  4997.  
  4998.               NOTE: During the COPY, the Cursor Position display within the
  4999.               Status Box displays the position of the upper left-hand
  5000.               corner of the moving block.
  5001.  
  5002.               The Copy function can also be accessed by pressing the hot
  5003.          key <C> while selecting a block.
  5004.  
  5005.  
  5006.  
  5007.  
  5008.          _________________________________________________________________
  5009.          Laughing Dog Screen Maker V1.00 User's Manual                82
  5010.  
  5011.          COPY BLOCK TO FILE
  5012.            Use this function to copy a selected block to a disk file.
  5013.            You will be presented with a dialog box and asked to provide a
  5014.            filename under which to save the screen.  The block file will
  5015.            then be available for pasting into a screen using the Main Menu
  5016.            selection "Paste from File" or the hot key <cntl>-P or for
  5017.            displaying by itself using the companion program LDOGSHOW.EXE.
  5018.            All block files are saved with the filename extension ".PUP"
  5019.            This function is also available by using the hot key <Y> (as in
  5020.            "copY" to file) while selecting a block.
  5021.  
  5022.  
  5023.          CLEAR/FILL BLOCK
  5024.            This selection presents you with the Clear/Fill Menu, giving
  5025.            you several options for clearing or filling the block.  Any
  5026.            existing text or special characters within the block will be
  5027.            wiped out.
  5028.            This function is also available by using the hot key <F> while
  5029.            selecting a block.
  5030.  
  5031.  
  5032.  
  5033.            11.2.1 The CLEAR/FILL BLOCK MENU
  5034.  
  5035.               The Clear/Fill Block Menu allows you to choose the type of
  5036.            clear or fill you wish to perform on the selected block.
  5037.  
  5038.            The available choices are:
  5039.  
  5040.               CLEAR TO BLACK
  5041.                 This clears the block to black.  All text or special
  5042.                 characters within the block will be wiped out.
  5043.  
  5044.               CLEAR TO CURRENT COLOR
  5045.                 This clears the block to the currently selected color
  5046.                 attribute.  All text or special characters within the
  5047.                 block will be wiped out.
  5048.  
  5049.               FILL WITH CURRENT CHARACTER
  5050.                 This fills the block with the currently selected special
  5051.                 character** retaining the existing color attributes within
  5052.                 the block.
  5053.  
  5054.               CLEAR & FILL WITH CURRENT COLOR AND CHARACTER
  5055.                 This command will clear the block to the current color,
  5056.                 and then fill it with the currently selected special
  5057.                 character**.
  5058.  
  5059.               **NOTE: It is also possible to fill a selected block with a
  5060.                 "normal" character, that is, one that is not found in the
  5061.                 Special Character Selection Box.
  5062.                 To do this, the character you wish to use for the fill
  5063.  
  5064.  
  5065.          _________________________________________________________________
  5066.          Laughing Dog Screen Maker V1.00 User's Manual                83
  5067.  
  5068.                 must be on the drawing screen (temporarily type it and
  5069.                 erase it later if it is not already on the screen) you
  5070.                 must then "pick up" the character.
  5071.                 Since the <cntl>-K hot key restricts you to actual
  5072.                 "special" characters, a special hot key has been defined
  5073.                 for temporarily picking up a normal character.  This hot
  5074.                 key is <shift>-<cntl>-K.  Place the cursor on the normal
  5075.                 character, then press <shift>-<cntl>-K.  Now you may use
  5076.                 this character for filling.
  5077.  
  5078.               CHANGE CURRENT COLOR ATTRIBUTE
  5079.                 This will activate the Color Attribute Selection Box,
  5080.                 allowing you to change colors without exiting the menu.
  5081.  
  5082.               CHANGE CURRENT SPECIAL CHARACTER
  5083.                 This will activate the Special Character Selection Box,
  5084.                 allowing you to change special characters without exiting
  5085.                 the menu.
  5086.  
  5087.  
  5088.          RECOLOR BLOCK
  5089.            Use this function to change the color attributes of all the
  5090.            text or special characters within a block.
  5091.            This function may also be accessed using the hot key <R> while
  5092.            selecting a block.
  5093.  
  5094.  
  5095.            11.2.2 The RECOLOR MENU
  5096.  
  5097.               The Recolor Menu allows you to choose the type of recolor you
  5098.           wish to perform on the selected block.  It is also possible to
  5099.           change the current color from within the menu.
  5100.  
  5101.               RECOLOR FOREGROUND AND BACKGROUND
  5102.                 This will recolor both the foreground (text and special
  5103.                 characters) and the background of the block to the color
  5104.                 of the currently selected color attribute.
  5105.  
  5106.               RECOLOR FOREGROUND** ONLY
  5107.                 The foreground text and special characters will be
  5108.                 recolored to the currently selected foreground color
  5109.                 attribute.  The background attributes within the block
  5110.                 will remain unchanged.
  5111.  
  5112.               RECOLOR BACKGROUND** ONLY
  5113.                 The background of the block will be recolored to the
  5114.                 currently selected background color attribute.  The
  5115.                 foreground text or special characters' attributes will
  5116.                 remain unchanged.
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.          _________________________________________________________________
  5123.          Laughing Dog Screen Maker V1.00 User's Manual                84
  5124.  
  5125.               CHANGE CURRENT COLOR ATTRIBUTE
  5126.                 This activates the Color Attribute Selection Box, allowing
  5127.                 you to change colors without leaving the Recolor Menu.
  5128.  
  5129.               **NOTE: Although the flashing characteristic of the color
  5130.                 attribute is generally considered a part of the background
  5131.                 portion of the attribute, the Laughing Dog Screen Maker
  5132.                 treats it as part of the Foreground.
  5133.                 This seems to make sense for two reasons.  First, the
  5134.                 Color Attribute Selection Box displays the colors in this
  5135.                 way, grouping all flashing and normal attributes with the
  5136.                 same background color together.  Second, it is just more
  5137.                 natural to do it this way because it is the foreground
  5138.                 characters that appear to be flashing , not the
  5139.                 background!
  5140.  
  5141.          ERASE BLOCK
  5142.            This erases all the text or special characters within the
  5143.            block, leaving the color attributes intact.
  5144.            This function may also be accessed using the hot keys <E> or
  5145.            <delete> while selecting a block.
  5146.  
  5147.          MAKE A WINDOW OF BLOCK
  5148.            Use this to convert the selected block into a framed, titled
  5149.            window, using the current color and line-type.  The Make A
  5150.            Window Menu will pop up, where you can select the various
  5151.            window options you would like to use for making the window.
  5152.            The inside of the window can be cleared to the current color,
  5153.            recolored to the current color, or left as is.
  5154.            You can also call up the Window Title Options Menu, for
  5155.            specifying the placement of the title and the type of brackets
  5156.            to use.
  5157.            If the "Prompt for Window Title" option from the Window Options
  5158.            Menu is set to ON (default), a dialog box will pop up when you
  5159.            select the type of window to create from the Make A Window
  5160.            Menu.  The text entry field in the dialog box is set to the
  5161.            maximum length for the size window you have defined.  Type in
  5162.            the text you wish to appear as the title, then press <enter> or
  5163.            click on the "OK" button with your mouse.  The title is
  5164.            inserted into the window frame at the position specified in the
  5165.            Window Options Menu.  If you choose not to enter any text, the
  5166.            title brackets will not be drawn.
  5167.            This function may also be accessed using the hot key <W> while
  5168.            selecting a block.
  5169.  
  5170.            HINT1: A block at least 2x2 characters must be selected in
  5171.            order for the automatic window making feature to be available.
  5172.  
  5173.            HINT2: The selected area must be at least 6 characters wide for
  5174.            the auto-titling feature to be available.
  5175.  
  5176.  
  5177.  
  5178.  
  5179.          _________________________________________________________________
  5180.          Laughing Dog Screen Maker V1.00 User's Manual                85
  5181.  
  5182.            11.2.3 The MAKE A WINDOW MENU
  5183.  
  5184.               Use this menu to set up and make a titled window out of the
  5185.            selected block.
  5186.  
  5187.               DRAW FRAME ONLY
  5188.                 Draws a frame around the selected block using the current
  5189.                 color attribute and line-type.  The inside of the window
  5190.                 will remain as it is.
  5191.  
  5192.               DRAW FRAME & CLEAR TO CURRENT COLOR
  5193.                 Draws a frame around the selected block using the current
  5194.                 color/line-type and clears any text or special characters
  5195.                 within the window to the current color attribute.
  5196.  
  5197.               DRAW FRAME & RECOLOR INSIDE
  5198.                 Draws a frame around the selected block using the current
  5199.                 color/line-type and recolors any text or special
  5200.                 characters within the window to the current color.
  5201.  
  5202.               WINDOW TITLE OPTIONS
  5203.                 This brings up Window Title Options Menu.
  5204.  
  5205.  
  5206.                 11.2.4 The WINDOW TITLE OPTIONS MENU
  5207.  
  5208.                    Use the Window Title Options Menu to set up the
  5209.                 parameters for automatic window titling,  such as whether
  5210.                 or not to do automatic titling, and if so, which bracket
  5211.                 type to use and where to position the title.
  5212.  
  5213.                    PROMPT FOR WINDOW TITLE?
  5214.                      If set to ON the Window Title dialog Box will pop up when
  5215.                      making a window, allowing you to enter a title.  If set to OFF,
  5216.                      you will not be given the option of entering a title.
  5217.  
  5218.                    WINDOW TITLE POSITION
  5219.                      Select the window title position.  Choices are TOP-
  5220.                      CENTER or BOTTOM-CENTER.
  5221.  
  5222.                    WINDOW TITLE BRACKET TYPE
  5223.                      Define the type of bracket (or no bracket) which will
  5224.                      surround the window title.
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.          _________________________________________________________________
  5237.          Laughing Dog Screen Maker V1.00 User's Manual                86
  5238.  
  5239.          MENU ONLY ON REQUEST (Expert Mode)
  5240.            When set to ON, the Block Menu will no longer automatically pop
  5241.            up when you finish selecting a block.
  5242.  
  5243.            Without the menu, press one of the following hot keys to end
  5244.            the block selection and perform the corresponding Block Menu
  5245.            function:
  5246.  
  5247.               <M>       to Move the block
  5248.               <C>       to Copy the block
  5249.               <Y>       to copY the block to a File
  5250.               <R>       to Recolor the block
  5251.               <E>       to Erase the block
  5252.               <F>       to clear/Fill the block
  5253.               <W>       to make a Window of the block
  5254.  
  5255.            You can also end the selection first, by pressing <enter>, and
  5256.            then either use the hot keys or explicitly call the menu with
  5257.            the <F2> key.
  5258.            The selection can be canceled by pressing the <esc> key.
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290.  
  5291.  
  5292.  
  5293.          _________________________________________________________________
  5294.          Laughing Dog Screen Maker V1.00 User's Manual                87
  5295.  
  5296.  
  5297.          12. LDOG.EXE Error Messages
  5298.  
  5299.               When one of the following error conditions is detected the
  5300.          corresponding error message will appear in a dialog box.
  5301.          Depending on the error, you may need to make a Yes/No decision, or
  5302.          just respond with an OK (even if it isn't OK with you!).
  5303.  
  5304.  
  5305.            FILE ALREADY EXISTS!  Overwrite Existing Data?
  5306.  
  5307.               There is a file having the same name as the one you typed in.
  5308.          If you choose "Yes," the data in that file will be overwritten by
  5309.          the new data.  The contents of the old file will be destroyed.  If
  5310.          you want to save the old version, as well as the new one, just
  5311.          choose "No," and save the screen using a different name.
  5312.  
  5313.  
  5314.            ILLEGAL FILENAME!
  5315.  
  5316.               DOS filenames must be between 1-8 characters long and contain
  5317.          ONLY the following characters
  5318.                    a-z, A-Z, 0-9 ! # $ & ` ' ( ) - _ @ { } ~
  5319.               Filenames cannot begin with a digit.  Try again...
  5320.  
  5321.  
  5322.            CAN'T OPEN FILE!
  5323.  
  5324.               Some sort of disk error has occurred, the file cannot be
  5325.          opened.  The disk could be damaged or the drive door may be open
  5326.          (if it is a floppy drive).  If you are trying to load a file, the
  5327.          file and/or its attributes could have become corrupted.  If you
  5328.          are trying to save a file, the disk may not be formatted.
  5329.               Check your disk drive and try again.
  5330.  
  5331.  
  5332.            FILE NOT FOUND!
  5333.  
  5334.               The file you selected has disappeared between the time the
  5335.          dialog box read the filename into its list of files and when you
  5336.          actually tried to read it.  If this ever happens, something is
  5337.          drastically wrong!
  5338.  
  5339.  
  5340.            INVALID PATH!
  5341.  
  5342.               The drive and/or path you specified does not exist, is
  5343.          spelled wrong, the disk is not in the drive, or the drive door is
  5344.          open, etc.  Check the spelling, and be sure you used backslashes
  5345.          "\" to separate the drive and subdirectories in your path.
  5346.  
  5347.  
  5348.  
  5349.  
  5350.          _________________________________________________________________
  5351.          Laughing Dog Screen Maker V1.00 User's Manual                88
  5352.  
  5353.            NO SCREEN/BLOCK FILES FOUND!
  5354.  
  5355.               When the program looked in the data directory, it found no
  5356.          screen or block files.
  5357.               The data directory is by default the directory where the
  5358.          LDOG.EXE file is located.  The data directory may be set to
  5359.          something different at start-up time by using the "drive\path"
  5360.          command line argument, or while the program is running by using
  5361.          the Main Menu selection "Change Data Directory."
  5362.  
  5363.          NOTE: Screen files Must have the extension "DOG", and block files
  5364.          Must have the extension "PUP,"  These extensions are automatically
  5365.          added to the filename you enter when you save a screen or block.
  5366.          Do not change these extensions if you wish to load the screens
  5367.          again!
  5368.  
  5369.  
  5370.            MEMORY ALLOCATION ERROR!!
  5371.  
  5372.               The program tried to get some memory, and it was unable to.
  5373.          This is most likely caused by running the program in a DOS Shell.
  5374.          Try typing "EXIT" after you are dumped out of the program to see
  5375.          if you pop back into the program you shelled out of to run this
  5376.          one.  If that is the problem, you don't have enough memory to run
  5377.          LDOG.EXE from the shell.  Run it by itself.
  5378.               If it turns out you are not attempting to run LDOG.EXE from a
  5379.          shell, there may be a more serious memory conflict.  Try rebooting
  5380.          your computer and try running the program again.
  5381.  
  5382.  
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401.  
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.          _________________________________________________________________
  5408.          Laughing Dog Screen Maker V1.00 User's Manual                89
  5409.  
  5410.  
  5411.          13. The Laughing Dog Utilities
  5412.  
  5413.               Two utility programs are provided to round out the Laughing
  5414.          Dog Screen Maker package.  The first one, LDOGRAB.EXE, allows you
  5415.          to capture screens from any text mode program for importing into
  5416.          LDOG.EXE.  The other one, LDOGSHOW.EXE, allows you to display your
  5417.          Laughing Dog screens one at a time, or to group several screens
  5418.          together into a slide show that may be displayed manually or
  5419.          automatically.
  5420.  
  5421.  
  5422.  
  5423.          13.1 Grabbing Text Screens from Other Programs with LDOGRAB.EXE
  5424.  
  5425.               LDOGRAB.EXE is a screen grabbing utility, which allows you to
  5426.          "grab" or capture copies of screens from any text mode
  5427.          application.  These screens may then be loaded into the screen
  5428.          design program, LDOG.EXE, to edit, print, convert to another file
  5429.          format, or compress.  They may also be displayed using the
  5430.          Laughing Dog screen display utility LDOGSHOW.EXE.
  5431.               LDOGRAB.EXE is a TSR (Terminate and Stay Resident) program
  5432.          that is loaded into memory before running the text mode program
  5433.          from which you wish to "grab" screens.
  5434.               Screens are saved in an uncompressed format readable by
  5435.          LDOG.EXE or LDOGSHOW.EXE.
  5436.  
  5437.          NOTE: LDOGRAB.EXE will NOT WORK for programs running in graphics
  5438.          mode.
  5439.  
  5440.  
  5441.            13.1.1 Starting LDOGRAB.EXE
  5442.  
  5443.          USAGE: LDOGRAB [/N][/K key][/D Pathname]| [H|?]
  5444.  
  5445.               /N        suppress messages sent to application screen when
  5446.                         saving screens.
  5447.  
  5448.               /K xx     change the default hot-key (<cntl>-<left-shift>)
  5449.                         replace xx with one of the following key codes:
  5450.                         cr = <cntl>-<right-shift>
  5451.                         al = <alt>-<left-shift>
  5452.                         ar = <alt>-<right-shift>
  5453.                         Defaults to <cntl>-<left-shift>
  5454.  
  5455.               /D        specifies a disk and subdirectory location for
  5456.                         saving screen files.  Pathname must be complete
  5457.                         path, including drive! Defaults to current path.
  5458.  
  5459.               /? /H     Displays a help screen similar to this.
  5460.  
  5461.  
  5462.  
  5463.  
  5464.          _________________________________________________________________
  5465.          Laughing Dog Screen Maker V1.00 User's Manual                90
  5466.  
  5467.          examples:
  5468.  
  5469.               ldograb                  installs the screen grabber
  5470.  
  5471.               ldograb /N               suppress screen messages
  5472.  
  5473.               ldograb /D c:\dog\bites  will store files in \dog\bite
  5474.                                        subdirectory of drive C:
  5475.  
  5476.  
  5477.            13.1.2 Using The Screen Grabber
  5478.  
  5479.               First load LDOGRAB using any of the command line arguments
  5480.          from above, then run the program from which you wish to grab
  5481.          screens.  When a screen comes up that you want to save, press the
  5482.          screen grabbing hot key (the default hot key is <cntl>-<left-
  5483.          shift>, but you may specify another key combination, if the
  5484.          default conflicts with the program you are grabbing screens from,
  5485.          by using the /k option in the command line when you start
  5486.          LDOGRAB.EXE).
  5487.               When you grab a screen, you will hear a single beep and a
  5488.          message will pop up at the top of the screen, informing you that
  5489.          the screen capture was successful and showing you the name of the
  5490.          file that the screen was saved to.  If there was a problem, you
  5491.          will hear three beeps and an error message will be displayed
  5492.          describing the nature of the error.
  5493.               Press any key to make the message go away, and continue with
  5494.          the foreground application.
  5495.  
  5496.          NOTE: These messages can be suppressed using the /N command line
  5497.          option.  In that case, your only clue to a successful screen save
  5498.          will be the single beep.  If you hear three beeps, there was a
  5499.          problem saving the screen.
  5500.  
  5501.               Continue saving screens until you have what you need, and
  5502.          then quit your application and re-boot your computer to remove the
  5503.          TSR from memory (it is not wise to leave TSRs hanging around when
  5504.          you have no further need of them, as they just take up valuable
  5505.          memory space that your foreground applications may need).
  5506.  
  5507.  
  5508.            Finding Your Captured Screens
  5509.  
  5510.               The screen files are saved in the default directory (the
  5511.          directory you started LDOGRAB.EXE from) unless you specified
  5512.          another disk and/or directory using the /D option above.
  5513.               The filenames are in a generic format (SCN0000.DOG,
  5514.          SCN0001.DOG, SCN0002.DOG, etc.).  The program will not overwrite a
  5515.          file with the same name.   It will automatically increment the
  5516.          filename to the next SCN# until it finds an unused filename.
  5517.          Later, you may change the filenames to something more meaningful
  5518.          for your purposes.  You may not change the file extensions (the
  5519.  
  5520.  
  5521.          _________________________________________________________________
  5522.          Laughing Dog Screen Maker V1.00 User's Manual                91
  5523.  
  5524.          trailing "DOG" part of the file name) because The Laughing Dog
  5525.          Screen Maker and the presentation utility LDOGSHOW.EXE key on
  5526.          these extensions when searching a directory for screen files.
  5527.  
  5528.  
  5529.            Compressing Screen Files
  5530.  
  5531.               In order to keep LDOGRAB as small as possible, screen
  5532.          compression is not done within the TSR.  Accordingly screens are
  5533.          saved in an uncompressed format.  A normal 25-line by 80-column
  5534.          screen will produce a file 4010 bytes long.
  5535.               LDOG.EXE, on the other hand, automatically compresses screens
  5536.          as it saves them to disk.  Therefore, screen files may be
  5537.          compressed simply by loading them into LDOG.EXE and saving them
  5538.          again.
  5539.               The compression ratio is dependent on screen content, but can
  5540.          range from 1:1 all the way up to 1333:1.  The average is about
  5541.          8:1.
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554.  
  5555.  
  5556.  
  5557.  
  5558.  
  5559.  
  5560.  
  5561.  
  5562.  
  5563.  
  5564.  
  5565.  
  5566.  
  5567.  
  5568.  
  5569.  
  5570.  
  5571.  
  5572.  
  5573.  
  5574.  
  5575.  
  5576.  
  5577.  
  5578.          _________________________________________________________________
  5579.          Laughing Dog Screen Maker V1.00 User's Manual                92
  5580.  
  5581.  
  5582.          13.2 Displaying Your Screens with LDOGSHOW.EXE
  5583.  
  5584.               This program is used to display a single screen, or to string
  5585.          together several screens into a slide show presentation that may
  5586.          be displayed manually or automatically.  Slide shows may contain
  5587.          up to 100 screens.
  5588.  
  5589.  
  5590.            13.2.1 Starting LDOGSHOW.EXE
  5591.  
  5592.           USAGE: LDOGSHOW [ScnFilename]|[/L ListFilename.ext][/#n][/F]|[H|?]
  5593.  
  5594.               ScnFilename         Displays the specified screen file
  5595.  
  5596.               /L ListFilename.ext Begins a "slide show" of the screen files
  5597.                                   listed in the file ListFileName.ext
  5598.  
  5599.               /#n                 n = number of seconds delay between
  5600.                                   screens for an automatic, repeating slide
  5601.                                   show [exited by pressing <esc>]
  5602.  
  5603.               /F                  Forward only display of manual slide show
  5604.  
  5605.               /M                  Displays screens in monochrome
  5606.  
  5607.               /? /H               Displays a help screen similar to this.
  5608.  
  5609.  
  5610.          examples:
  5611.  
  5612.            LDOGSHOW grins         displays the screen file: GRINS.DOG
  5613.  
  5614.            LDOGSHOW POUND.PUP     displays the partial screen file
  5615.                                   POUND.PUP
  5616.  
  5617.            LDOGSHOW /L LANDRY.LST displays the screen files listed in the
  5618.                                   list file LANDRY.LST
  5619.  
  5620.          NOTE1: A ScnFilename with no extension assumes the "DOG"
  5621.          extension.  Block files may also be displayed, but you must
  5622.          specify the "PUP" extension.
  5623.  
  5624.          NOTE2: The list file and ALL screen files must be in the current
  5625.          (default) directory.
  5626.  
  5627.  
  5628.  
  5629.  
  5630.  
  5631.  
  5632.  
  5633.  
  5634.  
  5635.          _________________________________________________________________
  5636.          Laughing Dog Screen Maker V1.00 User's Manual                93
  5637.  
  5638.            13.2.2 Displaying a Single Screen
  5639.  
  5640.               This is a great way to view a single screen or block file
  5641.          without having to start up the whole Laughing Dog Screen Maker
  5642.          program (LDOG.EXE).  Just type "LDOGSHOW FILENAME.EXT"
  5643.          substituting the actual screen or block filename.  The extension
  5644.          "DOG" is assumed if none is specified.
  5645.               To view a block file, type its full name, including the
  5646.          extension "PUP."  When "PUP" files are displayed by themselves,
  5647.          they appear in the position on the screen from which they were
  5648.          originally saved, leaving the rest of the screen intact.
  5649.  
  5650.  
  5651.  
  5652.            13.2.3 Creating a Slide Show Presentation
  5653.  
  5654.               A presentation consisting of several screen files and/or
  5655.          block files can easily be built by creating a text file containing
  5656.          of a list of the desired screen and/or block files in the order
  5657.          you wish to view them.  You may include comments in the file by
  5658.          beginning a line with a semicolon ";".  That line will be skipped
  5659.          over by LDOGSHOW when it compiles its list of files to display.
  5660.          You may also include comments on the same line as a filename, so
  5661.          long as there is at least one space separating the filename from
  5662.          the comment.  You may prohibit moving backward through the list
  5663.          file by placing "/F" (forward only) as the first thing on any line
  5664.          in a list file.  As with displaying a single screen, a filename
  5665.          extension of "DOG" is assumed, unless you specify a block file by
  5666.          including the "PUP" extension.
  5667.  
  5668.          Legal List File Entries:
  5669.  
  5670.            ;comment               Comment on a line by itself
  5671.  
  5672.            FILENAME               Filename by itself, assumed extension:
  5673.                                   "DOG"
  5674.  
  5675.            FILENAME.EXT           Filename by itself, extension of "DOG" or
  5676.                                   "PUP"
  5677.  
  5678.                                   An empty line
  5679.  
  5680.            FILENAME ;comment      Filename followed by a semicolon and a
  5681.                                   comment
  5682.  
  5683.            FILENAME comment       Filename followed by a space and a
  5684.                                   comment
  5685.  
  5686.            /F                     Forward only command
  5687.  
  5688.  
  5689.          *NOTE: Filenames may be in either upper or lower case.
  5690.  
  5691.  
  5692.          _________________________________________________________________
  5693.          Laughing Dog Screen Maker V1.00 User's Manual                94
  5694.  
  5695.  
  5696.  
  5697.            Doing Some Dog Tricks
  5698.  
  5699.               It is possible to drastically decrease the amount of disk
  5700.          space used by your presentations with the judicious use of PUP
  5701.          files.  For instance, if you display a full screen, and the next
  5702.          screen is to depict the same screen with a menu pulled down, you
  5703.          can save that portion of the screen that is different from the
  5704.          first screen (in this case, the menu) as a PUP file (using LDOG's
  5705.          "Copy To File" command from the Block Menu).
  5706.               When using LDOGSHOW in the manual, bi-directional mode
  5707.          (default, with no "/F" argument), it is possible to move backward
  5708.          as well as forward through your list of files.  This is no problem
  5709.          when displaying full screens, but can be a little tricky when
  5710.          displaying a series of block (PUP) files.
  5711.               A PUP file is displayed without disturbing the existing
  5712.          background, everything on the screen is unchanged, and the PUP
  5713.          file is just "pasted" over that background.  Think of displaying a
  5714.          PUP file as being like pasting semi-permanent "stickers" on  your
  5715.          screen.  You can continue sticking little stickers onto the
  5716.          screen, but you can't peel them off to reveal what was previously
  5717.          underneath them.  The only way to get rid of a sticker is to paste
  5718.          one of the same size, or larger, over it.
  5719.  
  5720.               Here is an example of the contents of a list file for use
  5721.          with LDOGSHOW:
  5722.  
  5723.               ;--- Beginning Of List File ------
  5724.               ;This is a comment about this sample list file.
  5725.               ;We will display 5 files: 2 full-screen files and 3 partials
  5726.               TITLE.DOG
  5727.               POPUP.PUP
  5728.               BOX1.PUP  This is another comment
  5729.               FULLSCN
  5730.               LITTLE.PUP
  5731.               ;---the end ---
  5732.  
  5733.               This list file has comments, screen file names, and block
  5734.          file names.  The first screen displayed is a full screen stored in
  5735.          the file: "TITLE.DOG", next a block file called: "POPUP.PUP" is
  5736.          "pasted" over part of the screen.  Then another block file called:
  5737.          "BOX1.PUP" is pasted on top of these.  Next, another full screen,
  5738.          "FULLSCN.DOG" is displayed (note that the "DOG" extension is not
  5739.          necessary), completely wiping out the composite screen we had
  5740.          built up.
  5741.               It is important to note here that if you now moved backward
  5742.          through the list, from "FULLSCN" to "BOX1.PUP", the resulting
  5743.          display would not necessarily look the same as it looked when
  5744.          going forward!  The partial screen "BOX1.PUP" would now get
  5745.          "pasted" over "FULLSCN.DOG" rather than over "TITLE.DOG" as
  5746.          before.
  5747.  
  5748.  
  5749.          _________________________________________________________________
  5750.          Laughing Dog Screen Maker V1.00 User's Manual                95
  5751.  
  5752.               Continuing, after the screen "FULLSCN.DOG" is displayed, the
  5753.          block file "little.pup" is pasted over it.  Note here that if we
  5754.          now moved back a screen, the display would look the same as it did
  5755.          when we were moving forward, because the previous screen is a full
  5756.          screen.
  5757.  
  5758.  
  5759.            13.2.4 Displaying a Presentation Manually
  5760.  
  5761.               Start LDOGSHOW.EXE, specifying the list file to use with the
  5762.          "/L FILENAME.EXT" command line argument.  Note that you DO need
  5763.          the list file extension here.  The program will display the first
  5764.          screen in the list and wait for a keystroke from you.
  5765.  
  5766.          To move through the screens in a list, use the following keys:
  5767.  
  5768.          <home>         Moves immediately to first screen in list.
  5769.          <end>          Moves immediately to last screen in list.
  5770.  
  5771.          <up-arrow>     Backs up one screen in the list. ***
  5772.          <left-arrow>   Backs up one screen in the list. ***
  5773.          <backspace>    Backs up one screen in the list. ***
  5774.  
  5775.          <any other key>   Advances one screen in list.
  5776.  
  5777.          <esc>, <cntl>-q   Quits immediately.
  5778.  
  5779.          ***NOTE: These keys will not move backward through the list if the
  5780.          program was started with the "/F" command line argument, or if the
  5781.          "/F" command is embedded in the list file.  They will be
  5782.          interpreted as any other key, advancing to the next screen in the
  5783.          list.
  5784.  
  5785.  
  5786.            13.2.5 Displaying a Presentation Automatically
  5787.  
  5788.               To display a presentation automatically, use the command line
  5789.          argument "/#n", where n = the number of seconds to pause between
  5790.          screens.  Note that the timer used here is very crude and is only
  5791.          accurate to 1 second, so don't expect precise timing!
  5792.               When started in automatic mode, LDOGSHOW will display each
  5793.          screen in turn, pausing the specified interval between screens.
  5794.          When it reaches the end of the list, it will cycle to the
  5795.          beginning of the list and repeat.  This continues until the <esc>
  5796.          key is pressed.
  5797.  
  5798.  
  5799.  
  5800.  
  5801.  
  5802.  
  5803.  
  5804.  
  5805.  
  5806.          _________________________________________________________________
  5807.          Laughing Dog Screen Maker V1.00 User's Manual                96
  5808.