Renamed insert_kbrl to insert_tagged_brl and exported it. Now
subgoals_of_brl calls nprems_of, which is faster than length o prems_of.
#! /bin/sh
# teeinput -- start a program and log all inputs to a file
# environment variable $LISTEN specifies the file name
tee -a -i $LISTEN | $*