home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sources / games / 314 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  58.1 KB

  1. Path: sparky!uunet!news.tek.com!master!saab!billr
  2. From: billr@saab.CNA.TEK.COM (Bill Randle)
  3. Newsgroups: comp.sources.games
  4. Subject: v16i006:  nethack31 - display oriented dungeons & dragons (Ver. 3.1), Part06/108
  5. Message-ID: <4289@master.CNA.TEK.COM>
  6. Date: 28 Jan 93 19:11:04 GMT
  7. Sender: news@master.CNA.TEK.COM
  8. Lines: 1562
  9. Approved: billr@saab.CNA.TEK.COM
  10.  
  11. Submitted-by: izchak@linc.cis.upenn.edu (Izchak Miller)
  12. Posting-number: Volume 16, Issue 6
  13. Archive-name: nethack31/Part06
  14. Supersedes: nethack3p9: Volume 10, Issue 46-102
  15. Environment: Amiga, Atari, Mac, MS-DOS, OS2, Unix, VMS, X11
  16.  
  17.  
  18.  
  19. #! /bin/sh
  20. # This is a shell archive.  Remove anything before this line, then unpack
  21. # it by saving it into a file and typing "sh file".  To overwrite existing
  22. # files, type "sh file -c".  You can also feed this as standard input via
  23. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  24. # will see the following message at the end:
  25. #        "End of archive 6 (of 108)."
  26. # Contents:  doc/Guidebook.mn sys/amiga/splitter/multi.c
  27. # Wrapped by billr@saab on Wed Jan 27 16:08:47 1993
  28. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  29. if test -f 'doc/Guidebook.mn' -a "${1}" != "-c" ; then 
  30.   echo shar: Will not clobber existing file \"'doc/Guidebook.mn'\"
  31. else
  32. echo shar: Extracting \"'doc/Guidebook.mn'\" \(52923 characters\)
  33. sed "s/^X//" >'doc/Guidebook.mn' <<'END_OF_FILE'
  34. X.ds h0 "NetHack Guidebook
  35. X.ds h1
  36. X.ds h2 %
  37. X.ds vr "NetHack 3.1
  38. X.ds f0 "\*(vr
  39. X.ds f1
  40. X.ds f2 "May 28, 1990
  41. X.mt
  42. XA Guide to the Mazes of Menace
  43. X.au
  44. XEric S. Raymond
  45. X(Extensively edited and expanded for 3.0 by Mike Threepoint)
  46. X.ai
  47. XThyrsus Enterprises
  48. XMalvern, PA 19355
  49. X.hn 1
  50. XIntroduction
  51. X.pg
  52. XYou have just finished your years as a student at the local adventurer's
  53. Xguild.  After much practice and sweat you have finally completed your
  54. Xtraining and are ready to embark upon a perilous adventure.  To prove
  55. Xyour worthiness, the local guildmasters have sent you into the Mazes of
  56. XMenace.  Your quest is to return with the Amulet of Yendor.  According
  57. Xto legend, the gods will grant immortality to the one who recovers this
  58. Xartifact; true or not, its recovery will bring honor and full guild
  59. Xmembership (not to mention the attentions of certain wealthy wizards).
  60. X.pg
  61. XYour abilities and strengths for dealing with the hazards of adventure
  62. Xwill vary with your background and training.
  63. X.pg
  64. X\fIArcheologists\fP understand dungeons pretty well; this enables them
  65. Xto move quickly and sneak up on dungeon nasties.  They start equipped
  66. Xwith proper tools for a scientific expedition.
  67. X.pg
  68. X\fIBarbarians\fP are warriors out of the hinterland, hardened to battle.
  69. XThey begin their quests with naught but uncommon strength, a trusty hauberk,
  70. Xand a great two-handed sword.
  71. X.pg
  72. X\fICavemen\fP and \fICavewomen\fP start with exceptional strength and
  73. Xneolithic weapons.
  74. X.pg
  75. X\fIElves\fP are agile, quick, and sensitive; very little of what goes
  76. Xon will escape an Elf.  The quality of Elven craftsmanship often gives
  77. Xthem an advantage in arms and armor.
  78. X.pg
  79. X\fIHealers\fP are wise in medicine and the apothecary.  They know the
  80. Xherbs and simples that can restore vitality, ease pain, anesthetize,
  81. Xand neutralize
  82. Xpoisons; and with their instruments, they can divine a being's state
  83. Xof health or sickness.  Their medical practice earns them quite reasonable
  84. Xamounts of money, which they enter the dungeon with.
  85. X.pg
  86. X\fIKnights\fP are distinguished from the common skirmisher by their
  87. Xdevotion to the ideals of chivalry and by the surpassing excellence of
  88. Xtheir armor.
  89. X.pg
  90. X\fIPriests\fP and \fIPriestesses\fP are clerics militant, crusaders
  91. Xadvancing the cause of righteousness with arms, armor, and arts
  92. Xthaumaturgic.  Their ability to commune with deities via prayer
  93. Xoccasionally extricates them from peril\(embut can also put them in it.
  94. X.pg
  95. X\fIRogues\fP are agile and stealthy thieves, who carry daggers, lock
  96. Xpicks, and poisons to put on darts.
  97. X.pg
  98. X\fISamurai\fP are the elite warriors of feudal Nippon.  They are lightly
  99. Xarmored and quick, and wear the \fIdai-sho\fP, two swords of the deadliest
  100. Xkeenness.
  101. X.pg
  102. X\fITourists\fP start out with lots of gold (suitable for shopping with),
  103. Xa credit card, lots of food, some maps, and an expensive camera.  Most
  104. Xmonsters don't like being photographed.
  105. X.pg
  106. X\fIValkyries\fP are hardy warrior women.  Their upbringing in the harsh
  107. XNorthlands makes them strong and inures them to extremes of cold, and instills
  108. Xin them stealth and cunning.
  109. X.pg
  110. X\fIWizards\fP start out with a fair selection of magical goodies and
  111. Xa particular affinity for dweomercraft.
  112. X.pg
  113. XYou set out for the dungeon and after several days of uneventful
  114. Xtravel, you see the ancient ruins that mark the entrance to the Mazes
  115. Xof Menace.  It is late at night, so you make camp at the entrance and
  116. Xspend the night sleeping under the open skies.  In the morning, you
  117. Xgather your gear, eat what may be your last meal outside, and enter
  118. Xthe dungeon.
  119. X
  120. X.hn 1
  121. XWhat is going on here?
  122. X.pg
  123. XYou have just begun a game of NetHack.  Your goal is to grab as much
  124. Xtreasure as you can, retrieve the Amulet of Yendor, and escape the
  125. XMazes of Menace alive.  On the screen is kept a map of where you have
  126. Xbeen and what you have seen on the current dungeon level; as you
  127. Xexplore more of the level, it appears on the screen in front of you.
  128. X.pg
  129. XWhen NetHack's ancestor \fIrogue\fP first appeared, its screen
  130. Xorientation was almost unique among computer fantasy games.  Since
  131. Xthen, screen orientation has become the norm rather than the
  132. Xexception; NetHack continues this fine tradition.  Unlike text
  133. Xadventure games that input commands in pseudo-English sentences and
  134. Xexplain the results in words, NetHack commands are all one or two
  135. Xkeystrokes and the results are displayed graphically on the screen.  A
  136. Xminimum screen size of 24 lines by 80 columns is recommended; if the
  137. Xscreen is larger, only a 21x80 section will be used for the map.
  138. X.pg
  139. XNetHack generates a new dungeon every time you play it; even the
  140. Xauthors still find it an entertaining and exciting game despite
  141. Xhaving won several times.
  142. X
  143. X.hn 1
  144. XWhat do all those things on the screen mean?
  145. X.pg
  146. XIn order to understand what is going on in NetHack, first you must
  147. Xunderstand what NetHack is doing with the screen.  The NetHack screen
  148. Xreplaces the ``You see...'' descriptions of text adventure games.
  149. XFigure 1 is a sample of what a NetHack screen might look like.
  150. X
  151. X.TS S
  152. Xcenter tab(~);
  153. Xa.
  154. X_
  155. XThe bat bites!
  156. X
  157. X    ------
  158. X    |....|    ----------
  159. X    |.<..|####...@...$.|
  160. X    |....-#   |...B....+
  161. X    |....|    |.d......|
  162. X    ------    -------|--
  163. X
  164. X
  165. X
  166. XPlayer the Rambler         St:12 Dx:7 Co:18 In:11 Wi:9 Ch:15  Neutral
  167. XDlvl:1 G:0  HP:9(12) Pw:3(3) AC:10 Xp:1/19 T:257 Weak
  168. X
  169. X_
  170. X.TE
  171. X.ce 1
  172. XFigure 1
  173. X
  174. X.hn 2
  175. XThe status lines (bottom)
  176. X.pg
  177. XThe bottom two lines of the screen contain several cryptic pieces of
  178. Xinformation describing your current status.  If either status line
  179. Xbecomes longer than the width of the screen, you might not see all of
  180. Xit.  Here are explanations of what the various status items mean
  181. X(though your configuration may not have all the status items listed
  182. Xbelow):
  183. X.lp Rank\ \ 
  184. XYour character's name and professional ranking (based on the
  185. Xexperience level, see below).
  186. X.lp Strength
  187. XA measure of your character's strength, one of your six basic
  188. Xattributes.  Your attributes can range from 3 to 18 inclusive
  189. X(occasionally you may get super-strengths of the form 18/xx).  The
  190. Xhigher your strength, the stronger you are.  Strength affects how
  191. Xsuccessfully you perform physical tasks and how much damage you do in
  192. Xcombat.
  193. X.lp Dexterity
  194. XDexterity affects your chances to hit in combat, to avoid traps, and
  195. Xdo other tasks requiring agility or manipulation of objects.
  196. X.lp Constitution
  197. XConstitution affects your ability to withstand injury and other
  198. Xstrains on your stamina.
  199. X.lp Intelligence
  200. XIntelligence affects your ability to cast spells.
  201. X.lp Wisdom
  202. XWisdom comes from your religious affairs.  It affects your magical energy.
  203. X.lp Charisma
  204. XCharisma affects how certain creatures react toward you.  In
  205. Xparticular, it can affect the prices shopkeepers offer you.
  206. X.lp Alignment
  207. X\fBLawful\fP, \fBNeutral\fP, or \fBChaotic\fP.  Basically, Lawful is
  208. Xgood and Chaotic is evil.  Your alignment influences how other
  209. Xmonsters react toward you.
  210. X.lp "Dungeon Level
  211. XHow deep you have gone into the dungeon.  It starts at one and
  212. Xincreases as you go deeper into the dungeon.  The Amulet of Yendor is
  213. Xreputed to be somewhere beneath the twentieth level.
  214. X.lp Gold\ \ 
  215. XThe number of gold pieces you have.
  216. X.lp "Hit Points
  217. XYour current and maximum hit points.  Hit points indicate how much
  218. Xdamage you can take before you die.  The more you get hit in a fight,
  219. Xthe lower they get.  You can regain hit points by resting.  The number
  220. Xin parentheses is the maximum number your hit points can reach.
  221. X.lp Power
  222. XSpell points.  This tells you how much mystic energy (\fImana\fP)
  223. Xyou have available for spell casting.  When you type `+' to
  224. Xlist your spells, each will have a spell point cost beside
  225. Xit in parentheses.  You will not see this if your dungeon
  226. Xhas been set up without spells.
  227. X.lp "Armor Class
  228. XA measure of how effectively your armor stops blows from unfriendly
  229. Xcreatures.  The lower this number is, the more effective the armor; it
  230. Xis quite possible to have negative armor class. 
  231. X.lp Experience
  232. XYour current experience level and experience points.  As you
  233. Xadventure, you gain experience points.  At certain experience point
  234. Xtotals, you gain an experience level.  The more experienced you are,
  235. Xthe better you fight and withstand magical attacks.  Many dungeons
  236. Xshow only your experience level here.
  237. X.lp Time\ \ 
  238. XThe number of turns elapsed so far, displayed if you have the
  239. X.op time
  240. Xoption set.
  241. X.lp "Hunger status
  242. XYour current hunger status, ranging from \fBSatiated\fP down to
  243. X\fBFainting\fP.  If your hunger status is normal, it is not displayed.
  244. X.pg
  245. XAdditional status flags may appear after the hunger status:  \fBConf\fP
  246. Xwhen you're confused, \fBSick\fP when sick, \fBBlind\fP when you can't
  247. Xsee, \fBStun\fP when stunned, and \fBHallu\fP when hallucinating.
  248. X.hn 2
  249. XThe message line (top)
  250. X.pg
  251. XThe top line of the screen is reserved for messages that describe
  252. Xthings that are impossible to represent visually.  If you see a
  253. X``\fB--More--\fP'' on the top line, this means that NetHack has
  254. Xanother message to display on the screen, but it wants to make certain
  255. Xthat you've read the one that is there first.  To read the next message,
  256. Xjust press the space bar.
  257. X.hn 2
  258. XThe map (rest of the screen)
  259. X.pg
  260. XThe rest of the screen is the map of the level as you have explored it
  261. Xso far.  Each symbol on the screen represents something.  You can set
  262. Xthe
  263. X.op graphics
  264. Xoption to change some of the symbols the game uses; otherwise, the
  265. Xgame will use default symbols.  Here is a list of what the default
  266. Xsymbols mean:
  267. X.lp "- and | 
  268. XThe walls of a room, or an open door.
  269. X.lp .
  270. XThe floor of a room, or a doorless doorway.
  271. X.lp #
  272. XA corridor, or possibly a kitchen sink or drawbridge (if your dungeon
  273. Xhas sinks).
  274. X.lp <
  275. XA way to the previous level.
  276. X.lp >
  277. XA way to the next level.
  278. X.lp +
  279. XA closed door, or a spell book containing a spell you can learn (if your
  280. Xdungeon has spell books).
  281. X.lp @
  282. XA human (you, usually).
  283. X.lp $
  284. XA pile of gold.
  285. X.lp ^
  286. XA trap (once you detect it).
  287. X.lp )
  288. XA weapon.
  289. X.lp [
  290. XA suit or piece of armor.
  291. X.lp %
  292. XA piece of food (not necessarily healthy).
  293. X.lp ?
  294. XA scroll.
  295. X.lp /
  296. XA wand.
  297. X.lp =
  298. XA ring.
  299. X.lp !
  300. XA potion.
  301. X.lp (
  302. XA useful item (pick-axe, key, lamp...).
  303. X.lp """
  304. XAn amulet, or a spider web.
  305. X.lp *
  306. XA gem or rock (possibly valuable, possibly worthless).
  307. X.lp `
  308. XA boulder or statue.
  309. X.lp 0
  310. XAn iron ball.
  311. X.lp _
  312. XAn altar, or an iron chain.
  313. X.lp }
  314. XA pool of water or moat or a pool of lava.
  315. X.lp {
  316. XA fountain (your dungeon may not have fountains).
  317. X.lp "\\\\
  318. XAn opulent throne (your dungeon may not have thrones either).
  319. X.lp "a-zA-Z and other symbols
  320. XLetters and certain other symbols represent the various inhabitants
  321. Xof the Mazes of Menace.  Watch out, they can be nasty and vicious.
  322. XSometimes, however, they can be helpful.
  323. X.pg
  324. XYou need not memorize all these symbols; you can ask the game what any
  325. Xsymbol represents with the `/' command (see the Commands section for
  326. Xmore info).
  327. X
  328. X.hn 1
  329. XCommands
  330. X.pg
  331. XCommands are given to NetHack by typing one or two characters; NetHack
  332. Xthen asks questions to find out what it needs to know to do your
  333. Xbidding.  
  334. X.pg
  335. XFor example, a common question, in the form ``What do you want to
  336. Xuse?\ [a-zA-Z\ ?*]'', asks you to choose an object you are carrying.
  337. XHere, ``a-zA-Z'' are the inventory letters of your possible choices.
  338. XTyping `?' gives you an inventory list of these items, so you can see
  339. Xwhat each letter refers to.  In this example, there is also a `*'
  340. Xindicating that you may choose an object not on the list, if you
  341. Xwanted to use something unexpected.  Typing a `*' lists your entire
  342. Xinventory, so you can see the inventory letters of every object you're
  343. Xcarrying.  Finally, if you change your mind and decide you don't want
  344. Xto do this command after all, you can press the ESC key to abort the
  345. Xcommand.
  346. X.pg
  347. XYou can put a number before most commands to repeat them that many
  348. Xtimes; for example, ``10s'' will search ten times.  If you have the
  349. X.op number_pad
  350. Xoption set, you must type `n' to prefix a count, so the example above
  351. Xwould be typed ``n10s'' instead.  Commands for which counts make no
  352. Xsense ignore them.  In addition, movement commands can be prefixed for
  353. Xgreater control (see below).  To cancel a count or a prefix, press the
  354. XESC key.
  355. X.pg
  356. XThe list of commands is rather long, but it can be read at any time
  357. Xduring the game through the `?' command, which accesses a menu of
  358. Xhelpful texts.  Here are the commands for your reference:
  359. X.lp ?
  360. XHelp menu:  display one of several help texts available.
  361. X.lp /
  362. XTell what a symbol represents.  You may choose to specify a location
  363. Xor type a symbol (or even a whole word) to define.  If the
  364. X.op help
  365. Xoption is on, and NetHack has some special information about an object or
  366. Xmonster that you looked at, you'll be asked if you want ``More info?''.
  367. XIf \fBhelp\fP is off, then you'll only get the special information if you
  368. Xexplicitly ask for it by typing in the name of the monster or object.
  369. X.lp &
  370. XTell what a command does.
  371. X.lp <
  372. XGo up a staircase to the previous level (if you are on the stairs).
  373. X.lp >
  374. XGo down a staircase to the next level (if you are on the stairs).
  375. X.lp [yuhjklbn]
  376. XGo one step in the direction indicated (see Figure 2).  If there is
  377. Xa monster there, you will fight the monster instead.  Only these
  378. Xone-step movement commands cause you to fight monsters; the others
  379. X(below) are ``safe.''
  380. X.sd
  381. X.TS S
  382. Xcenter;
  383. Xc c.
  384. Xy  k  u    7  8  9
  385. X  \\\\\\\\ | /        \\\\\\\\ | /
  386. Xh- . -l    4- . -6
  387. X  / | \\\\\\\\        / | \\\\\\\\
  388. Xb  j  n    1  2  3
  389. X    (if \fBnumber_pad\fP is set)
  390. X.TE
  391. X.ed
  392. X.ce 1
  393. XFigure 2
  394. X
  395. X.lp [YUHJKLBN]
  396. XGo in that direction until you hit a wall or run into something.
  397. X.lp m[yuhjklbn]
  398. XPrefix:  move without picking up any objects.
  399. X.lp M[yuhjklbn]
  400. XPrefix:  move far, no pickup.
  401. X.lp "g[yuhjklbn]
  402. XPrefix:  move until something interesting is found.
  403. X.lp "G[yuhjklbn] or <CONTROL->[yuhjklbn]
  404. XPrefix:  same as `g', but forking of corridors is not considered interesting.
  405. X.lp .
  406. XRest, do nothing for one turn.
  407. X.lp a
  408. XApply (use) a tool (pick-axe, key, lamp...).
  409. X.lp A
  410. XRemove all armor.  Use `T' (take off) to take off only one piece of armor.
  411. X.lp ^A
  412. XRedo the previous command.
  413. X.lp c
  414. XClose a door.
  415. X.lp C
  416. XCall (name) an individual monster.
  417. X.lp ^C
  418. XPanic button.  Quit the game.
  419. X.lp d
  420. XDrop something.  Ex. ``d7a'' means drop seven items of object \fIa\fP.
  421. X.lp D
  422. XDrop several things.  In answer to the question
  423. X``What kinds of things do you want to drop? [!%= au]''
  424. Xyou should type zero or more object symbols possibly followed by 
  425. X`a' and/or `u'.
  426. X.sd
  427. X.si
  428. XDa  - drop all objects, without asking for confirmation.
  429. XDu  - drop only unpaid objects (when in a shop).
  430. XD%u - drop only unpaid food.
  431. X.ei
  432. X.ed
  433. X.lp ^D
  434. XKick something (usually a door).
  435. X.lp e
  436. XEat food.
  437. X.lp E
  438. XEngrave a message on the floor.
  439. XEngraving the word ``Elbereth'' will cause most monsters to not attack
  440. Xyou hand-to-hand (but if you attack, you will rub it out); this is
  441. Xoften useful to give yourself a breather.  (This feature may be compiled out
  442. Xof the game, so your version might not necessarily have it.)
  443. X.sd
  444. X.si
  445. XE- - write in the dust with your fingers.  
  446. X.ei
  447. X.ed
  448. X.lp i
  449. XList your inventory (everything you're carrying).
  450. X.lp I
  451. XList selected parts of your inventory.
  452. X.sd
  453. X.si
  454. XI* - list all gems in inventory;
  455. XIu - list all unpaid items;
  456. XIx - list all used up items that are on your shopping bill;
  457. XI$ - count your money.
  458. X.ei
  459. X.ed
  460. X.lp o
  461. XOpen a door.
  462. X.lp O
  463. XSet options.  You will be asked to enter an option line.  If you enter
  464. Xa blank line, the current options are reported.  Entering `?' will
  465. Xget you explanations of the various options.  Otherwise, you should
  466. Xenter a list of options separated by commas.  The available options
  467. Xare listed later in this Guidebook.  Options are usually set before
  468. Xthe game, not with the `O' command; see the section on options below.
  469. X.lp p
  470. XPay your shopping bill.
  471. X.lp P
  472. XPut on a ring.
  473. X.lp ^P
  474. XRepeat previous message (subsequent ^P's repeat earlier messages).
  475. X.lp q
  476. XQuaff (drink) a potion.
  477. X.lp Q
  478. XQuit the game.
  479. X.lp r
  480. XRead a scroll or spell book.
  481. X.lp R
  482. XRemove a ring.
  483. X.lp ^R
  484. XRedraw the screen.
  485. X.lp s
  486. XSearch for secret doors and traps around you.  It usually takes several
  487. Xtries to find something.
  488. X.lp S
  489. XSave the game.  The game will be restored automatically the next time
  490. Xyou play.
  491. X.lp t
  492. XThrow an object or shoot a projectile.
  493. X.lp T
  494. XTake off armor.
  495. X.lp ^T
  496. XTeleport, if you have the ability.
  497. X.lp v
  498. XDisplay version number.
  499. X.lp V
  500. XDisplay the game history.
  501. X.lp w
  502. XWield weapon.  w- means wield nothing, use your bare hands.
  503. X.lp W
  504. XWear armor.
  505. X.lp x
  506. XList the spells you know (same as `+').
  507. X.lp X
  508. XEnter explore (discovery) mode.
  509. X.lp z
  510. XZap a wand.
  511. X.lp Z
  512. XZap (cast) a spell.
  513. X.lp ^Z
  514. XSuspend the game
  515. X.ux " versions with job control only)." (
  516. X.lp :
  517. XLook at what is here.
  518. X.lp ,
  519. XPick up some things.
  520. X.lp @
  521. XToggle the
  522. X.op pickup
  523. Xoption on and off.
  524. X.lp ^
  525. XAsk for the type of a trap you found earlier.
  526. X.lp )
  527. XTell what weapon you are wielding.
  528. X.lp [
  529. XTell what armor you are wearing.
  530. X.lp =
  531. XTell what rings you are wearing.
  532. X.lp """
  533. XTell what amulet you are wearing.
  534. X.lp (
  535. XTell what tools you are using.
  536. X.lp $
  537. XCount your gold pieces.
  538. X.lp +
  539. XList the spells you know (same as `x').
  540. X.lp "\\\\
  541. XShow what types of objects have been discovered.
  542. X.lp !
  543. XEscape to a shell.
  544. X.lp #
  545. XPerform an extended command.  As you can see, the authors of NetHack
  546. Xused up all the letters, so this is a way to introduce the less useful
  547. Xcommands, or commands used under limited circumstances.  You may obtain a
  548. Xlist of them by entering `?'.  What extended commands are available
  549. Xdepend on what features the game was compiled with.
  550. X.pg
  551. XIf your keyboard has a meta key (which, when pressed in combination
  552. Xwith another key, modifies it by setting the `meta' [8th, or `high']
  553. Xbit), you can invoke the extended commands by meta-ing the first
  554. Xletter of the command.  In OS/2, PC, and ST NetHack, the `Alt' key
  555. Xcan be used in this fashion.
  556. X.lp M-a
  557. XAdjust inventory letters (the
  558. X.op fixinv
  559. Xoption must be ``on'' to do this).
  560. X.lp M-c
  561. XTalk to someone.
  562. X.lp M-d
  563. XDip an object into something.
  564. X.lp M-f
  565. XForce a lock.
  566. X.lp M-i
  567. XInvoke an object's special powers.
  568. X.lp M-j
  569. XJump to another location.
  570. X.lp M-l
  571. XLoot a box on the floor.
  572. X.lp M-m
  573. XUse a monster's special ability.
  574. X.lp M-n
  575. XName an item or type of object.
  576. X.lp M-o
  577. XOffer a sacrifice to the gods.
  578. X.lp M-p
  579. XPray to the gods for help.
  580. X.lp M-r
  581. XRub a lamp.
  582. X.lp M-s
  583. XSit down.
  584. X.lp M-t
  585. XTurn undead.
  586. X.lp M-u
  587. XUntrap something (usually a trapped object).
  588. X.lp M-v
  589. XPrint compile time options for this version of NetHack.
  590. X.lp M-w
  591. XWipe off your face.
  592. X.pg
  593. XIf the
  594. X.op number_pad
  595. Xoption is on, some additional letter commands are available:
  596. X.lp j
  597. XJump to another location.  Same as ``#jump'' or ``M-j''.
  598. X.lp k
  599. XKick something (usually a door).  Same as `^D'.
  600. X.lp l
  601. XLoot a box on the floor.  Same as ``#loot'' or ``M-l''.
  602. X.lp N
  603. XName an item or type of object.  Same as ``#name'' or ``M-N''.
  604. X.lp u
  605. XUntrap a trapped object or door.  Same as ``#untrap'' or ``M-u''.
  606. X
  607. X.hn 1
  608. XRooms and corridors
  609. X.pg
  610. XRooms and corridors in the dungeon are either lit or dark.
  611. XAny lit areas within your line of sight will be displayed;  
  612. Xdark areas are only displayed if they are within one space of you.
  613. XWalls and corridors remain on the map as you explore them.
  614. X.pg
  615. XSecret corridors are hidden.  You can find them with the `s' (search)
  616. Xcommand.
  617. X.hn 2
  618. XDoorways
  619. X.pg
  620. XDoorways connect rooms and corridors.  Some doorways have no doors;
  621. Xyou can walk right through.  Others have doors in them, which may be
  622. Xopen, closed, or locked.  To open a closed door, use the `o' (open)
  623. Xcommand; to close it again, use the `c' (close) command.
  624. X.pg
  625. XYou can get through a locked door by using a tool to pick the lock
  626. Xwith the `a' (apply) command, or by kicking it open with the `^D'
  627. X(kick) command.
  628. X.pg
  629. XOpen doors cannot be entered diagonally; you must approach them
  630. Xstraight on, horizontally or vertically.  Doorways without doors are
  631. Xnot restricted.
  632. X.pg
  633. XDoors can be useful for shutting out monsters.  Most monsters cannot
  634. Xopen doors, although a few don't need to (ex. ghosts can walk through
  635. Xdoors).
  636. X.pg
  637. XSecret doors are hidden.  You can find them with the `s' (search)
  638. Xcommand.
  639. X.hn 2
  640. XTraps (`^')
  641. X.pg
  642. XThere are traps throughout the dungeon to snare the unwary delver.
  643. XFor example, you may suddenly fall into a pit and be stuck for a few
  644. Xturns.  Traps don't appear on your map until you see one triggered
  645. Xby moving onto it, or you discover it with the `s' (search) command.
  646. XMonsters can fall prey to traps, too.
  647. X
  648. X.hn 1
  649. XMonsters
  650. X.pg
  651. XMonsters you cannot see are not displayed on the screen.  Beware!
  652. XYou may suddenly come upon one in a dark place.  Some magic items can
  653. Xhelp you locate them before they locate you, which some monsters do
  654. Xvery well.
  655. X.hn 2
  656. XFighting
  657. X.pg
  658. XIf you see a monster and you wish to fight it, just attempt to walk
  659. Xinto it.  Many monsters you find will mind their own business unless
  660. Xyou attack them.  Some of them are very dangerous when angered.
  661. XRemember:  Discretion is the better part of valor.
  662. X.hn 2
  663. XYour pet
  664. X.pg
  665. XYou start the game with a little dog (`d') or cat (`f'), which follows
  666. Xyou about the dungeon and fights monsters with you.  Like you, your
  667. Xpet needs food to survive.  It usually feeds itself on fresh carrion
  668. Xand other meats.  If you're worried about it or want to train it, you
  669. Xcan feed it, too, by throwing it food.
  670. X.pg
  671. XYour pet also gains experience from killing monsters, and can grow
  672. Xover time, gaining hit points and doing more damage.  Initially, your
  673. Xpet may even be better at killing things than you, which makes pets
  674. Xuseful for low-level characters.
  675. X.pg
  676. XYour pet will follow you up and down staircases, if it is next to you
  677. Xwhen you move.  Otherwise, your pet will be stranded, and may become
  678. Xwild.
  679. X.hn 2
  680. XGhost levels
  681. X.pg
  682. XYou may encounter the shades and corpses of other adventurers (or even
  683. Xformer incarnations of yourself!) and their personal effects.  Ghosts
  684. Xare hard to kill, but easy to avoid, since they're slow and do little
  685. Xdamage.  You can plunder the deceased adventurer's possessions;
  686. Xhowever, they are likely to be cursed.  Beware of whatever killed the
  687. Xformer player.
  688. X
  689. X.hn 1
  690. XObjects 
  691. X.pg
  692. XWhen you find something in the dungeon, it is common to want to pick
  693. Xit up.  In NetHack, this is accomplished automatically by walking over
  694. Xthe object (unless you turn off the
  695. X.op pickup
  696. Xoption (see below), or move with the `m' prefix (see above)), or
  697. Xmanually by using the `,' command.  If you're carrying too many
  698. Xthings, NetHack will tell you so and won't pick up anything more.
  699. XOtherwise, it will add the object(s) to your pack and tell you what you
  700. Xjust picked up.
  701. X.pg
  702. XWhen you pick up an object, it is assigned an inventory letter.  Many
  703. Xcommands that operate on objects must ask you to find out which object
  704. Xyou want to use.  When NetHack asks you to choose a particular object
  705. Xyou are carrying, you are usually presented with a list of inventory
  706. Xletters to choose from (see Commands, above).
  707. X.pg
  708. XSome objects, such as weapons, are easily differentiated.  Others, like
  709. Xscrolls and potions, are given descriptions which vary according to
  710. Xtype.  During a game, any two objects with the same description are
  711. Xthe same type.  However, the descriptions will vary from game to game.
  712. X.pg
  713. XWhen you use one of these objects, if its effect is obvious, NetHack
  714. Xwill remember what it is for you.  If its effect isn't extremely
  715. Xobvious, you will be asked what you want to call this type of object
  716. Xso you will recognize it later.  You can also use the ``#name''
  717. Xcommand for the same purpose at any time, to name all objects of a
  718. Xparticular type or just an individual object.
  719. X.hn 2
  720. XCurses and blessings
  721. X.pg
  722. XAny object that you find may be cursed, even if the object is
  723. Xotherwise helpful.  The most common effect of a curse is being stuck
  724. Xwith (and to) the item.  Cursed weapons weld themselves to your hand
  725. Xwhen wielded, so you cannot unwield them.  Any cursed item you wear
  726. Xis not removable by ordinary means.  In addition, cursed arms and armor
  727. Xusually, but not always, bear negative enchantments that make them
  728. Xless effective in combat.  Other cursed objects may act poorly or
  729. Xdetrimentally in other ways.
  730. X.pg
  731. XObjects can also become blessed.  Blessed items usually work better or
  732. Xmore beneficially than normal uncursed items.  For example, a blessed
  733. Xweapon will do more damage against demons.
  734. X.pg
  735. XThere are magical means of bestowing or removing curses upon objects,
  736. Xso even if you are stuck with one, you can still have the curse
  737. Xlifted and the item removed.  Priests and Priestesses have an innate
  738. Xsensitivity to curses and blessings, so they can more easily avoid
  739. Xcursed objects than other character classes.
  740. X.pg
  741. XAn item with unknown curse status, and an item which you know to be uncursed,
  742. Xwill be distinguished in your inventory by the presence of the word ``uncursed''
  743. Xin the description of the latter.  The exception is if this description
  744. Xisn't needed; you can look at the inventory description and know
  745. Xthat you have discovered whether it's cursed.  This applies to items which
  746. Xhave ``plusses,'' and items with charges.
  747. X.hn 2
  748. XWeapons (`)')
  749. X.pg
  750. XGiven a chance, almost all monsters in the Mazes of Menace will
  751. Xgratuitously kill you.  You need weapons for self-defense (killing
  752. Xthem first).  Without a weapon, you do only 1-2 hit points of damage
  753. X(plus bonuses, if any).
  754. X.pg
  755. XThere are wielded weapons, like maces and swords, and thrown weapons,
  756. Xlike arrows.  To hit monsters with a weapon, you must wield it and
  757. Xattack them, or throw it at them.  To shoot an arrow out of a bow, you
  758. Xmust first wield the bow, then throw the arrow.  Crossbows shoot
  759. Xcrossbow bolts.  Slings hurl rocks and (other) gems.  You can wield
  760. Xonly one weapon at a time, but you can change weapons unless you're
  761. Xwielding a cursed one.
  762. X.pg
  763. XEnchanted weapons have a ``plus'' (which can also be a minus)
  764. Xthat adds to your chance
  765. Xto hit and the damage you do to a monster.  The only way to find out
  766. Xif a weapon is enchanted is to have it magically identified somehow.
  767. X.pg
  768. XThose of you in the audience who are AD&D players, be aware that each
  769. Xweapon which exists in AD&D does the same damage to monsters in
  770. XNetHack.  Some of the more obscure weapons (such as the \fIaklys\fP,
  771. X\fIlucern hammer\fP, and \fIbec-de-corbin\fP) are defined in an
  772. Xappendix to \fIUnearthed Arcana\fP, an AD&D supplement.
  773. X.pg
  774. XThe commands to use weapons are `w' (wield) and `t' (throw).
  775. X.hn 2
  776. XArmor (`[')
  777. X.pg
  778. XLots of unfriendly things lurk about; you need armor to protect
  779. Xyourself from their blows.  Some types of armor offer better
  780. Xprotection than others.  Your armor class is a measure of this
  781. Xprotection.  Armor class (AC) is measured as in AD&D, with 10 being
  782. Xthe equivalent of no armor, and lower numbers meaning better armor.
  783. XEach suit of armor which exists in AD&D gives the same protection in
  784. XNetHack.  Here is an (incomplete) list of the armor classes provided by
  785. Xvarious suits of armor:
  786. X
  787. X.TS S
  788. Xcenter;
  789. Xa n.
  790. Xdragon scale mail    1
  791. Xplate mail    3
  792. Xbronze plate mail    4
  793. Xsplint mail    4
  794. Xbanded mail    4
  795. Xelven mithril-coat    5
  796. Xchain mail    5
  797. Xscale mail    6
  798. Xring mail    7
  799. Xstudded leather armor    7
  800. Xleather armor    8
  801. Xno armor    10
  802. X.TE
  803. X.pg
  804. XYou can also wear other pieces of armor (ex. helmets, boots, shields, cloaks)
  805. Xto lower your armor class even further, but you can only wear one item
  806. Xof each category (one suit of armor, one cloak, one helmet, one
  807. Xshield, and so on).
  808. X.pg
  809. XIf a piece of armor is enchanted, its armor protection will be better
  810. X(or worse) than normal, and its ``plus'' (or minus) will subtract from
  811. Xyour armor class.  For example, a +1 chain mail would give you
  812. Xbetter protection than normal chain mail, lowering your armor class one
  813. Xunit further to 4.  When you put on a piece of armor, you immediately
  814. Xfind out the armor class and any ``plusses'' it provides.  Cursed
  815. Xpieces of armor usually have negative enchantments (minuses) in
  816. Xaddition to being unremovable.
  817. X.pg
  818. XThe commands to use armor are `W' (wear) and `T' (take off).
  819. X.hn 2
  820. XFood (`%')
  821. X.pg
  822. XFood is necessary to survive.  If you go too long without eating you
  823. Xwill faint, and eventually die of starvation.  Unprotected food does
  824. Xnot stay fresh indefinitely; after a while it will spoil, and be
  825. Xunhealthy to eat.  Food stored in ice boxes or tins (``cans'' to you
  826. XAmericans) will usually stay fresh, but ice boxes are heavy, and tins
  827. Xtake a while to open.
  828. X.pg
  829. XWhen you kill monsters, they usually leave corpses which are also
  830. X``food.''  Many, but not all, of these are edible; some also give you
  831. Xspecial powers when you eat them.  A good rule of thumb is ``you are
  832. Xwhat you eat.''
  833. X.pg
  834. XYou can name one food item after something you like to eat with the
  835. X.op fruit
  836. Xoption, if your dungeon has it.
  837. X.pg
  838. XThe command to eat food is `e'.
  839. X.hn 2
  840. XScrolls (`?')
  841. X.pg
  842. XScrolls are labeled with various titles, probably chosen by ancient wizards
  843. Xfor their amusement value (ex. ``READ ME,'' or ``HOLY BIBLE'' backwards).
  844. XScrolls disappear after you read them (except for blank ones, without
  845. Xmagic spells on them).
  846. X.pg
  847. XOne of the most useful of these is the \fIscroll of identify\fP, which
  848. Xcan be used to determine what another object is, whether it is cursed or
  849. Xblessed, and how many uses it has left.  Some objects of subtle
  850. Xenchantment are difficult to identify without these.
  851. X.pg
  852. XIf you receive mail while you are playing (on
  853. Xversions compiled with this feature), a mail daemon may run up and
  854. Xdeliver it to you as a \fIscroll of mail\fP.  To use this feature,
  855. Xyou must let NetHack know where to look for new mail by setting the
  856. X``MAIL'' environment variable to the file name of your mailbox.  You
  857. Xmay also want to set the ``MAILREADER'' environment variable to the
  858. Xfile name of your favorite reader, so NetHack can shell to it when you
  859. Xread the scroll.
  860. X.pg
  861. XThe command to read a scroll is `r'.
  862. X.hn 2
  863. XPotions (`!')
  864. X.pg
  865. XPotions are distinguished by the color of the liquid inside the flask.
  866. XThey disappear after you quaff them.
  867. X.pg
  868. XClear potions are potions of water.  Sometimes these are
  869. Xblessed or cursed, resulting in holy or unholy water.  Holy water is
  870. Xthe bane of the undead, so potions of holy water are good thing to
  871. Xthrow (`t') at them.  It also is very useful when you dip (``#dip'') other
  872. Xobjects in it.
  873. X.pg
  874. XThe command to drink a potion is `q' (quaff).
  875. X.hn 2
  876. XWands (`/')
  877. X.pg
  878. XMagic wands have multiple magical charges.  Some wands are
  879. Xdirectional\(emyou must give a direction to zap them in.  You can also
  880. Xzap them at yourself (just give a `.' or `s' for the direction), but
  881. Xit is often unwise.  Other wands are nondirectional\(emthey don't ask
  882. Xfor directions.  The number of charges in a wand is random, and
  883. Xdecreases by one whenever you use it.
  884. X.pg
  885. XThe command to use a wand is `z' (zap).
  886. X.hn 2
  887. XRings (`=')
  888. X.pg
  889. XRings are very useful items, since they are relatively permanent
  890. Xmagic, unlike the usually fleeting effects of potions, scrolls, and
  891. Xwands.
  892. X.pg
  893. XPutting on a ring activates its magic.  You can wear only two
  894. Xrings, one on each ring finger.
  895. X.pg
  896. XMost rings also cause you to grow hungry more rapidly, the rate
  897. Xvarying with the type of ring.  
  898. X.pg
  899. XThe commands to use rings are `P' (put on) and `R' (remove).
  900. X.hn 2
  901. XSpell books (`+')
  902. X.pg
  903. XSpell books are tomes of mighty magic.  When studied with the `r' (read)
  904. Xcommand, they bestow the knowledge of a spell\(emunless the attempt
  905. Xbackfires.
  906. XReading a cursed spell book, or one with mystic runes beyond
  907. Xyour ken can be harmful to your health!
  908. X.pg
  909. XA spell can also backfire when you cast it.  If you attempt to cast a
  910. Xspell well above your experience level, or cast it at a time when your
  911. Xluck is particularly bad, you can end up wasting both the energy and
  912. Xthe time required in casting.
  913. X.pg
  914. XCasting a spell calls forth magical energies and focuses them with
  915. Xyour naked mind.  Releasing the magical energy releases some of your
  916. Xmemory of the spell with it.  Each time you cast a spell, your
  917. Xfamiliarity with it will dwindle, until you eventually forget the
  918. Xdetails completely and must relearn it.
  919. X.pg
  920. XThe command to read a spell book is the same as for scrolls, `r'
  921. X(read).  The `+' command lists your current spells and the number of
  922. Xspell points they require.  The `Z' (cast) command casts a spell.
  923. X.hn 2
  924. XTools (`(')
  925. X.pg
  926. XTools are miscellaneous objects with various purposes.  Some tools,
  927. Xlike wands, have a limited number of uses.  For example, lamps burn
  928. Xout after a while.  Other tools are containers, which objects can
  929. Xbe placed into or taken out of.
  930. X.pg
  931. XThe command to use tools is `a' (apply).
  932. X.hn 3
  933. XChests and boxes
  934. X.pg
  935. XYou may encounter chests or boxes in your travels.  These can be
  936. Xopened with the ``#loot'' extended command when they are on the floor,
  937. Xor with the `a' (apply) command when you are carrying one.  However,
  938. Xchests are often locked, and require you to either use a key to unlock
  939. Xit, a tool to pick the lock, or to break it open with brute force.
  940. XChests are unwieldy objects, and must be set down to be unlocked (by
  941. Xkicking them, using a key or lock picking tool with the `a' (apply)
  942. Xcommand, or by using a weapon to force the lock with the ``#force''
  943. Xextended command).
  944. X.pg
  945. XSome chests are trapped, causing nasty things to happen when you
  946. Xunlock or open them.  You can check for and try to deactivate traps
  947. Xwith the ``#untrap'' extended command.
  948. X.hn 2
  949. XAmulets (`"')
  950. X.pg
  951. XAmulets are very similar to rings, and often more powerful.  Like
  952. Xrings, amulets have various magical properties, some beneficial,
  953. Xsome harmful, which are activated by putting them on.
  954. X.pg
  955. XThe commands to use amulets are the same as for rings, `P' (put on)
  956. Xand `R' (remove).
  957. X.hn 2
  958. XGems (`*')
  959. X.pg
  960. XSome gems are valuable, and can be sold for a lot of gold pieces.
  961. XValuable gems increase your score if you bring them with you when you
  962. Xexit.  Other small rocks are also categorized as gems, but they are
  963. Xmuch less valuable.
  964. X.hn 2
  965. XLarge rocks (`\`')
  966. X.pg
  967. XStatues and boulders are not particularly useful, and are generally
  968. Xheavy.  It is rumored that some statues are not what they seem.
  969. X.hn 2
  970. XGold (`$')
  971. X.pg
  972. XGold adds to your score, and you can buy things in shops with it.
  973. XYour version of NetHack may display how much gold you have on the
  974. Xstatus line.  If not, the `$' command will count it.
  975. X
  976. X.hn 1
  977. XOptions
  978. X.pg
  979. XDue to variations in personal tastes and conceptions of how NetHack
  980. Xshould do things, there are options you can set to change how NetHack
  981. Xbehaves.
  982. X.hn 2
  983. XSetting the options
  984. X.pg
  985. XOptions may be set in a number of ways.  Within the game, the `O'
  986. Xcommand allows you to view all options and change most of them.
  987. XYou can also set options automatically by placing them in the
  988. XNETHACKOPTIONS environment variable or a configuration file.
  989. XSome versions of NetHack also have front-end programs that allow
  990. Xyou to set options before starting the game.
  991. X.hn 2
  992. XUsing the NETHACKOPTIONS environment variable
  993. X.pg
  994. XThe NETHACKOPTIONS variable is a comma-separated list of initial
  995. Xvalues for the various options.  Some can only be turned on or off.
  996. XYou turn one of these on by adding the name of the option to the list,
  997. Xand turn it off by typing a `!' or ``no'' before the name.  Others take a 
  998. Xcharacter string as a value.  You can set string options by typing
  999. Xthe option name, a colon, and then the value of the string.  The value
  1000. Xis terminated by the next comma or the end of string.
  1001. X.pg
  1002. XFor example, to set up an environment variable so that ``female'' is on,
  1003. X``pickup'' is off, the name is set to ``Blue Meanie'', and the fruit
  1004. Xis set to ``papaya'', you would enter the command
  1005. X.sd
  1006. X% \fBsetenv NETHACKOPTIONS "female,!pickup,name:Blue Meanie,fruit:papaya"\fP
  1007. X.ed
  1008. Xin \fIcsh\fP, or
  1009. X.sd
  1010. X$ \fBNETHACKOPTIONS="female,!pickup,name:Blue Meanie,fruit:papaya"\fP
  1011. X$ \fBexport NETHACKOPTIONS\fP
  1012. X.ed
  1013. Xin \fIsh\fP or \fIksh\fP.
  1014. X.hn 2
  1015. XUsing a configuration file
  1016. X.pg
  1017. XAny line in the configuration file starting with ``OPTIONS='' may be
  1018. Xfilled out with options in the same syntax as in NETHACKOPTIONS.
  1019. XAny line starting with ``GRAPHICS='', ``MONSTERS='', or ``OBJECTS=''
  1020. Xis taken as defining the
  1021. X.op graphics,
  1022. X.op monsters,
  1023. Xor
  1024. X.op objects
  1025. Xoptions in a different syntax,
  1026. Xa sequence of decimal numbers giving the character position
  1027. Xin the current font to be used in displaying each entry.
  1028. XSuch a sequence can be continued to multiple lines by putting a `\\'
  1029. Xat the end of each line to be continued.
  1030. XAny line starting with `#' is treated as a comment.
  1031. X.pg
  1032. XThe default name of the configuration file varies on different
  1033. Xoperating systems, but NETHACKOPTIONS can also be set to
  1034. Xthe full name of a file you want to use (possibly preceded by an `@').
  1035. X.hn 2
  1036. XCustomization options
  1037. X.pg
  1038. XHere are explanations of the various options do.  Character strings
  1039. Xlonger than fifty characters are truncated.  Some of the options
  1040. Xlisted may be inactive in your dungeon.
  1041. X.lp BIOS\ \ \ \ 
  1042. XUse BIOS calls to update the screen
  1043. Xdisplay quickly and to read the keyboard (allowing the use of arrow
  1044. Xkeys to move) on machines with an IBM PC compatible BIOS ROM (default off,
  1045. XOS/2, PC, and ST NetHack only).
  1046. X.lp catname
  1047. XName your starting cat (ex. ``catname:Morris'').
  1048. XCannot be set with the `O' command.
  1049. X.lp checkpoint
  1050. XSave game state after each level change, for possible recovery after
  1051. Xprogram crash (default on).
  1052. X.lp color\ \ \ 
  1053. XUse color for different monsters, objects, and dungeon features
  1054. X(default on for microcomputers).
  1055. X.lp confirm\ 
  1056. XHave user confirm attacks on pets, shopkeepers, and other
  1057. Xpeaceable creatures (default on).
  1058. X.lp DECgraphics
  1059. XUse a predefined selection of characters from the DEC VT-xxx/DEC Rainbow/
  1060. XANSI line-drawing character set to display the dungeon instead of having
  1061. Xto define a full graphics set yourself (default off).
  1062. XCannot be set with the `O' command.
  1063. X.lp disclose
  1064. XOffer to identify your inventory and intrinsics when the
  1065. Xgame ends (default on).
  1066. X.lp dogname
  1067. XName your starting dog (ex. ``dogname:Fang'').
  1068. XCannot be set with the `O' command.
  1069. X.lp female
  1070. XSet your sex (default off).
  1071. XCannot be set with the `O' command.
  1072. X.lp fixinv
  1073. XAn object's inventory letter sticks to it when it's dropped (default on).
  1074. XIf this is off, dropping an object shifts all the remaining inventory letters.
  1075. X.lp fruit\ \ \ 
  1076. XName a fruit after something you enjoy eating (ex. ``fruit:mango'')
  1077. X(default ``slime mold''.  Basically a nostalgic whimsy that NetHack uses
  1078. Xfrom time to time.  You should set this to something you find more
  1079. Xappetizing than slime mold.  Apples, oranges, pears, bananas, and melons
  1080. Xalready exist in NetHack, so don't use those.
  1081. X.lp graphics
  1082. XSet the graphics symbols for screen displays
  1083. X(default \&`` |--
  1084. X.br
  1085. X.nf
  1086. X------||.-|++.##<><>\\^"_\\\\#{}.}..## #}|-\\\\/*!)(0#@*/-\\\\||\\\\-
  1087. X.fi
  1088. X//-\\\\| |\\\\-/'').
  1089. XIf specified, the
  1090. X.op graphics
  1091. Xoption should come last, followed by a string of 1-69
  1092. Xcharacters to be used instead of the default map-drawing characters.
  1093. XThe dungeon map will use the characters you specify instead of the
  1094. Xdefault symbols.
  1095. XRemember that you may need to escape some of these characters
  1096. Xif, for example, you use \fIcsh\fP.
  1097. X
  1098. XThe
  1099. X.op DECgraphics
  1100. Xand
  1101. X.op IBMgraphics
  1102. Xoptions use predefined selections of graphics symbols, so you need not
  1103. Xgo to the trouble of setting up a full graphics string for these common
  1104. Xcases.  These two options also set up proper handling of graphics
  1105. Xcharacters for such terminals, so you should specify them as appropriate
  1106. Xeven if you override the selections with your own graphics string.
  1107. X
  1108. XNote that this option string is now escape-processed in conventional C
  1109. Xfashion.  This means that `\\' is a prefix to take the following
  1110. Xcharacter literally, and not as a special prefix.  Your graphics
  1111. Xstrings for NetHack 2.2 and older versions may contain a `\\'; it must
  1112. Xbe doubled for the same effect now.  The special escape form `\\m'
  1113. Xswitches on the meta bit in the following character, and the `^'
  1114. Xprefix causes the following character to be treated as a control
  1115. Xcharacter (so any `^' in your old graphics strings should be changed
  1116. Xto `\\^' now).  Also note that there are more symbols in a different
  1117. Xorder than used for NetHack 3.0.
  1118. X
  1119. XThe order of the symbols is: solid rock, vertical wall, horizontal
  1120. Xwall, upper left corner, upper right corner, lower left corner, lower
  1121. Xright corner, cross wall, upward T wall, downward T wall, leftward T
  1122. Xwall, rightward T wall, no door, vertical open door, horizontal open
  1123. Xdoor, vertical closed door, horizontal closed door, floor of a room,
  1124. Xdark corridor, lit corridor, stairs up, stairs down, ladder up, ladder
  1125. Xdown, trap, web, altar, throne, kitchen sink, fountain, pool or moat,
  1126. Xice, lava, vertical lowered drawbridge, horizontal lowered drawbridge,
  1127. Xvertical raised drawbridge, horizontal raised drawbridge, air, cloud,
  1128. Xunder water, vertical beam, horizontal beam, left slant, right slant,
  1129. Xdigging beam, camera flash beam, left boomerang, right boomerang, four
  1130. Xglyphs giving the sequence for magic resistance displays; the eight
  1131. Xsurrounding glyphs for swallowed display; nine glyphs for explosions.
  1132. XAn explosion consists of three rows (top, middle, and bottom) of three
  1133. Xcharacters.  The explosion is centered in the center of this 3 by 3
  1134. Xarray.
  1135. X
  1136. XYou might want to use `+' for the corners and T walls for a more
  1137. Xaesthetic, boxier display.  Note that in the next release, new symbols
  1138. Xmay be added, or the present ones rearranged.
  1139. X
  1140. XCannot be set with the `O' command.
  1141. X.lp help
  1142. XIf more information is available for an object looked at
  1143. Xwith the `/' command, ask if you want to see it (default on). Turning help
  1144. Xoff makes just looking at things faster, since you aren't interrupted with the
  1145. X``More info?'' prompt, but it also means that you might miss some
  1146. Xinteresting and/or important information.
  1147. X.lp hilite_pet
  1148. XHighlight pets when color is turned off (default off).
  1149. X.lp IBMgraphics
  1150. XUse a predefined selection of IBM extended ASCII characters to display the
  1151. Xdungeon instead of having to define a full graphics set yourself (default off).
  1152. XCannot be set with the `O' command.
  1153. X.lp ignintr
  1154. XIgnore interrupt signals, including breaks (default off).
  1155. X.lp legacy
  1156. XDisplay an introductory message when starting the game (default on).
  1157. X.lp lit_corridor
  1158. XShow corridor squares seen by night vision or a light source held by your
  1159. Xcharacter as lit (default off).
  1160. X.lp male\ \ \ \ 
  1161. XSet your sex (default on, most hackers are male).
  1162. XCannot be set with the `O' command.
  1163. X.lp monsters
  1164. XSet the characters used to display monster classes (default
  1165. X``abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@\ \\&;:~]'').
  1166. XThis string is subjected to the same processing as the
  1167. X.op graphics
  1168. Xoption.
  1169. XThe order of the symbols is
  1170. Xant or other insect, blob, cockatrice,
  1171. Xdog or other canine, eye or sphere, feline,
  1172. Xgremlin, humanoid, imp or minor demon,
  1173. Xjelly, kobold, leprechaun,
  1174. Xmimic, nymph, orc,
  1175. Xpiercer, quadruped, rodent,
  1176. Xspider, trapper or lurker above, unicorn,
  1177. Xvortex, worm, xan or other mythical/fantastic insect,
  1178. Xlight, zruty,
  1179. Xangelic being, bat, centaur,
  1180. Xdragon, elemental, fungus or mold,
  1181. Xgnome, giant humanoid, invisible stalker,
  1182. Xjabberwock, Keystone Kop, lich,
  1183. Xmummy, naga, ogre,
  1184. Xpudding or ooze, quantum mechanic, rust monster,
  1185. Xsnake, troll, umber hulk,
  1186. Xvampire, wraith, xorn,
  1187. Xyeti or ape or other large beast, zombie,
  1188. Xhuman, ghost, golem,
  1189. Xdemon, sea monster, lizard,
  1190. Xlong worm tail, and mimic.
  1191. XCannot be set with the `O' command.
  1192. X.lp msghistory
  1193. XThe number of top line messages to save (and recall with ^P) (default 20).
  1194. XCannot be set with the `O' command.
  1195. X.lp name\ \ \ \ 
  1196. XSet your character's name (defaults to your user name).  You can also
  1197. Xset your character class by appending a dash and the first letter of
  1198. Xthe character class (that is, by suffixing one of
  1199. X.op "-A -B -C -E -H -K -P -R -S -T -V -W" ).
  1200. XCannot be set with the `O' command.
  1201. X.lp news\ \ \ \ 
  1202. XRead the NetHack news file, if present (default on).
  1203. XSince the news is shown at the beginning of the game, there's no point
  1204. Xin setting this with the `O' command.
  1205. X.lp null\ \ \ \ 
  1206. XSend padding nulls to the terminal (default off).
  1207. X.lp number_pad
  1208. XUse the number keys to move instead of [yuhjklbn] (default off).
  1209. X.lp objects
  1210. XSet the characters used to display object classes
  1211. X(default ``])[="(%!?+/$*`0_.'').
  1212. XThis string is subjected to the same processing as the
  1213. X.op graphics
  1214. Xoption.
  1215. XThe order of the symbols is
  1216. Xillegal-object (should never be seen), weapon, armor, ring, amulet, tool,
  1217. Xfood, potion, scroll, spell book, wand, gold, gem or rock, boulder or statue,
  1218. Xiron ball, chain, and venom.
  1219. XCannot be set with the `O' command.
  1220. X.lp packorder
  1221. XSpecify the order to list object types in (default ``\\")[%?+/=!(*`0_'').
  1222. XThe value of this option should be a string containing the
  1223. Xsymbols for the various object types.
  1224. X.lp pettype
  1225. XSpecify the type of your initial pet, if you are playing a character class
  1226. Xthat uses both types of pets.  Possible values are ``cat'' and ``dog''.
  1227. XCannot be set with the `O' command.
  1228. X.lp pickup\ \ 
  1229. XPick up things you move onto by default (default on).
  1230. X.lp rawio\ \ \ 
  1231. XForce raw (non-cbreak) mode for faster output and more
  1232. Xbulletproof input (MS-DOS sometimes treats `^P' as a printer toggle
  1233. Xwithout it) (default off).  Note:  DEC Rainbows hang if this is turned on.
  1234. XCannot be set with the `O' command.
  1235. X.lp rest_on_space
  1236. XMake the space bar a synonym for the `.' (rest) command (default off).
  1237. X.lp safe_pet
  1238. XPrevent you from (knowingly) attacking your pets (default on).
  1239. X.lp scores
  1240. XControl what parts of the score list you are shown at the end (ex.
  1241. X``scores:5 top scores/4 around my score/own scores'').  Only the first
  1242. Xletter of each category (`t', `a', or `o') is necessary.
  1243. X.lp showexp
  1244. XShow your accumulated experience points on bottom line (default off).
  1245. X.lp showscore
  1246. XShow your approximate accumulated score on bottom line (default off).
  1247. X.lp silent\ \ 
  1248. XSuppress terminal beeps (default on).
  1249. X.lp sortpack
  1250. XSort the pack contents by type when displaying inventory (default on).
  1251. X.lp standout
  1252. XBoldface monsters and ``\fB--More--\fP'' (default off).
  1253. X.lp time\ \ \ \ 
  1254. XShow the elapsed game time in turns on bottom line (default off).
  1255. X.lp tombstone
  1256. XDraw a tombstone graphic upon your death (default on).
  1257. X.lp verbose
  1258. XProvide more commentary during the game (default on).
  1259. X.lp windowtype
  1260. XSelect which windowing system to use, such as ``tty'' or ``X11''
  1261. X(default depends on version).
  1262. XCannot be set with the `O' command.
  1263. X
  1264. X.hn 1
  1265. XScoring
  1266. X.pg
  1267. XNetHack maintains a list of the top scores or scorers on your machine,
  1268. Xdepending on how it is set up.  In the latter case, each account on
  1269. Xthe machine can post only one non-winning score on this list.  If
  1270. Xyou score higher than someone else on this list, or better your
  1271. Xprevious score, you will be inserted in the proper place under your
  1272. Xcurrent name.  How many scores are kept can also be set up when
  1273. XNetHack is compiled.
  1274. X.pg
  1275. XYour score is chiefly based upon how much experience you gained, how
  1276. Xmuch loot you accumulated, how deep you explored, and how the game
  1277. Xended.  If you quit the game, you escape with all of your gold intact.
  1278. XIf, however, you get killed in the Mazes of Menace, the guild will
  1279. Xonly hear about 90% of your gold when your corpse is discovered
  1280. X(adventurers have been known to collect finder's fees).  So, consider
  1281. Xwhether you want to take one last hit at that monster and possibly
  1282. Xlive, or quit and stop with whatever you have.  If you quit, you keep
  1283. Xall your gold, but if you swing and live, you might find more.
  1284. X.pg
  1285. XIf you just want to see what the current top players/games list is, you
  1286. Xcan type \fBnethack -s all\fP on most versions.
  1287. X
  1288. X.hn 1
  1289. XExplore mode
  1290. X.pg
  1291. XNetHack is an intricate and difficult game.  Novices might falter
  1292. Xin fear, aware of their ignorance of the means to survive.  Well, fear
  1293. Xnot.  Your dungeon may come equipped with an ``explore'' or ``discovery''
  1294. Xmode that enables you to keep old save files and cheat death, at the
  1295. Xpaltry cost of not getting on the high score list.
  1296. X.pg
  1297. XThere are two ways of enabling explore mode.  One is to start the game
  1298. Xwith the
  1299. X.op -X
  1300. Xswitch.  The other is to issue the `X' command while already playing
  1301. Xthe game.  The other benefits of explore mode are left for the trepid
  1302. Xreader to discover.
  1303. X
  1304. X.hn
  1305. XCredits
  1306. X.pg
  1307. XThe original \fIhack\fP game was modeled on the Berkeley 
  1308. X.ux
  1309. X\fIrogue\fP game.  Large portions of this paper were shamelessly
  1310. Xcribbed from \fIA Guide to the Dungeons of Doom\fP, by Michael C. Toy
  1311. Xand Kenneth C. R. C. Arnold.  Small portions were adapted from
  1312. X\fIFurther Exploration of the Dungeons of Doom\fP, by Ken Arromdee.
  1313. X.pg
  1314. XNetHack is the product of literally dozens of people's work.
  1315. XMain events in the course of the game development are described below:
  1316. X
  1317. X.pg
  1318. X\fBJay Fenlason\fP wrote the original Hack, with help from
  1319. X\fBKenny Woodland\fP, \fBMike Thome\fP and \fBJon Payne\fP.
  1320. X.pg
  1321. X\fBAndries Brouwer\fP did a major re-write, transforming Hack into a
  1322. Xvery different game, and published (at least) three versions (1.0.1,
  1323. X1.0.2, and 1.0.3) for
  1324. X.ux
  1325. Xmachines to the Usenet.
  1326. X.pg
  1327. X\fBDon G. Kneller\fP ported Hack 1.0.3 to Microsoft C and MS-DOS, producing PC
  1328. XHACK 1.01e, added support for DEC Rainbow graphics in version 1.03g, and went
  1329. Xon to produce at least four more versions (3.0, 3.2, 3.51, and 3.6).
  1330. X.pg
  1331. X\fBR. Black\fP ported PC HACK 3.51 to Lattice C and the Atari 520/1040ST,
  1332. Xproducing ST Hack 1.03.
  1333. X.pg
  1334. X\fBMike Stephenson\fP merged these various versions back together,
  1335. Xincorporating many of the added features, and produced NetHack 1.4.
  1336. XHe then coordinated a cast of thousands in enhancing and debugging
  1337. XNetHack 1.4 and released NetHack versions 2.2 and 2.3.
  1338. X.pg
  1339. XLater, Mike coordinated a major rewrite of the game, heading a
  1340. Xteam which included \fBKen Arromdee\fP, \fBJean-Christophe Collet\fP, \fBSteve
  1341. XCreps\fP, \fBEric Hendrickson\fP, \fBIzchak Miller\fP, \fBJohn Rupley\fP,
  1342. X\fBMike Threepoint\fP, and \fBJanet Walz\fP, to produce NetHack 3.0c.
  1343. X.pg
  1344. XNetHack 3.0 was ported to the Atari by \fBEric R. Smith\fP, to OS/2 by
  1345. X\fBTimo Hakulinen\fP, and to VMS by \fBDavid Gentzel\fP.  The three of them
  1346. Xand \fBKevin Darcy\fP later joined the main development team to produce
  1347. Xsubsequent revisions of 3.0.
  1348. X.pg
  1349. X\fBOlaf Seibert\fP ported NetHack 2.3 and 3.0 to the Amiga.
  1350. X\fBNorm Meluch\fP, \fBStephen Spackman\fP and \fBPierre Martineau\fP designed
  1351. Xoverlay code for PC NetHack 3.0.  \fBJohnny Lee\fP ported
  1352. XNetHack 3.0 to the Macintosh.  Along with various other Dungeoneers, they
  1353. Xcontinued to enhance the PC, Macintosh, and Amiga ports through the later
  1354. Xrevisions of 3.0.
  1355. X.pg
  1356. XHeaded by \fBMike Stephenson\fP and coordinated by \fBIzchak Miller\fP and
  1357. X\fBJanet Walz\fP, the development team which now included \fBKen Arromdee\fP,
  1358. X\fBDavid Cohrs\fP, \fBJean-Christophe Collet\fP, \fBKevin Darcy\fP,
  1359. X\fBMatt Day\fP, \fBTimo Hakulinen\fP, \fBSteve Linhart\fP, \fBDean Luick\fP,
  1360. X\fBPat Rankin\fP, \fBEric Raymond\fP, and \fBEric Smith\fP undertook a radical
  1361. Xrevision of 3.0.  They re-structured the game's design, and re-wrote major
  1362. Xparts of the code.  They added multiple dungeons, a new display, special
  1363. Xindividual character quests, a new endgame and many other new features, and
  1364. Xproduced NetHack 3.1.
  1365. X.pg
  1366. X\fBKen Lorber\fP, \fBGregg Wonderly\fP and \fBGreg Olson\fP, with help
  1367. Xfrom \fBRichard Addison\fP, \fBMike Passaretti\fP, and \fBOlaf Seibert\fP,
  1368. Xdeveloped NetHack 3.1 for the Amiga.
  1369. X.pg
  1370. X\fBNorm Meluch\fP and \fBKevin Smolkowski\fP, with help from
  1371. X\fBCarl Schelin\fP, \fBStephen Spackman\fP, \fBSteve VanDevender\fP,
  1372. Xand \fBPaul Winner\fP, ported NetHack 3.1 to the PC.
  1373. X.pg
  1374. X\fBJon Watte\fP, with help from \fBRoss Brown\fP, \fBMike Engber\fP,
  1375. X\fBDavid Hairston\fP, \fBMichael Hamel\fP, \fBJonathan Handler\fP,
  1376. X\fBJohnny Lee\fP, \fBTim Lennan\fP, \fBRob Menke\fP, \fBAndy Swanson\fP, and
  1377. Xespecially from \fBHao-yang Wang\fP, developed NetHack 3.1 for the Macintosh.
  1378. X.pg
  1379. X\fBTimo Hakulinen\fP ported NetHack 3.1 to OS/2.  \fBEric Smith\fP
  1380. Xported NetHack 3.1 to the Atari.  \fBPat Rankin\fP, with help from
  1381. X\fBJoshua Delahunty\fP, is responsible for the VMS version of NetHack 3.1.
  1382. X.pg
  1383. X\fBDean Luick\fP, with help from \fBDavid Cohrs\fP, developed NetHack
  1384. X3.1 for X11.
  1385. X
  1386. X.pg
  1387. XFrom time to time, some depraved individual out there in netland sends a
  1388. Xparticularly intriguing modification to help out with the game.  The Gods of
  1389. Xthe Dungeon sometimes make note of the names of the worst of these miscreants
  1390. Xin this, the list of Dungeoneers:
  1391. X
  1392. X.sd
  1393. X.TS S
  1394. Xcenter;
  1395. Xc c c.
  1396. XRichard Addison    Eric Hendrickson    Mike Passaretti
  1397. XTom Almy    Bruce Holloway    Pat Rankin
  1398. XKen Arromdee    Richard P. Hughey    Eric S. Raymond
  1399. XEric Backus    Ari Huttunen    Frederick Roeber
  1400. XJohn S. Bien    John Kallen    John Rupley
  1401. XRalf Brown    Del Lamb    Carl Schelin
  1402. XRoss Brown    Greg Laskin    Olaf Seibert
  1403. XDavid Cohrs    Johnny Lee    Kevin Sitze
  1404. XJean-Christophe Collet    Tim Lennan    Eric R. Smith
  1405. XSteve Creps    Merlyn LeRoy    Kevin Smolkowski
  1406. XKevin Darcy    Steve Linhart    Michael Sokolov
  1407. XMatthew Day    Ken Lorber    Stephen Spackman
  1408. XJoshua Delahunty    Dean Luick    Andy Swanson
  1409. XBill Dyer    Benson I. Margulies    Kevin Sweet
  1410. XMike Engber    Pierre Martineau    Scott R. Turner
  1411. XJochen Erwied    Roland McGrath    Steve VanDevender
  1412. XMike Gallop    Norm Meluch    Janet Walz   
  1413. XDavid Gentzel    Rob Menke    Hao-yang Wang
  1414. XMark Gooderum    Deron Meranda    Jon Watte
  1415. XDavid Hairston    Bruce Mewborne    Tom West
  1416. XTimo Hakulinen    Izchak Miller    Paul Winner
  1417. XMichael Hamel    Gil Neiger    Gregg Wonderly
  1418. XJonathan Handler    Greg Olson
  1419. X.TE
  1420. X.ed
  1421. X
  1422. X.\"Microsoft and MS-DOS are registered trademarks of Microsoft Corporation.
  1423. X.\"Lattice is a trademark of Lattice, Inc.
  1424. X.\"Atari and 1040ST are trademarks of Atari, Inc.
  1425. X.\"AMIGA is a trademark of Commodore-Amiga, Inc.
  1426. X.sm "Brand and product names are trademarks or registered trademarks \
  1427. Xof their respective holders."
  1428. END_OF_FILE
  1429. if test 52923 -ne `wc -c <'doc/Guidebook.mn'`; then
  1430.     echo shar: \"'doc/Guidebook.mn'\" unpacked with wrong size!
  1431. fi
  1432. # end of 'doc/Guidebook.mn'
  1433. fi
  1434. if test -f 'sys/amiga/splitter/multi.c' -a "${1}" != "-c" ; then 
  1435.   echo shar: Will not clobber existing file \"'sys/amiga/splitter/multi.c'\"
  1436. else
  1437. echo shar: Extracting \"'sys/amiga/splitter/multi.c'\" \(2284 characters\)
  1438. sed "s/^X//" >'sys/amiga/splitter/multi.c' <<'END_OF_FILE'
  1439. X/*     SCCS Id: @(#)multi.c 3.1    93/01/08
  1440. X/*    Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1992, 1993  */
  1441. X/* NetHack may be freely redistributed.  See license for details. */
  1442. X
  1443. X/*
  1444. X * NB - internal structure under development.  End users should NOT
  1445. X *      get too creative!
  1446. X */
  1447. X#include <exec/types.h>
  1448. X#include <exec/memory.h>
  1449. X#include <proto/dos.h>
  1450. X#include <proto/exec.h>
  1451. X#include <dos.h>
  1452. X#include <string.h>
  1453. X#include <assert.h>
  1454. X#include "multi.h"
  1455. X
  1456. Xstatic int start_next_file(multifh *);    /* should return enum */
  1457. XBPTR
  1458. XMultiOpen(char *dirfile, ULONG mode, union multiopts *mo){
  1459. X    multifh *retval;
  1460. X
  1461. X    assert(mode==MODE_OLDFILE);    /* no chioce this version */
  1462. X    retval=(multifh *)AllocMem(sizeof(multifh),MEMF_CLEAR);
  1463. X    if(retval){
  1464. X        retval->mfh_dirfh=Open(dirfile,MODE_OLDFILE);
  1465. X        if(retval->mfh_dirfh){
  1466. X            retval->mfh_mo= *mo;
  1467. X            if(start_next_file(retval)==1){
  1468. X                return((BPTR)retval);        /* success */
  1469. X            }
  1470. X        }
  1471. X    }
  1472. X
  1473. X    if(retval)FreeMem(retval,sizeof(multifh));
  1474. X    return 0;
  1475. X}
  1476. X
  1477. XULONG
  1478. XMultiRead(BPTR xmfp, ULONG *where, ULONG len){
  1479. X    multifh *mfp=(multifh *)xmfp;
  1480. X    ULONG sofar=0;
  1481. X    ULONG this;
  1482. X
  1483. X    if(len<=0)return len;
  1484. X    if(mfp->mfh_fh==0)return 0;    /* pending EOF (possibly premature) */
  1485. X
  1486. X    while(sofar<len){
  1487. X        this=Read(mfp->mfh_fh,where,len-sofar);
  1488. X        if(this==-1) return -1;
  1489. X        if(this==0){
  1490. X            Close(mfp->mfh_fh);
  1491. X            mfp->mfh_fh=0;
  1492. X            if(start_next_file(mfp)<=0){
  1493. X                return sofar;
  1494. X            }
  1495. X        }
  1496. X        sofar += this; where += this;
  1497. X    }
  1498. X    return sofar;
  1499. X}
  1500. X
  1501. Xvoid
  1502. XMultiClose(BPTR xmfp){
  1503. X    multifh *mfp=(multifh *)xmfp;
  1504. X    if(mfp->mfh_dirfh)Close(mfp->mfh_dirfh);
  1505. X    if(mfp->mfh_fh)Close(mfp->mfh_fh);
  1506. X    FreeMem(mfp,sizeof(multifh));
  1507. X}
  1508. X
  1509. X/* return 0==no more data, -1 error.  else more data available unless file
  1510. X * is empty
  1511. X */
  1512. Xstatic
  1513. Xstart_next_file(multifh *mfp){
  1514. X    ULONG t;
  1515. X    char line[100];        /* should be based on PATHLEN */
  1516. X    char *eol;
  1517. X
  1518. X    while(1){
  1519. X        t=Read(mfp->mfh_dirfh,line,99);
  1520. X        if(t==0)return(0);
  1521. X        if(t==-1)return(-1);
  1522. X
  1523. X        line[t]='\0';
  1524. X        eol=strchr(line,'\n');
  1525. X        if(eol){
  1526. X            *eol='\0';
  1527. X            Seek(mfp->mfh_dirfh,-(t-(eol-line))+1,OFFSET_CURRENT);
  1528. X        }
  1529. X        switch(line[0]){
  1530. X        case '\0':
  1531. X        case '#':
  1532. X            break;            /* comment, blank lines */
  1533. X        default:
  1534. X            if(line[0]==mfp->mfh_mo.r.mor_tag){
  1535. X                mfp->mfh_fh=Open(&line[1],MODE_OLDFILE);
  1536. X                if(!mfp->mfh_fh){
  1537. X                    return -1;    /* error */
  1538. X                }
  1539. X                return 1;
  1540. X            }
  1541. X        }
  1542. X    }
  1543. X}
  1544. END_OF_FILE
  1545. if test 2284 -ne `wc -c <'sys/amiga/splitter/multi.c'`; then
  1546.     echo shar: \"'sys/amiga/splitter/multi.c'\" unpacked with wrong size!
  1547. fi
  1548. # end of 'sys/amiga/splitter/multi.c'
  1549. fi
  1550. echo shar: End of archive 6 \(of 108\).
  1551. cp /dev/null ark6isdone
  1552. MISSING=""
  1553. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
  1554. 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
  1555. 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 \
  1556. 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 \
  1557. 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 \
  1558. 101 102 103 104 105 106 107 108 ; do
  1559.     if test ! -f ark${I}isdone ; then
  1560.     MISSING="${MISSING} ${I}"
  1561.     fi
  1562. done
  1563. if test "${MISSING}" = "" ; then
  1564.     echo You have unpacked all 108 archives.
  1565.     echo "Now execute 'rebuild.sh'"
  1566.     rm -f ark10[0-8]isdone ark[1-9]isdone ark[1-9][0-9]isdone
  1567. else
  1568.     echo You still need to unpack the following archives:
  1569.     echo "        " ${MISSING}
  1570. fi
  1571. ##  End of shell archive.
  1572. exit 0
  1573.