Documentation fixes.
authorshort <>
Sat, 3 Jul 1999 18:56:49 +0000 (18:56 +0000)
committershort <>
Sat, 3 Jul 1999 18:56:49 +0000 (18:56 +0000)
mdsms.1.in
setup.h

index f0924c6..debcbe6 100644 (file)
@@ -3,6 +3,9 @@
 .\~ $Id$
 .\~
 .\~ $Log$
 .\~ $Id$
 .\~
 .\~ $Log$
+.\~ Revision 1.4  1999/07/03 18:56:49  short
+.\~ Documentation fixes.
+.\~
 .\~ Revision 1.3  1999/06/03 11:46:41  short
 .\~ Logging (--log) implemented.
 .\~
 .\~ Revision 1.3  1999/06/03 11:46:41  short
 .\~ Logging (--log) implemented.
 .\~
@@ -27,7 +30,7 @@ mdsms \- send SMSes through MobilDock
 .RB [ "-r <sec>" ]
 .RB [ "-t <msec>" ]
 .RB [ "-T <msec>" ]
 .RB [ "-r <sec>" ]
 .RB [ "-t <msec>" ]
 .RB [ "-T <msec>" ]
-.RB [ "\-vhV" ]
+.RB [ "\-fvhV" ]
 .RB [ "<dest. phone>" ]
 .RB [ "<msg text>" ]
 
 .RB [ "<dest. phone>" ]
 .RB [ "<msg text>" ]
 
@@ -129,6 +132,11 @@ and to satisfy these requirements this delay was considered as the best
 approach. The default value is
 .BR DEF_CMDTIME ms.
 .TP
 approach. The default value is
 .BR DEF_CMDTIME ms.
 .TP
+.BR -f | --file
+When parameter <\fBmsg text\fP> has been specified, by using this option
+\fBmdsms\fP will read the file with the <\fBmsg text\fP> filename instead
+and send its \fBcontents\fP as the SMS message.
+.TP
 .BR -v | --verbose
 Increase verbosity level by one. Currently the maximum defined level is
 .BR 3 ,
 .BR -v | --verbose
 Increase verbosity level by one. Currently the maximum defined level is
 .BR 3 ,
@@ -140,7 +148,7 @@ Give short parameters description to
 .I stderr
 (standard error output stream).
 .TP
 .I stderr
 (standard error output stream).
 .TP
-.BR -v | --version
+.BR -V | --version
 Print the version number and exit.
 .TP
 .RB < "dest. phone" >
 Print the version number and exit.
 .TP
 .RB < "dest. phone" >
diff --git a/setup.h b/setup.h
index aecda29..1d6fbec 100644 (file)
--- a/setup.h
+++ b/setup.h
@@ -2,6 +2,9 @@
  * $Id$
  *
  * $Log$
  * $Id$
  *
  * $Log$
+ * Revision 1.5  1999/07/03 18:56:49  short
+ * Documentation fixes.
+ *
  * Revision 1.4  1999/06/03 11:46:41  short
  * Logging (--log) implemented.
  *
  * Revision 1.4  1999/06/03 11:46:41  short
  * Logging (--log) implemented.
  *
@@ -26,7 +29,8 @@
 #endif
 #define DEF_MAXRETRY 10 /* --maxretry default */
 #define DEF_READTIME 60*60 /* --readtime default */
 #endif
 #define DEF_MAXRETRY 10 /* --maxretry default */
 #define DEF_READTIME 60*60 /* --readtime default */
-#define DEF_CHARTIME 10 /* --chartime default */
+#define DEF_CHARTIME 10 /* --chartime default
+                           (500ms per 80char=6.25ms recommended by Siemens */
 #define DEF_CMDTIME 500 /* --cmdtime default */
 #define MAXCONFIG 4096 /* maximum allowed size of any configuration file */
 #define MAXCFGARGS 256 /* maximum allowed number of arguments in cfg file */
 #define DEF_CMDTIME 500 /* --cmdtime default */
 #define MAXCONFIG 4096 /* maximum allowed size of any configuration file */
 #define MAXCFGARGS 256 /* maximum allowed number of arguments in cfg file */