Index: tea4cups/trunk/tea4cups.conf
===================================================================
--- tea4cups/trunk/tea4cups.conf (revision 620)
+++ tea4cups/trunk/tea4cups.conf (revision 644)
@@ -4,4 +4,5 @@
 #
 # (c) 2005 Jerome Alet <alet@librelogiciel.com>
+# (c) 2005 Peter Stuge <stuge-tea4cups@cdy.org>
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -16,5 +17,5 @@
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 # 
 #
@@ -35,7 +36,7 @@
 directory : /var/spool/cups/
 
-# Should Tea4CUPS keep the files it creates once all tees have ended ?
+# Should Tea4CUPS keep the files it creates once all hooks have ended ?
 # Defaults to No if unset, meaning that files are automatically deleted
-# once all tees have ended.
+# once all hooks have ended.
 # Can be set either in the [global] section or any print queue section.
 # The value defined in a print queue section takes precedence over the
@@ -44,10 +45,10 @@
 # keepfiles : yes
 
-# Should we serialize the launch of all tees : launch one tee after
+# Should we serialize the launch of all hooks : launch one after
 # the other to save some system resources.
-# Defaults to No if unset, meaning that all tees (or hooks) are launched in
+# Defaults to No if unset, meaning that all hooks are launched in
 # parallel.
 #
-# NB : in any case, hooks or tees names are sorted alphabetically and 
+# NB : in any case, hooks' names are sorted alphabetically and 
 # are launched in this sort order (obviously when launched in parallel
 # this is unnoticeable).
@@ -56,8 +57,7 @@
 # The value defined in a print queue section takes precedence over the
 # value defined in the [global] section.
-# This value also applies to prehooks and posthooks (see below)
 # serialize : yes
 
-# When executing the contents of a tee, prehook or posthook directive, 
+# When executing the contents of a prehook or posthook directive, 
 # tea4cups makes the following environment variables available to your
 # own commands :
@@ -83,16 +83,7 @@
 # since the first one may be empty depending on your printer driver.
         
-# Now defines some default tees which will always be launched
-# at the same time that the job's datas are being sent to the 
-# printer.
-# The tee names are completely free BUT THEY MUST BEGIN WITH 'tee_'
-#
-# These are just some stupid examples.
-#tee_0 : cat $TEADATAFILE >/tmp/$TEAJOBID.prn
-#tee_pdf : cat $TEADATAFILE | su -c "lp -dPDFGenerator" $TEAUSERNAME
-
 # Some hooks : prehooks and posthooks
 #
-# Contrary to tees, prehooks are guaranteed to be launched 
+# Prehooks are guaranteed to be launched 
 # BEFORE the job's datas are sent to the printer, and 
 # posthooks are guaranteed to be launched AFTER the job's
@@ -114,7 +105,9 @@
 # NB : as a special feature, any prehook which exits with a -1 status (255) 
 # causes the job to NOT be sent to the real backend, effectively cancelling it.
-# None of the tees and posthooks gets executed in this case, but all 
+# None of the posthooks gets executed in this case, but all 
 # remaining prehooks are still executed.
 # 
+#prehook_pdf : cat $TEADATAFILE | su -c "lp -dPDFGenerator" $TEAUSERNAME
+#posthook_0 : cat $TEADATAFILE >/tmp/$TEAJOBID.prn
 
 
@@ -124,17 +117,17 @@
 #[HP2100]
 #
-# By using a same tee name as in the [global] section, the new
+# By using a same hook name as in the [global] section, the new
 # value takes precedence
-#tee_0 : cat $TEADATAFILE >~$TEAUSERNAME/savejobs/$TEAJOBID.prn
+#posthook_0 : cat $TEADATAFILE >~$TEAUSERNAME/savejobs/$TEAJOBID.prn
 
 # An empty value deletes a value defined in the [global] section
-# so this particular tee doesn't get executed.
-#tee_pdf : 
+# so this particular hook doesn't get executed on this printer.
+#prehook_pdf : 
 
 # A reflector which produces 4 copies each time :
-#tee_4copies : lp -dotherprinter -n4 $CUPSDATAFILE 
+#posthook_4copies : lp -dotherprinter -n4 $CUPSDATAFILE 
 
 # A simple accounting mechanism 
-#tee_accounting : echo $TEAPRINTERNAME $TEAJOBID $TEAUSERNAME $TEABILLING `pkpgcounter $TEADATAFILE` >/var/log/printaccounting.log
+#prehook_accounting : echo $TEAPRINTERNAME $TEAJOBID $TEAUSERNAME $TEABILLING `pkpgcounter $TEADATAFILE` >/var/log/printaccounting.log
 
 # Some additionnal hooks to forbid duplicate jobs :
