tkhfs is a graphical Tcl/Tk front end to hfs. It displays the mac files
in a selector. You can walk through folders, copy or display files or images
with a double click on a file name.


Installation
============

Edit the makefile and set WISH, HFSBIN and BINDIR according to your 
configuration. By default, wish and hfs will be searched in /usr/local/bin
and tkhfs will also be installed in /usr/local/bin.

Type make. This will install tkhfs.



Configuration
=============

Thkfs uses a (optional) configuration file. This file contains the default
rules to display files. Each line of the file is of the form

                      TYPE command-line

where TYPE is the file type in the Finder terminology (eg TEXT for text files,
PICT for images in 'pict' format) and command-line is the command to execute
(as if you type `cat mac_file | command-line'). The program invoked in 
command-line should then be able to read from standard input (see the file
sample.tkhfs for examples).
If the environment variable TKHFS is defined, tkhfs will use this file
as configuration file. If the variable does not exist, the file .tkhfs
will be searched in your home directory.

X resources: you can change the default font used by the file selector. For
example the line `tkhfs*listboxes*font: terminal18' in your .Xdefaults  or 
.Xresources file will force tkhfs to use the font terminal18. Use a fixed font,
otherwise the selector will be ugly.

