home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / news / 2293 / qcp.dat < prev    next >
Text File  |  1994-02-01  |  6KB  |  136 lines

  1. File:    QCP.DAT - configuration info for QCP version 2.08
  2. Author:  Tim Farley
  3. Date:    20-March-1990
  4.  
  5. See QCP.DOC for full description of this format, and which compilers are
  6. supported below.
  7.  
  8. Ext.   Default Command Line
  9. ----   --------------------
  10.        Borland's Turbo Assembler
  11. .asm   "tasm $F >$O"  "** $F"
  12.  
  13.        Microsoft BASIC Compiler
  14. .bas   bc  /Z    $F;  >$O
  15.  
  16.        Borland's Turbo C
  17. .c     tcc -c -w $F   >$O
  18.  
  19.        Microsoft FORTRAN 4.0
  20. .for   fl  /c    $F   >$O
  21.  
  22.        FST Modula-2 v2
  23. .mod   "m2comp $F >$O"  "File: $F"  ", Line "
  24.  
  25.        Borland's Turbo Pascal
  26. .pas   tpc /q    $F   >$O
  27.  
  28.        Bumblebee Software's DBFAST v1.03.  See QCP.DOC for contents of DBC.BAT
  29. .prg   "dbc.bat   $N    $O"  "Line #:"
  30.  
  31.        Telix 3 SALT Script compiler
  32. .slt   cs        $F   >$O
  33.  
  34.  
  35.      Temporary scratch file name
  36. ..t  $QCP$.TMP
  37.  
  38.      Error output file name.  Direct this to a RAMdisk if possible.
  39. ..o  .\ERRORS.LST
  40.  
  41.      Macro file name.  Direct this to a RAMdisk if possible.
  42. ..m  .\ERRORS.MAC
  43.  
  44.   QEdit Macro to jump to errors.
  45. ..q  @$K MacroBegin NextWindow BegLine GotoLine "$R" Return MakeCtrOfScreen PrevWindow BegLine GotoLine "$S" Return GotoColumn "$C" Return MakeCtrOfScreen
  46.  
  47.   Command line for QMAC
  48.   You could modify this to take advantage of QMAC's append feature if need be.
  49. ..c  QMAC $M $T B N
  50.  
  51.   "Guess extensions" defaults to ON
  52. ..g ON
  53.  
  54.   "reWrite error file" defaults to ON
  55. ..w ON
  56.  
  57.   "Previous Error" macro key
  58. ..p #f9  MacroBegin NextWindow BegLine Find "$U" Return "IB" Return BegLine Find "$I" Return "I" Return &
  59.          CursorRight MarkWord Copy PrevWindow GotoLine Paste Return NextWindow RepeatFind CursorRight MarkWord Copy BegLine MakeCtrOfScreen PrevWindow GotoColumn Paste Return MakeCtrOfScreen
  60.  
  61.   "Next Error" macro key
  62. ..n #f10 MacroBegin NextWindow EndLine Find "$U" Return "I" Return BegLine Find "$I" Return "I" Return &
  63.          CursorRight MarkWord Copy PrevWindow GotoLine Paste Return NextWindow RepeatFind CursorRight MarkWord Copy BegLine MakeCtrOfScreen PrevWindow GotoColumn Paste Return MakeCtrOfScreen
  64.  
  65.   "Insert Character" for flagging row/column in rewritten error file
  66. ..i 255
  67.  
  68. ===========================================================================
  69.  
  70. COMMENTS:
  71.  
  72. File extensions must begin in the 1st column, with a period.
  73. Lines not beginning with a period, or less than 5 chars long are ignored.
  74. Up to 10 extensions may be specified.  Any more will be ignored.
  75. There must be at least 1 space between the file extension and the command line.
  76.  
  77. The following substitution strings can be put into the command line:
  78.     $F      fully qualified drive/path name of the target file.  Includes
  79.             drive letter and a full path from the root.
  80.     $D      drive letter of the target file.  One char, does not include ':'.
  81.     $P      full path specification to target file.  Includes a '\' as
  82.             the first character, but no trailing '\' is included.
  83.     $N      8-character name of the file.
  84.     $E      3-character extension of the file.  No '.' included.
  85.     $#      where # is a single digit from 1 to 9, is substituted for
  86.             additional params on the QCP command line.
  87.     $$      puts a single '$' on the target command line.
  88.     $T      is the name of the Temp file used by QCP.
  89.     $O      is the name of the Output file.
  90.     $M      is the name of the binary Macro file created by QMAC
  91.             from the temp file written by QCP.
  92.  
  93. Within this file, some pseudo-ops are also recognized, in addition to the
  94. normal file extension definitions:
  95.     ..T     sets the name of the Temp file used by QCP to build QEdit macros
  96.     ..O     sets the name of the Output file created by the redirected
  97.             messages of your compiler and read by QMAC.
  98.     ..M     sets the name of the binary Macro file to be created by QMAC.
  99.     ..Q     sets the Qedit macro template.  If error messages from the compiler
  100.             exist, macros fitting this form will be generated.
  101.     ..Q ON  is an alternate form, that simply reactivates macro generation
  102.             in a copy of QCP.EXE in which it has been turned off.
  103.     ..Q OFF deactivates macro generation.
  104.     ..C     sets the QMAC Command line to be executed if macros
  105.             need to be created
  106.     ..#     where # is a single digit from 1 to 9, is just like a
  107.             file extension definition, but these command lines
  108.             correspond to the /1 through /9 command line options
  109.             recognized by QCP itself.  See QCP.DOC for examples
  110.             on how to use this.  This pretty much assumes that macro
  111.             generation is turned on, at least to be truly useful.
  112.     ..B     is the batch mode startup macro template.
  113.     ..G ON  sets the default for "guess file extensions"
  114.     ..W ON  sets the default for "rewrite error file"
  115.     ..N     is the "next error" macro template.
  116.     ..P     is the "previous error" macro template.
  117.  
  118. Some extra $x substitutions exist for use in the above pseudo-ops, in
  119. addition to the ones defined earlier:
  120.     $K      is the Key number for the QEdit macro.  If the macro
  121.             definition begins with "@$K", then this number will
  122.             range from 1 to 9, and then 0, to assign the
  123.             Alt-numeric keys.  For any other macro template, $K
  124.             will range from 1 to 12, to assign function keys.
  125.     $S      is the Source line number reported by your compiler
  126.     $R      is the Result line number, the line in the Output
  127.             file on which the error MESSAGE occurred.
  128.     $C      is the Column number reported by your compiler, corresponds
  129.             with the location indicated by $S.
  130.     $I      is the inserted character used when rewriting the error file
  131.             See documentation for details.
  132.     $U      is the unique string for this compiler
  133.     $L      is the leadin string for this compiler
  134.  
  135. * EOF: QCP.DAT
  136.