added an intro lemma for freshness of products; set up
the simplifier so that it can deal with the compact and
long notation for freshness constraints (FIXME: it should
also be able to deal with the special case of freshness
of atoms)
#
# $Id$
# Author: Markus Wenzel, TU Muenchen
#
# feeder.pl - feed isabelle session
#
# args
($head, $emitpid, $quit, $tail) = @ARGV;
# setup signal handlers
sub hangup { exit(0); }
$SIG{'HUP'} = "hangup";
$SIG{'INT'} = "IGNORE";
# main
#buffer lines
$| = 1;
$emitpid && (print $$, "\n");
$head && (print "$head", "\n");
if (!$quit) {
while (<STDIN>) {
print;
}
}
$tail && (print "$tail", "\n");
# wait forever
close STDOUT;
sleep;