don@novavax.UUCP (Don Joslyn) (01/02/88)
#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create:
# README
# hack.chars
# This archive created: Fri Jan 1 19:28:56 1988
# By: Don Joslyn (Nova University, Fort Lauderdale, Florida)
export PATH; PATH=/bin:/usr/bin:$PATH
echo shar: "extracting 'README'" '(1683 characters)'
if test -f 'README'
then
echo shar: "will not over-write existing file 'README'"
else
sed 's/^ X//' << \SHAR_EOF > 'README'
X UNIX-PC Character fonts for nethack 2.2
X
X I've had my 3B1 for about a month now and I'm having a blast. :-)
XAfter running nethack a few times, I decided it would be fun to define a
Xspecial font for hack. I wrote new fonts for the following chars:
X
X Char Nethack usage
X
X ! potion
X * gem
X < up stairs
X > down stairs
X = ring
X ? scroll
X @ person
X \ throne
X ` rock
X { fountain
X } pool of water
X ~ door
X -,| walls
X
X
X To install the new character fonts, follow these instructions:
X
X 1. make an ascii copy of /usr/lib/wfont/system.8.ft by typing:
X
X cfont /usr/lib/wfont/system.8.ft > hack.ascii
X
X 2. Add the new characters, from hack.chars, to hack.ascii with an
X editor.
X
X 3. Test your new font by typing:
X
X cfont hack.ascii > hack.ft
X setf 0
X setf hack.ft 0
X !*-|<>=?@\`{}~ (To see the new chars)
X setf 0
X
X 4. If everything looks ok, you can install the new font by typing:
X
X cp hack.ft /usr/lib/wfont
X
X 5. To use the new characters, just type:
X
X setf /usr/lib/wfont/hack.ft 0
X
X before you start playing.
X
X
X I added the the following GRAPHICS option to HACKOPTIONS:
X
X graphics:` |-----~.:<>^{}\"
X
X and defined the following ksh function to invoke nethack with the hack
X font:
X
X function nethack() {
X setf /usr/lib/wfont/hack.ft 0
X /usr/bin/nethack $1
X setf 0
X }
X
X
X If anyone creates new or better chars, please let me know.
X
X I would like to thank Jeff Bailey (novavax!jeff) for his artistic help.
X
X Enjoy,
X
XDon Joslyn, Senior Systems Programmer
XNova University, Computer Center
X3301 College Avenue, Fort Lauderdale, FL 33314 Phone: (305) 475-7678
XUUCP: ...{ihnp4!codas,ucf-cs,allegra}!novavax!don
X ...{ihnp4!codas,ucf-cs,allegra}!novavax!dons3b1!don (Private)
SHAR_EOF
if test 1683 -ne "`wc -c < 'README'`"
then
echo shar: "error transmitting 'README'" '(should have been 1683 characters)'
fi
chmod +x 'README'
fi
echo shar: "extracting 'hack.chars'" '(3578 characters)'
if test -f 'hack.chars'
then
echo shar: "will not over-write existing file 'hack.chars'"
else
sed 's/^ X//' << \SHAR_EOF > 'hack.chars'
X############### Character 0x21, 041, 33 ! ! ! ! ! ! ! ! ! !
Xchar 33
Xhs 9
Xvs 10
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits *****
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits *******
X
X############### Character 0x2a, 052, 42 * * * * * * * * * *
Xchar 42
Xhs 9
Xvs 7
Xha 0
Xva -8
Xhi 9
Xvi 0
Xbits *****
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits *
X
X############### Character 0x2d, 055, 45 - - - - - - - - - -
Xchar 45
Xhs 9
Xvs 1
Xha 0
Xva -5
Xhi 9
Xvi 0
Xbits *********
X
X############### Character 0x3c, 074, 60 < < < < < < < < < <
Xchar 60
Xhs 9
Xvs 12
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits *
Xbits ***
Xbits * * *
Xbits * ***
Xbits * *
Xbits *
Xbits ****
Xbits *
Xbits *
Xbits ****
Xbits *
Xbits *
X
X############### Character 0x3d, 075, 61 = = = = = = = = = =
Xchar 61
Xhs 9
Xvs 10
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits * * *
Xbits * *
Xbits *
Xbits *****
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits *****
X
X
X############### Character 0x3e, 076, 62 > > > > > > > > > >
Xchar 62
Xhs 9
Xvs 12
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits *
Xbits *
Xbits * * *
Xbits *** ***
Xbits * *
Xbits *
Xbits ****
Xbits *
Xbits *
Xbits ****
Xbits *
Xbits *
X
X############### Character 0x3f, 077, 63 ? ? ? ? ? ? ? ? ? ?
Xchar 63
Xhs 9
Xvs 12
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits *
Xbits *
Xbits *********
Xbits * * *
Xbits * * * *
Xbits * * *
Xbits * * *
Xbits * *
Xbits * * *
Xbits *********
Xbits *
Xbits *
X
X
X############### Character 0x40, 0100, 64 @ @ @ @ @ @ @ @ @ @
Xchar 64
Xhs 7
Xvs 10
Xha 1
Xva -10
Xhi 9
Xvi 0
Xbits **
Xbits * *
Xbits * *
Xbits **
Xbits ******
Xbits * ** *
Xbits * ** *
Xbits **
Xbits **
Xbits ** **
X
X############### Character 0x5c, 0134, 92 \ \ \ \ \ \ \ \ \ \
Xchar 92
Xhs 9
Xvs 12
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits *
Xbits **
Xbits **
Xbits **
Xbits *
Xbits *******
Xbits * *
Xbits ********
Xbits * *
Xbits * *
Xbits * *
Xbits
X
X############### Character 0x60, 0140, 96 ` ` ` ` ` ` ` ` ` `
Xchar 96
Xhs 9
Xvs 10
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits ***
Xbits ** **
Xbits * * *
Xbits * * *
Xbits * * *
Xbits * * *
Xbits * *
Xbits * *
Xbits * *
Xbits ******
X
X############### Character 0x7b, 0173, 123 { { { { { { { { { {
Xchar 123
Xhs 9
Xvs 9
Xha 0
Xva -9
Xhi 9
Xvi 0
Xbits * *
Xbits * * * *
Xbits * * *
Xbits *
Xbits * *** *
Xbits *******
Xbits *
Xbits ***
Xbits *******
X
X############### Character 0x7c, 0174, 124 | | | | | | | | | |
Xchar 124
Xhs 9
Xvs 12
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
Xbits **
X
X############### Character 0x7d, 0175, 125 } } } } } } } } } }
Xchar 125
Xhs 9
Xvs 2
Xha 0
Xva -2
Xhi 9
Xvi 0
Xbits * * *
Xbits * ** ** *
X
X############### Character 0x7e, 0176, 126 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Xchar 126
Xhs 9
Xvs 12
Xha 0
Xva -10
Xhi 9
Xvi 0
Xbits *********
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits * * *
Xbits * * *
Xbits * *
Xbits * *
Xbits * *
Xbits * *
Xbits *********
X
SHAR_EOF
if test 3578 -ne "`wc -c < 'hack.chars'`"
then
echo shar: "error transmitting 'hack.chars'" '(should have been 3578 characters)'
fi
chmod +x 'hack.chars'
fi
exit 0
# End of shell archive