home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / yep16.zip / yep.cfg < prev    next >
Text File  |  1997-04-09  |  9KB  |  215 lines

  1. ; Yarn Editor Pre/Post Processor version 1.6 (YEP) config file
  2.  
  3. ; if this makes no sense to you email as544@torfree.net for help...
  4.  
  5. ; editor codes: (in your Yarn CONFIG should be editor=yep.exe only)
  6. ; $L - line number (set to second line after message header if used)
  7. ; $l - (set line number to first line after quoted message if used)
  8. ; $F - Filename passed by Yarn...
  9.  
  10. ; Here are some sample settings for various editors:
  11. ; Editor = "FTE.exe -#$L $F"               ; FTE editor
  12. ; Editor = "EPM.exe $F 'goto $L'"          ; EPM editor
  13. ; Editor = "cmd.exe /c PMFTE -#$L $F"      ; PMFTE editor
  14. ; Editor = "q.exe $F /n$L"                 ; Qedit editor
  15.  
  16. Editor = "EPM.exe $F 'goto $L'"
  17.  
  18. ; This value is added to (or subtracted from, if a negative number) the
  19. ; line number passed to the editor above; for fine tuning preference.
  20.  
  21. CursorAdjust = "0"
  22.  
  23. ; Strip all the unused header lines? "No"/"Yes"
  24.  
  25. CleanHeader = "No"
  26.  
  27. ; display the progress dots when entering/exiting Yep? "Yes"/"No"
  28.  
  29. ShowDots = "Yes"
  30.  
  31. ; A log file to add URLs captured from messages. Delete or disable
  32. ; (as is the default) this directive to disable URL grabbing feature.
  33. ; Please refer to the "yepu.doc" for info on Url Log management tools.
  34.  
  35. ; UrlLog = "c:\osu\yarn\url.log"
  36.  
  37. ; If you set the PgpPassword then this password will be used each
  38. ; time you sign/encrypt with PGP using Yep blocks. Optionally you
  39. ; may encrypt this value with the YPenc utility bundled with Yep.
  40.  
  41. ; PgpPassword = "pass phrase or encrypted pass phrase"
  42.  
  43. ; Normally there is a blank line separating the header and body of the
  44. ; message. I've been told that the Emacs editor in "mail-mode" would
  45. ; prefer something else to seperate the header and body. The following
  46. ; line can be used to seperate header/body and stripped when exiting.
  47.  
  48. ; EmacsHeader = "--text follows this line--"
  49.  
  50. ; if you use the [PRE MESSAGE] block then do you want a space added
  51. ; after your "pre message" lines, if any are printed?
  52.  
  53. ; PreMessageSpace = "Yes"
  54.  
  55. ; Following is a list of backslash separated filename patters that Yep
  56. ; will process. Careful, these are not REAL wildcards. You can put a *
  57. ; either at the beginning of the pattern or the end. That's all. The
  58. ; following patterns support Yarn, MR2/ice, PostRoad Mailer.
  59.  
  60. Process = "*.snd\*.msg\message$.r*\*.pop"
  61.  
  62.  
  63. ;-----------------------------------------------------------------------
  64. [Header]
  65. ;-----------------------------------------------------------------------
  66. ; all non-blank, non-comment, lines in this section between the [header]
  67. ; and [header end] tags are appended on the end of the message header.
  68. ; (only the first 50 are used - if that's not enough email me...).
  69. ; The following are included as EXAMPLES only. Please delete and customize!
  70.  
  71. ;X-PGP-Fingerprint: A4 3B D5 A9 C2 26 F2 34  FD 85 A5 8E 15 09 79 6B
  72.  
  73. ; the following two lines add an X-Newsreader header if you are writing
  74. ; to a newsgroup, or a X-Mailer header if you are writing email.
  75.  
  76. {SetFlag:false}{ifng:.}X-Newsreader: Yarn for OS/2 v0.92
  77. {IfFlag:false}X-Mailer: Yarn for OS/2 v0.92
  78.  
  79. ; these next several lines demostrate using conditional tags for headers.
  80. ; notice how, after the first line, the "setflag" is used: because
  81. ; otherwise if a previous condition is met then the global flag (see
  82. ; section 5 of yep.doc) will be set to "true" and further conditions
  83. ; will be ignored until the global flag is set to false.
  84.  
  85. {SetFlag:false}{IfDate:Fri}X-TGIF: The weekend is here at last! Woohoo!
  86. {SetFlag:false}{IfNG:sex}X-Disclaimer: I'm asking for a friend, honest.
  87.  
  88. ; the next example shows how you can use substitution tags in a header.
  89. ; the substitution is defined below and uses an external program.
  90.  
  91. ; X-Moon-Phase: {moond}
  92.  
  93. ; that was the old way of doing things (i leave it for an example), but
  94. ; the new built in POM works faster like this:
  95.  
  96. X-Moon-Phase: {pom:4}
  97.  
  98. ; the next example shows how you can use "Exec" and "ImpL" tags to
  99. ; import a specific line (3) of text from the output of another program.
  100. ; For more info on this example see "ImpL" in section 3 of yep.doc:
  101.  
  102. ; X-OS2-{exec:go -ut >utmp}{impL:3:utmp}
  103.  
  104. ; If you use the penet.fi anonymous remailer you might like a header 
  105. ; like one of these:
  106.  
  107. ; {ifTO:anon.penet}X-Anon-Password: secret
  108. ; {ifTO:anon.penet}X-Anon-Password: {ypdec:725101251234208215502137499}
  109.  
  110.  
  111. [End Header]
  112.  
  113.  
  114. ;-----------------------------------------------------------------------
  115. [Substitutions]
  116. ;-----------------------------------------------------------------------
  117. ; up to 100 non-blank, non-comment lines containing substitutions to be
  118. ; made when scanning messages before and after calling the editor,
  119. ; in this format: "original text"::"replacement text". This can be
  120. ; used to create macros or customize tags for use for mailing lists
  121. ; (using the {IMP:} tag), etc. Use your imagination. All substitutions
  122. ; and tags are NEVER case sensitive. Following are examples:
  123.  
  124. ; this would make a tag which will import my PGP key
  125. ; "{pgpkey}"::"{IMPF:C:\pgp\tim.key}"
  126.  
  127. ; this creates a "macro" which runs a program to get a quote and import it
  128. ; the "grbquote" program is provided in the YX-13.ZIP package.
  129. "{quote}"::"{Exec:grbquote.exe /s >qtmp}{ImpF:qtmp}"
  130.  
  131. ; this imports a random SIG with the root name "my-sigs" (ie. my-sig.1, 
  132. ; my-sig.2, my-sig.3, and so on, are chosen from randomly. Note full path.)
  133. "{rsig}"::"{RndF:c:\yarn\my-sigs}"
  134.                                                           
  135. ; I must cover up my persistant stupidity!
  136. "thier"::"their"
  137. "wierd"::"weird"
  138.  
  139. ; a tag which can be entered in an email To: or Cc: field to email
  140. ; to a bunch of folks...
  141. "{L1}"::"as544@torfree.net,ab651@freenet.durham.org,x@vex.net"
  142.  
  143. ; another example using a program in the YX-13.ZIP package. This tag
  144. ; then will be replaced by the moon's age and used in a Header example.
  145. ; (this is obsolete, but is left as an example)
  146. "{moond}"::"{Exec:moondays /n >mtmp}{ImpF:mtmp}"
  147.  
  148. [End Substitutions]
  149.  
  150.  
  151. ;-----------------------------------------------------------------------
  152. [PRE MESSAGE LINES]
  153. ;-----------------------------------------------------------------------
  154. ; up to 25 non-blank, non-comment lines containing lines while you
  155. ; want inserted after the message header, but before your message.
  156. ; I have no idea what you'd want to use this for <-:
  157.  
  158.  
  159. [END PRE MESSAGE LINES]
  160.  
  161.  
  162. ;-----------------------------------------------------------------------
  163. [BLOCK PROCESSING DEFINITIONS]
  164. ;-----------------------------------------------------------------------
  165. ; Up to 15 block processing definitions. see the docs for details <-:
  166. ; On the command line *I will be input filename, *O will be the output
  167. ; filename, and *P will be any additional parameters passed.
  168.  
  169. ; the following example for PGP is explained in the Yep.Doc, it allows
  170. ; an encryption block to certain recipients: [pgp someone anyone]
  171.  
  172. "[pgp]"::"pgp -seat *i -o *o *p"
  173.  
  174. ; Hint: to encrypt all messages ALSO to yourself add your name (or PGP
  175. ; ID) after the *p in the above command
  176.  
  177. ; this example uses a simple rexx script (include in archive) that will
  178. ; search and replace a character or a string for another. (note: you can
  179. ; use any two chracters for the beginning and end of the block marker).
  180. ; for example a block starting {rpl o *} will replace all o's with *'s.
  181. ; Note: don't use <rpl> due to output rediriction (>) would blow up. Also
  182. ; the redirected *o must have double quotes. See docs for details.
  183. ; And also: don't try this one at home, kids! (rep-rexx.cmd is in the
  184. ; yx-13.zip archive).
  185.  
  186. "{rpl}"::"rep-rexx.cmd *i *p >"*o""
  187.  
  188. ; simple pig latin filter example, as mentioned in the Yep.doc. The Pigsay
  189. ; program is included in the YepUtil archive. Note: quotes on redirection.
  190.  
  191. "[pig]"::"pigsay <"*i" >"*o""
  192.  
  193. [END BLOCK PROCESSING DEFINITIONS]
  194.  
  195.  
  196. ;-----------------------------------------------------------------------
  197. [URL EXCLUSIONS]
  198. ;-----------------------------------------------------------------------
  199. ; up to 20 non-blank, non-comment lines containing URLs, or parts of
  200. ; URLs, (if URL grabbing is enabled) you definitely don't want grabbed.
  201. ; Most likely candidates to include would be your own URLs (as used
  202. ; in SIG files, perhaps), and those of friends you coorespond with often.
  203.  
  204. ; The following exclusion would ignore all URLs that contain www.io.org/~tm
  205. ; so none of my old web pages would be captured.
  206.  
  207. ; www.io.org/~tm
  208.  
  209. www.netscape.com
  210. www.microsoft.com
  211.  
  212. [END URL EXCLUSIONS]
  213.  
  214. ; ok?
  215.