home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / hyprmail.zip / config.h < prev    next >
C/C++ Source or Header  |  1997-03-16  |  4KB  |  199 lines

  1. /*
  2. ** Configuration file for Hypermail (C version)
  3. ** Kevin Hughes, kevinh@eit.com
  4. ** 8/1/94
  5. **
  6. ** Copyright (C) 1994, Enterprise Integration Technologies Corp.          
  7. ** All Rights Reserved.
  8. */
  9.  
  10. /* User-definable options are below */
  11.  
  12. #ifndef MBOX
  13. #define MBOX "mbox"
  14. #endif
  15.  
  16. /* Define MBOX as "NONE" to read from standard input.
  17. */
  18.  
  19. #ifndef ARCHIVES
  20. #define ARCHIVES ".."
  21. #endif
  22.  
  23. /* This should be a URL of some type. Define ARCHIVES as "NONE" to omit
  24. ** a link to other archives.
  25. */
  26.  
  27. #ifndef ABOUT
  28. #define ABOUT "NONE"
  29. #endif
  30.  
  31. /* This should be a URL of some type. Define ABOUT as "NONE" to omit
  32. ** a link to archive information.
  33. */
  34.  
  35. #ifndef REVERSE
  36. #define REVERSE 0
  37. #endif
  38.  
  39. /* Define as 0 if you want latest message on the bottom for date and
  40. ** thread indexes. Else define as 1 to put recent articles on top.
  41. */
  42.  
  43. #ifndef SHOWHEADERS
  44. #define SHOWHEADERS 1
  45. #endif
  46.  
  47. /* Define as 0 if you want to hide mail headers in articles.
  48. ** Else define as 1.
  49. */
  50.  
  51. #ifndef SHOWHTML
  52. #define SHOWHTML 1
  53. #endif
  54.  
  55. /* Define as 0 if you want articles to be shown in a proportional font.
  56. ** Else define as 1.
  57. */
  58.  
  59. #ifndef SHOWBR
  60. #define SHOWBR
  61. #endif
  62.  
  63. /* Define if you want article lines to end with the <br> tag.
  64. ** Else uncomment to have non-quoted lines word-wrap. Only takes effect
  65. ** if SHOWHTML is defined.
  66. */
  67.  
  68. #ifndef IQUOTES
  69. #define IQUOTES
  70. #endif
  71.  
  72. /* Define if you want quoted lines to be shown in italics. Only
  73. ** take effect if SHOWHTML is defined.
  74. */
  75.  
  76. #ifndef SHOWHR
  77. #define SHOWHR
  78. #endif
  79.  
  80. /* Define if you want horizontal rules before and after articles.
  81. */
  82.  
  83. #ifndef LABEL
  84. #define LABEL "NONE"
  85. #endif
  86.  
  87. /* Define as the default title you want to call your archives.
  88. ** Define as "NONE" to use the name of the input mailbox.
  89. */
  90.  
  91. #ifndef DIR
  92. #define DIR "NONE"
  93. #endif
  94.  
  95. /* This is the default directory that new files are put into and
  96. ** that existing files are read from. If defined as "NONE", this
  97. ** will be the name of the input mailbox.
  98. */
  99.  
  100. #ifndef OVERWRITE
  101. #define OVERWRITE 0
  102. #endif
  103.  
  104. /* Define as 0 to always overwrite existing files. Define as 1 to
  105. ** only write files that are new.
  106. */
  107.  
  108. #ifndef INCREMENT
  109. #define INCREMENT 0
  110. #endif
  111.  
  112. /* Define as 1 to read in one article only and update existing archives.
  113. ** Define as 0 for normal operation.
  114. */
  115.  
  116. #ifndef PROGRESS
  117. #define PROGRESS 1
  118. #endif
  119.  
  120. /* Define as 1 to show progress as Hypermail works. Define as 0 for silent
  121. ** operation.
  122. */
  123.  
  124. #ifndef DIRMODE
  125. #define DIRMODE 0777
  126. #endif
  127.  
  128. /* Define as the permissions mode to change any created directories to.
  129. ** This must be an octal number.
  130. */
  131.  
  132. #ifndef FILEMODE
  133. #define FILEMODE 0666
  134. #endif
  135.  
  136. /* Define as the permissions mode to change any created HTML files to.
  137. ** This must be an octal number.
  138. */
  139.  
  140. #ifndef THRDLEVELS
  141. #define THRDLEVELS 2
  142. #endif
  143.  
  144. /* Define as the number of thread level indents to show in the thread
  145. ** index file. The normal value is 2.
  146. */
  147.  
  148. #ifndef CONFIGFILE
  149. #define CONFIGFILE "~/.hmrc"
  150. #endif
  151.  
  152. /* Define as the configuration file to read settings from. ~ as the first
  153. ** character represents the current user's home directory. Define as
  154. ** "NONE" for no configuration file.
  155. */
  156.  
  157. #ifndef DEFAULTINDEX
  158. #define DEFAULTINDEX "date"
  159. #endif
  160.  
  161. /* Define as the default main index that users see when the archive
  162. ** is first accessed. Possible values are "date", "subject", "author", and
  163. ** "thread".
  164. */
  165.  
  166. #ifndef EURODATE
  167. /* #define EURODATE */
  168. #endif
  169.  
  170. /* Define if you want dates in the index files as "DD MM YYYY" instead of
  171. ** "MM DD YYYY".
  172. */
  173.  
  174. #ifndef SHOWREPLIES
  175. #define SHOWREPLIES
  176. #endif
  177.  
  178. /* Define if you want links to article replies in messages.
  179. */
  180.  
  181. #ifndef MAILCOMMAND
  182. /*
  183. #define MAILCOMMAND "/cgi-bin/mail?to=$TO&replyto=$ID&subject=$SUBJECT"
  184. */
  185. #define MAILCOMMAND "mailto:$TO"
  186. #endif
  187.  
  188. /* This is the mail command that email links go to, for instance
  189. ** "mailto:$TO" or "/cgi-bin/mail?to=$TO".
  190. **
  191. ** In constructing this command, you can specify variables:
  192. **
  193. ** $TO : the email address of the person you're sending mail to.
  194. ** $ID : the ID of the message you're replying to.
  195. ** $SUBJECT: the subject you're replying to.
  196. */
  197.  
  198. /* End of user-definable options */
  199.