HP3000-L Archives

March 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Randy Medd <[log in to unmask]>
Reply To:
Date:
Wed, 14 Mar 2001 11:08:56 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
I wrote this awhile ago for use internally, but it'll do the trick for
simple uses.

  ftp://ftp.telamon.com/mpe_freeware/tail.nm.wrq

To camp on a job's $STDLIST:

  :XEQ TAIL.somegrp.someacct "-F filename"

where, for spoolfles, 'filename' is either 'Onnn.OUT.HPSPOOL' or just
'nnn' for short.

Add "-N nnn" to have the program start 'nnn' records from EOF.  Note
that to do this for a spool file, TAIL has to read the entire file, as
it can't do an FPOINT/FREADDIR against a variable-width file.

TAIL recognizes that the spoolfile is "done" when the filecode changes
from 0 to 1516.  I found this out by observation, not via
documentation, so hopefully no one will get any false EOF indications,
but if you do, let me know.

Otherwise, use ctl-Y to terminate its execution when the '-F' option
has been specified.

------------
Randy Medd
Telamon, Inc.

ATOM RSS1 RSS2