home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
x
/
volume10
/
xtrek
/
part02
/
INSTALL
< prev
next >
Wrap
Text File
|
1990-10-23
|
5KB
|
154 lines
Wow...is this an old file.
Basically, I think you can still follow most of the old stuff for installing
xtrek on your system. Other additions are here:
- For systems running the X11/NeWS server on Suns, after doing the install,
go to the library directory where the xtrek font is, and do this:
convertfont xtrek.bdf
bldfamily
This directory must be accessible by any machines on which you are going
to be displaying and playing the xtrek game itself. Not neccessarily
where the in.xtrekd program is running.
And then add this directory into your fontpath via xset fp+.
I'm now:
Dan A. Dickey (the same)
ddickey@cray.com (new email address)
==================BEGIN OLD STUFF HERE==========
Disclaimer: This version is only extensively tested on monochrome Suns.
It was also tested on a color Sun (cgfour) and a color SGI-GT.
This "version/release" of xtrek is xtrek done right.
No shared memory, No million and a half programs.
You will need root priveleges or the assistance of a super-user to install
this. Possibly a future version will provide for "normal" users.
What it is is one main xtrek program (in.xtrekd), and a smaller user program to
start up a display. The main xtrek program runs on one machine and handles
all the updating and robot control. It listens on a socket for connection
requests from the user program. Also, the main xtrek "server-machine"
is not required to have graphics hardware attached, nor expected to.
Here is a table of machines that the server is known to compile/run on:
Machine Compiles Displays on
-------------------------------------------
Sun-4 Yes Sun-3/50 (bwtwo), Sun-4/110 (cgfour), *SGI-GT,
(OS 4.0 & 4.0.1) HP-9000,
Sun-3 Not Tested
(OS 3.5)
Sun-3 Yes Sun-3/50 (bwtwo), *SGI-GT
(OS 3.4)
SGI-GT Not Tested
(4D1-3.0 - IP4)
Apollo Not Tested
HP-9000/350 Yes Sun-3/50 (bwtwo), HP-9000,
* - Problems:
SGI-GT: The status window boxes are not drawn correctly.
Here is a table of machines that the startup program is known to compile/run on:
Machine Compiles & Runs Server Machines Tested
--------------------------------------------------------------
Sun-4 Yes Sun-4 (4.0+)
(OS 4.0 & 4.0.1)
Sun-3 Yes Sun-4 (4.0+), HP-9000
(OS 4.0)
Sun-3 Yes Sun-4 (4.0+)
(OS 3.5)
Sun-3 Yes Sun-4 (4.0+)
(OS 3.4)
SGI-GT Yes Sun-4 (4.0+)
(4D1-3.0 - IP4)
Apollo Not Tested
HP-9000/350 Yes HP-9000,
-----
Generic instructions:
Edit Imakefile. Select the available options (OPTIONS) for your site.
Also, change XTREKDIR to something that makes sense for your site.
Do a "make Makefile ; make depend; make".
This should build all the necessary pieces.
Then, a "make install" should partially install xtrek into the proper directory.
You'll have to add the directory defined as XTREKDIR to your font path
for the server, this can be done by: "xset +fp /usr/games/lib/xtrek"
NOTE: "xset fp /usr/games/lib/xtrek,/usr/lib/X11/fonts" on HP's.
Then do a "xset fp rehash" on any X-server that you expect to use this
program on. "xlsfonts" should show xtrek as a listed font.
-----
Instruction for installing on a Sun (release 4.0 or greater) system:
To add the main xtrek program to your system, you'll need to edit
/etc/inetd.conf. Add the line:
xtrek stream tcp wait games /usr/games/lib/xtrek/in.xtrekd in.xtrekd
the "games" can be any user, no set-uid permissions are used. Just make
sure that this coincides with XTREKOWNER in the Makefile so that it can
read and write the files in /usr/lib/games/lib/xtrek.
By changing inetd.conf, the system will start up the main xtrek program when
a request comes in for it and it is not already running.
Also, you'll need to add (For any Sun OS):
xtrek 5701/tcp xtrek # take a guess
to your /etc/services file on the system where in.xtrekd is to reside.
Or to the /etc/services file on your yp-master machine for services.
Also, if you have machines in your network running SunOS 3.X:
xtrek 5702/udp xtrek # take a guess
And, if you have machines running SunOS 3.X:
add this line:
xtrek udp /usr/games/lib/xtrek/in.xtrekd
to the /etc/servers file and restart inetd.
-----
Instructions for installing on an HP-9000 system:
Edit the file /etc/inetd.conf, add the line:
xtrek dgram udp wait games /usr/games/lib/xtrek/in.xtrekd in.xtrekd
Edit the file /etc/services, add the lines:
xtrek 5701/tcp xtrek
xtrek 5702/udp xtrek
Then, restart /etc/inetd and /etc/portmapper either by killing them and
restarting, or rebooting the system.
-----
Then, to play a game just enter "xtrek <machine>", where <machine> is
the machine where you changed the inetd.conf file. This assumes that
you told inetd to re-read it's configuration file (kill -HUP inetd-pid).
Make sure that your environment variable DISPLAY is set correctly before
trying xtrek <machine>.
-----
Good luck and have fun!
QUESTIONS & COMMENTS TO:
Dan A. Dickey ddickey@cray.com
HP testing/changes done by: Matt Burdick - burdick%hpda@hplabs.hp.com
Also: Jeff Schmidt - jas%hpda@hplabs.hp.com
static char sccsid[] = "@(#)INSTALL 3.1";