home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Fax / GPFAX23.LHA / Rexx_samples / scripts / mail / TrapDoor.cfg < prev   
Encoding:
Text File  |  1992-12-01  |  8.4 KB  |  302 lines

  1. ; **************************************************************
  2. ; **                                                          **
  3. ; **               TrapDoor 1.83 Configuration File           **
  4. ; **                                                          **
  5. ; **************************************************************
  6. ;
  7. ; TrapDoor v1.83 config for use with SUPRA/ZyXEL modems
  8. ;
  9.  
  10. ; This is my FidoNet node number
  11.  
  12. NODE 3:640/304.004
  13.  
  14. ; here are my AKAs
  15.  
  16. AKA "41:400/304.0"
  17.  
  18. ; This is my node's name
  19.  
  20. NAME "CCUGQ BBS"
  21.  
  22. ; This is the sysop's name
  23.  
  24. SYSOP "Richard Carde"
  25.  
  26. ; Point setup: set up the password for your boss node here.
  27. ; Leave this unset ("") to operate a node or set it to
  28. ; something else to not accept calls from unlisted nodes.
  29.  
  30. PASSWORD ""
  31.  
  32. ; Here I set up the baudrate that TrapDoor should use to
  33. ; talk to the modem
  34.  
  35. BAUD 19200
  36.  
  37. ; For modems that can lock the baudrate, use LOCK.
  38.  
  39. LOCK
  40.  
  41. ; This is the minimum baudrate at which TrapDoor will
  42. ; keep a connection. If the modem responds with a
  43. ; "CONNECT xxx" message where xxx is lower than
  44. ; the MINBAUD value, TrapDoor will hang up.
  45.  
  46. MINBAUD 300
  47.  
  48. ; Point setup: set this to your boss' FidoNet address.
  49. ; Set this to your own address when running a node.
  50.  
  51. BOSS 3:640/304
  52.  
  53. ; Point setup: set this to the telephone number of your
  54. ; boss. When operating with a nodelist, you can also put
  55. ; the FidoNet address of your boss here and TrapDoor will
  56. ; consult the nodelist to find out the phone number.
  57. ; Note that TrapDoor uses the colon (":") in the FidoNet
  58. ; node number ot distinguish it from a telephone number,
  59. ; so always specify the zone if you want to give it a
  60. ; nodenumber.
  61.  
  62. CALL 3:640/304
  63.  
  64. ; The path to your outbound directory where .FLO, .OUT
  65. ; and such stuff is.
  66.  
  67. OUTBOUND "Mail:Outbound"
  68.  
  69. ; The path to your inbound directory where incoming files
  70. ; are put.
  71.  
  72. INBOUND "Mail:Inbound"
  73.  
  74. ; If you specify a path here, TrapDoor will use this
  75. ; directory to find nodelist index/extra files.
  76. ; To disable nodelist support, use NODELIST "".
  77.  
  78. NODELIST "NodeList:"
  79.  
  80. ; Use MAXBAUD to automatically adjust MINBAUD to the
  81. ; highest possible baudrate.
  82.  
  83. MAXBAUD
  84.  
  85. ; This is the number of rings that TrapDoor will wait
  86. ; before answering the phone. If you don't want TrapDoor
  87. ; to answer the phone, just set this to RINGS 9999.
  88.  
  89. RINGS 2
  90.  
  91. ; A banner line that will be displayed to human callers.
  92. ; Instead of specifying a string, you could also send out
  93. ; a complete banner file here. The second line gives you
  94. ; an example of that.
  95.  
  96. BANNER "Commodore Computer Users Group (Qld) BBS"
  97. ; BANNER "<mail:Banner"
  98.  
  99. ; This is the commandline that TrapDoor will execute when
  100. ; a user presses Escape to enter the BBS.
  101. ; To disable the BBS, use BBSMODE NONE or omit the statements.
  102.  
  103. ; BBSCOMMAND "DLG:immed TR0 %b %B -w"
  104. ; BBSINOUT ""
  105. ; BBSMODE SPAWN
  106.  
  107. FAXSTRING  "+FCON"
  108. FAXCOMMAND "MAIL:start_fax"
  109.  
  110. ; In addition to the Escape key, you can specify another
  111. ; character that users can press twice to enter the BBS.
  112. ; WARNING: Do not use an asterisk ('*') here!
  113.  
  114. ; BBSCHAR '.'
  115.  
  116. ; This defines the name of the logfile for TrapDoor.
  117.  
  118. LOGFILE "Mail:TrapDoor.Log"
  119.  
  120. ; Here are the loglevels for various logging groups.
  121.  
  122. LOGLEVEL 0:2        ; debugger
  123. LOGLEVEL 1:2        ; link
  124. LOGLEVEL 2:2        ; transfer
  125. LOGLEVEL 3:2        ; system
  126. LOGLEVEL 4:2        ; modem
  127. LOGLEVEL 5:2        ; session
  128. LOGLEVEL 6:7        ; security
  129. LOGLEVEL 7:2        ; outside
  130. LOGLEVEL 8:7        ; information
  131. LOGLEVEL 9:2        ; scheduler
  132.  
  133. ; If you have a "slow" modem, set this to higher values.
  134.  
  135. SLOWMODEM 10
  136.  
  137. ; MODEMINIT     will be sent to the modem to reset it.
  138. ; MODEMDIALPRE  will be sent to the modem to dial out,
  139. ;               followed by the phone number, followed by
  140. ; MODEMDIALPOST
  141. ; MODEMANSWER   will be sent to answer the phone.
  142. ; MODEMHANGUP   will be sent to hangup the modem.
  143.  
  144. ;
  145. ; ********************** NOTE ****************************
  146. ; *                                                      *
  147. ; * MINIMUM initialisation is required since GPFAX will  *
  148. ; * init the modem!!!!!                                  *
  149. ; *                                                      *
  150. ; * GPFAX must init the modem to set your FAX ID string  *
  151. ; * and other important settings for FAX!                *
  152. ; *                                                      *
  153. ; ********************** NOTE ****************************
  154. ;
  155. MODEMINIT "AT+FCLASS=0+FAA=1|"
  156. MODEMHANGUP "||^|~~~+++~~~ATH|"
  157. MODEMDIALPRE "~~AT+FCLASS=0;+FAA=0DT"
  158. MODEMDIALPOST "|"
  159. MODEMANSWER "~~ATA|"
  160.  
  161. ; If your modem is an error correcting modem, ARQSTRING
  162. ; tells TrapDoor what the modem returns when it establishes
  163. ; a connection under error control. If you have such a
  164. ; modem, you can also specify SNIFFARQ and handshakes can
  165. ; become a bit faster.
  166.  
  167. ; ARQSTRING "ARQ"
  168. ; SNIFFARQ
  169.  
  170. ; This informs TrapDoor which Amiga device is your
  171. ; serial device. For example, a Supra 2400zi modem
  172. ; needs SERIALNAME "modem0.device".
  173.  
  174. SERIALNAME "serial.device"
  175. SERIALUNIT 0
  176. SERIALFLAGS 0
  177.  
  178. ; If you want to spawn a BBS, you must use the SHARED
  179. ; option. Otherwise, you can use NOSHARED to prevent
  180. ; other programs from using the serial device when
  181. ; TrapDoor has it open.
  182.  
  183. SHARED
  184.  
  185. ; If your modem does not support the DSR line, use NODSR.
  186. ; Otherwise, use DSR and TrapDoor will be able to tell
  187. ; whether your modem is switched on or not.
  188.  
  189. DSR
  190.  
  191. ; If you have a buffering modem, you need to have a full
  192. ; 7-wire cable and enable hardware handshaking with 7WIRE.
  193.  
  194. 7WIRE
  195.  
  196. ; Please read TrapDoor's manual for a more detailed
  197. ; explanation of the ADJUST parameter. If you are not
  198. ; sure what to do with it, leave it at -11.
  199. ; If you have AmigaOS 2.0 or higher, use ADJUST 0 or
  200. ; leave it out completely.
  201.  
  202. ; ADJUST -11
  203.  
  204. ; This tells TrapDoor what command to execute to handle
  205. ; incoming File Requests. Please consult the manual for
  206. ; a more detailed description.
  207. ; To turn off File Requests, use FREQUEST "".
  208.  
  209. ; FREQUEST "RequestHandler %i,%o,%l"
  210.  
  211. ; This is the name of TrapDoor's ARexx port.
  212. ; If you have multiple lines, you need to change this
  213. ; for each line.
  214.  
  215. REXXNAME "TrapDoor"
  216.  
  217. ; Where should TrapDoor put its windows?
  218. ; Note that on NTSC machines and their smaller screens,
  219. ; you will have to change the value of STATWINDOW.
  220.  
  221. LOGWINDOW 30/15/580/133
  222. STATWINDOW 30/155/580/93
  223. ; STATWINDOW 30/155/580/44 ; use this on NTSC
  224.  
  225. ; Use SCREENMODE CUSTOM to have TrapDoor open its own
  226. ; screen, SCREENMODE WORKBENCH to have it open its
  227. ; windows on the Workbench Screen, SCREENMODE ACTIVE
  228. ; to open the windows on the currently active screen,
  229. ; and SCREENMODE TRAPDOOR for special magic.
  230. ; Beware: Please read the instructions in the manual
  231. ; before using SCREENMODE ACTIVE.
  232.  
  233. SCREENMODE TRAPDOOR
  234.  
  235. ; If you want TrapDoor to open its screen in the
  236. ; background, use BACKGROUND.
  237. ; To have it open the screen to the same size your
  238. ; Workbench Screen has (including overscan set with
  239. ; MoreRows), use AUTOOVERSCAN.
  240. ; If you don't want any screens or windows, use
  241. ; QUIET.
  242.  
  243. NOBACKGROUND
  244. AUTOOVERSCAN
  245. ; QUIET
  246.  
  247. ; For a nice colorful TrapDoor screen, change this as
  248. ; desired.
  249.  
  250. COLORS 2560/4095/10/160
  251.  
  252. ; Point setup: If a call to your boss fails (BUSY,
  253. ; VOICE, NO CARRIER ...), you can use these keywords
  254. ; to have TrapDoor redial automatically after a
  255. ; certain amount of time. Use RETRIES to set the maximum
  256. ; number of retries and REDIALDELAY to specify the number
  257. ; of seconds to wait between calls.
  258.  
  259. RETRIES 0
  260. REDIALDELAY 3
  261.  
  262. ; Enable accounting with ACCOUNTING and specify accounting
  263. ; limits. The template for ACCTMAX is:
  264. ; ACCTMAX "cost calls-out failed-sessions busy nocarrier voice"
  265.  
  266. ACCOUNTING
  267. ACCTMAX "3000 20 2 20 5 2"
  268.  
  269. ; Node systems: If you want your TrapDoor to automatically
  270. ; start in answer mode when you just "run TrapDoor", specify
  271. ; ANSWER
  272.  
  273. ; ANSWER
  274.  
  275. ; Some function key assignments
  276.  
  277. FKey "1:EMSI"
  278. FKey "11:NOEMSI"
  279. FKey "2:WAZOO"
  280. FKey "12:NOWAZOO"
  281. FKey "3:ZEDZAP ZEDZIP DIRECTZAP"
  282. FKey "13:NOZEDZAP NOZEDZIP NODIRECTZAP"
  283. FKey "4:DIETIFNA"
  284. FKey "14:NODIETIFNA"
  285. FKey "5:BBSMODE SPAWN"
  286. FKey "15:BBSMODE ZMH"
  287. FKey "6:Run \"CE\""
  288. FKey "16:Run \"FFSA Node 2:310/6 ActiveScreen\""
  289. FKey "7:Run \"Execute DLGConfig:Batch/UnPackMail\""
  290. FKey "17:SMODEM |~ATH1|~~~~~~~~~~~~~~~~~|~ATH0|~"
  291. FKey "8:Run \"Execute DLGConfig:Batch/PackMail\""
  292. FKey "18:Run \"Execute DLGConfig:Batch/NComm.batch\""
  293. FKey "9:Run \"Execute DLGConfig:Batch/Poll\""
  294. FKey "19:acctmax \"-1 -1 -1 -1 -1 -1\""
  295. FKey "10:Run \"local\""
  296. FKey "20:Run \"getport -p tr0:\""
  297.  
  298. ; NOTE: Not all possible configuration keywords are used in this
  299. ;       example configuration. Please see the manual for a more
  300. ;       detailed and more complete description of TrapDoor's
  301. ;       configuration.
  302.