DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: R T

⟦f0aa67755⟧ TextFile

    Length: 2661 (0xa65)
    Types: TextFile
    Names: »README«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/X/Xtrek/README« 

TextFile

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, 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.

-----
Generic instructions:
Compile xtrek.bdf (make xtrek.snf).
Copy this to your misc fonts directory and add the line "xtrek.snf     xtrek"
to your fonts.dir file.  Also, increment the number at the top of the file.
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.

-----
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@unix.eta.com

static char sccsid[] = "@(#)README	1.2";