fix hyphen vs. minus in man pages

In troff '-' is used for a hyphen. A minus is denoted by '\-' . This is
normally also used for a dash.

This patch converts all '-'-s that are minuses or dashes to '\-'.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tzafrir Cohen
2010-04-10 08:33:57 +00:00
parent 9afa6af881
commit 16774318f9
4 changed files with 57 additions and 58 deletions

View File

@@ -53,12 +53,11 @@
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
.TH ASTGENKEY 8 "May 14th, 2005" "Asterisk" "Linux Programmer's Manual" .TH ASTGENKEY 8 "May 14th, 2005" "Asterisk" "Linux Programmer's Manual"
.SH NAME .SH NAME
.B astgenkey .B astgenkey \- generates keys for for Asterisk IAX2 RSA authentication
-- generates keys for for Asterisk IAX2 RSA authentication
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
.B astgenkey .B astgenkey
[ -q ] [ -n ] [ \fIkeyname\fP ] [ \-q ] [ \-n ] [ \fIkeyname\fP ]
.SH DESCRIPTION .SH DESCRIPTION
.B astgenkey .B astgenkey
@@ -66,7 +65,7 @@ This script generates an RSA private and public key pair in PEM format
for use by Asterisk. The private key should be kept a secret, as it can for use by Asterisk. The private key should be kept a secret, as it can
be used to fake your system's identity. Thus by default (without the be used to fake your system's identity. Thus by default (without the
option option
.I -n .I \-n
) the script will create a passphrase-encrypted copy of your secret key: ) the script will create a passphrase-encrypted copy of your secret key:
without entering the passphrase you won't be able to use it. without entering the passphrase you won't be able to use it.
@@ -99,12 +98,12 @@ show keys
.RE .RE
.SH OPTIONS .SH OPTIONS
.B -q .B \-q
.RS .RS
Run quietly. Run quietly.
.RE .RE
.B -n .B \-n
.RS .RS
Don't encrypt the private key. Don't encrypt the private key.
.RE .RE
@@ -132,7 +131,7 @@ user "asterisk").
.SH "SEE ALSO" .SH "SEE ALSO"
asterisk(8), genrsa(1), rsa(1), asterisk(8), genrsa(1), rsa(1),
http://www.voip-info.org/wiki-Asterisk+iax+rsa+auth http://www.voip\-info.org/wiki\-Asterisk+iax+rsa+auth
.SH "AUTHOR" .SH "AUTHOR"
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com>
@@ -141,4 +140,4 @@ the terms of the GNU General Public License, Version 2 any
later version published by the Free Software Foundation. later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL. License can be found in /usr/share/common\-licenses/GPL\-2.

View File

@@ -37,4 +37,4 @@ the terms of the GNU General Public License, Version 2 any
later version published by the Free Software Foundation. later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL. License can be found in /usr/share/common\-licenses/GPL\-2.

View File

@@ -14,7 +14,7 @@ fear asterisk may crash.
The script does not run in the background like a standard service. Rather, The script does not run in the background like a standard service. Rather,
it runs in its own linux virtual console (9, by default). it runs in its own linux virtual console (9, by default).
It also uses the option '-c' of asterisk(8) to avoid detaching asterisk It also uses the option '\-c' of asterisk(8) to avoid detaching asterisk
from that terminal. from that terminal.
safe_asterisk also runs asterisk with unlimited core file size, and thus safe_asterisk also runs asterisk with unlimited core file size, and thus
@@ -66,4 +66,4 @@ the terms of the GNU General Public License, Version 2 any
later version published by the Free Software Foundation. later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL. License can be found in /usr/share/common\-licenses/GPL\-2.

View File

@@ -9,10 +9,10 @@
asterisk \- All-purpose telephony server. asterisk \- All-purpose telephony server.
.SH SYNOPSIS .SH SYNOPSIS
\fBasterisk\fR [ \fB-tThfdvVqpRgciIn\fR ] [ \fB-C \fIfile\fB\fR ] [ \fB-U \fIuser\fB\fR ] [ \fB-G \fIgroup\fB\fR ] [ \fB-x \fIcommand\fB\fR ] [ \fB-M \fIvalue\fB\fR ] \fBasterisk\fR [ \fB\-tThfdvVqpRgciIn\fR ] [ \fB\-C \fIfile\fB\fR ] [ \fB\-U \fIuser\fB\fR ] [ \fB\-G \fIgroup\fB\fR ] [ \fB\-x \fIcommand\fB\fR ] [ \fB\-M \fIvalue\fB\fR ]
\fBasterisk -r\fR [ \fB-v\fR ] [ \fB-x \fIcommand\fB\fR ] [ \fB-s \fIsocket\fB\fR ] \fBasterisk \-r\fR [ \fB\-v\fR ] [ \fB\-x \fIcommand\fB\fR ] [ \fB\-s \fIsocket\fB\fR ]
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
@@ -32,7 +32,7 @@ Virtually all aspects of the operation of asterisk's configuration files
can be found in the sample configuration files. The format for those files can be found in the sample configuration files. The format for those files
is generally beyond the scope of this man page. is generally beyond the scope of this man page.
.PP .PP
When running with \fB-c\fR, \fB-r\fR or \fB-R\fR When running with \fB\-c\fR, \fB\-r\fR or \fB\-R\fR
options, Asterisk supplies a powerful command line, including command options, Asterisk supplies a powerful command line, including command
completion, which may be used to monitors its status, perform a variety completion, which may be used to monitors its status, perform a variety
of administrative actions and even explore the applications that are of administrative actions and even explore the applications that are
@@ -41,161 +41,161 @@ currently loaded into the system.
Asterisk is a trademark of Digium, Inc. Asterisk is a trademark of Digium, Inc.
.SH "OPTIONS" .SH "OPTIONS"
.TP .TP
\fB-C \fIfile\fB\fR \fB\-C \fIfile\fB\fR
Use \fIfile\fR as master configuration file Use \fIfile\fR as master configuration file
instead of the default, /etc/asterisk/asterisk.conf instead of the default, /etc/asterisk/asterisk.conf
.TP .TP
\fB-c\fR \fB\-c\fR
Provide a control console on the calling terminal. Provide a control console on the calling terminal.
Specifying this option implies \fB-f\fR and will cause Specifying this option implies \fB-f\fR and will cause
asterisk to no longer fork or detach from the controlling terminal. asterisk to no longer fork or detach from the controlling terminal.
.TP .TP
\fB-d\fR \fB\-d\fR
Enable extra debugging statements. Enable extra debugging statements.
Note: This always sets the debug level in the asterisk process, Note: This always sets the debug level in the asterisk process,
even if it is running in the background. This will affect the size even if it is running in the background. This will affect the size
of your log files. of your log files.
.TP .TP
\fB-f\fR \fB\-f\fR
Do not fork or detach from controlling terminal. Do not fork or detach from controlling terminal.
.TP .TP
\fB-g\fR \fB\-g\fR
Remove resource limit on core size, thus forcing Asterisk to dump Remove resource limit on core size, thus forcing Asterisk to dump
core in the unlikely event of a segmentation fault or abort signal. core in the unlikely event of a segmentation fault or abort signal.
\fBNOTE:\fR in some cases this may be incompatible \fBNOTE:\fR in some cases this may be incompatible
with the \fB-U\fR or \fB-G\fR flags. with the \fB\-U\fR or \fB\-G\fR flags.
.TP .TP
\fB-G \fIgroup\fB\fR \fB\-G \fIgroup\fB\fR
Run as group \fIgroup\fR instead of the Run as group \fIgroup\fR instead of the
calling group. \fBNOTE:\fR this requires substantial work calling group. \fBNOTE:\fR this requires substantial work
to be sure that Asterisk's environment has permission to write to be sure that Asterisk's environment has permission to write
the files required for its operation, including logs, its comm the files required for its operation, including logs, its comm
socket, the asterisk database, etc. socket, the asterisk database, etc.
.TP .TP
\fB-h\fR \fB\-h\fR
Provide brief summary of command line arguments and terminate. Provide brief summary of command line arguments and terminate.
.TP .TP
\fB-i\fR \fB\-i\fR
Prompt user to initialize any encrypted private keys for IAX2 Prompt user to initialize any encrypted private keys for IAX2
secure authentication during startup. secure authentication during startup.
.TP .TP
\fB-L \fIloadaverage\fB\fR \fB\-L \fIloadaverage\fB\fR
Limits the maximum load average before rejecting new calls. This can Limits the maximum load average before rejecting new calls. This can
be useful to prevent a system from being brought down by terminating be useful to prevent a system from being brought down by terminating
too many simultaneous calls. too many simultaneous calls.
.TP .TP
\fB-m\fR \fB\-m\fR
Disable log and verbose output to remote (-r) consoles. Disable log and verbose output to remote (\-r) consoles.
.TP .TP
\fB-M \fIvalue\fB\fR \fB-M \fIvalue\fB\fR
Limits the maximum number of calls to the specified value. This can Limits the maximum number of calls to the specified value. This can
be useful to prevent a system from being brought down by terminating be useful to prevent a system from being brought down by terminating
too many simultaneous calls. too many simultaneous calls.
.TP .TP
\fB-n\fR \fB\-n\fR
Disable ANSI colors even on terminals capable of displaying them. Disable ANSI colors even on terminals capable of displaying them.
.TP .TP
\fB-p\fR \fB\-p\fR
If supported by the operating system (and executing as root), If supported by the operating system (and executing as root),
attempt to run with realtime priority for increased performance and attempt to run with realtime priority for increased performance and
responsiveness within the Asterisk process, at the expense of other responsiveness within the Asterisk process, at the expense of other
programs running on the same machine. programs running on the same machine.
.TP .TP
\fB-q\fR \fB\-q\fR
Reduce default console output when running in conjunction with Reduce default console output when running in conjunction with
console mode (\fB-c\fR). console mode (\fB\-c\fR).
.TP .TP
\fB-r\fR \fB\-r\fR
Instead of running a new Asterisk process, attempt to connect Instead of running a new Asterisk process, attempt to connect
to a running Asterisk process and provide a console interface to a running Asterisk process and provide a console interface
for controlling it. for controlling it.
.TP .TP
\fB-R\fR \fB\-R\fR
Much like \fB-r\fR\&. Instead of running a new Asterisk process, attempt to connect Much like \fB\-r\fR\&. Instead of running a new Asterisk process, attempt to connect
to a running Asterisk process and provide a console interface to a running Asterisk process and provide a console interface
for controlling it. Additionally, if connection to the Asterisk for controlling it. Additionally, if connection to the Asterisk
process is lost, attempt to reconnect for as long as 30 seconds. process is lost, attempt to reconnect for as long as 30 seconds.
.TP .TP
\fB-s \fIsocket\fB\fR \fB\-s \fIsocket\fB\fR
Allows to specify the socket file to be used to connect to the Allows to specify the socket file to be used to connect to the
Asterisk console. Used in conjunction with \fB-r\fR or \fB-R\fR. Asterisk console. Used in conjunction with \fB-r\fR or \fB-R\fR.
.TP .TP
\fB-I\fR \fB\-I\fR
Enable internal timing if DAHDI timer is available Enable internal timing if DAHDI timer is available
The default behaviour is that outbound packets are phase locked The default behaviour is that outbound packets are phase locked
to inbound packets. Enabling this switch causes them to be to inbound packets. Enabling this switch causes them to be
locked to the internal DAHDI timer instead. locked to the internal DAHDI timer instead.
.TP .TP
\fB-t\fR \fB\-t\fR
When recording files, write them first into a temporary holding directory, When recording files, write them first into a temporary holding directory,
then move them into the final location when done. then move them into the final location when done.
.TP .TP
\fB-T\fR \fB\-T\fR
Add timestamp to all non-command related output going to the console Add timestamp to all non-command related output going to the console
when running with verbose and/or logging to the console. when running with verbose and/or logging to the console.
.TP .TP
\fB-U \fIuser\fB\fR \fB\-U \fIuser\fB\fR
Run as user \fIuser\fR instead of the Run as user \fIuser\fR instead of the
calling user. \fBNOTE:\fR this requires substantial work calling user. \fBNOTE:\fR this requires substantial work
to be sure that Asterisk's environment has permission to write to be sure that Asterisk's environment has permission to write
the files required for its operation, including logs, its comm the files required for its operation, including logs, its comm
socket, the asterisk database, etc. socket, the asterisk database, etc.
.TP .TP
\fB-v\fR \fB\-v\fR
Increase the level of verboseness on the console. The more times Increase the level of verboseness on the console. The more times
\fB-v\fR is specified, the more verbose the output is. \fB-v\fR is specified, the more verbose the output is.
Specifying this option implies \fB-f\fR and will cause Specifying this option implies \fB\-f\fR and will cause
asterisk to no longer fork or detach from the controlling terminal. asterisk to no longer fork or detach from the controlling terminal.
This option may also be used in conjunction with \fB-r\fR This option may also be used in conjunction with \fB\-r\fR
and \fB-R\fR\&. and \fB\-R\fR\&.
Note: This always sets the verbose level in the asterisk process, Note: This always sets the verbose level in the asterisk process,
even if it is running in the background. This will affect the size even if it is running in the background. This will affect the size
of your log files. of your log files.
.TP .TP
\fB-V\fR \fB\-V\fR
Display version information and exit immediately. Display version information and exit immediately.
.TP .TP
\fB-W\fR \fB\-W\fR
Change the terminal colors to compensate for a light background, Change the terminal colors to compensate for a light background,
rather than a dark background, as is the default. rather than a dark background, as is the default.
.TP .TP
\fB-x \fIcommand\fB\fR \fB\-x \fIcommand\fB\fR
Connect to a running Asterisk process and execute a command on Connect to a running Asterisk process and execute a command on
a command line, passing any output through to standard out and a command line, passing any output through to standard out and
then terminating when the command execution completes. Implies then terminating when the command execution completes. Implies
\fB-r\fR when \fB-R\fR is not explicitly \fB\-r\fR when \fB\-R\fR is not explicitly
supplied. supplied.
.SH "EXAMPLES" .SH "EXAMPLES"
.PP .PP
\fBasterisk\fR - Begin Asterisk as a daemon \fBasterisk\fR \- Begin Asterisk as a daemon
.PP .PP
\fBasterisk -vvvgc\fR - Run on controlling terminal \fBasterisk \-vvvgc\fR \- Run on controlling terminal
.PP .PP
\fBasterisk -rx "core show channels"\fR - Display channels on running server \fBasterisk \-rx "core show channels"\fR \- Display channels on running server
.SH "BUGS" .SH "BUGS"
.PP .PP
Bug reports and feature requests may be filed at https://issues.asterisk.org Bug reports and feature requests may be filed at https://issues.asterisk.org
.SH "SEE ALSO" .SH "SEE ALSO"
.PP .PP
*CLI> \fBhelp\fR - Help on Asterisk CLI *CLI> \fBhelp\fR \- Help on Asterisk CLI
.PP .PP
*CLI> \fBcore show applications\fR - Show loaded dialplan applications *CLI> \fBcore show applications\fR \- Show loaded dialplan applications
.PP .PP
*CLI> \fBcore show functions\fR - Show loaded dialplan functions *CLI> \fBcore show functions\fR \- Show loaded dialplan functions
.PP .PP
*CLI> \fBdialplan show\fR - Show current dialplan *CLI> \fBdialplan show\fR \- Show current dialplan
.PP .PP
http://www.asterisk.org - The Asterisk Home Page http://www.asterisk.org \- The Asterisk Home Page
.PP .PP
http://www.asteriskdocs.org - The Asterisk Documentation Project http://www.asteriskdocs.org \- The Asterisk Documentation Project
.PP .PP
http://www.voip-info.org/wiki-Asterisk - The Asterisk Wiki http://www.voip\-info.org/wiki-Asterisk \- The Asterisk Wiki
.PP .PP
http://www.digium.com/ - Asterisk sponsor and hardware supplier http://www.digium.com/ \- Asterisk sponsor and hardware supplier
.PP .PP
http://www.markocam.com/ - Asterisk author's web cam http://www.markocam.com/ \- Asterisk author's web cam
.SH "AUTHOR" .SH "AUTHOR"
.PP .PP
Mark Spencer <markster@digium.com> Mark Spencer <markster@digium.com>