aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBernd Eckenfels <net-tools@lina.inka.de>2008-10-02 23:16:59 +0000
committerBernd Eckenfels <net-tools@lina.inka.de>2008-10-02 23:16:59 +0000
commit00097121e0ae2d41d2c5e120b4f899d61f252ea0 (patch)
tree6cb41a61517089ea4b17ce7ba409437c866979d7 /man
parentfix some more hypens, changed book name and updated date to 2008-10-03 (diff)
downloadnet-tools-00097121e0ae2d41d2c5e120b4f899d61f252ea0.tar.gz
net-tools-00097121e0ae2d41d2c5e120b4f899d61f252ea0.tar.bz2
net-tools-00097121e0ae2d41d2c5e120b4f899d61f252ea0.zip
Fix hypen in man pages (Debian Bug#288343 from Andrew Moise)
Move man pages to sysadmin books update samples for route(8) (Debian Bug#400844, #368697 Danny Rathjens) update see also for ifconfig(8) (Debian Bug#365916 Dan Jacobs)
Diffstat (limited to 'man')
-rw-r--r--man/en_US/arp.82
-rw-r--r--man/en_US/ethers.58
-rw-r--r--man/en_US/hostname.110
-rw-r--r--man/en_US/ifconfig.816
-rw-r--r--man/en_US/mii-tool.812
-rw-r--r--man/en_US/nameif.810
-rw-r--r--man/en_US/netstat.830
-rw-r--r--man/en_US/plipconfig.82
-rw-r--r--man/en_US/rarp.812
-rw-r--r--man/en_US/route.849
-rw-r--r--man/en_US/slattach.828
11 files changed, 91 insertions, 88 deletions
diff --git a/man/en_US/arp.8 b/man/en_US/arp.8
index e648ec1..7cda156 100644
--- a/man/en_US/arp.8
+++ b/man/en_US/arp.8
@@ -1,4 +1,4 @@
-.TH ARP 8 "2008-10-03" "net\-tools" "Linux System Administrator's Manual"
+.TH ARP 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
arp \- manipulate the system ARP cache
.SH SYNOPSIS
diff --git a/man/en_US/ethers.5 b/man/en_US/ethers.5
index 23ac3cf..5a02892 100644
--- a/man/en_US/ethers.5
+++ b/man/en_US/ethers.5
@@ -1,4 +1,4 @@
-.TH ETHERS 5 "May 15th, 2005" "" "File formats"
+.TH ETHERS 5 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME \"{{{roff}}}\"{{{
ethers \- Ethernet address to IP number database
.\"}}}
@@ -7,17 +7,17 @@ ethers \- Ethernet address to IP number database
IP numbers, one line for each IP number:
.sp
.RS
-\fIEthernet-address\fP \fIIP-number\fP
+\fIEthernet\-address\fP \fIIP\-number\fP
.RE
.sp
The two items are separated by any number of SPACE and/or TAB characters.
A \fB#\fP at the beginning of a line starts a comment
-which extends to the end of the line. The \fIEthernet-address\fP is
+which extends to the end of the line. The \fIEthernet\-address\fP is
written as
.IR x : x : x : x : x : x ,
where \fIx\fP is a hexadecimal number between \fB0\fP and \fBff\fP
which represents one byte of the address, which is in network byte
-order (big-endian). The \fIIP-number\fP may be a hostname which
+order (big-endian). The \fIIP\-number\fP may be a hostname which
can be resolved by DNS or a dot separated number.
.\"}}}
.SH EXAMPLES \"{{{
diff --git a/man/en_US/hostname.1 b/man/en_US/hostname.1
index cea3f6e..9f7dd7f 100644
--- a/man/en_US/hostname.1
+++ b/man/en_US/hostname.1
@@ -1,4 +1,4 @@
-.TH HOSTNAME 1 "28 Jan 1996" "net-tools" "Linux Programmer's Manual"
+.TH HOSTNAME 1 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
hostname \- show or set the system's host name
@@ -23,7 +23,7 @@ nodename \- show or set the system's DECnet node name
.RB [ \-f ]
.RB [ \-\-fqdn ]
.RB [ \-i ]
-.RB [ \-\-ip-address ]
+.RB [ \-\-ip\-address ]
.RB [ \-\-long ]
.RB [ \-s ]
.RB [ \-\-short ]
@@ -181,7 +181,7 @@ part of the FQDN) in the \fI/etc/hosts\fR file.
.I "\-h, \-\-help"
Print a usage message and exit.
.TP
-.I "\-i, \-\-ip-address"
+.I "\-i, \-\-ip\-address"
Display the IP address(es) of the host.
.TP
.I "\-n, \-\-node"
@@ -205,9 +205,9 @@ Display the NIS domain name. If a parameter is given (or
.SH FILES
.B /etc/hosts
.SH AUTHOR
-Peter Tobias, <tobias@et-inf.fho-emden.de>
+Peter Tobias, <tobias@et\-inf.fho\-emden.de>
.br
-Bernd Eckenfels, <net-tools@lina.inka.de> (NIS and manpage).
+Bernd Eckenfels, <net\-tools@lina.inka.de> (NIS and manpage).
.br
Steve Whitehouse, <SteveW@ACM.org> (DECnet support and manpage).
diff --git a/man/en_US/ifconfig.8 b/man/en_US/ifconfig.8
index 410677e..1dc40ff 100644
--- a/man/en_US/ifconfig.8
+++ b/man/en_US/ifconfig.8
@@ -1,4 +1,4 @@
-.TH IFCONFIG 8 "2007-11-07" "net-tools" "Linux Programmer's Manual"
+.TH IFCONFIG 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
ifconfig \- configure a network interface
.SH SYNOPSIS
@@ -18,7 +18,7 @@ a single
.B interface
argument is given, it displays the status of the given interface
only; if a single
-.B -a
+.B \-a
argument is given, it displays the status of all interfaces, even
those that are down. Otherwise, it configures an interface.
@@ -138,13 +138,13 @@ are
can be used to tell the driver to auto-sense the media. Again, not
all drivers can do this.
.TP
-.B "[-]broadcast [addr]"
+.B "[\-]broadcast [addr]"
If the address argument is given, set the protocol broadcast
address for this interface. Otherwise, set (or clear) the
.B IFF_BROADCAST
flag for the interface.
.TP
-.B "[-]pointopoint [addr]"
+.B "[\-]pointopoint [addr]"
This keyword enables the
.B point-to-point
mode of an interface, meaning that it is a direct link between two
@@ -194,7 +194,7 @@ or
.BR iptables (8)
command.
.LP
-Since net-tools 1.61 ifconfig is printing byte counters and human readable
+Since net\-tools 1.60\-4 ifconfig is printing byte counters and human readable
counters with IEC 60027-2 units. So 1 KiB are 2^10 byte. Note, the numbers
are truncated to one decimal (which can by quite a large error if you
consider 0.1 PiB is 112.589.990.684.262 bytes :)
@@ -202,7 +202,7 @@ consider 0.1 PiB is 112.589.990.684.262 bytes :)
Interrupt problems with Ethernet device drivers fail with EAGAIN
.I (SIOCSIIFLAGS: Resource temporarily unavailable)
it is most likely a interrupt conflict. See
-.I http://www.scyld.com/expert/irq-conflict.html
+.I http://www.scyld.com/expert/irq\-conflict.html
for more information.
.SH FILES
.I /proc/net/socket
@@ -214,7 +214,7 @@ for more information.
While appletalk DDP and IPX addresses will be displayed they cannot be
altered by this command.
.SH SEE ALSO
-route(8), netstat(8), arp(8), rarp(8), ipchains(8), iptables(8)
+route(8), netstat(8), arp(8), rarp(8), ipchains(8), iptables(8), ifup(8), interfaces(5).
.br
http://physics.nist.gov/cuu/Units/binary.html - Prefixes for binary multiples
.SH AUTHORS
@@ -226,4 +226,4 @@ Phil Blundell, <Philip.Blundell@pobox.com>
.br
Andi Kleen
.br
-Bernd Eckenfels, <net-tools@lina.inka.de>
+Bernd Eckenfels, <net\-tools@lina.inka.de>
diff --git a/man/en_US/mii-tool.8 b/man/en_US/mii-tool.8
index 0196bcc..a26ce6e 100644
--- a/man/en_US/mii-tool.8
+++ b/man/en_US/mii-tool.8
@@ -1,13 +1,13 @@
.\" Copyright (C) 2000 David A. Hinds -- dhinds@pcmcia.sourceforge.org
.\" mii-tool.8 1.5 2000/04/25 22:58:19
.\"
-.TH MII-TOOL 8 "2004/03/28 23:30:00" "net-tools"
+.TH MII\-TOOL 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
-mii-tool \- view, manipulate media-independent interface status
+mii\-tool \- view, manipulate media-independent interface status
.SH SYNOPSIS
-.B mii-tool
+.B mii\-tool
[\fB\-v\fR, \fB\-\-verbose\fR]
[\fB\-V\fR, \fB\-\-version\fR]
[\fB\-R\fR, \fB\-\-reset\fR]
@@ -32,12 +32,12 @@ single-speed hubs, are unable to autonegotiate. To handle such
devices, the MII protocol also allows for establishing a link by
simply detecting either a 10baseT or 100baseT link beat. The \fB\-F\fR
or \fB\-\-force\fR options can be used to force the MII to operate in
-one mode, instead of autonegotiating. The \fB\-A\fR and \fB-F\fR
+one mode, instead of autonegotiating. The \fB\-A\fR and \fB\-F\fR
options are mutually exclusive.
.PP
The default short output reports the negotiated link speed and link
status for each interface. If an interface or interfaces are not
-specified on the command line, then \fBmii-tool\fR will check any
+specified on the command line, then \fBmii\-tool\fR will check any
available interfaces from \fBeth0\fR through \fBeth7\fR.
.SH OPTIONS
.TP
@@ -59,7 +59,7 @@ Watch interface(s) and report changes in link status. The MII
interfaces are polled at one second intervals.
.TP
\fB\-l\fR, \fB\-\-log\fR
-Used with \fB-w\fR, records link status changes in the system log
+Used with \fB\-w\fR, records link status changes in the system log
instead of printing on standard output.
.TP
\fB\-F\fI media\fR, \fB\-\-force=\fImedia\fR
diff --git a/man/en_US/nameif.8 b/man/en_US/nameif.8
index ff2430f..195304d 100644
--- a/man/en_US/nameif.8
+++ b/man/en_US/nameif.8
@@ -1,10 +1,10 @@
-.TH NAMEIF 8 "18 Oct 2000" "net-tools" "Linux's Administrator's Manual"
+.TH NAMEIF 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
nameif \- name network interfaces based on MAC addresses
.SH SYNOPSIS
-.B "nameif [-c configfile] [-s]"
+.B "nameif [\-c configfile] [\-s]"
.br
-.B "nameif [-c configfile] [-s] {interface macaddress}"
+.B "nameif [\-c configfile] [\-s] {interface macaddress}"
.SH DESCRIPTION
.B nameif
renames network interfaces based on mac addresses. When no arguments are
@@ -18,11 +18,11 @@ looks for the interface with the given MAC address and renames it to the
name given.
When the
-.I -s
+.I \-s
argument is given all error messages go to the syslog.
When the
-.I -c
+.I \-c
argument is given with a file name that file is read instead of /etc/mactab.
.SH NOTES
diff --git a/man/en_US/netstat.8 b/man/en_US/netstat.8
index 9a4a760..dabe2a5 100644
--- a/man/en_US/netstat.8
+++ b/man/en_US/netstat.8
@@ -8,7 +8,7 @@
.\" Modified: Tuan Hoang tqhoang@bigfoot.com
.\"
.\"
-.TH NETSTAT 8 "2008-10-04" "net-tools" "Linux System Administrator's Manual"
+.TH NETSTAT 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
netstat \- Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
@@ -23,7 +23,7 @@ netstat \- Print network connections, routing tables, interface statistics, masq
.RB [ \-\-listening | \-l ]
.RB [ \-\-all | \-a ]
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-symbolic | \-N ]
.RB [ \-\-extend | \-e [ \-\-extend | \-e] ]
.RB [ \-\-timers | \-o ]
@@ -37,7 +37,7 @@ netstat \- Print network connections, routing tables, interface statistics, masq
.RB [ \-\-extend | \-e [ \-\-extend | \-e] ]
.RB [ \-\-verbose | \-v ]
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-continuous | \-c]
.P
.B netstat
@@ -53,14 +53,14 @@ netstat \- Print network connections, routing tables, interface statistics, masq
.B netstat
.RB { \-\-groups | \-g }
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-continuous | \-c]
.P
.B netstat
.RB { \-\-masquerade | \-M }
.RB [ \-\-extend | \-e ]
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-continuous | \-c]
.P
.B netstat
@@ -121,13 +121,13 @@ useful information about unconfigured address families.
.SS "\-\-numeric , \-n"
Show numerical addresses instead of trying to determine symbolic host, port
or user names.
-.SS "\-\-numeric-hosts"
+.SS "\-\-numeric\-hosts"
shows numerical host addresses but does not affect the resolution of
port or user names.
-.SS "\-\-numeric-ports"
+.SS "\-\-numeric\-ports"
shows numerical port numbers but does not affect the resolution of
host or user names.
-.SS "\-\-numeric-users"
+.SS "\-\-numeric\-users"
shows numerical user IDs but does not affect the resolution of host or
port names.
@@ -170,7 +170,7 @@ Show the PID and name of the program to which each socket belongs.
Show only listening sockets. (These are omitted by default.)
.SS "\-a, \-\-all"
Show both listening and non-listening sockets. With the
-.B --interfaces
+.B \-\-interfaces
option, show interfaces that are not up
.SS "\-F"
Print routing information from the FIB. (This is the default.)
@@ -182,10 +182,10 @@ Print routing information from the route cache.
.SS Active Internet connections \fR(TCP, UDP, raw)\fR
.SS "Proto"
The protocol (tcp, udp, raw) used by the socket.
-.SS "Recv-Q"
+.SS "Recv\-Q"
Established: The count of bytes not copied by the user program connected to this socket.
Listening: Since Kernel 2.6.18 this column contains the current syn backlog.
-.SS "Send-Q"
+.SS "Send\-Q"
Established: The count of bytes not acknowledged by the remote host.
Listening: Since Kernel 2.6.18 this column contains the maximum size of the syn backlog.
.SS "Local Address"
@@ -262,7 +262,7 @@ The username or the user id (UID) of the owner of the socket.
.SS "PID/Program name"
Slash-separated pair of the process id (PID) and process name of the
process that owns the socket.
-.B --program
+.B \-\-program
causes this column to be included. You will also need
.I superuser
privileges to see this information on sockets you don't own. This
@@ -365,7 +365,7 @@ to the socket.
.PP
.SH NOTES
Starting with Linux release 2.2
-.B netstat -i
+.B netstat \-i
does not show interface statistics for alias interfaces. To get per
alias interface counters you need to setup explicit rules using the
.BR ipchains(8)
@@ -445,12 +445,12 @@ as it is viewed. This is unlikely to occur.
.P
.SH AUTHORS
The netstat user interface was written by Fred Baumgarten
-<dc6iq@insu1.etec.uni-karlsruhe.de>, the man page basically
+<dc6iq@insu1.etec.uni\-karlsruhe.de>, the man page basically
by Matt Welsh <mdw@tc.cornell.edu>. It was updated by
Alan Cox <Alan.Cox@linux.org> but could do with a bit more
work. It was updated again by Tuan Hoang
<tqhoang@bigfoot.com>.
.br
-The man page and the command included in the net-tools
+The man page and the command included in the net\-tools
package is totally rewritten by Bernd Eckenfels
<ecki@linux.de>.
diff --git a/man/en_US/plipconfig.8 b/man/en_US/plipconfig.8
index c6d2567..e6f493a 100644
--- a/man/en_US/plipconfig.8
+++ b/man/en_US/plipconfig.8
@@ -1,4 +1,4 @@
-.TH PLIPCONFIG 8 "17 February 1995" "" ""
+.TH PLIPCONFIG 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
plipconfig \- fine tune PLIP device parameters
.SH SYNOPSIS
diff --git a/man/en_US/rarp.8 b/man/en_US/rarp.8
index 1186aa8..d9d31f9 100644
--- a/man/en_US/rarp.8
+++ b/man/en_US/rarp.8
@@ -1,20 +1,20 @@
-.TH RARP 8 "4 August 1997" "net-tools" "Linux Programmer's Manual"
+.TH RARP 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
rarp \- manipulate the system RARP table
.SH SYNOPSIS
-.B "rarp [-V] [--version] [-h] [--help]"
+.B "rarp [\-V] [\-\-version] [\-h] [\-\-help]"
.br
-.B "rarp -a"
+.B "rarp \-a"
.br
-.B "rarp [-v] -d hostname ..."
+.B "rarp [\-v] \-d hostname ..."
.br
-.B "rarp [-v] [-t type] -s hostname hw_addr"
+.B "rarp [\-v] [\-t type] \-s hostname hw_addr"
.SH NOTE
.P
This program is obsolete. From version 2.3, the Linux kernel
no longer contains RARP support. For a replacement RARP daemon, see
.I
-ftp://ftp.dementia.org/pub/net-tools
+ftp://ftp.dementia.org/pub/net\-tools
.SH DESCRIPTION
.B Rarp
manipulates the kernel's RARP table in various ways. The primary options
diff --git a/man/en_US/route.8 b/man/en_US/route.8
index 6c06017..b542345 100644
--- a/man/en_US/route.8
+++ b/man/en_US/route.8
@@ -1,4 +1,4 @@
-.TH ROUTE 8 "02 October 2003" "net-tools" "Linux Programmer's Manual"
+.TH ROUTE 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
route \- show / manipulate the IP routing table
.SH SYNOPSIS
@@ -51,7 +51,7 @@ If]
.RB [ \-V ]
.RB [ \-\-version ]
.RB [ \-h ]
-.RB [ \--help ]
+.RB [ \-\-help ]
.SH DESCRIPTION
.B Route
manipulates the kernel's IP routing tables. Its primary use is to set
@@ -73,16 +73,16 @@ displays the current contents of the routing tables.
.SH OPTIONS
.TP
.B \-A family
-use the specified address family (eg `inet'; use `route --help' for a full
+use the specified address family (eg `inet'; use `route \-\-help' for a full
list).
.TP
-.B -F
+.B \-F
operate on the kernel's FIB (Forwarding Information Base) routing
table.
This is the default.
.TP
-.B -C
+.B \-C
operate on the kernel's routing cache.
.TP
@@ -96,7 +96,7 @@ nameserver has vanished.
.TP
.B \-e
use
-.BR netstat (8)-format
+.BR netstat (8)\-format
for displaying the routing table.
.B \-ee
will generate a very long line with all parameters from the routing table.
@@ -117,7 +117,7 @@ the
.B target
is a network.
.TP
-.B -host
+.B \-host
the
.B target
is a host.
@@ -179,24 +179,27 @@ modifiers (metric - netmask - gw - dev) doesn't matter.
.SH EXAMPLES
.TP
-.B route add -net 127.0.0.0
-adds the normal loopback entry, using netmask 255.0.0.0 (class A net,
-determined from the destination address) and associated with the
+.B route add \-net 127.0.0.0 netmask 255.0.0.0 dev lo
+adds the normal loopback entry, using netmask 255.0.0.0 and associated with the
"lo" device (assuming this device was previously set up correctly with
.BR ifconfig (8)).
.TP
-.B route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
-adds a route to the network 192.56.76.x via
-"eth0". The Class C netmask modifier is not really necessary here because
-192.* is a Class C IP address. The word "dev" can be omitted here.
+.B route add \-net 192.56.76.0 netmask 255.255.255.0 dev eth0
+adds a route to the local network 192.56.76.x via
+"eth0". The word "dev" can be omitted here.
.TP
-.B route add default gw mango-gw
+.B route del default
+deletes the current default route, which is labeled "default" or 0.0.0.0
+in the destination field of the current routing table.
+
+.TP
+.B route add default gw mango\-gw
adds a default route (which will be used if no other route matches).
-All packets using this route will be gatewayed through "mango-gw". The
+All packets using this route will be gatewayed through "mango\-gw". The
device which will actually be used for that route depends on how we
-can reach "mango-gw" - the static route to "mango-gw" will have to be
+can reach "mango\-gw" - the static route to "mango\-gw" will have to be
set up before.
.TP
@@ -205,18 +208,18 @@ Adds the route to the "ipx4" host via the SLIP interface (assuming that
"ipx4" is the SLIP host).
.TP
-.B route add -net 192.57.66.0 netmask 255.255.255.0 gw ipx4
+.B route add \-net 192.57.66.0 netmask 255.255.255.0 gw ipx4
This command adds the net "192.57.66.x" to be gatewayed through the former
route to the SLIP interface.
.TP
-.B route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
+.B route add \-net 224.0.0.0 netmask 240.0.0.0 dev eth0
This is an obscure one documented so people know how to do it. This sets
all of the class D (multicast) IP routes to go via "eth0". This is the
correct normal configuration line with a multicasting kernel.
.TP
-.B route add -net 10.0.0.0 netmask 255.0.0.0 reject
+.B route add \-net 10.0.0.0 netmask 255.0.0.0 reject
This installs a rejecting route for the private network "10.x.x.x."
.LP
@@ -282,8 +285,8 @@ recent kernels, but may be needed by routing daemons.
Number of references to this route. (Not used in the Linux kernel.)
.TP
.B Use
-Count of lookups for the route. Depending on the use of -F and -C this will
-be either route cache misses (-F) or hits (-C).
+Count of lookups for the route. Depending on the use of \-F and \-C this will
+be either route cache misses (\-F) or hits (\-C).
.TP
.B Iface
Interface to which packets for this route will be sent.
@@ -323,4 +326,4 @@ for Linux was originally written by Fred N. van Kempen,
Linus Torvalds for pl15. Alan Cox added the mss and window options for
Linux 1.1.22. irtt support and merged with netstat from Bernd Eckenfels.
.SH AUTHOR
-Currently maintained by Phil Blundell <Philip.Blundell@pobox.com>.
+Currently maintained by Phil Blundell <Philip.Blundell@pobox.com> and Bernd Eckenfels <net-tools@lina.inka.de>.
diff --git a/man/en_US/slattach.8 b/man/en_US/slattach.8
index 4db6083..cfc2f5a 100644
--- a/man/en_US/slattach.8
+++ b/man/en_US/slattach.8
@@ -1,8 +1,8 @@
-.TH SLATTACH 8 "10 Oct 2006" "" ""
+.TH SLATTACH 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
slattach \- attach a network interface to a serial line
.SH SYNOPSIS
-.B "slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty]"
+.B "slattach [\-dehlLmnqv] [\-c command] [\-p proto] [\-s speed] [tty]"
.br
.SH DESCRIPTION
.B Slattach
@@ -11,44 +11,44 @@ is a tiny little program that can be used to put a normal terminal
you to use it for point-to-point links to other computers.
.SH OPTIONS
.TP
-.B "[-c command]"
+.B "[\-c command]"
Execute
.B command
when the line is hung up. This can be used to run scripts or re-establish
connections when a link goes down.
.TP
-.B "[-d]"
+.B "[\-d]"
Enable debugging output. Useful when determining why a given
setup doesn't work.
.TP
-.B "[-h]"
+.B "[\-h]"
Exit when the carrier is lost. This works on both /dev/tty and /dev/cua
devices by directly monitoring the carrier status every 15 seconds.
.TP
-.B "[-v]"
+.B "[\-v]"
Enable verbose output. Useful in shell scripts.
.TP
-.B "[-q]"
+.B "[\-q]"
Operate in quiet mode - no messages at all.
.TP
-.B "[-l]"
+.B "[\-l]"
Create an UUCP-style lockfile for the device in /var/lock.
.TP
-.B "[-n]"
+.B "[\-n]"
Equivalent to the "mesg n" command.
.TP
-.B "[-m]"
+.B "[\-m]"
Do \fBnot\fP initialize the line into 8 bits raw mode.
.TP
-.B "[-e]"
+.B "[\-e]"
Exit right after initializing device, instead of waiting for the
line to hang up.
.TP
-.B "[-L]"
+.B "[\-L]"
Enable 3 wire operation. The terminal is moved into CLOCAL mode,
carrier watching is disabled.
.TP
-.B "[-p proto]"
+.B "[\-p proto]"
Set a specific kind of protocol to use on the line. The default
is set to
.BR "cslip" ,
@@ -71,7 +71,7 @@ to be active on the line. For kiss connections the
.B axattach
program should be used.
.TP
-.B "[-s speed]"
+.B "[\-s speed]"
Set a specific line speed, other than the default.
.PP
If no arguments are given, the current terminal line (usually: the