summaryrefslogtreecommitdiffstats
path: root/sys-utils/ldattach.8
diff options
context:
space:
mode:
authorBenno Schulenberg2014-07-20 23:15:47 +0200
committerKarel Zak2014-07-21 10:29:44 +0200
commitc372860ddb4a768f7f6c50cd26d60119370d5cd5 (patch)
treef2ae750a95e2a31cecf58f547303122c0924f4f5 /sys-utils/ldattach.8
parentdocs: bring five more man pages closer to standard formatting (diff)
downloadkernel-qcow2-util-linux-c372860ddb4a768f7f6c50cd26d60119370d5cd5.tar.gz
kernel-qcow2-util-linux-c372860ddb4a768f7f6c50cd26d60119370d5cd5.tar.xz
kernel-qcow2-util-linux-c372860ddb4a768f7f6c50cd26d60119370d5cd5.zip
docs: bring eight more man pages closer to standard formatting
Also, for chcpu, the options -c, -d, -e and -g are mutually exclusive, and for the mode argument the option -p is not optional. For ldattach, use the standard options separator ", " instead of the unusual " | ". And add the missing --version to several of the pages. Besides, improve the wording and the consistency of the spacing. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/ldattach.8')
-rw-r--r--sys-utils/ldattach.876
1 files changed, 38 insertions, 38 deletions
diff --git a/sys-utils/ldattach.8 b/sys-utils/ldattach.8
index 52bb7874f..7305a5c74 100644
--- a/sys-utils/ldattach.8
+++ b/sys-utils/ldattach.8
@@ -1,15 +1,15 @@
.\" Copyright 2008 Tilman Schmidt (tilman@imap.cc)
.\" May be distributed under the GNU General Public License version 2 or later
-.TH LDATTACH 8 "February 2010" "util-linux" "System Administration"
+.TH LDATTACH 8 "July 2014" "util-linux" "System Administration"
.SH NAME
ldattach \- attach a line discipline to a serial line
.SH SYNOPSIS
.B ldattach
-.RB [ \-dhV78neo12 ]
-.RB [ \-s
-.IR speed ]
+.RB [ \-1278denoVh ]
.RB [ \-i
.IR iflag ]
+.RB [ \-s
+.IR speed ]
.I ldisc device
.SH DESCRIPTION
The
@@ -23,18 +23,18 @@ and attaches the line discipline
to it for processing of the sent and/or received data.
It then goes into the background keeping the device open so that the
line discipline stays loaded.
-
+.sp
The line discipline
.I ldisc
may be specified either by name
or by number.
-
+.sp
In order to detach the line discipline,
.BR kill (1)
the
.B ldattach
process.
-
+.sp
With no arguments,
.B ldattach
prints usage information.
@@ -89,48 +89,48 @@ Driver for Siemens Gigaset M101 serial DECT adapter.
Driver for serial line Pulse Per Second (PPS) source.
.SH OPTIONS
.TP
-\fB-d\fP | \fB--debug\fP
-Causes
-.B ldattach
-to stay in the foreground so that it can be interrupted or debugged,
-and to print verbose messages about its progress to the standard error output.
+.BR \-1 , " \-\-onestopbit"
+Set the number of stop bits of the serial line to one.
.TP
-\fB-h\fP | \fB--help\fP
-Display help text and exit.
+.BR \-2 , " \-\-twostopbits"
+Set the number of stop bits of the serial line to two.
.TP
-\fB-V\fP | \fB--version\fP
-Display version information and exit.
+.BR \-7 , " \-\-sevenbits"
+Set the character size of the serial line to 7 bits.
.TP
-\fB-s\fP \fIvalue\fP | \fB--speed\fP \fIvalue\fP
-Set the speed of the serial line to the specified value.
+.BR \-8 , " \-\-eightbits"
+Set the character size of the serial line to 8 bits.
.TP
-\fB-7\fP | \fB--sevenbits\fP
-Sets the character size of the serial line to 7 bits.
+.BR \-d , " \-\-debug"
+Keep
+.B ldattach
+in the foreground so that it can be interrupted or debugged,
+and to print verbose messages about its progress to standard error output.
.TP
-\fB-8\fP | \fB--eightbits\fP
-Sets the character size of the serial line to 8 bits.
+.BR \-e , " \-\-evenparity"
+Set the parity of the serial line to even.
.TP
-\fB-n\fP | \fB--noparity\fP
-Sets the parity of the serial line to none.
+.BR -i , " --iflag " [ \- ] \fIvalue\fR...
+Set the specified bits in the c_iflag word of the serial line.
+The given \fIvalue\fP may be a number or a symbolic name.
+If \fIvalue\fP is prefixed by a minus sign, the specified bits are cleared
+instead. Several comma-separated values may be given in order to
+set and clear multiple bits.
.TP
-\fB-e\fP | \fB--evenparity\fP
-Sets the parity of the serial line to even.
+.BR \-n , " \-\-noparity"
+Set the parity of the serial line to none.
.TP
-\fB-o\fP | \fB--oddparity\fP
-Sets the parity of the serial line to odd.
+.BR \-o , " \-\-oddparity"
+Set the parity of the serial line to odd.
.TP
-\fB-1\fP | \fB--onestopbit\fP
-Sets the number of stop bits of the serial line to one.
+.BR \-s , " \-\-speed " \fIvalue
+Set the speed (the baud rate) of the serial line to the specified \fIvalue\fR.
.TP
-\fB-2\fP | \fB--twostopbits\fP
-Sets the number of stop bits of the serial line to two.
+.BR \-V , " \-\-version"
+Display version information and exit.
.TP
-\fB-i\fP \fIvalue\fP | \fB--iflag\fP [\fB-\fP]\fIvalue\fP{,...}
-Sets the specified bits in the c_iflag word of the serial line.
-\fIValue\fP may be a number or a symbolic name.
-If \fIvalue\fP is prefixed by a minus sign, clear the specified bits instead.
-Several comma separated \fIvalue\fPs may be given in order to
-set and clear multiple bits.
+.BR \-h , " \-\-help"
+Display help text and exit.
.SH "SEE ALSO"
.BR inputattach (1),
.BR ttys (4)