Blame SOURCES/minicom-2.6.2-RH-man-page-scan.patch

3b21fe
diff -Naur minicom-2.6.2.orig/man/minicom.1 minicom-2.6.2/man/minicom.1
3b21fe
--- minicom-2.6.2.orig/man/minicom.1	2012-09-02 19:29:30.000000000 +0200
3b21fe
+++ minicom-2.6.2/man/minicom.1	2013-07-31 14:08:12.653963661 +0200
3b21fe
@@ -4,7 +4,7 @@
3b21fe
 .\" It may be distributed under the GNU Public License, version 2, or
3b21fe
 .\" any higher version.  See section COPYING of the GNU Public license
3b21fe
 .\" for conditions under which this file may be redistributed.
3b21fe
-.TH MINICOM 1 "$Date: 2012-09" "User's Manual" "Version 2.6.1"
3b21fe
+.TH MINICOM 1 "July 2013" "User's Manual" "Version 2.6.2"
3b21fe
 .SH NAME
3b21fe
 minicom \- friendly serial communication program
3b21fe
 .SH SYNOPSIS
3b21fe
@@ -9,10 +9,7 @@
3b21fe
 minicom \- friendly serial communication program
3b21fe
 .SH SYNOPSIS
3b21fe
 .B minicom
3b21fe
-.RI "[\-somMlwz8] [\-c on|off] [\-S script] [\-d entry]"
3b21fe
-.br
3b21fe
-.in 15
3b21fe
-.RI "[\-a on|off] [\-t term] [\-p pty] [\-C capturefile] [" configuration ]
3b21fe
+.RI "[options] [" configuration ]
3b21fe
 .SH DESCRIPTION
3b21fe
 .B minicom
3b21fe
 is a communication program which somewhat resembles the shareware
3b21fe
@@ -23,7 +23,7 @@
3b21fe
 configurations, and more.
3b21fe
 .SH COMMAND-LINE
3b21fe
 .TP 0.5i
3b21fe
-.B \-s
3b21fe
+.B \-s, --setup
3b21fe
 .BR S etup.
3b21fe
 Root edits the system-wide defaults in /etc/minirc.dfl with this option. 
3b21fe
 When it is used, minicom does 
3b21fe
@@ -33,7 +33,7 @@
3b21fe
 because your system has changed, or for the first time you run
3b21fe
 minicom. For most systems, reasonable defaults are already compiled in.
3b21fe
 .TP 0.5i
3b21fe
-.B \-o
3b21fe
+.B \-o, --noinit
3b21fe
 Do not initialize. Minicom will skip the initialization code.  This
3b21fe
 option is handy if you quit from minicom without resetting, and
3b21fe
 then want to restart a session. It is potentially dangerous though: no
3b21fe
@@ -42,7 +42,7 @@
3b21fe
 it is assumed, that users who are given access to a modem are
3b21fe
 responsible enough for their actions.
3b21fe
 .TP 0.5i
3b21fe
-.B \-m
3b21fe
+.B \-m, --metakey
3b21fe
 Override command-key with the Meta or ALT key. This is the default in 1.80
3b21fe
 and it can also be configured in one of minicom's menus, but if you use 
3b21fe
 different terminals all the time, of which some don't have a Meta or ALT key,
3b21fe
@@ -51,39 +51,39 @@
3b21fe
 assumes that your Meta key sends the ESC prefix, not the other variant
3b21fe
 that sets the highest bit of the character.
3b21fe
 .TP 0.5i
3b21fe
-.B \-M
3b21fe
+.B \-M, --metakey8
3b21fe
 Same as \-m, but assumes that your Meta key sets the 8th bit of the
3b21fe
 character high (sends 128 + character code).
3b21fe
 .TP 0.5i
3b21fe
-.B \-z
3b21fe
+.B \-z, --statline
3b21fe
 Use terminal status line. This only works on terminals that support it
3b21fe
 and that have the relevant information in their \fItermcap\fP or
3b21fe
 \fIterminfo\fP database entry.
3b21fe
 .TP 0.5i
3b21fe
-.B \-l
3b21fe
+.B \-l, --ansi
3b21fe
 .BR L iteral
3b21fe
 translation of characters with the high bit set. With this flag on,
3b21fe
 minicom will try to translate the IBM line characters to ASCII. Many PC-unix
3b21fe
 clones will display character correctly without translation (Linux in a
3b21fe
 special mode, Coherent and SCO).
3b21fe
 .TP 0.5i
3b21fe
-.B \-L
3b21fe
+.B \-L, --iso
3b21fe
 Ditto but assume screen uses an ISO8859 character set.
3b21fe
 .TP 0.5i
3b21fe
-.B \-w
3b21fe
+.B \-w, --wrap
3b21fe
 Turns line-wrap on at startup by default.
3b21fe
 .TP 0.5i
3b21fe
-.B \-H
3b21fe
+.B \-H, --displayhex
3b21fe
 Turn on output in hex mode.
3b21fe
 .TP 0.5i
3b21fe
-.B \-a
3b21fe
+.B \-a, --attrib=on/off
3b21fe
 .BR A ttribute
3b21fe
 usage. Some terminals, notably Televideo's, have rotten attribute
3b21fe
 handling (serial instead of parallel). By default, minicom uses '\-a
3b21fe
 on', but if you are using such a terminal you can (must!)  supply the
3b21fe
 option '\-a off'. The trailing 'on' or 'off' is needed.
3b21fe
 .TP 0.5i
3b21fe
-.B \-t
3b21fe
+.B \-t, --term=TERM
3b21fe
 .BR T erminal
3b21fe
 type. With this flag, you can override the environment TERM variable.
3b21fe
 This is handy for use in the MINICOM environment variable; one can create
3b21fe
@@ -91,7 +91,7 @@
3b21fe
 initializes the screen to raw mode so that in conjunction with the \-l
3b21fe
 flag, the IBM line characters are displayed untranslated.
3b21fe
 .TP 0.5i
3b21fe
-.B \-c
3b21fe
+.B \-c, --color=on/off
3b21fe
 .BR C olor
3b21fe
 usage. Some terminals (such as the Linux console) support color with
3b21fe
 the standard ANSI escape sequences. Because there is apparently no
3b21fe
@@ -100,14 +100,14 @@
3b21fe
 with '\-c on'. This, and the '\-m' option, are good candidates to put
3b21fe
 into the MINICOM environment variable.
3b21fe
 .TP 0.5i
3b21fe
-.B \-S 
3b21fe
+.B \-S, --script=SCRIPT
3b21fe
 .BR script .
3b21fe
 Run the named script at startup. So far, passing username and password
3b21fe
 to a startup script is not supported. If you also use the \-d option to
3b21fe
 start dialing at startup, the \-S script will be run BEFORE dialing the
3b21fe
 entries specified with \-d.
3b21fe
 .TP 0.5i
3b21fe
-.B \-d
3b21fe
+.B \-d, --dial=ENTRY
3b21fe
 .BR D ial
3b21fe
 an entry from the dialing directory on startup. You can specify an
3b21fe
 index number, but also a substring of the name of the entry. If you 
3b21fe
@@ -117,7 +117,7 @@
3b21fe
 entry specified after all other program initialization procedures are 
3b21fe
 completed.
3b21fe
 .TP 0.5i
3b21fe
-.B \-p
3b21fe
+.B \-p, --ptty=TTYP
3b21fe
 .BR P seudo
3b21fe
 terminal
3b21fe
 to use. This overrides the terminal port defined in the configuration
3b21fe
@@ -125,34 +125,40 @@
3b21fe
 the form (/dev/)tty[p-z/][0-f], (/dev/)pts[p-z/][0-f] or 
3b21fe
 (/dev/)pty[p-z/][0-f]. For example, /dev/ttyp1, pts/0 or /dev/ptyp2.
3b21fe
 .TP 0.5i
3b21fe
-.B \-C
3b21fe
+.B \-C, --capturefile=FILE
3b21fe
 .BR filename .
3b21fe
 Open capture file at startup.
3b21fe
 .TP 0.5i
3b21fe
-.B \-T
3b21fe
+.B \-T, --disabletime
3b21fe
 Disable the display of the online time in the status bar.
3b21fe
 .TP 0.5i
3b21fe
-.B \-b
3b21fe
+.B \-b, --baudrate
3b21fe
 Specify the baud rate, overriding the value given in the configuration
3b21fe
 file.
3b21fe
 .TP 0.5i
3b21fe
-.B \-D
3b21fe
+.B \-D, --device
3b21fe
 Specify the device, overriding the value given in the configuration file.
3b21fe
 .TP 0.5i
3b21fe
-.B \-R
3b21fe
+.B \-R, --remotecharset
3b21fe
 Specify the character set of the remote system is using and convert it to
3b21fe
 the character set of the local side. Example might be 'latin1'.
3b21fe
 .TP 0.5i
3b21fe
-.B \-7
3b21fe
+.B \-7, --7bit
3b21fe
 7bit mode for terminals which aren't 8bit capable. 8bit is default if the
3b21fe
 environment is configured for this via LANG or LC_ALL, 7bit otherwise.
3b21fe
 .TP 0.5i
3b21fe
-.B \-8
3b21fe
+.B \-8, --8bit
3b21fe
 8bit characters pass through without any modification.  'Continuous'
3b21fe
 means no locate/attribute control sequences are inserted without
3b21fe
 real change of locate/attribute. This mode is to display 8bit
3b21fe
 multi-byte characters such as Japanese. Not needed in every language with
3b21fe
 8bit characters. (For example displaying Finnish text doesn't need this.)
3b21fe
+.TP 0.5i
3b21fe
+.B \-h, --help
3b21fe
+Display help and exit.
3b21fe
+.TP 0.5i
3b21fe
+.B \-v, --version
3b21fe
+Print the minicom version.
3b21fe
 .PP
3b21fe
 .RS 0.5i
3b21fe
 When
3b21fe
diff -Naur minicom-2.6.2.orig/src/minicom.c minicom-2.6.2/src/minicom.c
3b21fe
--- minicom-2.6.2.orig/src/minicom.c	2013-01-18 23:41:44.000000000 +0100
3b21fe
+++ minicom-2.6.2/src/minicom.c	2013-07-31 14:09:46.912181667 +0200
3b21fe
@@ -831,6 +831,7 @@
3b21fe
     "  -T, --disabletime      : disable display of online time\n"
3b21fe
     "  -R, --remotecharset    : character set of communication partner\n"
3b21fe
     "  -v, --version          : output version information and exit\n"
3b21fe
+    "  -h, --help             : show help\n"
3b21fe
     "  configuration          : configuration file to use\n\n"
3b21fe
     "These options can also be specified in the MINICOM environment variable.\n"),
3b21fe
     PACKAGE);