exspes@gdr.bath.ac.uk (P E Smee) (08/16/90)
I'm looking for several modules and/or bits of info on our Sequent (S27) running Dynix. Can anyone provide clues, like where on our machine I might look? Should mention, we do NOT have Sequent source. I'm told we can arrange to get at BSD source, if there are PD-ish versions of these things. a) printcap() - either loose object or part of a library. It's ld'ed into the standard pac(8), so it feels like it must be there somewhere.) Note, this is the printcap() function I'm looking for, not the /etc/printcap table. b) expand() - function (presumably used internally by the system) to convert comp_t's (as used in acct.h) into long ints. (This is simple enough that I could write it myself, but if there's an 'official' version I'd as soon use theirs. Mostly to avoid possible copyright hassles, since I've seen other makers' versions.) Might have a different name on the Sequent. c) Definitive information about the units (granularity) used in these comp_t units in acct.h. By analogy with other systems, I presume they are 'Hz' (or more properly, 'cycles'. Which leads to the next question, how to find out how many Hz make a second. (In SunOS 4.0, appears to be 64, and is a #define AHZ in acct.h. On some of our earlier Systimes, varied and had to be dug out of a known location in /dev/kmem using gethertz(). Can't find any info on what the value is, or how to find it, for Sequents.) If the answer is RTFM, please provide pointers to which bits of TFM. I've looked through all the places I think are obvious, and a lot more besides, without finding answers. Thanks... -- Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK P.Smee@bristol.ac.uk - ..!uunet!ukc!bsmail!p.smee - Tel +44 272 303132