home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 14 / CDACTUAL.iso / cdactual / demobin / share / program / Basic / SCRNDSNR.ZIP / SD275.TXT < prev   
Encoding:
Text File  |  1989-05-27  |  40.5 KB  |  909 lines

  1.  
  2.  
  3.  
  4.         
  5.         
  6.                                                      2/25/89
  7.         
  8.         
  9.         
  10.                                  Screen Designer
  11.                                   Version 2.75
  12.         
  13.         
  14.         
  15.                          Copyright (C) 1987, 1988, 1989
  16.                                        by
  17.                                 Michael W. Cocke
  18.         
  19.         
  20.         
  21.                       A Tool for Designing Screen Displays
  22.         
  23.         
  24.         
  25.             This program is being distributed under the `shareware' 
  26.             concept. You are freely encouraged to copy and distribute 
  27.             this program, provided that no changes are made to either the 
  28.             program or the documentation. This means that you can down-
  29.             load this program from a bulletin board, get it through a 
  30.             mail order house, or copy it from a friend.  If you don't 
  31.             find it worthwhile, you won't have risked anything.  But, if 
  32.             you do find it useful, all I ask is that you send me a check 
  33.             for just $10.00.  This buys you to a new copy of the program, 
  34.             WITH ALL updates.  It will also buy you some peace of mind.  
  35.             I'm one person, not a giant software company, and the check 
  36.             you send may make the difference between feeding my cat this 
  37.             week and not feeding my cat this week.
  38.         
  39.         
  40.                          Please send a check for $10.00 to:
  41.         
  42.                                     Michael Cocke
  43.                                     11 Cedar Road
  44.                                     Montville NJ  07045
  45.                                             
  46.                                                Thank You,
  47.                                                       Mike
  48.                    
  49.         
  50.                                  Hacker Central BBS
  51.                                     (201)334-2555 
  52.                                300/1200/2400 baud  8N1  
  53.                                       24 hours.
  54.                                                
  55.         
  56.         
  57.             ---> Royalty-FREE Source code available for $100.00 (U.S.) <---
  58.                                  Write for details.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.         
  66.         
  67.         
  68.         
  69.         
  70.             Technical support, upgrades and requests available upon payment of 
  71.                           $ 10.00 (U.S.) registration fee.
  72.         
  73.         
  74.             What is SCREEN DESIGNER:
  75.         
  76.                  SCREEN DESIGNER is a program created to aid you in 
  77.                  designing and producing screens for batch files, pro-
  78.                  grams, and, if you have the right printer, title pages 
  79.                  for word processor documents and spreadsheets.
  80.         
  81.                  Screen Designer was especially designed for programmers.  
  82.                  Whether you program in BASIC, Dbase or C, probably the 
  83.                  worst part of the job is 'prettifying' the screens.  
  84.                  Screen Designer has a programmer's interface that allows 
  85.                  you to draw the screen image you want, and then export 
  86.                  it (formatted properly !) into your source code.  I 
  87.                  originally wrote Screen Designer because I work in 3-4 
  88.                  different languages, and the only common denominator is 
  89.                  that graphics is DAMNED difficult in all of them. 
  90.         
  91.                  The graphics that SCREEN DESIGNER creates can be used on 
  92.                  color or monochrome video systems, and on IBM (tm) 
  93.                  compatible graphics printers.
  94.         
  95.                  To give you an idea of some of the uses of SCREEN DE-
  96.                  SIGNER, all of the help screens and title pages embedded 
  97.                  in the Screen Designer program were created using the 
  98.                  program. 
  99.         
  100.         
  101.             How to run SCREEN DESIGNER:
  102.         
  103.                  SCREEN DESIGNER was designed to work on a monochrome, 
  104.                  CGA, EGA or PGA equipped IBM (tm) compatible computer, 
  105.                  with at least 512K Ram and one floppy disk drive.
  106.         
  107.                  Late Note: Screen Designer also works in >ALL< VGA 
  108.                  MODES.
  109.         
  110.                  To run the program, all you need to do is type 'SD' at 
  111.                  the DOS prompt, and press <ENTER>.
  112.         
  113.                  There are two command line options available.  If you 
  114.                  wish SCREEN DESIGNER to run in monochrome mode, type 'SD 
  115.                  M'.  If you wish to run SCREEN DESIGNER in color mode, 
  116.                  type 'SD C'.  If you don't do either, SCREEN DESIGNER 
  117.                  will look at your hardware and make its best guess.
  118.         
  119.         
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                  Note:  The graphics produced will still work on any type 
  127.                  of video, the above discussion refers only to how you 
  128.                  run it on your computer.
  129.         
  130.                  The second option is the ability to put the name of an 
  131.                  existing file that you wish to edit on the command line.  
  132.                  After the two opening screens display, this file will be 
  133.                  loaded just as if you had selected the load command from 
  134.                  the file sub-menu.  
  135.         
  136.         
  137.             How to use SCREEN DESIGNER:
  138.         
  139.                  The Main Editor Screen
  140.         
  141.                    This is the screen where you do the actual drawing, 
  142.                    typing, etc. of your screen image.  In addition to all 
  143.                    of the function keys (explained below), the backspace, 
  144.                    insert, delete, tab, return, and cursor keys all work 
  145.                    normally.  The other keys that work here are:
  146.         
  147.                    <Alt>+<Insert>     Insert a new line at the current 
  148.                                       line.
  149.                    <Alt>+<Delete>     Delete the current line.
  150.         
  151.                    <Alt>+<C>          Center screen contents horizontal-
  152.                                       ly.
  153.                    <Ctrl>+<C>         Center current line contents hori-
  154.                                       zontally. 
  155.                       The horizontal center is a little subtle, since 
  156.                       boxes are multi-line constructs.  Rather than try 
  157.                       to explain what happens if there are two boxes of 
  158.                       different heights on the same set of lines,  I will 
  159.                       suggest you try it.  The insert and delete keys can 
  160.                       be used to modify the results, if desired.  You 
  161.                       might want to do some experimenting here.
  162.         
  163.                    <Alt>+<V>          Center screen contents vertically.
  164.         
  165.                    <Alt>+<R>          Pops up a ruler line on whatever 
  166.                                       line the cursor is currently on.  
  167.                                       This WILL NOT Destroy the screen 
  168.                                       contents.  To get rid of the ruler 
  169.                                       and restore your screen, do a 
  170.                                       'Screen Redraw'.
  171.         
  172.                    <CTRL>+<A>         Erase to the left of the curser.
  173.         
  174.                    <CTRL>+<S>         Erase to the right of the curser.
  175.         
  176.                    <CTRL>+<W>         Erase to the top of the curser.
  177.         
  178.                    <CTRL>+<Z>         Erase to the bottom of the curser.
  179.         
  180.         
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                    In addition to the keys listed above, the following 
  188.                    keys are used with the 'box' capability.
  189.         
  190.                    <HOME>             Mark the upper left corner of a 
  191.                                       single line box.
  192.         
  193.                    <Ctrl>+<HOME>      Mark the upper left corner of a 
  194.                                       double line box.
  195.                    <Alt>+<HOME>       Mark the upper left corner of a
  196.                                       special box.
  197.         
  198.                    <Page Down>        Mark the lower right corner of 
  199.                                       all boxes.
  200.         
  201.                  Screen Wrap  
  202.         
  203.                    The screen wraps in all directions.  This means that 
  204.                    if you move the cursor off the right side of the 
  205.                    screen,  it will reappear on the left side,  one  line 
  206.                               down.   If  you  move the cursor off  the  top  of  the 
  207.                    screen,  it will reappear on the bottom of the  screen 
  208.                    in the same column.  The screen also wraps diagonally, 
  209.                    so  that  if you run the cursor off  the  lower  right 
  210.                    corner  of the screen, it will reappear in  the  upper 
  211.                    left corner.
  212.         
  213.                    It is NOT possible to edit more than one screen at a 
  214.                    time.  
  215.         
  216.         
  217.                  The Box Capability
  218.         
  219.                    There is a sophisticated auto-box routine built into 
  220.                    SCREEN DESIGNER, which will allow you to draw boxes of 
  221.                    many different sizes and styles.  All you need to do 
  222.                    is mark the upper left corner of where you want to 
  223.                    draw a box, using one of the <HOME> key combinations 
  224.                    listed above.  Then move the cursor to where you wish 
  225.                    the lower right corner of the box, and press <Page 
  226.                    Down>.  Presto, a box of the desired type and size! 
  227.         
  228.                    There are three separate box patterns available at any 
  229.                    time in SCREEN  DESIGNER. They are the SINGLE BOX, the 
  230.                    DOUBLE BOX and the SPECIAL BOX.  The single box is a 
  231.                    single line box (-).  The double box is a double line 
  232.                    box (=).  The special box is one of a number of possi-
  233.                    ble  patterns.   There are  eight  predefined  special 
  234.                    boxes  (that was the number of keys I had left  over), 
  235.                    and a user-defined option to allow you to set any type 
  236.                    of box pattern you might wish.
  237.         
  238.                    As of version 2.11, there is also an 'intersection 
  239.                    mode' to simplify making intersections in the lines 
  240.                    and boxes.  Tee intersections for all four sides are 
  241.                    supported, as are X type intersections (four way).  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                    These are available in both one and two line patterns.  
  249.                    Mixed type patterns are not supported yet (I'm running 
  250.                    out of keys!).
  251.         
  252.                  The Function Keys
  253.                    SCREEN DESIGNER makes use of the programmable function 
  254.                    keys, F1-F10, in all of the sub-menu screens, as well 
  255.                    as in the main edit screen and the line draw screen.
  256.         
  257.                    Some of the function keys 'toggle' an effect.  In the 
  258.                    case of such a toggle key, the function key label (on 
  259.                    line 25 of the screen) will change to show what press-
  260.                    ing the key will do.  The labels always indicate what 
  261.                    pressing the key WILL do;  they do NOT show the cur-
  262.                    rent function of the key.
  263.         
  264.                                 Function Keys from the Main Edit Screen 
  265.                                 --------------------------------------- 
  266.                                 F1         Main Screen Help
  267.                                 F2         File Utilities Menu
  268.                                 F3         Character Utility Menu
  269.                                 F4         Programmers Utility
  270.                                 F5         Intersections
  271.                                 F6         Line Drawing Mode
  272.                                 F7         Screen Redraw
  273.                                 F8         Graphics Mode 
  274.                                 F9         Restart the Program
  275.                                 F10        Exit the Program
  276.         
  277.             F1 - HELP
  278.             ---------
  279.                  The F1 key ALWAYS displays a help screen. There are help 
  280.                  screens for each of the sub menus, the main edit screen, 
  281.                  and the line draw screen.
  282.         
  283.                  F2 - File Utilities Menu
  284.                  ------------------------
  285.                    The function keys that are used in this menu are:
  286.         
  287.                    F1            File Menu Help
  288.                    F2            File Load
  289.                    F3            File Save
  290.                    F4            Directory List
  291.                    F10           Return to the Main Edit Screen
  292.         
  293.         
  294.                  F1 - File Menu Help
  295.         
  296.                    This key is used to provide a quick reference to the 
  297.                    file menu.
  298.         
  299.                  F2 - File Load
  300.                    This key is used to load an already existing file for 
  301.                    further editing.
  302.                    After pressing F2, you will be asked to enter the 
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.                    filename you want to edit.  If you enter a filename 
  310.                    longer than 12 characters, you will be asked to try 
  311.                    again.  If you press <ENTER> without entering any 
  312.                    filename, you will be returned to the Main Editor 
  313.                    Screen.
  314.                    The files are saved as normal ASCII text files, so you 
  315.                    should be able to edit them with any word processor 
  316.                    that supports a plain ASCII mode (such as Wordstar (in 
  317.                    NON-document mode) or the editors in Turbo Pascal (tm) 
  318.                    or Quickbasic (tm)).
  319.         
  320.                  F3 - File Save
  321.                    This key is used to save a file that you have created. 
  322.                    After you have pressed F2, you will be asked to enter 
  323.                    the filename you want to save.  If you enter a file-
  324.                    name longer than 12 characters, you will be asked to 
  325.                    try again.  If you press <ENTER> without entering any 
  326.                    filename, you will be returned to the Main Editor 
  327.                    Screen.
  328.                    The files are saved as normal ASCII text files, so you 
  329.                    should be able to edit them with any word processor 
  330.                    that supports a plain ASCII mode (such as Wordstar (in 
  331.                    NON-document mode) or the editors in Turbo Pascal (tm) 
  332.                    or Quickbasic (tm)).
  333.         
  334.                  F4 - Directory List
  335.                    This key is used to list the files in the current 
  336.                    directory.  The display stops every 24 lines and 
  337.                    displays 'Press <ENTER> to continue'
  338.         
  339.                  F10 - Return to Main Editor Screen
  340.                    This key is used to return to the Main Edit Screen.
  341.         
  342.             F3 - Alternate Box
  343.             ------------------    
  344.                    This is how you design your 'special' box.  The menu 
  345.                    for  selecting  among the predefined  boxes  is  self-
  346.                    explanatory. The screen will display the different box 
  347.                    patterns  along  with a number for each  one.   Simply 
  348.                    press the corresponding number and the correct pattern 
  349.                    will be generated.
  350.         
  351.                    If the user-defined box option is chosen (number 8), a 
  352.                    new screen will appear.  The left side of the screen 
  353.                    shows a listing of keys with the corresponding charac-
  354.                    ter generated by each key.  The right side of the 
  355.                    screen prompts the user for the characters that will 
  356.                    make up the various corners and sides of the user-
  357.                    defined box.  Pressing <ENTER> after each selection 
  358.                    will move to the next prompt.
  359.         
  360.                    UL stands for Upper Left, UR stands for Upper Right, 
  361.                    LL is Lower Left, LR is Lower Right.  VS is the verti-
  362.                    cal Side and HS is the Horizontal Side.  These charac-
  363.                    ters are entered by typing the standard ASCII key 
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.                    shown to the left of the graphics characters on the 
  371.                    chart that is displayed on the screen.
  372.         
  373.         
  374.             F4 - Programmers Utility
  375.             ------------------------
  376.                    This is the function of the program that caused me to 
  377.                    write SCREEN DESIGNER.  I tend to write truly horrible 
  378.                    screen interfaces.  This is because, like many pro-
  379.                    grammers, I'm more concerned with the program than 
  380.                    with its appearance.  SCREEN DESIGNER is designed to 
  381.                    remedy those appalling interfaces.  I have tried to 
  382.                    make this function non-language specific, as I work in 
  383.                    several different programming languages.  As written, 
  384.                    this function is adequate for BASIC, C, Dbase and 
  385.                    PASCAL coding conventions.  I haven't tested any other 
  386.                    languages with it.  Suggestions and comments are 
  387.                    welcome.
  388.         
  389.                    The first question that you are asked is:
  390.                    'Screen type (P = Program Export, B = BBS Screen):'
  391.                    This performs the following;  If you answer this 
  392.                    question with a letter 'P', skip to the section marked 
  393.                    'Programmer Interface, Program Export'
  394.         
  395.                  Programmer Interface (BBS Screen)
  396.                  ---------------------------------
  397.                    This function of the Programmer interface skips all of 
  398.                    the questions detailed below, and simply requests the 
  399.                    name of the file to save. The formatting of the result 
  400.                    file, however, is very different from the result of 
  401.                    the Program export function!  The result file will NOT 
  402.                    be padded to 80 character lines (the same as the 
  403.                    'right trim' question below).  Blank lines will be 
  404.                    padded to 1 space.  The file will NOT be padded to 24 
  405.                    lines!  This function is useful for drawing bulletins, 
  406.                    messages, and main menu screens for BBS systems, Such 
  407.                    as are used in
  408.         
  409.                                    The Hacker Central BBS
  410.                                        (201)334-2555
  411.                                      300/1200/2400  8N1 
  412.                                           24 hours
  413.         
  414.                    (The preceding has been a blatant advertisement of  my 
  415.                               BBS)
  416.                    
  417.         
  418.                  Programmer Interface (Program export) 
  419.                  -------------------------------------
  420.         
  421.                    You are asked a number of questions in this section, a 
  422.                    detailed discussion follows.
  423.         
  424.                    Number Lines (Y/N):
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.         
  432.                    Do you wish to have each line of the screen image 
  433.                    numbered?  For instance, GWBASIC requires line num-
  434.                    bers, QUICKBASIC considers them optional, and C 
  435.                    doesn't want to consider the prospect of numbered 
  436.                    lines.  If you answer this question 'yes' you will be 
  437.                    asked for a starting number, and an increment between 
  438.                    line numbers. 
  439.         
  440.                    Next, the question 'Right Trim (Y/N)' will be dis-
  441.                    played.
  442.                    
  443.                    This is asking you if you wish to trim trailing blanks 
  444.                    from the right side of the screen image.  All other 
  445.                    formatting will work properly in either mode, this is 
  446.                    for people using non-standard width screens.
  447.         
  448.                    The message "DO NOT ENTER QUOTES FOR THE FOLLOWING 2 
  449.                    QUESTIONS" will be displayed.  If you are working in 
  450.                    BASIC or a similar language which requires PRINT 
  451.                    statements to be quoted, DO NOT type quotes (") here! 
  452.                    I have no idea what will happen if anyone enters 
  453.                    quotes here, but I can guarantee that the program WILL 
  454.                    malfunction.
  455.         
  456.                    The message 'The '^" character will be replaced with 
  457.                    the physical line number in the following statements.' 
  458.                    will display.  This is intended for languages support-
  459.                    ing a 'print at location' statement.  Entering a caret 
  460.                    (^) in either of the next two lines will create a file 
  461.                    formatted as you request,  with the caret (^) being 
  462.                    replaced by the physical line number for each line of 
  463.                    the screen image.
  464.         
  465.                    Example:
  466.                       page=0:row=^:col=4:scrmode=1:st$=
  467.                            will produce a file formatted thus;
  468.                            page=0:row=1-25:col=4:scrmode=1:st$=   etc.
  469.         
  470.                    The message 'Begin lines with:' will be displayed, 
  471.                    this is the programming language statement you wish to 
  472.                    have each line begin with. for example,  if program-
  473.                    ming in BASIC, the answer would be 'PRINT'
  474.         
  475.                    ** Please note that Compound statements under Basic 
  476.                    ARE supported.
  477.         
  478.                    The message 'End lines with:' will be displayed, this 
  479.                    is the programming language statement you wish to have 
  480.                    each line end with. for example, in C you could use 
  481.                    this capability in PRINTF statements.
  482.         
  483.                    ** Please note that Compound statements under Basic 
  484.                    ARE supported.
  485.         
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.         
  493.                    Next you will be asked for;
  494.                    'Offset from top for line counter metacharacter (0 = 
  495.                    none)'
  496.                    
  497.                    This rather indecipherable message relates back to the 
  498.                    caret (^) we discussed above.  Normally the lines will 
  499.                    be numbered 1 to 25.  If, for some reason, you need 
  500.                    them numbered 5 to 30, enter an offset of 5.  In 
  501.                    short, this is the number you wish added to the physi-
  502.                    cal line number in your output file.
  503.         
  504.                    (The curious may wish to know why I phrased this 
  505.                    question in this fashion.  The answer is that my XENIX 
  506.                    is showing.)
  507.         
  508.         
  509.                    Next you will be asked if you need to have screen 
  510.                    lines quoted, this is a yes/no question.  The opening 
  511.                    quotes will be inserted AFTER the 'begin lines with' 
  512.                    field , and the closing quotes will be inserted BEFORE 
  513.                    the 'end lines with' field.  (BASIC programmers, the 
  514.                    answer is YES)
  515.         
  516.                    The last question you will be asked is for the name of 
  517.                    the file you wish to save the formatted screen image 
  518.                    in.  If you supply the name of a file that already 
  519.                    exists, it will be OVERWRITTEN.
  520.         
  521.                    If you enter a filename longer than 12 characters, you 
  522.                    will be asked to try again.  If you press <ENTER> 
  523.                    without entering any filename, you will be returned to 
  524.                    the Main Editor Screen. The files are saved as normal 
  525.                    ASCII text files, so you should be able to edit them 
  526.                    with any word processor.
  527.         
  528.         
  529.                  F5 -  Intersection mode
  530.                  -----------------------
  531.                  Intersection mode is designed to place an 'intersection' 
  532.                  character at the current cursor position.  The way it 
  533.                  works is:
  534.         
  535.                    1) Position the cursor where you want an intersection.
  536.                    2) Press the F5 key.
  537.                    3) Press any one of the following keys;
  538.         
  539.                    w, W, a, A, s, S, z, Z, x, X        
  540.         
  541.                    (This is going to be a little difficult.....)
  542.         
  543.                       Visualize the WASZ diamond on your keyboard as 
  544.                       being representative of the four sides of a square. 
  545.                       Lower case supplies single line intersections 
  546.                       appropriate to the side of the square being repre-
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.                       sented by the appropriate key, upper case gives 
  554.                       double lines.  The x or X key does a 'four way' 
  555.                       intersection.  I suggest a little experimentation.
  556.         
  557.                  F6 - Line Draw Mode
  558.                  -------------------
  559.                    The function keys used from this menu are:
  560.         
  561.                    F1             Line Draw Help
  562.                    F2             Single / Double Line Toggle
  563.                    F3             Pen Up / Down Toggle
  564.                    F4             Redraw the Screen
  565.                    F5             Intersection Mode 
  566.                    F10            Return to the Main Editor Screen
  567.         
  568.                  All of the cursor arrow keys work normally (SEE NOTE 
  569.                  BELOW), as do the backspace, tab, return, insert and 
  570.                  delete keys.  The other keys that work here are:
  571.         
  572.                  <Alt>+<R>            Pops up a ruler line on whatever
  573.                                       line the cursor is currently on.  
  574.                                       This WILL NOT Destroy the screen 
  575.                                       contents.  To get rid of the ruler 
  576.                                       and restore your screen, just do a 
  577.                                       'Screen Redraw'.
  578.         
  579.                  <CTRL>+<A>           Erase to the left of the cursor.
  580.         
  581.                  <CTRL>+<S>           Erase to the right of the cursor.
  582.         
  583.                  <CTRL>+<W>           Erase to the top of the cursor.
  584.         
  585.                  <CTRL>+<Z>           Erase to the bottom of the cursor.
  586.         
  587.                  NOTE:  The cursor keys work as marked when the pen is 
  588.                  UP.  When the pen is down, a line of the selected type 
  589.                  is drawn by the cursor.
  590.         
  591.                  F1 - Line Draw Help
  592.                    This key is used to provide a quick reference to the Line Draw Screen.
  593.         
  594.                  F2 - Single / Double Line Toggle
  595.         
  596.                    This key toggles between single line (-) and double 
  597.                    line (=) mode. Note that the function key line changes 
  598.                    to indicate what pressing the toggle key WILL do, not 
  599.                    the current status of the toggle key.
  600.         
  601.                  F3 - Pen Up / Down Toggle
  602.         
  603.                    This key toggles between pen up (cursor movement) and 
  604.                    pen down (line drawing modes.  The lines are actually 
  605.                    drawn by moving the cursor (with the arrow keys) while 
  606.                    the pen is DOWN.  Appropriate corners will be supplied 
  607.                    automatically. (Well, within limits - the program is 
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.                    not omniscient.)
  615.         
  616.                  F4 - Redraw the Screen
  617.         
  618.                    This  key  is used to redraw the screen after  a  RAM-
  619.                    resident  program has messed it up. It is also  useful 
  620.                    for getting rid of the ruler line.
  621.         
  622.                  F5 - Intersection mode
  623.         
  624.                    Intersection mode is designed to place an 'intersec-
  625.                    tion' character at the current cursor position.  The 
  626.                    way it works is:
  627.         
  628.                    1) Position the cursor where you want an intersection.
  629.                    2) Press the F5 key.
  630.                    3) Press any one of the following keys;
  631.         
  632.         
  633.                    w, W, a, A, s, S, z, Z, x, X        
  634.         
  635.                    (This is going to be a little difficult.....)
  636.         
  637.                    visualize the WASZ diamond on your keyboard as being 
  638.                    representative of the four sides of a square. Lower 
  639.                    case supplies single line intersections appropriate to 
  640.                    the side of the square being represented by the appro-
  641.                    priate key, upper case gives double lines.  The x or X 
  642.                    key does a 'four way' intersection.  I suggest a 
  643.                    little experimentation.
  644.         
  645.                  F10 - Return to main Editor Screen
  646.         
  647.                    This key returns you to the Main Edit Screen.
  648.         
  649.             F7 - Redraw the Screen
  650.             -----------------------
  651.                  This  key  is  used to redraw the screen  after  a  RAM-
  652.                  resident  program has messed it up.  It is  also  useful 
  653.                  for getting rid of the ruler line.
  654.         
  655.             F8 - Graphics Mode 
  656.             ------------------
  657.         
  658.                  This key toggles between 'TEXT' and 'GRAPHICS' keyboard 
  659.                  mode.  Note that the function key line changes to indi-
  660.                  cate what pressing the toggle key WILL do, not the 
  661.                  current status of the toggle key.
  662.         
  663.         
  664.             F9    -    Clear    Screen   and    Restart    the    Program 
  665.             ------------------------------------------ 
  666.         
  667.                  This key clears the screen and restarts the program.
  668.         
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.             F10 - Exit the Program
  676.             ----------------------
  677.                    This key is used to exit the program.
  678.         
  679.                    As of Ver 2.11, You will be asked if you have saved 
  680.                    the screen currently displayed. This is a Yes or NO 
  681.                    (Y/N) question.  If you answer yes, the program will 
  682.                    exit.  If the answer is no, you will be asked for the 
  683.                    filename you wish to save the screen in.  The screen 
  684.                    will then be saved and the program will then exit.
  685.         
  686.         
  687.         
  688.             Technical Appendix:
  689.             -------------------
  690.         
  691.                  The graphics characters produced by SCREEN DESIGNER are 
  692.                  the extended ASCII character set incorporated in every 
  693.                  video board as part of the standard (as defined by IBM) 
  694.                  character set.  On a CGA, EGA, PGA or other color board, 
  695.                  SCREEN DESIGNER does not operate in the GRAPHICS mode, 
  696.                  but rather in TEXT mode.  This allows the graphics 
  697.                  created by SCREEN DESIGNER to work properly on any type 
  698.                  of computer / video system.
  699.         
  700.                  All files produced by SCREEN DESIGNER are standard ASCII 
  701.                  text files, with no tokenization.  You can edit any of 
  702.                  the image files you create with an ASCII word processor, 
  703.                  such as WORDSTAR in NON-document mode, or the editors in 
  704.                  Turbo Pascal and QuickBasic.
  705.         
  706.                  The files created are 24 records long, with 80 charac-
  707.                  ters per record.  
  708.         
  709.             PLEASE NOTE:   If you use column 80 for your screen design,
  710.                            be advised that there is a bug involving the 
  711.                            video systems ability (indeed, a desire) to 
  712.                            wrap to the next line.  SCREEN DESIGNER at-
  713.                            tempts to handle this problem with column 80 
  714.                            for you, but it will probably turn out 
  715.                            strangely.  I advise that you design your 
  716.                            screens to use columns 1-79, and ignore column 
  717.                            80 entirely.
  718.         
  719.             If you attempt to read in a file that contains either short 
  720.             lines (less then 80 characters) or short files (less than 24 
  721.             records) SCREEN DESIGNER will pad the records to the requi-
  722.             site length & number.
  723.         
  724.             This program is written in Microsoft QuickBasic 4.5, and 
  725.             makes use of the 'event trapping' features of that language.  
  726.             Attempting to use a RAM-resident program, such as Sidekick 
  727.             (tm), while running SCREEN DESIGNER may produce strange 
  728.             results.
  729.         
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.             I have attempted to make this program as portable as possi-
  737.             ble.  The screen redraw is a little slow, but keep in mind 
  738.             that SCREEN DESIGNER should work on 98% & 99% compatibles as 
  739.             well as 100% compatibles, and under Windows (tm) and Double-
  740.             Dos (tm).  I felt that the compromise was worth it.
  741.         
  742.         
  743.                  SCREEN DESIGNER has been tested on the following comput-
  744.                  er systems:
  745.                  (machine types are listed generically, to avoid having 
  746.                  to list three pages of trademark credits)
  747.                            AT with CGA
  748.                            AT with EGA
  749.                            AT with monochrome
  750.                            XT with monochrome graphics
  751.                            XT with CGA
  752.                            XT with Hercules 
  753.                            386 with VGA
  754.         
  755.         
  756.                            These systems were run under various versions 
  757.                            of MS-DOS (tm), from  2.11 through 3.2. and 
  758.                            PC-DOS (tm) 3.3
  759.         
  760.         
  761.         
  762.             Miscellaneous Notes and Release History:
  763.         
  764.             I'd like to take this opportunity to thank Anthony Scriffig-
  765.             nano, whose program  'CHART'  inspired SCREEN DESIGNER.
  766.         
  767.             I'd also like to thank the system operator of the Software 
  768.             Society BBS (Sparta NJ) for his willingness to put up with my 
  769.             inability to upload the right file the first time (EVER!).  I 
  770.             got the idea for the intersection mode from his main menu.
  771.         
  772.             And, last but not least, I want to thank my wife, Evelyne 
  773.             Stalzer, for tolerating my living at this computer while I 
  774.             wrote SCREEN DESIGNER, and for editing the documentation.
  775.         
  776.         
  777.         
  778.         
  779.             Revision History:
  780.         
  781.             Version .99
  782.             The boxer goes berserk, no line draw mode
  783.         
  784.             Version 1.00
  785.             Beta testing: added corrections for short files & short 
  786.             records, added ruler line, added blank left, right, up & down 
  787.             feature.  (I'll get even with John someday..)
  788.         
  789.             Version 1.45
  790.             The virtual screen wins the battle, but I win the war....
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.             Where is the cursor going ?, started docs.  figured out the 
  798.             boxer bug, added interlock so up left MUST be above & left of 
  799.             lower right (good morning stupid)
  800.         
  801.         
  802.         
  803.             Version 1.75
  804.             I  found the cursor, rewrite the logical to  physical  screen 
  805.             connection.  (AGAIN!)
  806.         
  807.             Version 2.0
  808.             First Release to the public (Software Society BBS)
  809.         
  810.             2 Days later.....
  811.         
  812.             Version 2.02
  813.             Killed the idea of delay loops in the title display, made it 
  814.             a 'hit a key'.
  815.         
  816.             Version 2.03
  817.             Not released pending $, found minor bug in line draw, on line 
  818.             24, going right to left, cursor goes to top of screen. fixed 
  819.             same.
  820.         
  821.             Version 2.04
  822.             Incorporates 2.03 fix and a correction to the virtual-physi-
  823.             cal cursor link.
  824.         
  825.             Version 2.10
  826.             added  intersection  mode, also remapped all F keys  in  draw 
  827.             mode at suggestion of Sid K.
  828.         
  829.             Version 2.11
  830.             At the suggestion of Sid (and original design notes, which I 
  831.             finally found on my desk!) added check for save during exit 
  832.             sequence.
  833.         
  834.             Version 2.30
  835.             Added Trim right and line counter metacharacter to the pro-
  836.             grammer interface. also added offset from top for counter 
  837.             meta.  Rewrote whole programmer interface (internal).  As 
  838.             test, rewrote all help screens using new programmer interface 
  839.             and PROBAS (tm) windowmanager.  New screens only available on 
  840.             color systems, maintaining support for mono systems.
  841.         
  842.             Version 2.33
  843.             Corrected garbage character pickup on exiting 'help' with a 
  844.             function key (Joey DeS).  Added the video mode force feature 
  845.             at request of Chuck A. (sysop of Chuck's attempt), fixed 
  846.             comma bug in programmer interface (Vic LaG.)  
  847.         
  848.             Version 2.35
  849.             Corrected  minor bug in video mode force  routine.   Reworked 
  850.             the way that the INSERT and DELETE keys work.  compile/linked 
  851.             using  OPTCALL  (Public Domain, Copyright  1988,  Michael  W. 
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.             Cocke)  which  reduced the size of the Executable  file  from 
  859.                 over 140K to about 114K.
  860.         
  861.             Version 2.37
  862.             Added command line facility to enter name of existing file to 
  863.             load for editing.  Added the 'BBS Screen' function to the 
  864.             programmers interface.     
  865.         
  866.             Version 2.39
  867.             Corrected two (actually two and one half) bugs in the command 
  868.             line file load ability.  Non-existant files are now handled 
  869.             properly, and loading a new file from the file menu, after 
  870.             having loaded a file from the command line now works.  the 
  871.             'half bug' was in the way the screen displayed the 'loading' 
  872.             message during startup. it worked, but looked sloppy.        
  873.         
  874.             Version 2.75
  875.             Rewrote  entire  graphics mode,  reworked  graphics  keyboard 
  876.             mode, got mixed mode graphics keyboard to work, almost  broke 
  877.             1  screen barrier, but decided against it on basis of  effort 
  878.             required/registrations  received,   combined  separate   help 
  879.             screens  for  mono & color modes into one  multimode  system, 
  880.             cleaned up main help screens, moved more keystrokes away from 
  881.             the  event  handlers  and back to  keyboard  scanning,  added 
  882.             facility  to  save  under name most  recently  loaded  under. 
  883.             rewrote docs using new version of Wordstar (tm)
  884.         
  885.         
  886.         
  887.         
  888.             It is the policy of MWC Enterprises (Me) to implement REGIS-
  889.             TERED user requests (where possible) in ALL shareware 
  890.             products.  If you have a suggestion, LET ME KNOW!  (If you 
  891.             aren't registered, REGISTER!)  It is a hope (not a policy, 
  892.             but what do you want?) to implement user suggestions in 
  893.             Public Domain Software.
  894.         
  895.         
  896.             IBM is a registered trademark of International Business 
  897.             Machines Corp. Turbo Pascal is a registered trademark of 
  898.             Borland International. QuickBasic is a registered trademark 
  899.             of Microsoft, Inc. 
  900.             Wordstar is a registered trademark of Micropro International 
  901.             Corp. MS-DOS is a registered trademark of Microsoft, Inc. 
  902.             PC-DOS is a registered trademark of International Business 
  903.             Machines Corp.
  904.         
  905.         
  906.  
  907.  
  908.  
  909.