home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / bos2_260.zip / bink_260.doc next >
Text File  |  1996-04-07  |  15KB  |  373 lines

  1.  
  2.  
  3.                 Addendum to BinkleyTerm Documentation
  4.  
  5.                        Changes and Additions
  6.                    for BinkleyTerm Version 2.60
  7.  
  8.              Copyright (C) 1996 Bit Bucket Software, Co.
  9.  
  10. INTRODUCTION
  11.  
  12. Once again, the documentation for this latest release of BinkleyTerm is
  13. being issued as an addendum to the previous docs.  Information contained
  14. herein should be considered as superseding any previous documentation.
  15.  
  16. The comprehensive update we have promised is really almost done. Vince had
  17. some last minute fits with the word processor or it would be out.
  18.  
  19. The new documentation should be out in April 1996. Thanks to Barrie Smith
  20. and Bob Davis for all the work they have done.
  21.  
  22.  
  23. Exit/Spawn
  24. ----------
  25.  
  26. External mail exits can now be shelled/spawed, by putting "EXTern spawn"
  27. in your config file. Note: if you enable this option, all external mail
  28. is spawned. The arguments to EXTMAIL are exactly the same as the exit 
  29. case, so you can find the "errorlevel" from the command line if you need it.
  30.  
  31. An external process can now force BinkleyTerm to exit. This is enabled by
  32. putting "ForcExit n" in the config file, where (n) is the errorlevel you 
  33. wish to use on exit. Bink will periodically check the flag directory for a
  34. file called FORCEXIT (or FORCEXIT.xxx if task number is set).
  35. When it sees the file, it will delete it and exit with the user
  36. specified errorlevel.
  37.  
  38. BinkleyTerm will also look in the flags directory for files of the form
  39. BTEXIT??.??. If a file matching the task number in the extension is found,
  40. BinkleyTerm will exit using the hex errorlevel specified in the filename.
  41. (e.g. BTEXIT10.B0 makes BinkleyTerm task 176 exit with errorlevel 16)
  42.  
  43. Any specific "Exit" can be replaced with a spawn as follows:
  44.  
  45.     ErrLevelShell <errlevel> <shell command>
  46.         <errlevel>      is an error level for a user exit.
  47.         <shell command> is the command to be executed.
  48.  
  49.     For example, if the event file had the following:
  50.  
  51.         Event ALL 08:00 12:00  E4=91,TIC A=60 T=3,10
  52.  
  53.     and the configuration file had the following:
  54.  
  55.         ErrLevelShell 91  DOTICK.CMD
  56.  
  57.     Instead of exiting with an errorlevel of 91 when a TIC file is
  58.     received, DOTICK.CMD will be executed.  If you are using the
  59.     OS/2 or Win32 (NT/Win95) version of Binkley and specify:
  60.  
  61.         ErrLevelShell 91 Start /I /C "Tick Procssing" DOTICK.CMD
  62.  
  63.     DOTICK.CMD will be started as a seperate session.
  64.  
  65.  
  66.  
  67. Protocols
  68. ---------
  69.  
  70. BinkleyTerm now supports EMSI. This requires some more config changes:
  71.  
  72.  
  73.     NoEMSI disables EMSI
  74.     MyLocation defines nodelist location \
  75.     MyPhone            phone number       \ In nodelist
  76.     MyListFlags        nodelist flags     / format
  77.     MyMaxBaud          max baud rate     /
  78.     PickUpAll          enables all pick ups in EMSI
  79.  
  80. There also is a script command "NoEMSI" to disable EMSI for one session.
  81.  
  82. Arjen Lentz' and Joaquim Homrighausen's Hydra protocol is now supported
  83. in the DOS and OS/2 versions. Config lines "NoJanus" and "NoHydra" have 
  84. been added. The old "JanusOK" and "JanusBaud" now also control Hydra.
  85. Because of this we added "BiDiOK" and "BiDiBaud" which do the same.
  86.  
  87. Language file
  88. -------------
  89.  
  90. BTLNG now supports '\s' for embedded spaces.
  91.  
  92. File requests
  93. -------------
  94.  
  95. You can now use your MAXFILES.IDX for file requests. This is accomplished
  96. by putting "MaxAreas <area.dat file name>", "FileSec n", and optionally
  97. "KnownSec n" and "ProtSec n" in BINKLEY.CFG, and "*<maxfiles.idx file name>"
  98. in your OKFILE. The 'n' referred to above is Max-defined, it should be:
  99.  
  100.     0=Disgrace, 1=Limited, 2=Normal, 3=Worthy,     4=Privil,  
  101.     5=Favored,  6=Extra,   7=Clerk,  8=Asstsysop, 10=Sysop,  
  102.    11=Hidden,  -2=Twit
  103.  
  104. The file names should be full paths (e.g. d:\max\area.dat)
  105.  
  106. BinkleyTerm can send file request responses back in packets, if you
  107. set "pktrsp". This feature requires a flags directory.
  108.  
  109.  
  110. Addressing
  111. ----------
  112.  
  113. BinkleyTerm now supports domain kludging to zone numbers. Lines of the form
  114. "DomainKludge ZoneNumber DomainName" (e.g. "DomainKludge 7 alternet.ftn")
  115. will fill in a domain if addresses are without domain specification, either
  116. from local entry or in FidoNet handshaking. These lines must follow the
  117. "Domain" lines, and if you set a domainkludge without having previously
  118. defined a domain, it will not be processed. Here is an example:
  119.  
  120. Domain fidonet.org fidonet nodex
  121. Domain alternet.ftn alternet nodex
  122. Domain eggnet eggnet nodex
  123.  
  124. DomainKludge 7 alternet.ftn
  125. DomainKludge 99 eggnet
  126.  
  127. REMEMBER, THE DOMAINKLUDGE LINES *MUST* FOLLOW THE DOMAIN LINES!
  128.  
  129.  
  130. Communications
  131. --------------
  132.  
  133. BinkleyTerm now supports communications rates up to 115200 baud
  134. on DOS, OS/2 and Win32 platforms. For DOS, this requires a FOSSIL
  135. that can handle these rates (such as X00 1.53A or above), and 
  136. "extbaudrates" in BINKLEY.CFG. For OS/2 you need MAXCOMM 2.5 or
  137. above. These rates are native in Win32.
  138.  
  139. You can use BinkleyTerm/32 to frontend a DOS-based bulletin board on
  140. Windows 95 using WinFOSSIL 1.10 and the "WinFOSSIL" command. Contact
  141. Bryan Woodruff at 1:343/294 for details.
  142.  
  143.  
  144. Unattended mode changes
  145. -----------------------
  146.  
  147. Alt-P in unattended mode creates a .CLO file for polling.
  148.  
  149. Alt-Z in unattended mode will give you a zoomed view of the
  150. outbound window, with some facilities for changing flavors, deleting,
  151. et cetera.
  152.  
  153. If BTRESCAN.?? appears in the flags directory BinkleyTerm will rescan the
  154. outbound (e.g. BTRESCAN.40 make BinkleyTerm task 64 rescan)
  155.  
  156. BinkleyTerm can scan a Squish style netmail message base for unread messages.
  157. To specify a Squish style netmail area, you must prefix the path with a '$'
  158. and add the name of the message base (e.g. "Netmail $C:\Max\Netmail")
  159.  
  160. The "Recent Activity" window is scrollable now. Set the total scrolling area
  161. using the  "RecentActivityLines <n>" verb. Use the CTRL+(down/up arrow, 
  162. pg dn/up, home, end) keys to scroll the area. DOS users should use this with
  163. care since it will cost you memory. NOTE: for some reason, under DOS the 
  164. CTRL/UPAR and CTRL/DNAR don't seem to work. You can redefine the keys for 
  165. these commands in your language file.
  166.  
  167.  
  168. External mailers/FAX
  169. --------------------
  170.  
  171. Bink can receive Group 2 FAX. Add "FaxInDir <directory name>" to
  172. enable the option. There is also an associated per-event errorlevel
  173. for fax reception, specified as "EF=errorlevel" in the event file.
  174. Fax reception will be considered like received mail if there is not
  175. an explicit errorlevel for FAX.
  176.  
  177. You can define a FAX using the external mail support in BinkleyTerm
  178. and a "ModemFax" line in BINKLEY.CFG. This allows two modes of operation:
  179.  
  180. 1) Bink receives the fax into a raw file.
  181.  
  182.         ModemFax <fax connection result>
  183.         FaxInDir <fax directory>
  184.  
  185. This tells Bink that when it sees this result code, it should
  186. receive the fax into the specified directory.
  187.  
  188. 2) Bink shells out to external program for fax
  189.  
  190.         ModemFax <fax connection result>
  191.         ExtrnMail <code> <fax connection result>
  192.  
  193.         (optional)
  194.         Extern Spawn
  195.  
  196. When Bink gets the fax connection result and FaxInDir is not
  197. set, it will try to find an external mail string and if it
  198. finds one it will dispatch as specified by the user.
  199.  
  200. BinkleyTerm will set the baudrate to 19200 on a FAX connection unless
  201. you set "FaxBaud x", in which event your specified rate will be used.
  202.  
  203. BinkleyTerm uses the entire "Connect" line to match for external mailers.
  204.  
  205. Using "ExtSession <mask> <program-name>" BinkleyTerm can run a program
  206. to do mail for a particular modem type. In this case, BinkleyTerm will
  207. turn off everything and, for every file to send to this system, it
  208. will call "programname full-address tasknumber filename". When BinkleyTerm
  209. regains control it looks for a file in the current directory named 
  210. "programname.tasknumber". If it exists the session continues; if not,
  211. it's considered a failure. When the session ends, one way or the
  212. other, BinkleyTerm will restart itself and proceed.
  213.  
  214.     By way of example: using my nodelist compiler, let's say I define
  215.     my point 2 as having modem flag 64 (0x40). With a private list, I
  216.     could do this by putting a "UGATE" flag on the node, then with
  217.     XLAXNODE, "MODEMTRANS 7 UGATE". I then put 
  218.  
  219.           extsession 40 points
  220.  
  221.     in BINKLEY.CFG and create points.bat as follows:
  222.  
  223.           echo %0 %1 %2 %3 >> points.log
  224.           if "%1%" == "1:343/491.2@fidonet" copy %3 m:\point2
  225.           if errorlevel 1 goto end
  226.           touch points.%2%
  227.           :end
  228.  
  229.     The result: all sessions with my .2 put the mail into m:\point2.
  230.  
  231.     Note that this mechanism is designed mostly for callout. However, 
  232.     you can poll for mail by creating a dummy packet and "sending" it,
  233.     and your batch file can copy files into your inbound.
  234.  
  235.  
  236.  
  237. Sounds
  238. ------
  239.  
  240. Bink can associate sounds with particular events on OS/2 and Win32.
  241. 6 new BINKLEY.CFG parameters have been added: "MailSound"
  242. is the sound that BinkleyTerm will play on a E2 mail exit,
  243. "FileSound" will be played on a E3 or user-specified mail exit,
  244. "BBSSound" will be played when BinkleyTerm exits to a BBS,
  245. "EXTSound" will be played on exit to an external (UUCP) mailer,
  246. "StartSound" will be played at the start of unattended mode.
  247. "FAXSound" will be played on a FAX exit.
  248.  
  249. The parameter looks like this: 
  250.  
  251.              StartSound happy.wav
  252.  
  253. On Vince's machine, this plays the "Happy Happy Joy Joy" song when
  254. BinkleyTerm starts unattended mode.
  255.  
  256. This is techie: The ZModem receiver now will send ZFERR for disk-full
  257. situations. The transmitter will treat this as an error. The result
  258. should be that files will no longer be lost in transit due to disk-full.
  259.  
  260. A new event flag, '$', causes BinkleyTerm to delete all bad-call entries.
  261.  
  262. The outbound window now contains file counts, if "NoSize" was not enabled.
  263. For lack of real estate, we'll not show domains if this option is on.
  264.  
  265.  
  266. Modem handling
  267. --------------
  268.  
  269. BinkleyTerm now matches modem types exactly rather than using a bitwise
  270. AND. This allows lots more modem types, but requires that you change your
  271. nodelist generation and config stuff (if you're using ModemTrans).
  272.  
  273. Callout to nodes with a particular modem type can be disabled using 
  274. "ModemTrans xxx" (where xxx is the modem type) with no prefix or suffix.
  275. This allows sharing BinkleyTerm between lines with particular modem types.
  276.  
  277.  
  278. You can now tell Binkley how to handle various result codes from the
  279. modem: "ModemFailure" for failures; "ModemIgnore" for ignorable codes;
  280. "ModemConnect" for connect string prefixes (the rest is parsed for
  281. connect rate, etc); "ModemRinging" for an INCOMING ring; "ModemIncoming"
  282. for incoming call collision; "ModemFax" for incoming FAX; "ModemRetry" for
  283. a failure that should signal alternate number retry.
  284.  
  285. The first prefix match will be taken, so ordering the config lines
  286. so that the correct match is taken is important!
  287.  
  288. Bink will default these to the old hardcoded settings if there is
  289. no user input. The values in BINKLEY.CFG which would produce the
  290. defaults are:
  291.  
  292.         ModemIgnore RINGING
  293.         ModemIgnore RING RESPONSE
  294.         ModemRinging RING
  295.         ModemConnect CONNECT
  296.         ModemIgnore RRING
  297.         ModemRetry BUSY
  298.         ModemFailure VOICE
  299.         ModemFailure ERROR
  300.         ModemFailure OK
  301.         ModemFailure NO CARRIER
  302.         ModemIncoming NO DIAL
  303.         ModemIgnore DIALING
  304.         ModemFailure NO ANSWER
  305.         ModemIgnore DIAL TONE
  306.         ModemFax +FCO
  307.  
  308. BinkleyTerm can send a special string to the modem after a connection and
  309. log the response. Specify this using "Aftercall <n> <string>". BinkleyTerm
  310. will send <string> to the modem and log up to <n> response lines. For a USR
  311. Courier "aftercall 16 ATI6|" works well; for a PPI, "aftercall 15 ATI6|".
  312.  
  313. ARQ string filtering can be disabled by adding "NoFilter <prefix>".
  314. BinkleyTerm will compare the string after the connect rate with the prefix
  315. specified and disable the filtering on a prefix match.
  316.  
  317. BinkleyTerm now supports retry dialing to another number.  You would use
  318. this if a node you call has 2 or more lines that share the same node number.
  319. Specify them as follows:
  320.  
  321.     AltNumber <primary number> <alternate number>
  322.  
  323.         Specifies alternate number to try if the primary number could not
  324.         be reached. The alternate number should be running the same node
  325.         as the primary number.
  326.  
  327.         For "AltNumber 555-1111 555-2222", if 555-1111 was busy, BinkleyTerm
  328.         would automatically call 555-2222. Multiple alternates to a single 
  329.         number may be specified with multiple lines.
  330.  
  331.  
  332. Delayed answer (past the first ring) is available using the "RingWait n"
  333. command. This can be used to get Caller-ID info into the log; most Caller-ID
  334. systems will work just fine with a value of 2.
  335.  
  336.  
  337.  
  338. Cost Logging
  339. ------------
  340.  
  341. BinkleyTerm can do cost logging. Enable this by setting the "EuroCost"
  342. command, and making "CostLog <file>" and "CostUnit" settings. US CostUnit
  343. seems to be about 2 and Europeam seems to be 23. Adjust as you need.
  344.  
  345. We figured it adds value to put this into the history record, so
  346. we did. New structure is:
  347.  
  348. typedef struct _history
  349. {
  350.     short which_day;    /* Day number for this record        */
  351.     short bbs_calls;    /* Number of BBS callers             */
  352.     short mail_calls;    /* Number of mail calls              */
  353.     short calls_made;    /* Number of outgoing calls made     */
  354.     short connects;        /* Number of outbound call successes */
  355.     short files_in;        /* Number of files received          */
  356.     short files_out;    /* Number of files sent              */
  357.     short last_caller;    /* Type of last call                 */
  358.     ADDR last_addr;        /* Address of last, excl. Domain     */
  359.     char last_Domain[32]; /* Domain of last                  */
  360.     long last_Elapsed;    /* Time of last outbound session     */
  361.     ADDR next_addr;        /* Address of next, excl. Domain     */
  362.     char next_Domain[32]; /* Domain of next                  */
  363.     long callcost;        /* Cumulative of call costs          */
  364.     long size_in;        /* Size of files received            */
  365.     long time_in;        /* Time of files received            */
  366.     long err_in;        /* Errors while receiving files      */
  367.     long size_out;        /* Size of files sent                */
  368.     long time_out;        /* Time of files sent                */
  369.     long err_out;        /* Errors while sending files        */
  370. } HISTORY, *HISTORYP;
  371.  
  372. BinkleyTerm now logs this information at the end of every session.
  373.