home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / games / volume16 / nethck31 / part06 < prev    next >
Encoding:
Internet Message Format  |  1993-01-31  |  58.2 KB

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