Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site dual.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!mordor!dual!mats
From: mats@dual.UUCP (Mats Wichmann)
Newsgroups: net.graphics
Subject: Re: graphics
Message-ID: <1076@dual.UUCP>
Date: Tue, 13-Aug-85 16:30:36 EDT
Article-I.D.: dual.1076
Posted: Tue Aug 13 16:30:36 1985
Date-Received: Thu, 15-Aug-85 08:37:11 EDT
References: <1042@mhuxt.UUCP>
Organization: Dual Systems, Berkeley, CA
Lines: 31

> 
>  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!"