summaryrefslogtreecommitdiff
path: root/games/hunt/huntd/huntd.6
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-01-21 05:47:43 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-01-21 05:47:43 +0000
commit1a772129d4bb7fd3cbf30a9aec5043dac0dfc94f (patch)
tree44f841a07866bdf731693ed12aca0dee5905487b /games/hunt/huntd/huntd.6
parenteb646ea9c2bfc356f1f54b102fbb1b144805a08e (diff)
ident for OpenBSD
mandoc-ify manual pages use -locurses
Diffstat (limited to 'games/hunt/huntd/huntd.6')
-rw-r--r--games/hunt/huntd/huntd.6106
1 files changed, 53 insertions, 53 deletions
diff --git a/games/hunt/huntd/huntd.6 b/games/hunt/huntd/huntd.6
index c51a8c0caaa..984736b42d1 100644
--- a/games/hunt/huntd/huntd.6
+++ b/games/hunt/huntd/huntd.6
@@ -1,4 +1,5 @@
.\" $NetBSD: huntd.6,v 1.3 1998/01/09 08:03:42 perry Exp $
+.\" $OpenBSD: huntd.6,v 1.2 1999/01/21 05:47:41 d Exp $
.\"
.\" Hunt
.\" Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -8,93 +9,92 @@
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.TH HUNTD 6 "21 August 1986"
-.UC 4
-.SH NAME
-huntd \- hunt daemon, back-end for hunt game
-.SH SYNOPSIS
-\fB/usr/games/huntd\fP [ \fB\-s\fP ] [ \fB\-p\fP port ]
-.SH DESCRIPTION
-.PP
-.I huntd
+.Dd August 21, 1986
+.Os 4BSD
+.Dt HUNTD 6
+.Sh NAME
+.Nm huntd
+.Nd hunt daemon, back-end for hunt game
+.Sh SYNOPSIS
+.Nm huntd
+.Op Fl s
+.Op Fl p Ar port
+.Sh DESCRIPTION
+.Nm huntd
controls the multi-player
-.IR hunt (6)
+.Xr hunt 6
game.
When it starts up, it tries to notify all members of the
-.I hunt-players
+.Pa hunt-players
mailing list (see
-.IR sendmail (8))
+.Xr sendmail 8)
by faking a
-.IR talk (1)
-request from user ``Hunt Game''.
-.PP
+.Xr talk 1
+request from user
+.Sq Hunt Game .
+.Pp
The
-.B \-s
+.Fl s
option is for running
-.I huntd
+.Nm huntd
forever (server mode).
This is similar to running it under the control of
-.I inetd
+.Xr inetd 8
(see below),
but it consumes a process table entry when no one is playing.
-.PP
+.Pp
The
-.B \-p
+.Fl p
option changes the udp port number used to rendezvous with the player
process and thus allows for private games of hunt.
This option turns off the notification of players on the
-.I hunt-players
+.Pa hunt-players
mailing list.
-.SH INETD
-.PP
+.Sh INETD
+.Pp
To run
-.I huntd
+.Nm huntd
from
-.IR inetd ,
+.Xr inetd 8 ,
you'll need to put the
-.I hunt
+.Sq hunt
service in
-.BR /etc/services :
-.IP
-hunt 26740/udp # multi-player/multi-host mazewars
-.LP
+.Pa /etc/services :
+.Dl hunt 26740/udp # multi-player/multi-host mazewars
and add a line in
-.BR /etc/inetd.conf :
-.IP
-hunt dgram udp wait nobody /usr/games/huntd HUNT
-.LP
-except for Suns which use
-.BR /etc/servers :
-.IP
-hunt udp /usr/games/huntd
-.LP
+.Pa /etc/inetd.conf :
+.Dl hunt dgram udp wait nobody /usr/games/huntd HUNT
+.Pp
Do not use any of the command line options \(em if you want
-.I inetd
+.Xr inetd 8
to start up
-.I huntd
+.Nm huntd
on a private port, change the port listed in
-.BR /etc/services .
-.SH "NETWORK RENDEZVOUS"
+.Pa /etc/services .
+.Sh "NETWORK RENDEZVOUS"
When
-.IR hunt (6)
+.Xr hunt 6
starts up, it broadcasts on the local area net
(using the broadcast address for each interface) to find a
-.I hunt
+.Nm hunt
game in progress.
If a
-.I huntd
+.Nm huntd
hears the request, it sends back the port number for the
-.I hunt
+.Nm hunt
process to connect to.
Otherwise, the
-.I hunt
+.Nm hunt
process starts up a
-.I huntd
+.Nm huntd
on the local machine and trys to rendezvous with it.
-.SH "SEE ALSO"
-hunt(6), talk(1), sendmail(8)
-.SH AUTHORS
+.Sh "SEE ALSO"
+.Xr hunt 6 ,
+.Xr talk 1 ,
+.Xr sendmaail 8 ,
+.Xr inetd 8
+.Sh AUTHORS
Conrad Huang, Ken Arnold, and Greg Couch;
.br
University of California, San Francisco, Computer Graphics Lab
-.\"SH BUGS
+.\"Sh BUGS