+(4.2.7p166) 2011/05/13 Released by Harlan Stenn <stenn@ntp.org>
* If we have local overrides for autogen template files, use them.
* Convert more of the sntp-opt.def documentation from man to mdoc.
(4.2.7p165) 2011/05/11 Released by Harlan Stenn <stenn@ntp.org>
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
- * It has been AutoGen-ed May 11, 2011 at 11:27:57 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:41:08 AM by AutoGen 5.11.9
* From the definitions ntpd-opts.def
* and the template file options
*
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
static char const zCopyright[40] =
-"ntpd 4.2.7p165\n\
+"ntpd 4.2.7p166\n\
see html/copyright.html\n";
static char const zLicenseDescrip[25] =
"see html/copyright.html\n";
*/
static char const zPROGNAME[5] = "NTPD";
static char const zUsageTitle[133] =
-"ntpd - NTP daemon program - Ver. 4.2.7p165\n\
+"ntpd - NTP daemon program - Ver. 4.2.7p166\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \\\n\
\t\t[ <server1> ... <serverN> ]\n";
#define zRcName NULL
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.h)
*
- * It has been AutoGen-ed May 11, 2011 at 11:27:56 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:41:08 AM by AutoGen 5.11.9
* From the definitions ntpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 36
-#define NTPD_VERSION "4.2.7p165"
-#define NTPD_FULL_VERSION "ntpd 4.2.7p165"
+#define NTPD_VERSION "4.2.7p166"
+#define NTPD_FULL_VERSION "ntpd 4.2.7p166"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpd-opts.texi)
#
-# It has been AutoGen-ed May 11, 2011 at 11:30:19 AM by AutoGen 5.11.9
+# It has been AutoGen-ed May 13, 2011 at 11:41:31 AM by AutoGen 5.11.9
# From the definitions ntpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpd - NTP daemon program - Ver. 4.2.7p165
+ntpd - NTP daemon program - Ver. 4.2.7p166
USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \
[ <server1> ... <serverN> ]
Flg Arg Option-Name Description
-.TH NTPD 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
+.TH NTPD 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpd.1)
.\"
-.\" It has been AutoGen-ed May 11, 2011 at 11:30:18 AM by AutoGen 5.11.9
+.\" It has been AutoGen-ed May 13, 2011 at 11:41:30 AM by AutoGen 5.11.9
.\" From the definitions ntpd-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.c)
*
- * It has been AutoGen-ed May 11, 2011 at 11:30:52 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:41:37 AM by AutoGen 5.11.9
* From the definitions ntpdc-opts.def
* and the template file options
*
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
static char const zCopyright[41] =
-"ntpdc 4.2.7p165\n\
+"ntpdc 4.2.7p166\n\
see html/copyright.html\n";
static char const zLicenseDescrip[25] =
"see html/copyright.html\n";
*/
static char const zPROGNAME[6] = "NTPDC";
static char const zUsageTitle[129] =
-"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p165\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p166\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
static char const zRcName[7] = ".ntprc";
static char const * const apzHomeList[3] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
*
- * It has been AutoGen-ed May 11, 2011 at 11:30:52 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:41:37 AM by AutoGen 5.11.9
* From the definitions ntpdc-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 15
-#define NTPDC_VERSION "4.2.7p165"
-#define NTPDC_FULL_VERSION "ntpdc 4.2.7p165"
+#define NTPDC_VERSION "4.2.7p166"
+#define NTPDC_FULL_VERSION "ntpdc 4.2.7p166"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi)
#
-# It has been AutoGen-ed May 11, 2011 at 11:31:26 AM by AutoGen 5.11.9
+# It has been AutoGen-ed May 13, 2011 at 11:41:46 AM by AutoGen 5.11.9
# From the definitions ntpdc-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpdc - vendor-specific NTP query program - Ver. 4.2.7p165
+ntpdc - vendor-specific NTP query program - Ver. 4.2.7p166
USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPDC 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
+.TH NTPDC 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdc.1)
.\"
-.\" It has been AutoGen-ed May 11, 2011 at 11:31:25 AM by AutoGen 5.11.9
+.\" It has been AutoGen-ed May 13, 2011 at 11:41:46 AM by AutoGen 5.11.9
.\" From the definitions ntpdc-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.c)
*
- * It has been AutoGen-ed May 11, 2011 at 11:31:29 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:41:47 AM by AutoGen 5.11.9
* From the definitions ntpq-opts.def
* and the template file options
*
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
static char const zCopyright[40] =
-"ntpq 4.2.7p165\n\
+"ntpq 4.2.7p166\n\
see html/copyright.html\n";
static char const zLicenseDescrip[25] =
"see html/copyright.html\n";
*/
static char const zPROGNAME[5] = "NTPQ";
static char const zUsageTitle[121] =
-"ntpq - standard NTP query program - Ver. 4.2.7p165\n\
+"ntpq - standard NTP query program - Ver. 4.2.7p166\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
static char const zRcName[7] = ".ntprc";
static char const * const apzHomeList[3] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
*
- * It has been AutoGen-ed May 11, 2011 at 11:31:28 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:41:47 AM by AutoGen 5.11.9
* From the definitions ntpq-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 14
-#define NTPQ_VERSION "4.2.7p165"
-#define NTPQ_FULL_VERSION "ntpq 4.2.7p165"
+#define NTPQ_VERSION "4.2.7p166"
+#define NTPQ_FULL_VERSION "ntpq 4.2.7p166"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpq-opts.texi)
#
-# It has been AutoGen-ed May 11, 2011 at 11:32:13 AM by AutoGen 5.11.9
+# It has been AutoGen-ed May 13, 2011 at 11:42:00 AM by AutoGen 5.11.9
# From the definitions ntpq-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpq - standard NTP query program - Ver. 4.2.7p165
+ntpq - standard NTP query program - Ver. 4.2.7p166
USAGE: ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPQ 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
+.TH NTPQ 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpq.1)
.\"
-.\" It has been AutoGen-ed May 11, 2011 at 11:32:11 AM by AutoGen 5.11.9
+.\" It has been AutoGen-ed May 13, 2011 at 11:42:00 AM by AutoGen 5.11.9
.\" From the definitions ntpq-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c)
*
- * It has been AutoGen-ed May 11, 2011 at 11:32:14 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:42:01 AM by AutoGen 5.11.9
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
static char const zCopyright[44] =
-"ntpsnmpd 4.2.7p165\n\
+"ntpsnmpd 4.2.7p166\n\
see html/copyright.html\n";
static char const zLicenseDescrip[25] =
"see html/copyright.html\n";
*/
static char const zPROGNAME[9] = "NTPSNMPD";
static char const zUsageTitle[105] =
-"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p165\n\
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p166\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
static char const zRcName[7] = ".ntprc";
static char const * const apzHomeList[3] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.h)
*
- * It has been AutoGen-ed May 11, 2011 at 11:32:14 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:42:01 AM by AutoGen 5.11.9
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 8
-#define NTPSNMPD_VERSION "4.2.7p165"
-#define NTPSNMPD_FULL_VERSION "ntpsnmpd 4.2.7p165"
+#define NTPSNMPD_VERSION "4.2.7p166"
+#define NTPSNMPD_FULL_VERSION "ntpsnmpd 4.2.7p166"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.texi)
#
-# It has been AutoGen-ed May 11, 2011 at 11:32:36 AM by AutoGen 5.11.9
+# It has been AutoGen-ed May 13, 2011 at 11:42:05 AM by AutoGen 5.11.9
# From the definitions ntpsnmpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p165
+ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p166
USAGE: ntpsnmpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-n no nofork Do not fork
-.TH NTPSNMPD 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
+.TH NTPSNMPD 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1)
.\"
-.\" It has been AutoGen-ed May 11, 2011 at 11:32:34 AM by AutoGen 5.11.9
+.\" It has been AutoGen-ed May 13, 2011 at 11:42:04 AM by AutoGen 5.11.9
.\" From the definitions ntpsnmpd-opts.def
.\" and the template file agman1.tpl
.\"
# - Numeric values increment
# - empty 'increments' to 1
# - NEW 'increments' to empty
-point=165
+point=166
### betapoint is normally modified by script.
# ntp-stable Beta number (betapoint)
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.c)
*
- * It has been AutoGen-ed May 11, 2011 at 11:08:32 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:38:46 AM by AutoGen 5.11.9
* From the definitions sntp-opts.def
* and the template file options
*
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
static char const zCopyright[40] =
-"sntp 4.2.7p165\n\
+"sntp 4.2.7p166\n\
see html/copyright.html\n";
static char const zLicenseDescrip[25] =
"see html/copyright.html\n";
*/
static char const zPROGNAME[5] = "SNTP";
static char const zUsageTitle[154] =
-"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165\n\
+"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p166\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \\\n\
\t\t[ hostname-or-IP ...]\n";
static char const zRcName[7] = ".ntprc";
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.h)
*
- * It has been AutoGen-ed May 11, 2011 at 11:08:32 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:38:45 AM by AutoGen 5.11.9
* From the definitions sntp-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 24
-#define SNTP_VERSION "4.2.7p165"
-#define SNTP_FULL_VERSION "sntp 4.2.7p165"
+#define SNTP_VERSION "4.2.7p166"
+#define SNTP_FULL_VERSION "sntp 4.2.7p166"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (sntp-opts.texi)
#
-# It has been AutoGen-ed May 11, 2011 at 07:29:02 PM by AutoGen 5.11.9
+# It has been AutoGen-ed May 13, 2011 at 11:42:20 AM by AutoGen 5.11.9
# From the definitions sntp-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165
+sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p166
USAGE: sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \
[ hostname-or-IP ...]
Flg Arg Option-Name Description
-.Dd May 11 2011
+.Dd May 13 2011
.Dt SNTP 1 User Commands
.Os SunOS 5.10
.\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc)
.\"
-.\" It has been AutoGen-ed May 11, 2011 at 07:29:01 PM by AutoGen 5.11.9
+.\" It has been AutoGen-ed May 13, 2011 at 11:42:20 AM by AutoGen 5.11.9
.\" From the definitions sntp-opts.def
.\" and the template file agmdoc-cmd.tpl
.Sh NAME
.Nm sntp
-.Nd standard Simple Network Time Protocol program.Sh SYNOPSIS
-.Nm SNTP
+.Nd standard Simple Network Time Protocol program
+.Sh SYNOPSIS
+.Nm
.\" Mixture of short (flag) options and long options
.Op Fl flags
.Op Fl flag Ar value
The operation failed or the command syntax was not valid.
.El
.Sh USAGE
-The simplest use of this program is as an unprivileged command to check the
-current time and error in the local clock. For example:
-.Bl -tag
-.It
-.El
-.Nm sntp ntpserver.somewhere
-With suitable privilege, it can be run as a command or in a
-.Em cron
-job to reset the local clock from a reliable server, like the
-.Em ntpdate
-and
-.Em rdate
-commands. For example:
-.Bl -tag
-.It
-.El
-.Nm sntp -a ntpserver.somewhere
+.Bl -tag -width indent
+.It Li "sntp ntpserver.somewhere"
+is the simplest use of this program
+and can be run as an unprivileged command
+to check the current time and error in the local clock.
+.It Li "sntp -a ntpserver.somewhere"
+With suitable privilege,
+run as a command
+or from a
+.Xr cron 8
+job,
+.Ic "sntp -a"
+will reset the local clock from a synchronized specified server,
+like the (deprecated)
+.Xr ntpdate 8 ,
+or
+.Xr rdate 8
+commands.
+.El
+.Sh RETURN VALUE
The program returns a zero exit
-status for success, and a non-zero one otherwise.
+status for success, and a non-zero one otherwise.
+.Sh BUGS
Please report bugs to http://bugs.ntp.org .
.Sh ENVIRONMENT
See \fBOPTION PRESETS\fP for configuration environment variables.
clock. Run as root, it can correct the system clock to this offset as
well. It can be run as an interactive command or from a cron job.
- <p>This document applies to version 4.2.7p165 of <code>sntp</code>.
+ <p>This document applies to version 4.2.7p166 of <code>sntp</code>.
<p>The program implements the SNTP protocol as defined by RFC 5905, the NTPv4
IETF specification.
<p><a name="index-sntp-usage-3"></a>
This is the automatically generated usage text for sntp:
-<pre class="example">sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165
+<pre class="example">sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p166
USAGE: sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
[ hostname-or-IP ...]
Flg Arg Option-Name Description
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c)
*
- * It has been AutoGen-ed May 11, 2011 at 11:32:43 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:42:06 AM by AutoGen 5.11.9
* From the definitions ntp-keygen-opts.def
* and the template file options
*
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
static char const zCopyright[52] =
-"ntp-keygen (ntp) 4.2.7p165\n\
+"ntp-keygen (ntp) 4.2.7p166\n\
see html/copyright.html\n";
static char const zLicenseDescrip[25] =
"see html/copyright.html\n";
*/
static char const zPROGNAME[11] = "NTP_KEYGEN";
static char const zUsageTitle[116] =
-"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p165\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p166\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
static char const zRcName[7] = ".ntprc";
static char const * const apzHomeList[3] = {
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h)
*
- * It has been AutoGen-ed May 11, 2011 at 11:32:42 AM by AutoGen 5.11.9
+ * It has been AutoGen-ed May 13, 2011 at 11:42:05 AM by AutoGen 5.11.9
* From the definitions ntp-keygen-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 24
-#define NTP_KEYGEN_VERSION "4.2.7p165"
-#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) 4.2.7p165"
+#define NTP_KEYGEN_VERSION "4.2.7p166"
+#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) 4.2.7p166"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi)
#
-# It has been AutoGen-ed May 11, 2011 at 11:33:08 AM by AutoGen 5.11.9
+# It has been AutoGen-ed May 13, 2011 at 11:42:12 AM by AutoGen 5.11.9
# From the definitions ntp-keygen-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p165
+ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p166
USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-c Str certificate certificate scheme
-.TH NTP-KEYGEN 1 2011-05-11 "(ntp 4.2.7p165)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2011-05-13 "(ntp 4.2.7p166)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1)
.\"
-.\" It has been AutoGen-ed May 11, 2011 at 11:33:06 AM by AutoGen 5.11.9
+.\" It has been AutoGen-ed May 13, 2011 at 11:42:12 AM by AutoGen 5.11.9
.\" From the definitions ntp-keygen-opts.def
.\" and the template file agman1.tpl
.\"