(last revised 11 October, 1998)
trig2disk reads type_triglist messages from the hypo_ring (e.g. those produced by arc2trig and by carltrig) and writes either sac or ah triggered data files to disk.
The ah data is in xdr format which is transparent between sun/solaris and intel/NT so long as the ioroutin.c interface is used. The sac format only currently works on Solaris.
The NT port of the xdr routines was accomplished by modifying the OpenBSD code from the ftp site at umich. Thus modifications must include this source should be careful not to remove the copyright statements and can't be sold. Cavalier commenting of pieces of this source that weren't needed to write local xdr is ubiquitious. Thus it is not rpc compatible. When ftp'ing from NT to solaris, make sure you transfer as ascii to avoid the goofy ^M characters corrupting each line (else run dos2unix on the binary transfered file).
sacputaway has been modified from trig2disk. There are 2 byte order issues:
EW v3.3 is required, specifically with respect to the author field in the type_triglist messages (e.g. in parse_trig, carltrig, arc2trig).
Will get restarted if restartMe is in the .desc
To do:
Module Index | trig2disk Commands