This document describes HTICK 1.0, a Fidonet Fileecho Processor for OS/2, Windows, BeOS and Unix.
HTICK is a Fidonet file areas tosser with filefix. Now project supported by Husky Development Team.
Features of HTICK:
The advantages of HTICK are:
This chapter provides you with information that is necessary to successfully install and use HTICK.
I suppose, that you already has compiled binaries. If not - read "Download" or "Compile the Source Code" chapters.
tparser
from FIDOCONFIG package to test your config
(read about PublicGroup
or AccessGrp
if you want to use
groups for FileEchoAreas
)
1. The smapi and fidoconf packages are required for htick.
2. Put the fidoconfig ans smapi packages to the directory where the other packages of fido linux reside:
3. Compile and install smapi and fidoconf packages. Use "Makefile" for dynamic executables and makefile.lnx (or what you need) for static ones.
4. Compile and install HTICK:
There are numerous reasons why you might wish to establish contact with developers.
FIDOSOFT.HUSKY
RU.HUSKY
If you do not have access to any of these echos, you may of course also contact developers via netmail or e-mail at the addresses listed below.
If you are experienced user and get core dump, you can send developers gdb report. If you have a crash, locate core file that has been generated. Then run $ gdb htick core, type where. HTICK must be compiled with debug information (DEBUG=1 in huskymak.cfg file). Then send report to addresses below.
If you are running any other binary version (like Windows), you will not
get a core file on a crash. Write down as much information as you can,
try to find a way to reproduce the crash and contact me at the addresses
below. We need log-file with loglevels 1-0A-Za-z
.
If you want to write a new feature for HTICK, please contact developers beforehand to avoid that we do duplicate work. Again, I will appreciate and honor any efforts done by you. Please note that for writing a HTICK enhancement, you should be familiar with C. Also, HTICK uses a special indentation style throughout the source code, that I would like you to adhere to.
So here are developers addresses if you want to get in contact with us:
To get help about the command line syntax, use HTICK without any arguments
HTICK is based on FIDOCONFIG library, so read documentation of FIDOCONFIG about location of config file and keywords ideology.
FileAreaBaseDir <directory>
FileAreaBaseDir /var/spool/fido/fileareas
Where the directories for all Fileareas shall be made at autocreate. Same as MsgBaseDir.
This statement cannot be repeated.
PassFileAreaDir <directory>
PassFileAreaDir /var/spool/fido/transit
Where shall be put files from Passthrough File areas (and TICs, if ticOutbound is not defined).
This statement cannot be repeated.
FileDescPos <number>
FileDescPos 13
The number of spaces to indent long descriptions in FILES.BBS. Recommend: 13 (8.3+space)
This statement cannot be repeated.
fileLDescString <string>
fileLDescString ">"
This string is put before long descriptions in FILES.BBS (Usually ">" or "+".). Default value: single space.
This statement cannot be repeated.
FileFixHelp <string>
FileFixHelp /usr/local/fido/filefix.hlp
Help file for FileFix, same as AreaFixHelp for AreaFix
This statement cannot be repeated.
ExecOnFile <filearea> <filemask> <command>
ExecOnFile husky *.diff /usr/local/fido/update_source.sh
Execute some command on receiving file. Command gets full filepath as parameter (space and file pathname should be appended to command string before execution).
This statement cannot be repeated.
SaveTic <FileEchoMask> <FileOption> <DirToSaveTic>
ExecOnFile husky -l /usr/local/husky
Options -l and -c work only for non-Passthrough file echos
This statement cannot be repeated.
MaxTicLineLength <number>
MaxTicLineLength 79
Set maximum line length in outgoing TICs to number.
This statement cannot be repeated.
BusyFileDir <directory>
BusyFileDir /var/spool/fido/htick.busy/
Where shall be put TICs for busy links (default <outbound>/busy.htk).
This statement cannot be repeated.
ConvertLongNames <Upper|Lower|DontTouch>
ConvertLongNames DontTouch
What to do with long names when toss or hatch. Saying 'long name' we mean a mixed cased name or a name longer than 8.3
This statement cannot be repeated.
ConvertShortNames <Upper|Lower|DontTouch>
ConvertShortNames DontTouch
What to do with short names when toss or hatch. Saying 'short name' we mean a DOS-like name: 8.3, without mixed case.
This statement cannot be repeated.
addDLC <bool>
addDLC yes
Add Download counters ([000]) to files.bbs. Use with DLCDigits only!
This statement cannot be repeated.
DLCDigits <number>
DLCDigits 4
How much digits DLC must be. DLC has [000] form.
This statement cannot be repeated.
ticOutbound <directory>
ticOutbound /var/spool/fido/ticOub
TICs are stored here and killed after transmission. Default: use PassFileAreaDir value
This statement cannot be repeated.
filefixKillReports <bool>
filefixKillReports yes
Set kill/sent flag to filefix replies.
This statement cannot be repeated.
filefixKillRequests <bool>
filefixKillRequests yes
Kill filefix request after processing.
This statement cannot be repeated.
bbsarea <name> <bbsareapath>
bbsarea bbs /var/spool/fido/fileareas/bbsarea
File area without subscribing, not shown in filefix reports. Use for fileleist generation only ("htick filelist" command).
This statement cannot be repeated.
fileDescName <name>
fileDescName file_id.diz
If no LDESC defined in tic file, use <name> file from archive fill it
(usually file_id.diz). 'unpack' action should be defined for archive
and contain $f
parameter.
This statement cannot be repeated.
FileAreaCreatePerms <mode>
FileAreaCreatePerms 644
Define permissions for newly created filearea directories (UNIX only)
This statement cannot be repeated.
FileFixFromName <string>
FileFixFromName <string>
Originator name in filefix replies.
This statement cannot be repeated.
AutoFileCreateFlag <file>
AutoFileCreateFlag /usr/local/fido/flags/new_filearea
Create flag when filearea has been autocreated.
This statement cannot be repeated.
FileFixNames <string>
FileFixNames allfix filefix htick
Set of names separated by space on which FileFix will respond
This statement cannot be repeated.
fileEchoFlavour <hold|normal|crash|direct|immediate>
fileEchoFlavour direct
This statement sets the flavour which outgoing files in fileechos for this link get.
For example set fileEchoFlavour
to hold for points and to crash for uplinks.
This statement can only be repeated for different links.
fileAreaDefaults <options> [links]
fileAreaDefaults -lw 100 -g Z 2:5097/31.1
Set defaults for filearea definitions that follow. All options are possible,
Set defaults for filearea definitions that follow. All options are possible,
except areatag and path.
Settings in the filearea definition override fileAreaDefaults
See also See echoAreaDefaults. Defaults are switched off
with empty fileAreaDefaults
.
This statement can only be repeated for different links.
RemoteFileRobotName <name>
RemoteFileRobotName allfix
Name of remote filefix robot (need for FileForwardRequest)
This statement can only be repeated for different links.
noTIC <bool>
noTIC yes
Disable TIC File Creation
This statement can only be repeated for different links.
autoFileCreate <on|off>
autoFileCreate on
Allow or deny autocreating fileechoes received from this link.
This statement can only be repeated for different links.
AutoFileCreateFile <file>
AutoFileCreateFile /usr/local/fido/hpt/config.filefix
Specifies the file new filearea definitions will be placed into
This statement can only be repeated for different links.
AutoFileCreateDefaults <string>
AutoFileCreateDefaults -lw 100 -g Z
Specifies the new filearea defaults.
This statement can only be repeated for different links.
AutoFileCreateSubdirs <on|off>
AutoFileCreateSubdirs on
Whether to autocreate areas like /filebase/gfd.app.edit (off) or /filebase/gfd/app/edit (on). If you want to configure this globally instead of on per-link basis, set this in the deflink section. For more information see 'AutoAreaCreateSubdirs' in the hpt manual.
This statement can only be repeated for different links.
delNotRecievedTIC <on|off>
delNotRecievedTIC on
If file not received, then remove TIC
This statement can only be repeated for different links.
FileFixFSC87Subset <on|off>
FileFixFSC87Subset on
This boolean switch will change on a per link basis how TIC files are processed. By default this switch is ON. htick will then operate only on FSC87-compliant keywords and ignore unknown keywords in the TIC file processed. If this switch is set to OFF all implemented keywords will be used which can (and, in interaction with some tick processors, WILL) lead to severe problems. Unknown keywords found in a TIC file will make htick stop processing that file. If you don't know what all this is about set FileFixFSC87Subset to ON for all your links. It won't hurt.
This statement can only be repeated for different links.
TickerPackToBox <on|off>
TickerPackToBox on
If link has file box - toss files and tics there
This statement can only be repeated for different links.
LinkFileBaseDir <directory>
LinkFileBaseDir /usr/local/fido/fileareas/2.5097.64.0
Where autocreated fileareas will be placed (may be "passthrough")
This statement can only be repeated for different links.
ForwardFileRequests <on|off>
ForwardFileRequests on
Allow file areas subscribe requests forward to this link.
This statement can only be repeated for different links.
ForwardFilePriority <number>
ForwardFilePriority 1
Priority in uplinks order for filearea subscribing forward-requests
This statement can only be repeated for different links.
ForwardFileRequestFile <file>
ForwardFileRequestFile /usr/local/fido/hpt/uplink1.lst
List of available fileareas from this link
This statement can only be repeated for different links.
FileFixEchoLimit <number>
FileFixEchoLimit 10
Area subscribe limit (max fileareas number this link is allowed to subscribe to)
This statement can only be repeated for different links.
FileArea <name> <fileareapath> [options] <uplink> <downlinks>
FileArea husky /var/spool/fido/fileareas/husky -a 2:5097/31 -p 28 -g Z -d "HUSKY fileecho" 2:5097/64 2:5097/303
Same as EchoArea, most options are valid:
a) -a <address> Our own address
b) -lr <number> "Read level": Min link level for sending files from this filearea to this link.
c) -lw <number> "Write level": Min link level allowed to post into this filearea files received from link.
d) -h Hide area (non visible in %LIST and in announce)
e) -manual Disallow remote subscribe (disable subscribe areafix command).
f) -mandatory Disallow remote unsubscribe (disable unsubscribe areafix command).
g) -sendorig Set: send files from PassFileAreaDir for non passthrough areas.
h) -nopause %PAUSE has no effect to this filearea
j) -noCRC Disable CRC check for incoming files
k) -g <group> Group for this filearea
l) -d "<string>" Description for this filearea
m) -noreplace Don't replace exisiting files in this filearea.
n) -nodiz Do not try to get file description from <fileDescName> (for packed files).
o) -p <integer> Purge after n days. Setting to 0 to disables purging.
addDLC
: addDLCautoFileCreate
: autoFileCreateAutoFileCreateDefaults
: AutoFileCreateDefaultsAutoFileCreateFile
: AutoFileCreateFileAutoFileCreateFlag
: AutoFileCreateFlagAutoFileCreateSubdirs
: AutoFileCreateSubdirsbbsarea
: bbsareaBusyFileDir
: BusyFileDirConvertLongNames
: ConvertLongNamesConvertShortNames
: ConvertShortNamesdelNotRecievedTIC
: delNotRecievedTICDLCDigits
: DLCDigitsExecOnFile
: ExecOnFileFileArea
: FileAreaFileAreaBaseDir
: FileAreaBaseDirFileAreaCreatePerms
: FileAreaCreatePermsfileAreaDefaults
: fileAreaDefaultsfileDescName
: fileDescNameFileDescPos
: FileDescPosfileEchoFlavour
: fileEchoFlavourFileFixEchoLimit
: FileFixEchoLimitFileFixFromName
: FileFixFromNameFileFixFSC87Subset
: FileFixFSC87SubsetFileFixHelp
: FileFixHelpfilefixKillReports
: filefixKillReportsfilefixKillRequests
: filefixKillRequestsFileFixNames
: FileFixNamesfileLDescString
: fileLDescStringForwardFilePriority
: ForwardFilePriorityForwardFileRequestFile
: ForwardFileRequestFileForwardFileRequests
: ForwardFileRequestsLinkFileBaseDir
: LinkFileBaseDirMaxTicLineLength
: MaxTicLineLengthnoTIC
: noTICPassFileAreaDir
: PassFileAreaDirRemoteFileRobotName
: RemoteFileRobotNameSaveTic
: SaveTicTickerPackToBox
: TickerPackToBoxticOutbound
: ticOutbound