home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 049 / qf30s.zip / QF.CFG < prev    next >
Text File  |  1994-09-19  |  14KB  |  567 lines

  1. ;
  2. ; QUIET FLIGHT CONFIGURATION FILE
  3. ; -------------------------------
  4. ;
  5. ; Copyright COB System Designs, Inc. All Rights Reserved.
  6. ;
  7. ; This is the file that holds all of our settings as well as any expansion
  8. ; macro information you have.  Please see the documentation.
  9. ;
  10. ; Internal Keywords:
  11. ;            $FULLFILE.   = Full File Name with PATH
  12. ;            $PATH.       = File's Current Path
  13. ;            $FILE.       = File Name + File Ext
  14. ;            $EXT.        = File Extension
  15. ;            $DATE.       = Today's Date - 11/09/92
  16. ;            $DATESTR.    = Today's Date String - November 11, 1992
  17. ;            $FILEDATE.   = IF this is an existing file - use the last date saved
  18. ;                           ELSE use DATESTR
  19. ;            $DOW.        = Day of Week - Monday
  20. ;            $TIME.       = Current Time
  21. ;            $NAME.       = Author's Name // See Below in [EXPANSION=Defaults]
  22. ;            $COMPANY.    = Company name in Copyright.  // See Below in [EXPANSION=Defaults]
  23. ;            $VERSION.    = Version #
  24. ;            $YEAR.       = Year (for Copyright usually)
  25. ;
  26. ;  You may also define directives on the fly - and you will be prompted
  27. ;  for the answer.
  28. ;
  29. ;  For instance, $SHOESIZE.
  30. ;  If no $SHOESIZE. is found in the local or Defaults section - you will be
  31. ;  prompted for its value.
  32. ;
  33. ;  In addition, you may insert a DOS environment variable in your
  34. ;  expansion by enclosing the variable name between percent signs (%).
  35. ;  For instance, if you have set the DOS environment variable AUTHOR to
  36. ;  "Sammy", adding the following line to your header section will insert
  37. ;  Sammy where %AUTHOR% is placed:
  38. ;
  39. ;       * Author.....: %AUTHOR%
  40. ;  ==>  * Author.....: Sammy
  41. ;
  42. ;  This is helpful because when Richard logs on this machine he can
  43. ;  change the DOS Environment by typing in SET AUTHOR=RICHARD at the
  44. ;  DOS prompt.  When he adds a new header it will have his name in the
  45. ;  header instead of Sammy.
  46.  
  47.  
  48. ;---------------------------------------------------------------------------
  49. ; Quiet Flight General Configuration
  50. ;---------------------------------------------------------------------------
  51. [GENERAL]
  52.  
  53. ; All global configuration items will be placed in here.
  54. ; Restore Command = a bookmark.  When you save your file (using Ctrl-Enter),
  55. ; Quiet Flight inserts a BookMark so that the next time you load the file
  56. ; your cursor will be placed right where you left off.
  57. ; Place RESTORE=ON in any [GENERAL=<extensions>] where you want to
  58. ; have the restore macro work.
  59. ;
  60. Restore=OFF
  61. StartupMessageMenu=ON
  62.  
  63.  
  64. ; BRIEF Keys - only three at current - Home, End, Del -
  65. ; when ON
  66. ;         Home = emulates BRIEF where 1st one takes you to beginning of
  67. ;                line, 2nd to top of Screen, 3rd to Begin of File
  68. ;         End  = emulates BRIEF where 1st one takes you to end of
  69. ;                line, 2nd to Bottom of Screen, 3rd to End of File
  70. ;         Del  = emulates BRIEF where if a block is marked, it is deleted
  71. ;                otherwise just delete the character.
  72. ;
  73. BriefKeys=ON
  74.  
  75.  
  76. ; Set this to ON if you wish to let CTRL-TAB jump to the next
  77. ; fill-in-the-blank character (~) in expansion macros
  78. ;
  79. JumpNext=OFF
  80.  
  81. ; Newheader = When you open a new file, do you want a header automatically
  82. ; inserted?
  83. NewHeader=OFF
  84.  
  85. ; This is the directory where the Project Manager looks for .prj files.
  86. ProjectDir=C:\TSE2\
  87.  
  88. ; QFDIR = when QFEdit File is called and we get either a blank or a wild card,
  89. ; we imitate TSE's response by calling either PICKFILE (TSE's directory
  90. ; lister) or QFDIR - if you want to load PICKFILE instead of QFDIR - set
  91. ; QFDIR=OFF.  Otherwise, choose ON.
  92. ; The benefit of QFDIR is pretty clear - you can tag multiple files - view
  93. ; before loading and many more.
  94. QFDir=ON
  95.  
  96. ; Set these to your delimiters for your expansion macros.  If you change
  97. ; these then you must re-load TSE for them to take effect because they
  98. ; use TSE global variables.
  99. AbbrevStart=$
  100. AbbrevEnd=.
  101. EnvStart=%
  102. EnvEnd=%
  103.  
  104.  
  105. ;---------------------------------------------------------------------------
  106. ; Quiet Flight Configuration Settings:  dBASE program files
  107. ;---------------------------------------------------------------------------
  108. [GENERAL=.PRG .FMT]
  109. Restore=ON
  110. ; Newheader = When you open a new file, do you want a header automatically
  111. ; inserted?
  112. NewHeader=ON
  113.  
  114. ;---------------------------------------------------------------------------
  115. ; Quiet Flight Configuration Settings:  TSE Source Files
  116. ;---------------------------------------------------------------------------
  117. [GENERAL=.S .INC]
  118. Restore=ON
  119. NewHeader=ON
  120.  
  121.  
  122. ;---------------------------------------------------------------------------
  123. ; Quiet Flight Configuration Settings:  C and C++ Files
  124. ;---------------------------------------------------------------------------
  125. [GENERAL=.C .CPP]
  126. Restore=ON
  127. JumpNext=ON
  128. NewHeader=ON
  129.  
  130.  
  131. ;---------------------------------------------------------------------------
  132. ; Default configuration for the QF Flow program
  133. ;---------------------------------------------------------------------------
  134. [FLOW]
  135. Indent=3
  136. MultiIndent=2
  137. FuncIndent=OFF
  138. CaseIndent=ON
  139. Errorcheck=ON
  140. Comment=ON
  141. CommentStr=&&*
  142.  
  143.  
  144. ;---------------------------------------------------------------------------
  145. ; Default configuration for the ZIP lister
  146. ;---------------------------------------------------------------------------
  147. [ZIP]
  148. ZipFile=PKZIP
  149. UnZipFile=PKUNZIP
  150.  
  151.  
  152. ;---------------------------------------------------------------------------
  153. ; QFGenScr Screen Template: Default & FoxPro
  154. ;---------------------------------------------------------------------------
  155. [GENSCR]
  156.  
  157. ; BaseOne  = ON if screen row/columns start at base position 1, OFF otherwise
  158. ; PreCode  = Generated before the window coordinates or @ SAY/GETS
  159. ; Window   = Code to define the window name & coordinates
  160. ; Get      = @ GET statement(s)
  161. ; Say      = @ SAY statement(s)
  162. ; PostCode = Generated after everything else
  163. ;
  164. ; In addition to the internal macros defined above, the following
  165. ; additional keywords are defined:
  166. ;            $WINTOP.     = Upper row coordinate of marked window
  167. ;            $WINLEFT.    = Upper column coordinate of marked window
  168. ;            $WINBOTTOM.  = Lower row coordinate of marked window
  169. ;            $WINRIGHT.   = Lower column coordinate of marked window
  170. ;            $ROW.        = Current Row relative to the window
  171. ;            $COL.        = Current Column relative to the window
  172.  
  173. BaseOne=Off
  174. PreCode=*** Screen Generated by Quiet Flight on $DATE. @ $TIME.
  175. Window=DEFINE WINDOW $Window Name. FROM $WINTOP., $WINLEFT. TO $WINBOTTOM., $WINRIGHT.
  176. Say=@ $ROW., $COL. SAY $FIELD.
  177. Get=@ $ROW., $COL. GET $FIELD.
  178. PostCode={
  179. *** End of Quiet Flight Screen Code
  180.  
  181. }
  182.  
  183. ;---------------------------------------------------------------------------
  184. ; QFGenScr Screen Template: TSE Source Files
  185. ;---------------------------------------------------------------------------
  186. [GENSCR=.S .INC]
  187.  
  188. BaseOne=ON
  189. PreCode=// Screen Generated by Quiet Flight on $DATE. @ $TIME.
  190. Window=PopWinOpen($WINLEFT., $WINTOP., $WINRIGHT., $WINBOTTOM., 1, $Window Title., $Attribute.)
  191. Say={
  192. VGotoXY($COL., $ROW.)
  193. Write($FIELD.)
  194. }
  195. Get=
  196. PostCode={
  197.  
  198. // Put the rest of your code here
  199.  
  200. PopWinClose()
  201. // End of Quiet Flight Screen Code
  202.  
  203. }
  204.  
  205.  
  206. ;---------------------------------------------------------------------------
  207. ; Keyword Expansions: Defaults for any file extension
  208. ;---------------------------------------------------------------------------
  209. [EXPANSION=Defaults]
  210. ; insert your name and Company here.
  211. name=[Your Name goes here - change in QF.CFG]
  212. initials=RCW
  213. company=[Your company goes here - change in QF.CFG]
  214. PRG_Compiler=FoxPro 2.6
  215. C_Compiler=Borland C++ 3.0
  216. RR_COMPILER=TSE v1.00 PreRelease
  217. Qfr=QFRestore »67,1«
  218. TD=$DATE. $TIME. ~
  219. LM=Last Modified: $DATE. @ $TIME.
  220. QfChange=Changed $DATE. $INITIALS. 
  221. ;---------------------------------------------------------------------------
  222. ; Keyword Expansions:  dBASE program files
  223. ;---------------------------------------------------------------------------
  224. [EXPANSION=.SPR .PRG .MPR .QPR .FMT .CH]
  225. ACW=ACTIVATE WINDOW ~
  226. ALS=ALLTRIM(STR(~))
  227. DEW=DEACTIVATE WINDOW ~
  228. GAT=GATHER ~
  229. IND=INDEX ON 
  230. INT=INDEX ON ~ TAG ADDITIVE
  231. INS=INSERT ~ INTO 
  232. OKL=ON KEY LABEL ~
  233. PAR=PARAMETERS ~
  234. PKC=PUSH KEY CLEAR
  235. POK=POP KEY 
  236. PRI=PRIVATE ~
  237. RCW=Randy Wallin
  238. REP=REPLACE ~ WITH 
  239. RMK=Ryan Katri
  240. SCM=Steve Mackie
  241. SCT=SCATTER 
  242. SETL=SET LIBRARY TO ~ ADDITIVE
  243. SETO=SET ORDER TO ~ 
  244. SETOO=SET ORDER TO ~ OF 
  245. SETR=SET RELATION TO ~ INTO 
  246. STF=STORE .F. TO ~
  247. STO=STORE ~ TO 
  248. STT=STORE .T. TO ~
  249. UIS=USE ~ IN SELECT(1)
  250. WAW=WAIT WINDOW ~
  251. PREFIX=m.
  252.  
  253. SETA={
  254. PRIVATE cSetTalk
  255. IF SET("TALK")="ON"
  256.    SET TALK OFF
  257.    cSetTalk="ON"
  258. ELSE
  259.    cSetTalk="OFF"
  260. ENDIF &&* SET("TALK")="ON"
  261. }
  262.  
  263. CHG=* $INITIALS. Changed on $DATE. ~
  264. DOW={
  265. DO WHILE $Expression.
  266.    ~
  267. ENDDO &&* $Expression.
  268. }
  269.  
  270. DOT={
  271. DO WHILE .T.
  272.    ~
  273. ENDDO &&* .T.
  274. }
  275.  
  276. DON={
  277. DO WHILE .NOT. EOF()
  278.    ~
  279.    SKIP
  280. ENDDO &&* .NOT. EOF()
  281. }
  282.  
  283. FOR={
  284. FOR $FOR Expression eg i=1 to 50.
  285.    ~
  286. ENDFOR &&* $FOR Expression eg i=1 to 50.
  287. }
  288.  
  289. IFF={
  290. IF $Expression.
  291.    ~
  292. ELSE
  293. ENDIF &&* $Expression.
  294. }
  295.  
  296. IFE={
  297. IF EOF()
  298.    ~
  299. ENDIF &&* EOF()
  300. }
  301.  
  302. IFN={
  303. IF .NOT. $Not Expression.
  304.    ~
  305. ELSE
  306. ENDIF &&* .NOT. $Not Expression.
  307. }
  308.  
  309. IFFF={
  310. IF FOUND()
  311.    ~
  312. ENDIF &&* FOUND()
  313. }
  314.  
  315. SCA={
  316. SCAN $Expression.
  317.    ~
  318. ENDSCAN &&* $Expression.
  319. }
  320.  
  321. DOC={
  322. DO CASE
  323.    CASE $Expression.
  324.         ~
  325.    CASE $Expression.
  326.         
  327.    CASE $Expression.
  328.         
  329.    OTHERWISE
  330.         
  331. ENDCASE
  332. }
  333.  
  334. PUPO={
  335. PUSH KEY CLEAR
  336. ~
  337. POP KEY
  338. }
  339.  
  340. SAV={
  341. SAVE SCREEN TO $ScreenVariable.
  342. RESTORE SCREEN FROM $ScreenVariable.
  343. }
  344.  
  345. SETF={
  346. SET FILTER TO $Filter Expression.
  347. GO TOP
  348. }
  349.  
  350. FUN={
  351. *──────────────────────────────────────────────────────────*
  352. * Function....: $FUNCTION.
  353. *
  354. * Called by...: $Called by.
  355. *
  356. * Abstract....: $Abstract.
  357. *
  358. * Returns.....: $Returns.
  359. *
  360. * Parameters..:
  361. *
  362. * Notes.......:
  363. *──────────────────────────────────────────────────────────*
  364. FUNCTION $FUNCTION.
  365. ~
  366. RETURN
  367. *EOF $FUNCTION.
  368. }
  369.  
  370. PRO={
  371. *──────────────────────────────────────────────────────────*
  372. * Procedure...: $PROCEDURE.
  373. *
  374. * Called by...: $Called by.
  375. *
  376. * Abstract....: $Abstract.
  377. *
  378. * Parameters..:
  379. *
  380. * Notes.......:
  381. *──────────────────────────────────────────────────────────*
  382. PROCEDURE $PROCEDURE.
  383. ~
  384. RETURN
  385. *EOP $PROCEDURE.
  386. }
  387.  
  388. HEADER={
  389. * Program....: $FILE.
  390. * Version....: $VERSION.
  391. * Author.....: $NAME.
  392. * Date.......: $FILEDATE.     Last Modified: $DATE. @ $TIME.
  393. * Notice.....: Copyright (c) $YEAR. $COMPANY., All Rights Reserved.
  394. * QFRestore..: »0,0«
  395. * Compiler...: $PRG_COMPILER.
  396. * Abstract...: $FILE. ~
  397. * Changes....:
  398. }
  399. ;Insert these 3 lines to the above header, if you use PVCS.
  400. ;*  $Logfile:   K:/q3/qf.cfv  $
  401. ;* $Revision:   1.0  $
  402. ;*  $Modtime:   06 Dec 1992 20:26:56  $
  403.  
  404.  
  405. ;---------------------------------------------------------------------------
  406. ; Keyword Expansions:  TSE Source files
  407. ;---------------------------------------------------------------------------
  408. [EXPANSION=.S .INC]
  409. NAME=Randy Wallin & Ryan Katri
  410. TIDA=$TIME. ~$DATE.
  411. VER=$VERSION.  $DATE.
  412.  
  413. PUPO={
  414. PushPosition()
  415. ~
  416. PopPosition()
  417. }
  418.  
  419. POPW={
  420. if PopWinOpen($Start Col., $Start Row., $End Col., $End Row., $BoxType., $Title (include Quotes)., $Color.)
  421.    ~
  422.    PopWinClose()
  423. endif // PopWinOpen($Title (include Quotes).)
  424. }
  425.  
  426. PUPB={
  427. PushBlock()
  428. UnmarkBlock()
  429. ~
  430. PopBlock()
  431. }
  432.  
  433. CAS={
  434. case $CASE Expression.
  435.    when ~
  436.          
  437.    when 
  438.          
  439.    otherwise
  440.          
  441. endcase // $CASE Expression.
  442. }
  443.  
  444. rep={
  445. repeat
  446.    ~
  447. until $REPEAT Expression.
  448. }
  449.  
  450. WHI={
  451. while $WHILE Expression.
  452.    ~
  453. endwhile // $WHILE Expression.
  454. }
  455.  
  456. IFF={
  457. if $IF Expression.
  458.    ~
  459. else
  460. endif // $IF Expression.
  461. }
  462.  
  463. IPRO={
  464. integer proc $Procedure Name.(~)
  465.    
  466. end $Procedure Name.
  467. }
  468.  
  469. PRO={
  470. proc $Procedure Name.(~)
  471.    
  472. end $Procedure Name.
  473. }
  474. SPRO={
  475. string proc $Procedure Name.(~)
  476.    
  477. end $Procedure Name.
  478. }
  479.  
  480. HEADER={
  481. /*
  482. Program....: $FILE.
  483. Version....: $VERSION.
  484. Author.....: $NAME.
  485. Date.......: $DATE.  $TIME.  Last Modified: $DATE. @ $TIME.
  486. Notice.....: Copyright $YEAR. $COMPANY., All Rights Reserved.
  487. QFRestore..: »0,0«
  488. Compiler...: $RR_COMPILER.
  489. Abstract...:
  490. Changes....:
  491.  
  492. */
  493.  
  494. }
  495.  
  496.  
  497. ;---------------------------------------------------------------------------
  498. ; Keyword Expansions:  C and C++ files
  499. ;---------------------------------------------------------------------------
  500. [EXPANSION=.C .H .CPP]
  501. HEADER={
  502. /*
  503. Program....: $FILE.
  504. Version....: $VERSION.
  505. Author.....: $NAME.
  506. Date.......: $DATE. $TIME.    Last Modified: $DATE. @ $TIME.
  507. Notice.....: Copyright $YEAR. $COMPANY., All Rights Reserved.
  508. QFRestore..: »0,0«
  509. Compiler...: $C_COMPILER.
  510. Abstract...:
  511. Changes....:
  512. */
  513.  
  514. }
  515.  
  516. FORR=[
  517. for (~)
  518. {
  519.    ~
  520. }
  521. ]
  522.  
  523. IFF=[
  524. if (~)
  525. {
  526.    ~
  527. }
  528. ]
  529.  
  530. WHI=[
  531. while (~)
  532. {
  533.    ~
  534. }
  535. ]
  536.  
  537. SWI=[
  538. switch (~)
  539. {
  540.    case :
  541.       ~
  542.       break;
  543.    case :
  544.       ~
  545.       break;
  546.    default:
  547.       ~
  548. }
  549. ]
  550.  
  551.  
  552. ;---------------------------------------------------------------------------
  553. ; Keyword Expansions:  Text files
  554. ;---------------------------------------------------------------------------
  555. [EXPANSION=.DOC .TXT .MSG .ME]
  556. BYE={
  557. All the very best to you and yours.
  558.                                   $NAME.~
  559. }
  560.  
  561. HELLO={
  562. Dear ~
  563. }
  564.  
  565. QFL=Quiet Flight
  566.  
  567.