Merge branch 'vendor/BINUTILS225'
[dragonfly.git] / games / larn / larn.6
1 .\" Copyright (c) 1990 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)larn.6      5.5 (Berkeley) 12/30/93
29 .\" $FreeBSD: src/games/larn/larn.6,v 1.6.2.3 2001/07/22 11:01:22 dd Exp $
30 .\"
31 .Dd December 30, 1993
32 .Dt LARN 6
33 .Os
34 .Sh NAME
35 .Nm larn
36 .Nd exploring the caverns of Larn
37 .Sh SYNOPSIS
38 .Nm
39 .Op Fl H Ar number
40 .Op Fl hnr
41 .Op Fl o Ar optsfile
42 .Sh DESCRIPTION
43 .Nm Larn
44 is a fantasy game in which your child has contracted
45 a strange disease, and none of your home remedies
46 seem to have any effect.  You set out to find a remedy in a limited
47 amount of time, and to collect gold along the way of course!
48 .Pp
49 The options are:
50 .Bl -tag -width "-o optsfile"
51 .It Fl H Ar number
52 Set the hardness of the game.
53 .It Fl h
54 Print the command line options.
55 .It Fl n
56 Suppress the welcome message at start up, putting you directly
57 into the game.
58 .It Fl o Ar optsfile
59 Specify a different options file than
60 .Pa ~/.larnopts .
61 .It Fl r
62 Restore a checkpointed game after it has died.
63 .El
64 .Sh COMMANDS
65 These are the keyboard commands:
66 .Bl -column "v" "print program version" "g" "give present pack weight"
67 .It Sy h Ta "move to the left" Ta Sy H Ta "run left"
68 .It Sy j Ta "move down" Ta Sy J Ta "run down"
69 .It Sy k Ta "move up" Ta Sy K Ta "run up"
70 .It Sy l Ta "move to the right" Ta Sy L Ta "run right"
71 .It Sy y Ta "move northwest" Ta Sy Y Ta "run northwest"
72 .It Sy u Ta "move northeast" Ta Sy U Ta "run northeast"
73 .It Sy b Ta "move southwest" Ta Sy B Ta "run southwest"
74 .It Sy n Ta "move southeast" Ta Sy N Ta "run southeast"
75 .It Sy \&. Ta "stay here" Ta Sy Z Ta "teleport yourself"
76 .It Sy c Ta "cast a spell" Ta Sy w Ta "wield a weapon"
77 .It Sy q Ta "quaff a potion" Ta Sy r Ta "read a scroll"
78 .It Sy W Ta "wear armor" Ta Sy T Ta "take off armor"
79 .It Sy D Ta "list all items found" Ta Sy e Ta "eat something"
80 .It Sy ^ Ta "identify a trap" Ta Sy g Ta "give present pack weight"
81 .It Sy d Ta "drop an item" Ta Sy i Ta "inventory your pockets"
82 .It Sy P Ta "give tax status" Ta Sy Q Ta "quit the game"
83 .It Sy v Ta "print program version" Ta Sy S Ta "save the game"
84 .It Sy \&? Ta "this help screen" Ta Sy A Ta "create diagnostic file"
85 .El
86 .Sh OPTIONS FILE
87 The file
88 .Pa ~/.larnopts
89 may be used to set a few options for
90 .Nm Larn .
91 A sequence of words terminated by whitespace is used to specify options.
92 .Bl -column "enable-checkpointing" "Define what the savegame filename will be."
93 .It Sy Word Ta Sy Meaning
94 .It bold-objects Ta "Select bold display of objects."
95 .It inverse-objects Ta "Select inverse video display of objects."
96 .It no-introduction Ta "Do not display intro message."
97 .It enable-checkpointing Ta "Turn on periodic checkpointing."
98 .It no-beep Ta "Disable beeping of the terminal."
99 .It male Ta "Choose your sex to be a man."
100 .It female Ta "Choose your sex to be a woman."
101 .It "name: \*qname\*q" Ta "Choose your playing name."
102 .It "monster: \*qname\*q" Ta "Choose a name for a monster."
103 .It "savefile: \*qfile\*q" Ta "Define what the savegame filename will be."
104 .El
105 .Pp
106 Your name and monster names must be enclosed in double quotation marks and may
107 be up to 34 characters long.  Longer names are truncated.
108 Anything enclosed in quotation marks is considered one word, and must be
109 separated from other words by whitespace.
110 .Sh SPECIAL NOTES
111 When
112 .Sy dropping gold ,
113 if you type '*' as your amount, all your gold gets dropped.
114 In general, typing in '*' means all of what you are interested in.
115 This is true when visiting the bank, or when contributing at altars.
116 .Pp
117 You can get out of the store, trading post, school, or home by hitting
118 .Sy <esc> .
119 .Pp
120 When casting a spell, if you need a list of spells you can cast, type \fBD\fP
121 as the first letter of your spell.  The available list of spells will be shown,
122 after which you may enter the spell code.  This only works on the 1st letter
123 of the spell you are casting.
124 .Sh FILES
125 .Bl -tag -width "/var/games/larn/lscore12.0" -compact
126 .It Pa /var/games/larn/lscore12.0
127 Score file.
128 .It Pa /var/games/larn/llog12.0
129 Log file.
130 .It Pa ~/.larnopts
131 Options file.
132 .El
133 .Sh AUTHORS
134 .An Noah Morgan