X11 install

Build and install the NetHack.ad file, and change the nethack.sh to append
the HACKDIR to the XUSERFILESEARCHPATH.  This means users do not have to
do anything special to use the NetHack X11 resources, nor does it require
teaching nethack where the X11 app-defaults directory is.  The change also
updates the X11 and linux doc files in a corresponding way.
This commit is contained in:
cohrs
2003-08-26 15:11:58 +00:00
parent 6c70ec2799
commit 648b1489a4
6 changed files with 28 additions and 15 deletions

View File

@@ -38,10 +38,11 @@ it to your home directory as .nethackrc and modifying it to your liking.
If you are running X11 copy the nh10.pcf and ibm.pcf font files from
/usr/games/lib/nethackdir to a X11 fonts directory (such as
/usr/X11/lib/X11/fonts/misc) and run "mkfontdir", then restart X
windows to load them. Also consider copying NetHack.ad to
/usr/X11/lib/X11/app-defaults/NetHack or adding its contents to your
.Xdefaults or .Xresources.
windows to load them. If you prefer to use the graphical tiles,
add the following to your .Xdefaults or .Xresources file:
NetHack.tile_file: x11tiles
You may need to run "xrdb -merge $HOME/.Xdefaults" (or .Xresources) after
doing this.
The official Linux binary is set up to run setgid games, which allows
multiple users on your system to play the game and prevents cheating by