atari email archive

a collection of messages sent at Atari from 1983 to 1992.

A tall TAIL

(1 / 1)


Announcing an update to the TAIL utility. Now it has a -f option (or /F if you
prefer) which lets you monitor the input file.

TAIL with the -f option, will display the last n lines (defaults to the
pagesize of your terminal) and add new ones as they show up in the input file.
It samples the input file once every 5 seconds to see if anything changed. You
quit out of TAIL in monitor mode by typing a  (or some other
terminting character) on you terminal. If you put wildcards on the input
filename and select the monitor mode, then typing a return will cause TAIL to
advance to the next file. After all files have been displayed, then it'll exit.
This feature can be used to do something like TAIL /PAGE where it'll show you
the tail of a file and wait for you to type return to see the next one, etc.

Typing TAIL with no parameters displays a small help screen.

Normally, the job controller updates a batch log file only once every minute
or when it's buffers overflow. You can change that with the DCL command SET
OUTPUT_RATE=time. I've modified the BATCH and AT procedures to output to the
log file once every 5 seconds which will make the BATCH.LOG and ??.LOG files
reflect more timely information when using TAIL -F.

ds
Message 1 of 1

Sep 11, 1991