home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / nyword.zip / GUIDE2 < prev    next >
Text File  |  1986-12-01  |  27KB  |  560 lines

  1.  
  2.  
  3.  
  4.                                        4
  5.  
  6.  
  7.        2. INSTALLATION
  8.          
  9.        
  10.        2.1 System Requirements
  11.          
  12.             RGB-TechWriter runs on IBM PC, XT, AT, or compatible
  13.        computers equipped with an 80-column monitor, one double-sided
  14.        disk drive, and DOS 2.0 or higher.  147 KB of free memory is
  15.        required to run the program, but a minimum of 206 KB is
  16.        recommended and 270 KB is needed to reach the full text capacity.
  17.        Because RGB-TechWriter uses color to represent special character
  18.        attributes (like subscripts), the full benefit of the program can
  19.        only be realized when used with a color monitor.  RGB-TechWriter
  20.        communicates directly with the video memory, so only video
  21.        adapter cards which are compatible with either the IBM monochrome
  22.        adapter or the IBM color graphics adapter will function properly.
  23.        IBM's enhanced graphics adapter or a compatible equivalent is
  24.        particularly well suited to this application.
  25.        
  26.        
  27.        2.2 Floppy Disk System
  28.          
  29.             If your system does not have a fixed disk, then this section
  30.        is for you.  Otherwise, proceed to section 2.3.  The first thing
  31.        you should do is make a working copy of your RGB-TechWriter
  32.        diskette and store the original in a safe place.  Start by
  33.        formatting a new double-sided diskette.  Be sure to include the
  34.        DOS system files, and give the disk an appropriate volume label.
  35.        The details can be found under the "FORMAT" command in your DOS
  36.        manual.  You must use DOS version 2.0 or later.
  37.        
  38.             Only two RGB-TechWriter files need to be copied to your
  39.        disk.  The first is the executable program, TW.EXE.  If, for
  40.        example, you have placed the original disk in drive A: and your
  41.        new working disk in drive B:, type
  42.        
  43.        copy a:tw.exe b:
  44.        
  45.        The second file will have the name TW.DAT and is created
  46.        according to section 2.4.  You may want to copy additional files
  47.        to your working disk.  An AUTOEXEC.BAT file is useful, especially
  48.        if you have a battery-backup clock or have written a program to
  49.        load an alternate character set to your printer.  The DOS
  50.        utilities FORMAT and CHKDSK are useful for initializing and
  51.        monitoring the disks you use for saving text.
  52.        
  53.        
  54.        2.3 Fixed Disk System
  55.          
  56.             Setting up RGB-TechWriter on a system with a fixed disk is
  57.        somewhat more involved than for diskettes, but the extra speed
  58.        with which the program loads and recovers files is well worth the
  59.        effort.  The procedure described here uses directory paths to
  60.        create a nice environment for keeping track of the large number
  61.  
  62.  
  63.        INSTALLATION
  64.  
  65.  
  66.                                        5
  67.  
  68.  
  69.        of files you can store on a fixed disk.
  70.        
  71.             Start by creating a special subdirectory to contain the RGB-
  72.        TechWriter program files.  Call this directory TW.  Start by
  73.        switching to the root directory of the fixed disk (usually drive
  74.        C:), by typing
  75.        
  76.        C:
  77.        cd \
  78.        
  79.        Now create the new directory by typing
  80.        
  81.        md tw
  82.        
  83.        which stands for "make directory TW."  Place the original RGB-
  84.        TechWriter disk in drive A: and copy the main program into the TW
  85.        directory:
  86.        
  87.        copy a:tw.exe \tw
  88.        
  89.        One more file will have to be copied into this directory.  It
  90.        will be called TW.DAT and directions for creating it are given in
  91.        section 2.4.
  92.        
  93.             You may want to create several additional directories as a
  94.        way of categorizing your files.  You might want to have a
  95.        subdirectory called LETTERS, one called PAPERS, one called LISTS,
  96.        etc. for saving the text files you create with RGB-TechWriter.
  97.        You will also want to create directories for your executable
  98.        program files.  A subdirectory called DOS will put that long list
  99.        of DOS files neatly in one place.  If you are a programmer, a
  100.        separate subdirectory for each language is a good idea.  In fact,
  101.        the only files which can't be sorted into a subdirectory are the
  102.        system files COMMAND.COM, CONFIG.SYS, and AUTOEXEC.BAT.  Note
  103.        that the latter two of these are optional files for tailoring
  104.        your system environment.
  105.        
  106.             The only catch to putting all of your files in
  107.        subdirectories is in gaining access to them.  Normally, DOS only
  108.        looks in the "current" directory when you try to execute a
  109.        program.  Thus you might place yourself in your LETTERS
  110.        subdirectory by typing
  111.        
  112.        cd \letters
  113.        
  114.        which means "change directory to the LETTERS directory within the
  115.        main (root) directory."  But if you tried to start RGB-TechWriter
  116.        by typing TW, DOS wouldn't find it because it's in a different
  117.        directory.  There is a clever way around this problem, however.
  118.        The PATH command within DOS allows you to specify a list of
  119.        subdirectories you would like DOS to search if it doesn't find
  120.        the program you want in your current directory.  If you have
  121.        executable program files in the directories TW, DOS, BASIC, and
  122.        PASCAL, you need to give DOS the following command:
  123.  
  124.  
  125.        INSTALLATION
  126.  
  127.  
  128.                                        6
  129.  
  130.  
  131.        path \tw;\dos;\basic;\pascal
  132.        
  133.        Now when you type TW from the LETTERS directory, DOS will find
  134.        TW.EXE in the \TW directory.  This command is most conveniently
  135.        included within the AUTOEXEC.BAT file so that it gets taken care
  136.        of automatically each time the system is turned on.
  137.        
  138.        
  139.        2.4 Printer Selection
  140.          
  141.             RGB-TechWriter can drive any printer provided that it allows
  142.        the computer to adjust the vertical distance skipped when a
  143.        carriage return is encountered.  RGB-TechWriter uses this
  144.        "vertical motion index" mechanism for superscripts, subscripts,
  145.        underlining, and fractional line spacing.  The RGB-TechWriter
  146.        disk contains data files for several printers.  There are many
  147.        other printers that are compatible, but only those in Table 2.1
  148.        have been tested.  Furthermore, every one of the printers shown
  149.        is capable of producing some special characters even though the
  150.        printer data files supplied may not provide the necessary
  151.        character definition codes.
  152.        
  153.                                    TABLE 2.1
  154.                           Printer Configuration Files
  155.        
  156.        Printer               Data File Name   Special Character Support
  157.        
  158.        AT&T 473                AT&T473. *     Partial built-in char. set
  159.        DEC LN03 Laser          DECLN03.       Built-in tech. char. set
  160.        Epson RX-80             EPSON80.RX *   Dot graphics
  161.        HP LaserJet             HPLJ.          None provided
  162.        HP LaserJet             HPLJ.ME        Math Elite font cartridge
  163.        HP ThinkJet             HPTJ.          None provided
  164.        IBM Graphics Printer    IBMGP.         None provided
  165.        IBM Proprinter          IBMPRO.        Partial built-in char. set
  166.        Okidata 92 (Original)   OKI92.OKI      Downloadable (OKI-DLCG)
  167.        Okidata 192 (for IBM)   OKI192.IBM     Downloadable (OKI-DLCG)
  168.        Texas Instruments 855   TI855. *       None provided
  169.        Texas Instruments 855   TI855.GM *     Greek/Math font cartridge
  170.        Toshiba P341            TOSH341. *     None provided
  171.        
  172.        * Includes user-supplied configuration data
  173.        
  174.        
  175.        
  176.             Select the configuration file which most closely corresponds
  177.        to your printer.  Copy this file to your RGB-TechWriter working
  178.        disk under the name TW.DAT.  If, for example, the original disk
  179.        is in drive A:, your working disk is in drive B:, and you
  180.        selected the Okidata 192, you would type
  181.        
  182.        copy a:oki192.ibm b:tw.dat
  183.        
  184.        If you have installed RGB-TechWriter on a fixed disk, type
  185.  
  186.  
  187.        INSTALLATION
  188.  
  189.  
  190.                                        7
  191.  
  192.  
  193.        copy a:oki192.ibm c:\tw\tw.dat
  194.        
  195.             All of the printers listed use a parallel interface except
  196.        for the laser printers, which normally use a serial interface.
  197.        RGB-TechWriter always prints to the parallel port, but the MODE
  198.        command in DOS can be used to redirect this signal to a serial
  199.        port.  Details on redirecting parallel output to the serial port
  200.        are contained in your DOS manual.
  201.        
  202.             If you need to alter the codes sent to your printer, section
  203.        6 describes how to modify the file TW.DAT.
  204.        
  205.        2.5 Default Parameters
  206.          
  207.             In addition to containing the codes specific to your
  208.        printer, the file TW.DAT contains parameters which affect the
  209.        editing environment.  RGB-TechWriter is initially configured with
  210.        the following default parameters:
  211.        
  212.        Maximum text length set for 30000 characters,
  213.        Files are saved on drive A:,
  214.        Print 10 characters per inch,
  215.        Single line spacing (6 lines per inch),
  216.        1 inch margin on all four sides,
  217.        Page numbering in upper right corner.
  218.        
  219.        If you would like for the program to start up with different
  220.        initial values, you can change the default parameters by
  221.        modifying the file TW.DAT as described in section 6.  In
  222.        particular, you will probably want to change the default drive to
  223.        B: for a two-floppy system, or to C: for a fixed-disk system.  If
  224.        you have ample memory, you may also want to increase the maximum
  225.        text length, up to 62768.
  226.        
  227.        
  228.        2.6 Using Borland's Lightning Dictionary
  229.          
  230.             RGB-TechWriter does not come equipped with a built-in
  231.        spelling checker, but it works very well with Turbo Lightning, a
  232.        spelling checker and Thesaurus available from Borland
  233.        International.  This section describes how to install Lightning
  234.        so that it works with RGB-TechWriter.  If you do not have this
  235.        product, proceed to section 2.7 to test your installation.
  236.        
  237.             If you have a two-floppy system, follow the instructions
  238.        provided with Lightning to create a diskette containing the
  239.        Lightning dictionaries.  It is not necessary to put the Lightning
  240.        files on the same diskette with your RGB-TechWriter program.
  241.        When you run Lightning with RGB-TechWriter, you will first load
  242.        Lightning from drive A: as described in the Lightning
  243.        documentation.  Replace the Lightning diskette with your RGB-
  244.        TechWriter diskette and load RGB-TechWriter with your data
  245.        diskette in drive B:.  Once RGB-TechWriter has started, you can
  246.        remove its diskette from drive A: and replace it with your
  247.  
  248.  
  249.        INSTALLATION
  250.  
  251.  
  252.                                        8
  253.  
  254.  
  255.        Lightning diskette.  Lightning needs to have access to its on-
  256.        disk dictionaries whenever you ask it to look up the spelling of
  257.        a word.  RGB-TechWriter is fully memory resident, so you won't
  258.        need to replace the RGB-TechWriter diskette until you are ready
  259.        to exit RGB-TechWriter and return to DOS.
  260.        
  261.             If you have a fixed-disk system, follow the instructions
  262.        provided with Lightning to create a subdirectory containing the
  263.        Lightning Dictionaries.  It is not necessary to put these in the
  264.        same directory with your RGB-TechWriter program.  If you include
  265.        the name of the subdirectory containing the Lightning files in
  266.        your PATH command (See section 2.3), then you can invoke RGB-
  267.        TechWriter with Lightning using the following batch file, which
  268.        you might name TWL.BAT:
  269.        
  270.        light
  271.        envi a
  272.        tw
  273.        
  274.        This batch file invokes Lightning, sets the environment for RGB-
  275.        TechWriter, and finally starts RGB-TechWriter.  This assumes that
  276.        you have set up RGB-TechWriter as environment choice "a", but you
  277.        could use any choice from "a" through "m".
  278.        
  279.             Unfortunately, none of the predefined environment choices
  280.        provided on the Lightning diskette is fully compatible with RGB-
  281.        TechWriter.  The remainder of this section describes how to set
  282.        up the Lightning environment to work correctly with RGB-
  283.        TechWriter.  Change your disk and directory to where your
  284.        Lightning files are stored.  Invoke Lighting by typing LIGHT.
  285.        Next start RGB-TechWriter by typing TW.  If you have a floppy
  286.        system, you will of course need to put your RGB-TechWriter
  287.        diskette in drive A: first.  The RGB-TechWriter introductory
  288.        screen should appear.  If you have a floppy system, put the
  289.        Lightning diskette back in drive A:.  Now hit the INS key and
  290.        specify the drive which contains the Lighting files.  Finally,
  291.        enter the RGB-TechWriter editing mode by hitting the E key.
  292.        
  293.             Call up the Lightning menu by hitting Shift-F8.  Select the
  294.        Environment option by hitting the Enter key.  Move the green bar
  295.        to an application you don't own and don't plan to acquire.  I'll
  296.        assume you chose letter "A".  Now hit function key F2 to edit
  297.        this environment.  The first thing to do is set the name, which
  298.        is choice A.  In response to the query, type RGB-TechWriter.
  299.        Your selection has now been renamed.  Hit F2 again to set up the
  300.        particulars so that they will work with RGB-TechWriter.  Table
  301.        2.2 shows how the list should look when you have made all of the
  302.        necessary changes.  To enter a "None", just hit the Enter key.
  303.        
  304.             When you get to selection P, specify that Lightning should
  305.        look on the screen (option E).  Follow the instructions, using
  306.        the "Insert" label in the upper-right corner of the screen.
  307.        
  308.  
  309.  
  310.  
  311.        INSTALLATION
  312.  
  313.  
  314.                                        9
  315.  
  316.  
  317.                                    TABLE 2.2
  318.                    RGB-TechWriter Environment for Lightning
  319.        
  320.        B: RGT                              (Right arrow key 1)
  321.        C: None                             (Right arrow key 2)
  322.        D: LFT                              (Left arrow key 1)
  323.        E: None                             (Left arrow key 2)
  324.        F: None                             (Left arrow key 3)
  325.        G: BKS                              (Backspace key 1)
  326.        H: None                             (Backspace key 2)
  327.        I: DEL                              (Delete key 1)
  328.        J: None                             (Delete key 2)
  329.        K: INS                              (Insert toggle 1)
  330.        L: INS                              (Insert toggle 2)
  331.        M: Screen                           (Get word from)
  332.        N: 002                              (Piping delay)
  333.        O: ON                               (Auto proof)
  334.        
  335.        
  336.             Escape your way back up to the top-line Lightning menu.  You
  337.        have completed the environment change, but there's one more item
  338.        to attend to.  Lightning, by default, uses certain function keys
  339.        which also have meaning to RGB-TechWriter.  To avoid conflicts,
  340.        it is necessary to reassign the "hot keys" for Lightning.  Do
  341.        this by selecting the Options choice.  As long as you avoid
  342.        duplicating RGB-TechWriter functions, you can set the hot keys
  343.        any way you like.  A configuration which has proven to be very
  344.        convenient is given in Table 2.3.
  345.        
  346.                                    TABLE 2.3
  347.                              Lightning "Hot Keys"
  348.        
  349.        A: ON                               (Auto proof)
  350.        B: ON                               (Confirm window)
  351.        C: ShftF1                           (Main menu hot key)
  352.        D: PLS                              (Last bad word hot key)
  353.        E: ShftF4                           (Check word hot key)
  354.        F: MIN                              (Screen check hot key)
  355.        G: ShftF3                           (Review screen hot key)
  356.        H: ShftF2                           (Thesaurus hot key)
  357.        I: CtrlF1                           (Toggle auto proof hot key)
  358.        
  359.        
  360.             Escape back to the top-line menu and select the Setup
  361.        choice.  If you have not already set up your dictionaries, do so
  362.        now.  Then save all of the changes you have made by selecting
  363.        choice D.  For now on, you can call up the Lightning menu using
  364.        Shift-F1, instead of Shift-F8.  Whenever you hear Lightning
  365.        "Beep" at you, you can have it check the spelling of the
  366.        suspected word simply by hitting the large "+" key by the numeric
  367.        keypad.  If you want to check the entire screen, hit the "-" key
  368.        by the numeric keypad.  If you have a keyboard with 12 function
  369.        keys, you may want to install keys 11 and 12 for this purpose,
  370.        instead.
  371.  
  372.  
  373.        INSTALLATION
  374.  
  375.  
  376.                                       10
  377.  
  378.  
  379.             Once you have built up a respectable auxiliary dictionary
  380.        (including some obvious dictionary omissions like "RGB-
  381.        TechWriter"), you will find that Lightning and RGB-TechWriter
  382.        were meant for each other!
  383.        
  384.        
  385.        2.7 Running RGB-TechWriter for the First Time
  386.          
  387.             It's finally time to try out RGB-TechWriter.  If you have a
  388.        floppy disk system, insert your TechWriter diskette in drive A:
  389.        and a formatted data disk in drive B:.  If you have a fixed disk
  390.        you should change to the TW directory by typing
  391.        
  392.        cd \tw
  393.        
  394.        Examine the directory by typing
  395.        
  396.        dir
  397.        
  398.             You should have at least the two files TW.EXE and TW.DAT.
  399.        If not, you have not completed the instructions in sections 2.2
  400.        through  2.4.  You may have more files if you copied other files
  401.        from the RGB-TechWriter distribution diskette.  Start the program
  402.        by typing
  403.        
  404.        tw
  405.        
  406.             It will take a few seconds for the program to load into
  407.        memory.  If you do not have enough free memory to run RGB-
  408.        TechWriter, you will be told so and returned to DOS.  If the
  409.        program cannot find the file TW.DAT, it will warn you and proceed
  410.        to use a default printer specification.  When it is ready, an
  411.        introductory screen is displayed.  This screen contains the
  412.        copyright and distribution notices.  It also tells you which disk
  413.        drive is set up as the default.  If this is the drive where you
  414.        have your TechWriter files, then just hit the Enter key.  If not,
  415.        hit the Ins key and type in the correct drive letter, followed by
  416.        a colon; then hit the Enter key.
  417.        
  418.             The screen you see at this time is the "File Screen Menu."
  419.        The commands listed at the top of the page are selected by
  420.        hitting the appropriate letter key.  It is not necessary to hold
  421.        down the shift key or hit the Enter key.
  422.        
  423.             Start by creating a simple file from scratch.  Simply hit
  424.        the E key to begin editing your new file, which starts out as
  425.        nothing more than a single blank space.  As soon as you hit the E
  426.        key you will be moved into the "Editing Mode."  The screen is
  427.        blank except for a title line at the top and a menu line at the
  428.        bottom.  The first thing to learn is how to get help.  When in
  429.        the editing mode, just hit function key F1, as indicated at the
  430.        bottom of the screen.  Do this now.  You will be presented with a
  431.        concise description of all of the keys and commands.  This will
  432.        usually be enough to remind you of what to do.  If you need more
  433.  
  434.  
  435.        INSTALLATION
  436.  
  437.  
  438.                                       11
  439.  
  440.  
  441.        information, complete descriptions are in the documentation.  To
  442.        go back to editing, hit the Esc key.  Do so now.
  443.        
  444.             Your cursor should now be situated in the upper-left corner
  445.        on line 1, column 1, as indicated in the upper-right corner of
  446.        the screen.  Now type yourself a message.  Anything will do, but
  447.        make it at least two lines long.  Don't hit the Enter key at the
  448.        end of the first line.  RGB-TechWriter will "wrap" the cursor
  449.        back to the start of the next line at the appropriate time.  If
  450.        you make a mistake while typing, use the backspace key to erase
  451.        the mistake and try it again.  When you have finished this
  452.        "paragraph," hit the Enter key.  You will see a small yellow dot
  453.        at the end of your text which reminds you that there is a "hard"
  454.        carriage return at that point.  These hard carriage returns keep
  455.        the paragraphs separate.  One is created every time you hit the
  456.        Enter key, and you can delete them just like any other character
  457.        using the delete key or the backspace key.
  458.        
  459.             Let's edit your text by inserting an additional sentence
  460.        right in the middle of your paragraph.  To get to the middle, use
  461.        the cursor-arrow keys to move the cursor until it is situated
  462.        where you want to enter more text.  Now type another sentence.
  463.        You will notice that the previous text moves over to make way for
  464.        the new text as you type.  What's more, the words are
  465.        continuously shuffled around to make sure that no line exceeds
  466.        the allowed line length.  Let's suppose now that you want to
  467.        split your paragraph into two separate paragraphs at the point
  468.        where your cursor is now located.  It's easy...just hit the Enter
  469.        key.  If you want to have a blank line between the paragraphs,
  470.        just hit the Enter key again.
  471.        
  472.             You should now have two separate paragraphs, each terminated
  473.        by a yellow dot, and you may have chosen to add a blank line
  474.        between them.  Let's move the second paragraph to the beginning
  475.        of the text.  To do this, move the cursor to the beginning of the
  476.        second paragraph.  Hit function key F8.  The colors at the cursor
  477.        location will be inverted to blue on white, and the word MARK at
  478.        the bottom of the screen will be highlighted.  Move the cursor to
  479.        the beginning of the line which comes immediately after the end
  480.        of the second paragraph and hit function key F8 again.  The
  481.        entire second paragraph should now be highlighted.  Move the
  482.        cursor to where you want to move the marked paragraph.  Because
  483.        we want this paragraph at the beginning of the text, the fastest
  484.        way to get there is to use Ctrl-PgUp to move immediately to the
  485.        start of the text.  Now move the marked block of text by hitting
  486.        function key F9.
  487.        
  488.             Rearrange the text until it meets with your approval.  Now,
  489.        let's save it.  You can get back to the File Screen Menu by
  490.        hitting function key F10, as shown at the bottom of the screen.
  491.        Do so now.  We want to save the file, so hit the S key.  You will
  492.        be asked for a file name.  You can use any name with up to 8
  493.        letters or numbers.  Do not add a three-letter extension, as RGB-
  494.        TechWriter will automatically add .TWF (for TechWriter File).
  495.  
  496.  
  497.        INSTALLATION
  498.  
  499.  
  500.                                       12
  501.  
  502.  
  503.        Your file will be saved to disk as soon as you hit the Enter key
  504.        when you finish typing the file name.  To be sure, clear the text
  505.        in memory by hitting the C key.  Now hit the E key to see that
  506.        the text has been blanked.  Return to the File Screen Menu using
  507.        F10.  Now get your file back off of the disk by hitting the G key
  508.        and entering the file name.  It is not necessary to enter the
  509.        ".TWF" extension, but remember to hit the enter key when you
  510.        finish typing the file name.  Once your file is in memory, you
  511.        can edit it by hitting the E key.
  512.        
  513.             Get yourself back to the File Screen Menu.  Let's print out
  514.        your file.  First hit the P key.  You are given a choice of
  515.        printing to the screen, printer, or disk.  Let's start with the
  516.        screen, so hit S.  We want to start at the beginning, so just hit
  517.        the Enter key to acknowledge this.  Likewise, we want to print to
  518.        the end, and we only want to see 1 copy.  Your text will be
  519.        displayed on the screen, and will scroll off as it goes.  If you
  520.        need to stop the action, use either Crtl-S or Crtl-NumLock.  Be
  521.        careful that you do NOT accidentally hit Ctrl-C or Ctrl-Break.
  522.        Turn on your printer.  Now hit the P key to print the text, but
  523.        this time hit P again to select the printer.  Hit the Enter key
  524.        for each of the next three options presented.  If your printer
  525.        has separate data and correspondence quality modes, you will then
  526.        have to make this selection.  A message should appear that your
  527.        text is being printed.  When it is done, you should have a
  528.        printed copy of your text.  If you do not, then you have either
  529.        selected the wrong file for TW.DAT (see section 2.4), or your
  530.        printer is not on the list (see section 6).  You can stop the
  531.        printing to screen, printer, or disk at any time while it is in
  532.        progress by hitting the P key again.
  533.        
  534.             With this introduction you should be able to investigate the
  535.        contents of other files.  Specifically, you may want to alter the
  536.        default parameters stored in the file TW.DAT, as described
  537.        briefly in section 2.5 and in detail in section 6.  Use the R -
  538.        Revise File command to save the changes you make.  You also may
  539.        find it informative to check out the file GUIDE7.TWF which
  540.        illustrates several of the more advanced features of RGB-
  541.        TechWriter.
  542.         
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.        INSTALLATION 
  560.