diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-26 09:36:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-26 09:36:30 (GMT) |
commit | 837f6c4dc096082d7e645f702f494f8a70a51a32 (patch) | |
tree | efb5f6ab253b6d4b8d51889b011d87528742b251 /doc | |
parent | d33fc57550e1921bfadb8fe4b90d7e55bf23e6f5 (diff) | |
parent | 4ee4ed8efe6d1d806989ea477d25fa98a70a51a3 (diff) | |
download | tcl-837f6c4dc096082d7e645f702f494f8a70a51a32.zip tcl-837f6c4dc096082d7e645f702f494f8a70a51a32.tar.gz tcl-837f6c4dc096082d7e645f702f494f8a70a51a32.tar.bz2 |
TIP #646: Change -eofchar handling (Tcl 8.7 part)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/chan.n | 7 | ||||
-rw-r--r-- | doc/fconfigure.n | 2 |
2 files changed, 4 insertions, 5 deletions
@@ -144,15 +144,14 @@ interface with the operating system, .TP \fB\-eofchar\fR \fIchar\fR .TP -\fB\-eofchar\fR \fB{\fIinChar outChar\fB}\fR +\fB\-eofchar\fR \fB{\fIchar outChar\fB}\fR . \fIchar\fR signals the end of the data when it is encountered in the input. -For output, the character is added when the channel is closed. If \fIchar\fR +For output, \fIoutChar\fR is added when the channel is closed. If \fIchar\fR is the empty string, there is no special character that marks the end of the data. For read-write channels, one end-of-file character for input and another for output may be given. When only one end-of-file character is given it is -applied to both input and output. For a read-write channel two values are -returned even if they are are identical. +applied to input only. The default value is the empty string, except that under Windows the default value for reading is Control-z (\ex1A). The acceptable range is \ex01 - diff --git a/doc/fconfigure.n b/doc/fconfigure.n index 2926777..4bb9fc6 100644 --- a/doc/fconfigure.n +++ b/doc/fconfigure.n @@ -103,7 +103,7 @@ system, as returned by \fBencoding system\fR. .TP \fB\-eofchar\fR \fIchar\fR .TP -\fB\-eofchar\fR \fB{\fIinChar outChar\fB}\fR +\fB\-eofchar\fR \fB{\fIchar outChar\fB}\fR . This option supports DOS file systems that use Control-z (\ex1A) as an end of file marker. If \fIchar\fR is not an empty string, then this |