From 10edb7c741e6f18a72395804a90e7089ecbdb1b9 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 10 Mar 2003 00:58:06 +0000 Subject: [PATCH] Fixed up and enhanced formating of manual pages. --- man/ngircd.8 | 29 +++++++----- man/ngircd.conf.5 | 109 +++++++++++++++++++++++++++++----------------- 2 files changed, 86 insertions(+), 52 deletions(-) diff --git a/man/ngircd.8 b/man/ngircd.8 index 65e8f52a..94874f4f 100644 --- a/man/ngircd.8 +++ b/man/ngircd.8 @@ -1,5 +1,5 @@ .\" -.\" $Id: ngircd.8,v 1.7 2003/03/10 00:37:52 alex Exp $ +.\" $Id: ngircd.8,v 1.8 2003/03/10 00:58:06 alex Exp $ .\" .TH ngircd 8 "March 2003" ngircd "ngIRCd Manual" .SH NAME @@ -12,45 +12,50 @@ ngircd \- the next generation IRC daemon .BR ngircd is a free open source daemon for the Internet Relay Chat (IRC), developed under the GNU General Public License (GPL). - +.PP It's written from scratch and is not based upon the original IRCd like many others. It is easy to configure, supports server links (even with original ircd's) and runs on hosts with changing IP addresses (such as dial-in networks). - +.PP Currently supported platforms (tested versions) are: AIX (3.2.5 with IBM XL C Compiler), A/UX (3.x, Apple pre-ANSI C Compiler and GNU C), FreeBSD (4.5/i386, GNU C), HP-UX (10.20, GNU C), IRIX (6.5, SGI MIPSpro C 7.30), Linux (2.2.x/i386, 2.4.x/i386 and 2.4.x/hppa, GNU C), Mac OS X (10.x, GNU C), NetBSD (1.5.2/i386 and 1.5.3/m68k, GNU C), Solaris (2.5.1 and 2.6, GNU C), and Windows with Cygwin (GNU C). - +.PP As ngIRCd relies on UNIX standards and uses GNU automake and GNU autoconf there are good chances that it also supports other UNIX-based operating systems. - .SH OPTIONS The default behaviour of .BR ngircd is to read its standard configuration file (see below), to detach from the controlling terminal and to wait for clients. - +.PP You can use these options to modify this default: -.IP --configtest +.TP +\fB\-\-configtest\fR Read, validate and display the configuration; then exit. -.IP "-f file, --config file" +.TP +\fB\-f\fR \fIfile\fR, \fB\-\-config\fR \fIfile\fR Use .I file as configuration file. -.IP "-n, --nodaemon" +.TP +\fB\-n\fR, \fB\-\-nodaemon\fR Don't fork a child and don't detach from controlling terminal. All log messages go to the console. -.IP "-p, --passive" +.TP +\fB\-p\fR, \fB\-\-passive\fR Disable automatic connections to other servers. You can use the IRC command CONNECT later on as IRC Operator to link this ngIRCd to other servers. -.IP --version +.TP +\fB\-\-version\fR Output version information and exit. -.IP --help +.TP +\fB\-\-help\fR Display a brief help text and exit. .SH FILES .I /usr/local/etc/ngircd.conf diff --git a/man/ngircd.conf.5 b/man/ngircd.conf.5 index ef73fe11..72f29d8f 100644 --- a/man/ngircd.conf.5 +++ b/man/ngircd.conf.5 @@ -1,5 +1,5 @@ .\" -.\" $Id: ngircd.conf.5,v 1.8 2003/03/10 00:35:51 alex Exp $ +.\" $Id: ngircd.conf.5,v 1.9 2003/03/10 00:58:06 alex Exp $ .\" .TH ngircd.conf 5 "March 2003" ngircd "ngIRCd Manual" .SH NAME @@ -11,30 +11,30 @@ ngircd.conf \- configuration file of ngIRCd is the configuration file for .BR ngircd (8) which you should adept to your local preferences and needs. -.SH FILE FORMAT +.SH "FILE FORMAT" The file consists of sections and parameters. A section begins with the name of the section in square brackets and continues until the next section begins. - +.PP Sections contain parameters of the form - +.PP .RS .I name = .I value .RE - +.PP Any line beginning with a semicolon (';') or a hash ('#') character is treated as a comment and ignored. - +.PP The file format is line-based - that means, each newline-terminated line represents either a comment, a section name or a parameter. - +.PP Section and parameter names are not case sensitive. -.SH SECTION OVERVIEW +.SH "SECTION OVERVIEW" The file is separated in four blocks: [Global], [Operator], [Server], and [Channel]. - +.PP In the .I [Global] section, there is the main configuration like the server name and the @@ -51,51 +51,70 @@ The .I [Global] section is used to define the server main configuration, like the server name and the ports on which the server should be listening. -.IP Name +.TP +\fBName\fR Server name in the IRC network -.IP Info +.TP +\fBInfo\fR Info text of the server. This will be shown by WHOIS and LINKS requests for example. -.IP AdminInfo1 -.IP AdminInfo2 -.IP AdminEMail +.TP +\fBAdminInfo1\fR, \fBAdminInfo2\fR, \fBAdminEMail\fR Information about the server and the administrator, used by the ADMIN command. -.IP Ports +.TP +\fBPorts\fR Ports on which the server should listen. There may be more than one port, separated with ';'. Default: 6667. -.IP MotdFile +.TP +\fBMotdFile\fR Text file with the "message of the day" (MOTD). This message will be shown to all users connecting to the server. -.IP ServerUID +.TP +\fBServerUID\fR User ID under which the server should run; you can use the name of the user or the numerical ID. +.PP +.RS .B Attention: +.br For this to work the server must have been started with root privileges! In addition, the configuration and MOTD files must be readable by this user, otherwise RESTART and REHASH won't work! -.IP ServerGID +.RE +.TP +\fBServerGID\fR Group ID under which the ngIRCd should run; you can use the name of the group or the numerical ID. +.PP +.RS .B Attention: +.br For this to work the server must have been started with root privileges! -.IP PingTimeout +.RE +.TP +\fBPingTimeout\fR After seconds of inactivity the server will send a PING to the peer to test whether it is alive or not. Default: 120. -.IP PongTimeout +.TP +\fBPongTimeout\fR If a client fails to answer a PING with a PONG within seconds, it will be disconnected by the server. Default: 20. -.IP ConnectRetry +.IT +\fBConnectRetry\fR The server tries every seconds to establish a link to not yet (or no longer) connected servers. Default: 60. -.IP OperCanUseMode +.TP +\fBOperCanUseMode\fR Should IRC Operators be allowed to use the MODE command even if they are not(!) channel-operators? Default: no. -.IP MaxConnections +.TP +\fBMaxConnections\fR Maximum number of simultaneous connection the server is allowed to accept (<=0: unlimited). Default: -1. -.IP MaxJoins +.TP +\fBMaxJoins\fR Maximum number of channels a user can be member of (<=0: no limit). Default: 10. .SH [OPERATOR] @@ -103,9 +122,11 @@ Default: 10. sections are used to define IRC Operators. There may be more than one .I [Operator] block, one for each local operator. -.IP Name +.TP +\fBName\fR ID of the operator (may be different of the nick name). -.IP Password +.TP +\fBPassword\fR Password of the IRC operator. .SH [SERVER] Other servers are configured in @@ -113,47 +134,56 @@ Other servers are configured in sections. If you configure a port for the connection, then this ngIRCd tries to connect to to the other server on the given port; if not, it waits for the other server to connect. - +.PP The ngIRCd allows "server groups": You can assign an "ID" to every server with which you want this ngIRCd to link. If a server of a group won't answer, the ngIRCd tries to connect to the next server in the given group. But ngIRCd never tries to connect to two servers with the same group ID. - +.PP There may be more than one .I [Server] block. -.IP Name +.TP +\fBName\fR IRC name of the server -.IP Host +.TP +\fBHost\fR Internet host name of the peer -.IP Port +.TP +\fBPort\fR Port of the server to which the ngIRCd should connect. If you assign no port the ngIRCd waits for incoming connections. -.IP MyPassword +.TP +\fBMyPassword\fR Own password for this connection. This password has to be configured as "PeerPassword" on the other server. -.IP PeerPassword +.TP +\fBPeerPassword\fR Foreign password for this connection. This password has to be configured as "MyPassword" on the other server. -.IP Group +.TP +\fBGroup\fR Group of this server (optional). .SH [CHANNEL] Pre-defined channels can be configured in .I [Channel] sections. Such channels are created by the server when starting up and even persist when there are no more members left. - +.PP Persistent channels are marked with the mode 'P', which can be set and unset by IRC operators like other modes on the fly. - +.PP There may be more than one .I [Channel] block. -.IP Name +.TP +\fBName\fR Name of the channel -.IP Topic +.TP +\fBTopic\fR Topic for this channel -.IP Modes +.TP +\fBModes\fR Initial channel modes. .SH HINTS It's wise to use "ngircd --configtest" to validate the configuration file @@ -172,6 +202,5 @@ http://arthur.ath.cx/~alex/ngircd/ .UE .SH "SEE ALSO" .BR ngircd (8) -.BR ircd (8) .\" .\" -eof- -- 2.39.2