Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:tinytic [2010/11/03 14:32] jamehowto:tinytic [2013/05/13 18:33] (current) – [Configuration] jame
Line 3: Line 3:
 Instructions and information for using the TinyTIC tic processor with Synchronet, by [[person:jame]]. Instructions and information for using the TinyTIC tic processor with Synchronet, by [[person:jame]].
  
-TinyTIC is a small, simple TIC processor that will work with Synchronet.   [[howto:binkd|BinkD]] can be configured to use it for processing TIC files. +TinyTIC is a small, simple Open Source TIC processor that will work with Synchronet;  and, in fact, was originally developed for that It will run on MS Windows, Linux, etc;  and the source code is available from its home page.  Binaries may also be available there and/or on BBSs;  including debian packages for installation on a Debian or Ubuntu Linux system. 
 + 
 +==== Configuration ==== 
 +An example (on a Linux system) configuration file for TinyTIC: 
 + 
 +<code> 
 +## Configuration File for TinyTIC v0.8 
 + 
 +## Logfile is where you want the logfile to be created and 
 +## what its name should be. 
 +Logfile /opt/sbbs/data/logs/tinytic.log 
 + 
 +## Inbound is where your mailer stores the TIC files and their 
 +## corresponding files 
 +Inbound /var/spool/sbbs/inb 
 +                                                          
 +## DataFile is used to specify where the text file will be created 
 +##          for each process of the TIC files and what its name 
 +##          will be. 
 +DataFile /opt/sbbs/ctrl/tic/announce.txt 
 +                                                                                     
 +## AreaName is used to denote which files belong to which area.  Areas 
 +##          are specified in the TIC files. 
 +## -Format: AreaName <Area's Name> <Destination of files> 
 +AreaName ECHOLIST /srv/ftp/ftn/echolist 
 +AreaName FIDONEWS /srv/ftp/ftn/fidonews 
 +AreaName NODEDIFF /srv/ftp/ftn/nodediff                                              
 +AreaName BACKBONE /srv/ftp/ftn/echolist 
 +AreaName NODELIST /srv/ftp/ftn/nodelist 
 +AreaName I-BINKD /srv/ftp/ftn/ibn 
 +</code> 
 + 
 +==== BinkD ==== 
 +The [[howto:binkd|BinkD]] IP mailer can be configured to use TinyTIC for processing TIC files.  An example of configuring the shell script to be executed for TIC files: 
 + 
 +<code> 
 +exec "/opt/sbbs/exec/adm/ticin.sh"  *.tic 
 +</code> 
 + 
 +And where the ticin.sh script could look something like this: 
 + 
 +<code> 
 +#!/bin/sh 
 +# /opt/sbbs/exec/adm/ticin.sh 
 +
 +cd /opt/sbbs 
 + 
 +export SBBSCTRL=/opt/sbbs/ctrl 
 +export SBBSNODE=/opt/sbbs/node1 
 + 
 +/usr/bin/tinytic --config-file /opt/sbbs/ctrl/tic/tinytic.cfg 
 + 
 +/opt/sbbs/exec/adm/tic/ticpost.sh 
 +</code> 
 + 
 +And the ticpost.sh script is used to post an announce message about received files: 
 + 
 +<code> 
 +#!/bin/sh 
 +# /opt/sbbs/exec/adm/tic/ticpost.sh 
 +
 + 
 +SBDIR=/opt/sbbs 
 +cd $SBDIR 
 + 
 +export SBBSCTRL=/opt/sbbs/ctrl 
 +export SBBSNODE=/opt/sbbbs/node1 
 + 
 +WORKDIR=$SBDIR/ctrl/tic 
 +MSGTEXT=$WORKDIR/ticmsg.txt 
 +AREA=$SBDIR/data/subs/fidoreq.shd 
 + 
 +if [ -f $WORKDIR/announce.txt ]; then 
 + 
 +    cat $WORKDIR/header.txt $WORKDIR/announce.txt $WORKDIR/footer.txt > $WORKDIR/ticmsg.txt \ 
 +        && rm $WORKDIR/announce.txt 
 + 
 +    # post message 
 +    $SBDIR/exec/smbutil i$MSGTEXT $AREA < $WORKDIR/ticmsg.hdr 
 + 
 +fi ; 
 +</code>
  
 ==== See Also ==== ==== See Also ====
-  * [[:howto:|howto index]]+  * TinyTIC Documentation
   * [[http://ftnapps.sourceforge.net/tinytic.html|TinyTIC Home]]   * [[http://ftnapps.sourceforge.net/tinytic.html|TinyTIC Home]]
 +  * [[:howto:binkd|BinkD HowTo]]
 +  * [[:howto:|howto index]]
  
  
-{{tag>}}+{{tag>fidonet}}
  
howto/tinytic.1288819935.txt · Last modified: 2010/11/03 14:32 by jame
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0