wreed@mhuxt.UUCP (REED) (08/08/85)
I an trying to install the graphics system on a 3B2 and Pyrimid computer. The code compiles ok but aborts when I run it. From a cmd plot | td I get the error message tha file is not in GPS format! I suspect that since I get the same error message on both machines, the problem is machine dependent. (The source code compiled and runs fine on a VAX running Berkeley 4.2) Anyone have an idea for a cure? mhuxt!reed
gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (08/09/85)
> From a cmd > plot | td > I get the error message tha > file is not in GPS format! rna!dan and I have tracked down a host of bugs in this software. Most of them are due to confusion between chars and ints. Try rna!dan for a Pyramid version, or if you get desperate get a recent release of the BRL UNIX System V emulation.
mats@dual.UUCP (Mats Wichmann) (08/13/85)
> > I an trying to install the graphics system on a 3B2 and Pyrimid computer. > The code compiles ok but aborts when I run it. > From a cmd > plot | td > I get the error message tha > file is not in GPS format! > I suspect that since I get the same error message on both machines, the > problem is machine dependent. (The source code compiled and runs fine > on a VAX running Berkeley 4.2) > Anyone have an idea for a cure? > mhuxt!reed This is indeed a machine-dependance problem. The structure for storing the GPS suffers from byte-order problems when being read back; what you have to do is move the names of the elements in gps.h around (there is also another place relating to td that needs this; gps.h is used for the editor ged) so that they can be read by machines with a sensible (sorry, forget I used that word) byte order....if you happen to have the System V.2 stuff which has ifdef's for the 3B, this should work (works on the 68000, at least); otherwise you will have to make the changes yourself. I can mail the changes directly if it is not obvious what to do.... Mats Wichmann Dual Systems ...{ucbvax,ihnp4,cbosgd,decwrl,fortune}!dual!mats "Luxury. Comfort. Style. And at prices jou can afford!"