
In the Gopher world, all files are given a type.  This type represents what
sort of data the file holds - for example it could be an image, or a sound, or
a Zip archive.  Types are represented in Gopher as a single character - 'g'
means that a file is a GIF image, and 'h' means that it is HTML.  File types
can be managed by editing a file type file (whose name is given in the 
FileTypesFile setting in the config file).  The file types file supports two
settings: AddType and DefaultType. 

An example of AddType is:

AddType: tgz 9

An AddType setting takes two values, the first being a file extension, and the
second being the file type character.  In the example, files with the extension
".tgz" will be given file type '9', which means that it is a binary data file.
There can be any number of AddType settings in the file types file.  If two
AddTypes refer to the same extension, the one added last will be used.

Setting the DefaultType setting, as in

DefaultType: 0

tells Aftershock to use type '0' (plain text) for all files which either have
no extension, or whose extension doesn't have a type listed.  Unlike AddType,
there should only be one DefaultType setting.

Aftershock has the following types built in.  They can be overridden through
use of the file types file:

DefaultType: 0
txt  - 0
jpg  - I
gif  - g
html - h
htm  - h
hqx  - 4
exe  - 5
com  - 5
uue  - 6
gz   - 9
zip  - 9
jar  - 9

Directories have a file type of '1'.

