aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-12-19 02:14:06 +0000
committerChristopher Faylor <me@cgf.cx>2002-12-19 02:14:06 +0000
commitc3405ba93ee5a90c75e4eb95f842765b10281928 (patch)
tree1f83e817b77ee50afa8f757b08f9db6ec4b1551e
parent037c11e868787e40b08a29f70657d5f734a11d88 (diff)
downloadnewlib-c3405ba93ee5a90c75e4eb95f842765b10281928.zip
newlib-c3405ba93ee5a90c75e4eb95f842765b10281928.tar.gz
newlib-c3405ba93ee5a90c75e4eb95f842765b10281928.tar.bz2
* overview2.sgml: Remove CTRL-Z discussion.
* cygwinenv.sgml: Expand on CYGWIN=binmode.
-rw-r--r--winsup/doc/ChangeLog5
-rw-r--r--winsup/doc/cygwinenv.sgml12
-rw-r--r--winsup/doc/overview2.sgml4
3 files changed, 15 insertions, 6 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 0075f86..152c18d 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-18 Christopher Faylor <cgf@redhat.com>
+
+ * overview2.sgml: Remove CTRL-Z discussion.
+ * cygwinenv.sgml: Expand on CYGWIN=binmode.
+
2002-11-10 Christopher Faylor <cgf@redhat.com>
* how-programming.texinfo: Document _WIN32 more fully.
diff --git a/winsup/doc/cygwinenv.sgml b/winsup/doc/cygwinenv.sgml
index bb391a5..c8c00f9 100644
--- a/winsup/doc/cygwinenv.sgml
+++ b/winsup/doc/cygwinenv.sgml
@@ -10,9 +10,15 @@ by prefixing with <literal>no </literal>.</para>
<listitem>
<para><FirstTerm>(no)binmode</FirstTerm> - if set, non-disk
(e.g. pipe and COM ports) file opens default to binary mode
-(no CR/LF/Ctrl-Z translations) instead of text mode.
-Defaults to set (binary mode). This option must be set
-before starting a Cygwin shell to have an effect on redirection.
+(no CRLF translation) instead of text mode. Defaults to set (binary
+mode). By default, devices are opened in binary mode, so this option
+has little effect on normal cygwin operations.
+
+It does affect two things, however. For non-NTFS filesystems, this
+option will control the line endings for standard output/input/error
+for redirection from the Windows command shell. It will also affect
+the default translation mode of a pipe, although most shells set the
+pipe to binary by default.
</para>
<warning><title>Warning!</title><para>If set in 12/98 b20.1, all files
always open in binary mode.</para></warning>
diff --git a/winsup/doc/overview2.sgml b/winsup/doc/overview2.sgml
index 755b4c4..04b6b35 100644
--- a/winsup/doc/overview2.sgml
+++ b/winsup/doc/overview2.sgml
@@ -171,9 +171,7 @@ sources.</para>
<para>Unfortunately, UNIX and Win32 use different end-of-line terminators in
text files. Consequently, carriage-return newlines have to be translated on
-the fly by Cygwin into a single newline when reading in text mode. The
-control-z character is interpreted as a valid end-of-file character for a
-similar reason.</para>
+the fly by Cygwin into a single newline when reading in text mode.</para>
<para>This solution addresses the compatibility requirement at the expense of
violating the POSIX standard that states that text and binary mode will be