summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-20 12:06:19 +0000
committerru <ru@FreeBSD.org>2000-11-20 12:06:19 +0000
commitdfd5860ef3535d51b53ac17c3a806eafee96cefc (patch)
tree05adf406ec36b48707c0a8ebc7720ac8a1a3b88a /games
parent8294bdbb726244ca098ce5e411e69ef5ed52ce9a (diff)
downloadFreeBSD-src-dfd5860ef3535d51b53ac17c3a806eafee96cefc.zip
FreeBSD-src-dfd5860ef3535d51b53ac17c3a806eafee96cefc.tar.gz
mdoc(7) police: use the new features of the Nm macro.
Diffstat (limited to 'games')
-rw-r--r--games/adventure/adventure.62
-rw-r--r--games/bcd/bcd.64
-rw-r--r--games/caesar/caesar.64
-rw-r--r--games/dm/dm.810
-rw-r--r--games/fortune/fortune/fortune.64
-rw-r--r--games/fortune/strfile/strfile.88
-rw-r--r--games/larn/larn.64
-rw-r--r--games/number/number.62
-rw-r--r--games/piano/piano.612
-rw-r--r--games/pig/pig.62
-rw-r--r--games/quiz/quiz.610
-rw-r--r--games/random/random.64
-rw-r--r--games/wargames/wargames.64
-rw-r--r--games/worms/worms.62
14 files changed, 37 insertions, 35 deletions
diff --git a/games/adventure/adventure.6 b/games/adventure/adventure.6
index 501a3e1..a673585 100644
--- a/games/adventure/adventure.6
+++ b/games/adventure/adventure.6
@@ -44,7 +44,7 @@
.Nm adventure
.Nd an exploration game
.Sh SYNOPSIS
-.Nm adventure
+.Nm
.Op saved-file
.Sh DESCRIPTION
The object of the game is to locate and explore Colossal Cave, find the
diff --git a/games/bcd/bcd.6 b/games/bcd/bcd.6
index 88a76de..41a5188 100644
--- a/games/bcd/bcd.6
+++ b/games/bcd/bcd.6
@@ -41,7 +41,7 @@
.Nm morse
.Nd "reformat input as punch cards, paper tape or morse code"
.Sh SYNOPSIS
-.Nm bcd
+.Nm
.Op Ar string ...
.Nm ppt
.Op Ar string ...
@@ -55,7 +55,7 @@
.Op Ar string ...
.Sh DESCRIPTION
The commands
-.Nm bcd ,
+.Nm ,
.Nm ppt
and
.Nm morse
diff --git a/games/caesar/caesar.6 b/games/caesar/caesar.6
index 59abc49..4ba2e65 100644
--- a/games/caesar/caesar.6
+++ b/games/caesar/caesar.6
@@ -39,11 +39,11 @@
.Nm caesar
.Nd decrypt caesar ciphers
.Sh SYNOPSIS
-.Nm caesar
+.Nm
.Op Ar rotation
.Sh DESCRIPTION
The
-.Nm caesar
+.Nm
utility attempts to decrypt caesar ciphers using English letter frequency
statistics.
.Nm Caesar
diff --git a/games/dm/dm.8 b/games/dm/dm.8
index f324db6..3c9600b 100644
--- a/games/dm/dm.8
+++ b/games/dm/dm.8
@@ -47,7 +47,7 @@ is a program used to regulate game playing.
.Nm Dm
expects to be invoked with the name of a game that a user wishes to play.
This is done by creating symbolic links to
-.Nm dm ,
+.Nm ,
in the directory
.Pa /usr/games
for all of the regulated games.
@@ -56,7 +56,7 @@ The actual binaries for these games should be placed in a
directory,
.Pa /usr/games/hide ,
that may only be accessed by the
-.Nm dm
+.Nm
program.
.Nm Dm
determines if the requested game is available and, if so, runs it.
@@ -87,7 +87,7 @@ game logging file
.Xr dm.conf 5
.Sh BUGS
Two problems result from
-.Nm dm
+.Nm
running the games setuid
.Dq games .
First, all games that allow users to run
@@ -95,7 +95,7 @@ First, all games that allow users to run
commands should carefully
set both the real and effective user id's immediately before executing
those commands. Probably more important is that
-.Nm dm
+.Nm
never be setuid
anything but
.Dq games
@@ -105,6 +105,6 @@ had no reason to run setuid and which accessed user files may have to
be modified.
.Sh HISTORY
The
-.Nm dm
+.Nm
command appeared in
.Bx 4.3 tahoe .
diff --git a/games/fortune/fortune/fortune.6 b/games/fortune/fortune/fortune.6
index f58fc94..46e79b7 100644
--- a/games/fortune/fortune/fortune.6
+++ b/games/fortune/fortune/fortune.6
@@ -42,7 +42,7 @@
.Nm fortune
.Nd "print a random, hopefully interesting, adage"
.Sh SYNOPSIS
-.Nm fortune
+.Nm
.Op Fl aDefilosw
.Op Fl m Ar pattern
.Oo
@@ -51,7 +51,7 @@
.Oc
.Sh DESCRIPTION
When
-.Nm fortune
+.Nm
is run with no arguments it prints out a random epigram.
Epigrams are divided into several categories, where each category
is subdivided into those which are potentially offensive and those
diff --git a/games/fortune/strfile/strfile.8 b/games/fortune/strfile/strfile.8
index 0d992b8..2fed695 100644
--- a/games/fortune/strfile/strfile.8
+++ b/games/fortune/strfile/strfile.8
@@ -44,7 +44,7 @@
.Nm unstr
.Nd "create a random access file for storing strings"
.Sh SYNOPSIS
-.Nm strfile
+.Nm
.Op Fl iorsx
.Op Fl c Ar char
.Ar source_file
@@ -128,7 +128,7 @@ All fields are written in network byte order.
The purpose of
.Nm unstr
is to undo the work of
-.Nm strfile .
+.Nm .
It prints out the strings contained in the file
.Ar source_file
in the order that they are listed in
@@ -138,7 +138,7 @@ to standard output.
It is possible to create sorted versions of input files by using
.Fl o
when
-.Nm strfile
+.Nm
is run and then using
.Nm unstr
to dump them out in the table order.
@@ -152,5 +152,5 @@ default output file.
.El
.Sh HISTORY
The
-.Nm strfile
+.Nm
utility first appeared in 4.4BSD.
diff --git a/games/larn/larn.6 b/games/larn/larn.6
index ec55fef..13cd0f6 100644
--- a/games/larn/larn.6
+++ b/games/larn/larn.6
@@ -39,7 +39,7 @@
.Nm larn
.Nd exploring the caverns of Larn
.Sh SYNOPSIS
-.Nm larn
+.Nm
.Op Fl r
.Op Fl H Ar number
.Op Fl n
@@ -100,7 +100,7 @@ v print program version S save the game D list all items found
The file
.Pa ~/.larnopts
may be used to set a few options for
-.Nm Larn.
+.Nm Larn .
A sequence of words terminated by whitespace is used to specify options.
.Pp
.Bl -tag -width "savefile: xsave-file-namex" -compact
diff --git a/games/number/number.6 b/games/number/number.6
index 4aa6a0c..c5081e8 100644
--- a/games/number/number.6
+++ b/games/number/number.6
@@ -39,7 +39,7 @@
.Nm number
.Nd convert Arabic numerals to English
.Sh SYNOPSIS
-.Nm number
+.Nm
.Op Fl l
.Op Ar \&# ...
.Sh DESCRIPTION
diff --git a/games/piano/piano.6 b/games/piano/piano.6
index 7c80cdf..f98cea5 100644
--- a/games/piano/piano.6
+++ b/games/piano/piano.6
@@ -1,3 +1,5 @@
+.\" $FreeBSD$
+.\"
.Dd Feb 3, 1995
.Dt "PIANO" 6
.Os
@@ -5,12 +7,12 @@
.Nm piano
.Nd "a piano emulator"
.Sh SYNOPSIS
-.Nm piano
+.Nm
.Op Fl vV
.Op Fl i Ar string
.Sh DESCRIPTION
The
-.Nm piano
+.Nm
plays note by typing
.Em "QWERTYUIOP[]"
or
@@ -18,7 +20,7 @@ or
Type
.Em ESC
key to quit
-.Nm piano .
+.Nm .
.Nm Piano
uses
.Em /dev/speaker .
@@ -29,14 +31,14 @@ Available option:
The
.Fl v
option causes
-.Nm piano
+.Nm
to generate
.Em "play-string language" .
.It Fl V
The
.Fl V
option is for
-.Nm piano
+.Nm
usage.
.It Fl i Ar string
The
diff --git a/games/pig/pig.6 b/games/pig/pig.6
index c97b50f..f67c475 100644
--- a/games/pig/pig.6
+++ b/games/pig/pig.6
@@ -39,7 +39,7 @@
.Nm pig
.Nd eformatray inputway asway Igpay Atinlay
.Sh SYNOPSIS
-.Nm pig
+.Nm
.Sh DESCRIPTION
Ethay
.Nm igpay
diff --git a/games/quiz/quiz.6 b/games/quiz/quiz.6
index ebd67dc..d8706db 100644
--- a/games/quiz/quiz.6
+++ b/games/quiz/quiz.6
@@ -42,17 +42,17 @@
.Nm quiz
.Nd random knowledge tests
.Sh SYNOPSIS
-.Nm quiz
+.Nm
.Op Fl t
.Op Fl i Ar file
.Op Ar question answer
.Sh DESCRIPTION
The
-.Nm quiz
+.Nm
utility tests your knowledge of random facts.
It has a database of subjects from which you can choose.
With no arguments,
-.Nm quiz
+.Nm
displays the list of available subjects.
.Pp
The options are as follows:
@@ -76,7 +76,7 @@ untimely demise, whereas the command ``quiz killer victim'' works the
other way around.
.Pp
If you get the answer wrong,
-.Nm quiz
+.Nm
lets you try again.
To see the right answer, enter a blank line.
.Sh "Index and Data File Syntax"
@@ -108,7 +108,7 @@ characters, or at the end of a line to signify that a continuation line
follows.
.Pp
If either a question or its answer is empty,
-.Nm quiz
+.Nm
will refrain from asking it.
.Sh FILES
.Bl -tag -width /usr/share/games/quiz.db -compact
diff --git a/games/random/random.6 b/games/random/random.6
index 63eddb2..503e03f 100644
--- a/games/random/random.6
+++ b/games/random/random.6
@@ -39,7 +39,7 @@
.Nm random
.Nd random lines from a file or random numbers
.Sh SYNOPSIS
-.Nm random
+.Nm
.Op Fl er
.Op Ar denominator
.Sh DESCRIPTION
@@ -56,7 +56,7 @@ The options are as follows:
If the
.Fl e
option is specified,
-.Nm random
+.Nm
does not read or write anything, and simply exits with a random
exit value of 0 to
.Ar denominator
diff --git a/games/wargames/wargames.6 b/games/wargames/wargames.6
index ce05dd5..5f52490 100644
--- a/games/wargames/wargames.6
+++ b/games/wargames/wargames.6
@@ -35,11 +35,11 @@
.Nm wargames
.Nd shall we play a game?
.Sh SYNOPSIS
-.Nm wargames
+.Nm
.Sh DESCRIPTION
.Dq Shall we play a game?
-- computer,
-.Nm wargames
+.Nm
.Pp
Just like in the movie, the computer will happily play a
game with you. The likelihood of Global Thermonuclear Warfare
diff --git a/games/worms/worms.6 b/games/worms/worms.6
index 374d18d..db9b6cb 100644
--- a/games/worms/worms.6
+++ b/games/worms/worms.6
@@ -38,7 +38,7 @@
.Nm worms
.Nd animate worms on a display terminal
.Sh SYNOPSIS
-.Nm worms
+.Nm
.Op Fl ft
.Op Fl d Ar delay
.Op Fl l Ar length
OpenPOWER on IntegriCloud