mdoc(7) police: use the new features of the Nm macro.
This commit is contained in:
parent
76b86dfba6
commit
a00cb08bcb
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 .
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm number
|
||||
.Nd convert Arabic numerals to English
|
||||
.Sh SYNOPSIS
|
||||
.Nm number
|
||||
.Nm
|
||||
.Op Fl l
|
||||
.Op Ar \&# ...
|
||||
.Sh DESCRIPTION
|
||||
|
@ -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
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm pig
|
||||
.Nd eformatray inputway asway Igpay Atinlay
|
||||
.Sh SYNOPSIS
|
||||
.Nm pig
|
||||
.Nm
|
||||
.Sh DESCRIPTION
|
||||
Ethay
|
||||
.Nm igpay
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user