home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 December / simtel1292_SIMTEL_1292_Walnut_Creek.iso / msdos / qedit / qcp208.arc / QCP.DAT < prev    next >
Text File  |  1989-11-17  |  6KB  |  145 lines

  1. File:    QCP.DAT - configuration info for QCP version 2.08
  2. Author:  Tim Farley
  3. Date:    17-November-1989
  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.   Regular expression search using GREP.
  36.     Assumes you use the macro ^F8 from QCONFIG.QCP
  37.     Switches configured for Borland's Turbo Grep--your Grep may be different.
  38. ..1  grep -o+n+r+ $1 $2 $3 $4 $5 $6 $7 $8 $9  $F  >$O
  39.  
  40.   Make this program.  See QCONFIG.QCP for details.
  41. ..2  make  $N
  42.  
  43. ..t  $QCP$.TMP
  44. ..o  .\ERRORS.LST
  45. ..m  .\ERRORS.MAC
  46.  
  47.   QEdit Macro to jump to errors.
  48. ..q  @$K MacroBegin NextWindow BegLine GotoLine "$R" Return MakeCtrOfScreen PrevWindow BegLine GotoLine "$S" Return GotoColumn "$C" Return MakeCtrOfScreen
  49.  
  50.   Command line for QMAC
  51. ..c  QMAC $M $T B N
  52.  
  53.   Batch mode startup macro.  Notice we assign it to an illegal scan code, 250.
  54.   Since it will simply be "autoexecuted" and never actually "pressed", no sense
  55.   wasting an actual keyboard key on this one.
  56.  
  57. ..b 250 MacroBegin OneWindow EditFile "$F" Return HorizontalWindow EditFile "$O" Return &
  58.         BegLine GotoLine "$R" Return MakeCtrOfScreen PrevWindow BegLine GotoLine "$S" Return GotoColumn "$C" Return MakeCtrOfScreen
  59.  
  60.   "Guess extensions" defaults to ON
  61. ..g ON
  62.  
  63.   "reWrite error file" defaults to ON
  64. ..w ON
  65.  
  66.   "Previous Error" macro key
  67. ..p #f9  MacroBegin NextWindow BegLine Find "$U" Return "IB" Return BegLine Find "$I" Return "I" Return &
  68.          CursorRight MarkWord Copy PrevWindow GotoLine Paste Return NextWindow RepeatFind CursorRight MarkWord Copy BegLine MakeCtrOfScreen PrevWindow GotoColumn Paste Return MakeCtrOfScreen
  69.  
  70.   "Next Error" macro key
  71. ..n #f10 MacroBegin NextWindow EndLine Find "$U" Return "I" Return BegLine Find "$I" Return "I" Return &
  72.          CursorRight MarkWord Copy PrevWindow GotoLine Paste Return NextWindow RepeatFind CursorRight MarkWord Copy BegLine MakeCtrOfScreen PrevWindow GotoColumn Paste Return MakeCtrOfScreen
  73.  
  74.   "Insert Character" for flagging row/column in rewritten error file
  75. ..i 255
  76.  
  77. ===========================================================================
  78.  
  79. COMMENTS:
  80.  
  81. File extensions must begin in the 1st column, with a period.
  82. Lines not beginning with a period, or less than 5 chars long are ignored.
  83. Up to 10 extensions may be specified.  Any more will be ignored.
  84. There must be at least 1 space between the file extension and the command line.
  85.  
  86. The following substitution strings can be put into the command line:
  87.     $F      fully qualified drive/path name of the target file.  Includes
  88.             drive letter and a full path from the root.
  89.     $D      drive letter of the target file.  One char, does not include ':'.
  90.     $P      full path specification to target file.  Includes a '\' as
  91.             the first character, but no trailing '\' is included.
  92.     $N      8-character name of the file.
  93.     $E      3-character extension of the file.  No '.' included.
  94.     $#      where # is a single digit from 1 to 9, is substituted for
  95.             additional params on the QCP command line.
  96.     $$      puts a single '$' on the target command line.
  97.     $T      is the name of the Temp file used by QCP.
  98.     $O      is the name of the Output file.
  99.     $M      is the name of the binary Macro file created by QMAC
  100.             from the temp file written by QCP.
  101.  
  102. Within this file, some pseudo-ops are also recognized, in addition to the
  103. normal file extension definitions:
  104.     ..T     sets the name of the Temp file used by QCP to build QEdit macros
  105.     ..O     sets the name of the Output file created by the redirected
  106.             messages of your compiler and read by QMAC.
  107.     ..M     sets the name of the binary Macro file to be created by QMAC.
  108.     ..Q     sets the Qedit macro template.  If error messages from the compiler
  109.             exist, macros fitting this form will be generated.
  110.     ..Q ON  is an alternate form, that simply reactivates macro generation
  111.             in a copy of QCP.EXE in which it has been turned off.
  112.     ..Q OFF deactivates macro generation.
  113.     ..C     sets the QMAC Command line to be executed if macros
  114.             need to be created
  115.     ..#     where # is a single digit from 1 to 9, is just like a
  116.             file extension definition, but these command lines
  117.             correspond to the /1 through /9 command line options
  118.             recognized by QCP itself.  See QCP.DOC for examples
  119.             on how to use this.  This pretty much assumes that macro
  120.             generation is turned on, at least to be truly useful.
  121.     ..B     is the batch mode startup macro template.
  122.     ..G ON  sets the default for "guess file extensions"
  123.     ..W ON  sets the default for "rewrite error file"
  124.     ..N     is the "next error" macro template.
  125.     ..P     is the "previous error" macro template.
  126.  
  127. Some extra $x substitutions exist for use in the above pseudo-ops, in
  128. addition to the ones defined earlier:
  129.     $K      is the Key number for the QEdit macro.  If the macro
  130.             definition begins with "@$K", then this number will
  131.             range from 1 to 9, and then 0, to assign the
  132.             Alt-numeric keys.  For any other macro template, $K
  133.             will range from 1 to 12, to assign function keys.
  134.     $S      is the Source line number reported by your compiler
  135.     $R      is the Result line number, the line in the Output
  136.             file on which the error MESSAGE occurred.
  137.     $C      is the Column number reported by your compiler, corresponds
  138.             with the location indicated by $S.
  139.     $I      is the inserted character used when rewriting the error file
  140.             See documentation for details.
  141.     $U      is the unique string for this compiler
  142.     $L      is the leadin string for this compiler
  143.  
  144. * EOF: QCP.DAT
  145.