* Makefile.in (CYGWIN_BINS): Add tzset.

* tzset.c: New tool, new file.
	* utils.sgml (tzset): New section.

	* new-features.sgml (ov-new1.7.10): Add tzset.

	* release/1.7.10: Add tzset.
This commit is contained in:
Corinna Vinschen
2012-01-29 09:41:06 +00:00
parent 327afcea30
commit 1b79b38101
7 changed files with 765 additions and 1 deletions

View File

@@ -2117,6 +2117,34 @@ This program is mainly useful for debugging the Cygwin DLL itself.</para>
</sect2>
<sect2 id="tzset"><title>tzset</title>
<screen>
Usage: tzset [OPTION]
Print POSIX-compatible timezone ID from current Windows timezone setting
Options:
-h, --help output usage information and exit.
-V, --version output version information and exit.
Use tzset to set your TZ variable. In POSIX-compatible shells like bash,
dash, mksh, or zsh:
export TZ=$(tzset)
In csh-compatible shells like tcsh:
setenv TZ `tzset`
</screen>
<para>The <command>tzset</command> tool reads the current timezone from Windows
and generates a POSIX-compatible timezone information for the TZ environment
variable from that information. That's all there is to it. For the way how
to use it, see the above usage information.</para>
</sect2>
<sect2 id="umount"><title>umount</title>
<screen>