🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.vlsi
Article #76

Magic on a Sun3

#76
From: Bob N. Mayo U.C. Berkeley Comput...
Date: Fri, 14 Feb 1986 22:02
42 lines
2220 bytes
Dear Magic users:

Several mods are needed in order to run the 1986 release of Magic on
a Sun3 workstation.  I'm sending these out over 'info-vlsi' in hopes
that it will help other people get Magic running on their machines.

The mods are:

	1) In the graphics directory, add the following line to the files 
	   grMain.c, grSun1.c, grSun4.c, grSun5.c, grSunW1.c, grSunW2.c,
	   grSunW3.c, grSunW4.c and grSunW5.c.  The line should go after
	   the section which includes Sun's header files, and before the
	   include of "magic.h".

		#define Rect MagicRect   /* Avoid Sun's definition of Rect. */

	   This change overrides Sun's definition of "Rect", which is new with
	   the Sun3 release of the software.

	2) Do the same change to the file windSun.c in the windows directory.

	3) In the file grSunW1.c, comment out the body of the routine
	   "GrSunFigureLocation" and replace it with:

		rect->r_xbot = 150;
		rect->r_xtop = 1150;
		rect->r_ybot = 224;
		rect->r_ytop = 899;

	   This bypasses a problem with calling Sun's wmgr_figuretoolrect().

	4) If you are using an attached graphics terminal over the RS232
	   port, you need to enable Magic's special "flsbuf" procedure.
	   To do this, change "#ifdef" lines in the file "utils/flsbuf.c" so 
	   that Magic's "flsbuf" procedure will be used on the sun.

	5) Recompile the files that were changed and relink magic.

We haven't actually tried these changes out here at Berkeley.  The changes 
were provided to us by Walter Scott of LLNL and Paul Basset of BBN.  Thanks.

--Bob Mayo
Technical Details
Message-ID: <8602142202.AA01514@renoir.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!ucbvax!info-vlsi

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU
Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!ucbvax!info-vlsi
From: mayo@RENOIR.BERKELEY.EDU (Bob N. Mayo @ U.C. Berkeley Computer Science)
Newsgroups: mod.vlsi
Subject: Magic on a Sun3
Message-ID: <8602142202.AA01514@renoir.berkeley.edu>
Date: Fri, 14-Feb-86 17:02:26 EST
Article-I.D.: renoir.8602142202.AA01514
Posted: Fri Feb 14 17:02:26 1986
Date-Received: Sat, 15-Feb-86 02:02:49 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 42
Approved: info-vlsi@sandia-cad.arpa