Merge pull request #15 from jwilk/man

Man page beautification
This commit is contained in:
Martin Lund 2016-05-07 18:49:01 +02:00
commit c816809db9

View file

@ -1,4 +1,4 @@
.TH "tio" "1" "30 September 2014" .TH "tio" "1" "7 May 2016"
.SH "NAME" .SH "NAME"
tio \- The simple TTY terminal I/O application tio \- The simple TTY terminal I/O application
@ -6,7 +6,7 @@ tio \- The simple TTY terminal I/O application
.SH "SYNOPSIS" .SH "SYNOPSIS"
.PP .PP
.B tio .B tio
[<options>] <tty device> .RI "[" <options> "] " "<tty device>"
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
@ -17,43 +17,43 @@ commandline interface to easily connect to TTY devices for basic input/output.
.SH "OPTIONS" .SH "OPTIONS"
.TP .TP
.B \-b, \--baudrate <bps> .BR \-b ", " "\-\-baudrate " \fI<bps>
Set baud rate [bps] (default: 115200). Set baud rate [bps] (default: 115200).
.TP .TP
.B \-d, \--databits 5|6|7|8 .BR \-d ", " "\-\-databits 5" | 6 | 7 | 8
Set data bits (default: 8). Set data bits (default: 8).
.TP .TP
.B \-f, \--flow hard|soft|none .BR \-f ", " "\-\-flow hard" | soft | none
Set flow control (default: none). Set flow control (default: none).
.TP .TP
.B \-s, \--stopbits 1|2 .BR \-s ", " "\-\-stopbits 1" | 2
Set stop bits (default: 1). Set stop bits (default: 1).
.TP .TP
.B \-p, \--parity odd|even|none .BR \-p ", " "\-\-parity odd" | even | none
Set parity (default: none). Set parity (default: none).
.TP .TP
.B \-o, \--output-delay <ms> .BR \-o ", " "\-\-output\-delay " \fI<ms>
Set output delay [ms] - delay inserted between each transmitted character (default: 0). Set output delay [ms] \(em delay inserted between each transmitted character (default: 0).
.TP .TP
.B \-n, \--no-autoconnect .BR \-n ", " \-\-no\-autoconnect
Disable automatic connect. Disable automatic connect.
.TP .TP
.B \-l, \--log <filename> .BR \-l ", " "\-\-log " \fI<filename>
Log to file. Log to file.
.TP .TP
.B \-v, \--version .BR \-v ", " \-\-version
Display program version. Display program version.
.TP .TP
.B \-h, \--help .BR \-h ", " \-\-help
Display help. Display help.
@ -69,15 +69,15 @@ tio /dev/ttyUSB0
.TP .TP
Which corresponds to: Which corresponds to:
tio -b 115200 -d 8 -f none -s 1 -p none /dev/ttyUSB0 tio \-b 115200 \-d 8 \-f none \-s 1 \-p none /dev/ttyUSB0
.TP .TP
It is recommended to connect serial tty devices by id. For example: It is recommended to connect serial tty devices by id. For example:
tio /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0 tio /dev/serial/by\-id/usb\-FTDI_TTL232R-3V3_FTGQVXBL\-if00\-port0
.PP .PP
Using serial devices by id ensures that tio automatically reconnects to the Using serial devices by id ensures that tio automatically reconnects to the
correct serial device if the device is disconnected and then reconnected. correct serial device if the device is disconnected and then reconnected.
.SH "AUTHOR" .SH "AUTHOR"
.PP .PP
Written by Martin Lund <martin.lund@keep-it-simple.com>. Written by Martin Lund <martin.lund@keep\-it\-simple.com>.