home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / pct2_2.zip / PCTDOC1.EXE / lha / CHAP4.TXT < prev    next >
Text File  |  1989-04-21  |  18KB  |  393 lines

  1.        subject: STARTING PC-Type II OVERVIEW
  2.  
  3.     discussion: The PC-Type II program is the file PCT.EXE.  To run
  4.                 PC-Type II, this file must be in your default directory
  5.                 or made available through the DOS PATH command.
  6.  
  7.                 When PC-Type II begins, it will look for a file called
  8.                 PCTYPE.PRO which contains default settings you select
  9.                 to configure PC-Type II to your taste.  PC-Type II will
  10.                 first look for this file in your default directory.
  11.                 If it is not found there and you use DOS version 3.0
  12.                 or later, PC-Type II will look for the file in the same
  13.                 directory in which the PCT.EXE file is located.
  14.                 Finally each directory in your PATH is searched.  If
  15.                 it is not found there either, then PC-Type II's internal
  16.                 defaults will be used.
  17.  
  18.                 If your PCTYPE.PRO file is located elsewhere, you can
  19.                 tell PC-Type II where as a parameter when you run the
  20.                 PCT.EXE program.  There are a number of parameters you
  21.                 can specify.  These will be discussed in this section.
  22.  
  23.         format: PCT {filespec {parm1 ... parmn}}
  24.  
  25.                 Assuming you are at DOS, you can start a PC-Type II
  26.                 session by entering the command shown above after the
  27.                 DOS prompt and then pressing the Enter key.
  28.  
  29.            PCT: This tells DOS to run PCT.EXE and is the minimum entry
  30.                 for running PC-Type II.  If no filespec is given,
  31.                 PC-Type  II
  32.                 will begin in an empty file called "New File" in which
  33.                 you can begin typing or from which you can call in
  34.                 other files to be edited.  If you begin typing in "New
  35.                 File", you name the file as you wish when you save it,
  36.                 or you can give it a name with the NAME command.
  37.  
  38.       filespec: This entry defines the first file you want to edit
  39.                 during the PC-Type II session.  Filespec may contain a
  40.                 drive, directory path, filename and extension.
  41.  
  42.                 If no drive is given, the default drive is assumed.
  43.                 If no path is given, the default directory is assumed.
  44.                 The filename and extension may contain the wildcard
  45.                 characters * and ?.
  46.  
  47.                 If you give a filespec with no wildcard characters,
  48.                 the file does not have to exist.  If it does not,
  49.                 PC-Type II will begin with an empty file bearing the
  50.                 filespec name you provided.  If the file does exist,
  51.                 it will be loaded and your session will begin.
  52.  
  53.          parmn: The parameters will be discussed later in this
  54.                 section.
  55.  
  56.                                   47
  57.        subject: ENTRY MENU
  58.  
  59.     discussion: If your filespec contains the characters * and/or ?
  60.                 in the filename and/or extension, then all files in
  61.                 the directory which match the description will be
  62.                 presented in a menu similar to the one shown below.
  63.                 The command to start PC-Type II which produced this menu
  64.                 on my computer was:
  65.  
  66.                 C> PCT doc*.pct
  67.  
  68.                 ┌──────────────────┐  The path you specify in your
  69.                 │Default Directory │  filespec is displayed in the
  70.                 ╞══════════════════╡  menu header, and all files in
  71.                 │DOCCMD.PCT        │  that directory which match the
  72.                 │DOCCNF.PCT        │  request are displayed in the
  73.                 │DOCHOP.PCT        │  menu.  If there are too many
  74.                 │DOCMAC.PCT        │  files to see in the menu, you
  75.                 │DOCMM.PCT         │  can use numerous keystrokes
  76.                 │DOCMVMT.PCT       │  to browse through the list.
  77.                 │DOCPARMS.PCT      │
  78.                 │DOCSCRN.PCT       │  The maximum number of files
  79.                 │EXIT              │  which will be loaded into a
  80.                 └──────────────────┘  menu is 300.
  81.  
  82.        strokes:  Ctrl PgUp - move to the first file in the list.
  83.                  Ctrl PgDn - move to the last file in the list.
  84.                       PgUp - move up in the list about 18 files at a
  85.                              time.
  86.                       PgDn - move down in the list about 18 files at a
  87.                              time.
  88.                  Ctrl Home - move to first file in the menu display.
  89.                   Ctrl End - move to last file in the menu display.
  90.                 Letter key - move to the first file in the list which
  91.                              begins with the letter specified.
  92.  
  93.  file reminder: If the file extension of a menu entry is .PCT, (which
  94.                 is the special extension of a PC-Type II document file),
  95.                 then the line where the Command Line normally appears
  96.                 may contain information about the content of the file
  97.                 when the highlight bar is moved to that file.
  98.  
  99.                 The information about the file contents is normally
  100.                 entered when the file is saved.  It may also be
  101.                 entered or edited in the Filing Options menu reached
  102.                 by pressing Q from the Main Menu.  This data is called
  103.                 the File Reminder and is only saved with .PCT files.
  104.  
  105.    file select: To select the file you want to edit, move the
  106.                 highlight bar in the menu to the desired file and
  107.                 press the Enter key, and that file will be loaded
  108.                 immediately.  If you press the Esc key, then PC-Type II
  109.                 will begin with the empty file "New File".
  110.  
  111.  
  112.                                   48
  113.        subject: STARTING PC-Type II PARAMETERS
  114.  
  115.     discussion: All startup parameters are optional.  When used with
  116.                 .BAT files they can be quite useful as will be shown
  117.                 later.  All parameters MUST BE PRECEDED by at least
  118.                 one space and the slash character /.
  119.  
  120.  load by lines: If a filespec is provided, you may specify the
  121.                 first line and the number of lines of the file to
  122.                 load.  Use the parameters /n /m where n is the first
  123.                 line number and m is the number of lines to load.  If
  124.                 you specify /n with no /m, then all remaining lines in
  125.                 the file will be loaded.
  126.  
  127.                 C> PCT myfile /25
  128.                 Myfile is loaded starting at line 25 to the end.
  129.  
  130.                 C> PCT myfile /25  /15
  131.                 Fifteen lines of myfile is loaded starting at line 25.
  132.  
  133.  load by pages: If a filespec is provided, you may specify the
  134.                 first page and the number of pages of the file to
  135.                 load with the parameters /PAGE /n /m where n is the
  136.                 first page number and m is the number of pages to
  137.                 load.  If you specify /n with no /m, then all
  138.                 remaining pages in the file will be loaded.
  139.  
  140.                 C>PCT myfile /page /5
  141.                 Myfile is loaded starting at page 5 to the end.
  142.  
  143.                 C>PCT myfile /page /5 /3
  144.                 Three pages of myfile are loaded starting at page 5.
  145.  
  146.   green screen: If you have a green screen graphics monitor, you may
  147.                 use the parameter /GREEN to force the colors used
  148.                 inside PC-Type II to black and white regardless of the
  149.                 colors specified in any .PRO file which may be loaded.
  150.                 Once inside, you will probably want to set your
  151.                 configuration so that this parameter will not be
  152.                 needed every time you call PC-Type II.
  153.  
  154.                 C>PCT myfile /GREEN
  155.  
  156.    start macro: If a macro file will be loaded when PC-Type II begins,
  157.                 you may initiate one of its macros with: /Mx where 'x'
  158.                 is the key assigned to the macro.  This has the same
  159.                 effect as pressing Alt x after entering PC-Type II.
  160.  
  161.                 Suppose you have a macro which will go to the PRINT
  162.                 window and initiate printing a mail-merge file.  Its
  163.                 key was defined to be A.  Suppose MYFILE.PCT is a
  164.                 mail-merge file you previously created.
  165.  
  166.                 C>PCT myfile.pct /ma
  167.                 Macro A will begin as soon as MYFILE.PCT is loaded.
  168.                                   49
  169.        EGA/VGA: The /E=d parameter allows you to specify which EGA/VGA
  170.                 line density you desire on entry. "d" may be H for
  171.                 high, M for medium, or L for low.  If no /E parameter
  172.                 is used, the current setting of your monitor is used.
  173.  
  174.                 L is 25 lines.
  175.                 M is 35 lines for EGA and 40 lines for VGA.
  176.                 H is 43 lines for EGA and 50 lines for VGA.
  177.  
  178.                 Of course you can use Ctrl E from inside PC-Type II to
  179.                 toggle between these modes, or use the "(E)GA/VGA
  180.                 toggle" of the Other Functions menu reached by
  181.                 pressing O from the Main Menu.
  182.  
  183.                 NOTE:ïThis parameter has no effect unless your active
  184.                      ïmonitor is EGA or VGA.
  185.  
  186.                 C>PCT myfile /E=h
  187.                 Start session in 43 line EGA (or 50 line VGA) mode.
  188.  
  189.           help: The help screens of PC-Type II are stored in the file
  190.                 PCT.HLP.  In order for help to be available for your
  191.                 use, PC-Type II must know where to find this file.
  192.                 Normally it will look first on the default directory.
  193.                 If it cannot find it there and you run under DOS
  194.                 version 3.0 or later, it will next look for it in the
  195.                 same directory where PCT.EXE itself is located.  If it
  196.                 still cannot be found, then PC-Type II will search for it
  197.                 in each directory defined in your PATH.
  198.  
  199.                 If you do not keep the PCT.HLP file in the same
  200.                 directory with PCT.EXE, you should use the /H=FILEPATH
  201.                 parameter to tell PC-Type II where the help file is
  202.                 located.  If FILEPATH does not include a drive, the
  203.                 default drive is assumed.  FILEPATH must contain a
  204.                 valid directory.
  205.  
  206.                 C>PCT myfile /H=d:\pct\help
  207.  
  208.                 The PCT.HLP file will be located in directory
  209.                 \PCT\HELP on the D drive.
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.                                   50
  225.     .PRO files: .PRO files contain all the configuration parameters
  226.                 and file references (such as keystroke macro files)
  227.                 you can define to customize PC-Type II to your taste.
  228.  
  229.                 When PC-Type II begins, it looks for the file PCTYPE.PRO
  230.                 first on the default directory.  If it cannot find it
  231.                 there and you run under DOS version 3.0 or later, it
  232.                 will next look for it in the same directory where
  233.                 PCT.EXE itself is located.  If it still is not found,
  234.                 then PC-Type II will search for the file in each
  235.                 directory defined in your PATH.
  236.  
  237.                 If your PCTYPE.PRO file cannot be found under the
  238.                 above circumstances, or if you want PC-Type II to load a
  239.                 different .PRO file, use the parameter /P=FILESPEC.
  240.  
  241.                 If no drive is specified in FILESPEC, the default
  242.                 drive is assumed.  If no directory is supplied in
  243.                 FILESPEC, the default directory is assumed.  The
  244.                 extension .PRO does not need to be included in
  245.                 FILESPEC.
  246.  
  247.                 C>PCT myfile /P=d:\pct\profiles\letter
  248.  
  249.                 The configuration file LETTER.PRO located in directory
  250.                 \PCT\PROFILES on drive D will be used when PC-Type II is
  251.                 loaded.
  252.  
  253.                 NOTE: You can always load a specific .PRO file from
  254.                       inside PC-Type II with the "(F)ile handling" option
  255.                       of the Configuration Menu.
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.                                   51
  281.         import: The definitions of data to be imported into a file
  282.                 from within PC-Type II are saved in files with a .IMP
  283.                 extension.  If there is one import definition you
  284.                 normally use, it can be referenced within a .PRO file
  285.                 and loaded automatically along with the configuration
  286.                 data.
  287.  
  288.                 If you wish to load a different .IMP file, or if no
  289.                 .IMP file is referenced, you may do so with the
  290.                 parameter /I=FILESPEC.  The .IMP file in FILESPEC will
  291.                 override any other .IMP file referenced.
  292.  
  293.                 If no drive is specified in FILESPEC, the default
  294.                 drive is assumed.  If no directory is supplied in
  295.                 FILESPEC, the default directory is assumed.  The
  296.                 extension .IMP does not need to be included in
  297.                 FILESPEC.
  298.  
  299.                 C>PCT myfile /I=d:\pct\imports\business
  300.  
  301.                 The import file BUSINESS.IMP located in directory
  302.                 \PCT\IMPORTS on drive D will be used when PC-Type II is
  303.                 loaded.
  304.  
  305.                 NOTE: You can always load a specific .IMP file from
  306.                       inside PC-Type II with the "(F)ile handling" option
  307.                       of the Configuration Menu.
  308.  
  309.         macros: Keystroke macros used by PC-Type II are saved in files
  310.                 with a .MAC extension.  If there is one set of macros
  311.                 you normally use, it can be referenced within a .PRO
  312.                 file and loaded automatically along with the
  313.                 configuration data.
  314.  
  315.                 If you wish to load a different set of macros, or if
  316.                 no .MAC file is referenced, you may do so with the
  317.                 parameter /M=FILESPEC.  The .MAC file in FILESPEC will
  318.                 override any other .MAC file referenced.
  319.  
  320.                 If no drive is specified in FILESPEC, the default
  321.                 drive is assumed.  If no directory is supplied in
  322.                 FILESPEC, the default directory is assumed.  The
  323.                 extension .MAC does not need to be included in
  324.                 FILESPEC.
  325.  
  326.                 C>PCT myfile /M=d:\pct\macros\letters
  327.  
  328.                 The macros file LETTERS.MAC located in directory
  329.                 \PCT\MACROS on drive D will be used when PC-Type II is
  330.                 loaded.
  331.  
  332.                 NOTE: You can always load a specific .MAC file from
  333.                       inside PC-Type II with the "(F)ile handling" option
  334.                       of the Configuration Menu.
  335.  
  336.                                   52
  337.   escape codes: Printer escape codes used by PC-Type II are saved in
  338.                 files with a .PRN extension.  If there is one set of
  339.                 escape codes you normally use, it can be referenced
  340.                 within a .PRO file and loaded automatically along with
  341.                 the configuration data.
  342.  
  343.                 If you wish to load escape codes for a different
  344.                 printer, or if no .PRN file is referenced, you may do
  345.                 so with the parameter /X=FILESPEC.  The .PRN file in
  346.                 FILESPEC will override any other .PRN file referenced.
  347.  
  348.                 If no drive is specified in FILESPEC, the default
  349.                 drive is assumed.  If no directory is supplied in
  350.                 FILESPEC, the default directory is assumed.  The
  351.                 extension .PRN does not need to be included in
  352.                 FILESPEC.
  353.  
  354.                 C>PCT myfile /X=d:\pct\esccode\brother
  355.  
  356.                 The escape code file BROTHER.PRN located in directory
  357.                 \PCT\ESCCODE on drive D will be used when PC-Type II is
  358.                 loaded.
  359.  
  360.                 NOTE: You can always load a specific .PRN file from
  361.                       inside PC-Type II with the "(F)ile handling" option
  362.                       of the Configuration Menu.
  363.  
  364.    batch files: Many of the parameters described previously lend
  365.                 themselves well to batch files.
  366.  
  367.                 Assume you normally write documents and print them on
  368.                 your letter quality printer.  Since this is where you
  369.                 spend most of your time, you will probably set
  370.                 PCTYPE.PRO to the configuration most beneficial to
  371.                 your documentation needs, and will reference your
  372.                 letter quality printer within that file.  This being
  373.                 the case, you would start such a session like:
  374.  
  375.                 C>PCT doc1188.pct
  376.  
  377.                 Further assume you spend another large chunk of time
  378.                 writing memos and printing them on a fast dot matrix
  379.                 printer.  Rather than having to remember the parameter
  380.                 commands, or entering PC-Type II and loading these files
  381.                 every time, you could set up a file called MEMO.BAT:
  382.  
  383.                 PCT %1 /P=d:\pct\profiles\memo /X=d:\pct\esccode\dot
  384.  
  385.                 Placing the .BAT file in the directory where you
  386.                 normally write memos, or placing it in a directory
  387.                 normally found in your DOS PATH statement, you could
  388.                 then start a memo PC-Type II session like:
  389.  
  390.                 C>MEMO mem1188.pct
  391.  
  392.                                   53
  393.