diff options
author | dgp <dgp@users.sourceforge.net> | 2020-03-31 15:39:15 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-03-31 15:39:15 (GMT) |
commit | 67934ac3338b74a78118c5c25ea04897a5a71ca6 (patch) | |
tree | 3af188e78941aaea6c9da257d2aaab46eb9586a8 /doc/binary.n | |
parent | 2df9142617888833f73d8838c09b6276703cb594 (diff) | |
download | tcl-67934ac3338b74a78118c5c25ea04897a5a71ca6.zip tcl-67934ac3338b74a78118c5c25ea04897a5a71ca6.tar.gz tcl-67934ac3338b74a78118c5c25ea04897a5a71ca6.tar.bz2 |
Update docs to describe these changes.
Diffstat (limited to 'doc/binary.n')
-rw-r--r-- | doc/binary.n | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/doc/binary.n b/doc/binary.n index 1f93c03..8f627b7 100644 --- a/doc/binary.n +++ b/doc/binary.n @@ -110,23 +110,28 @@ produce files that other implementations of decoders cannot process): .TP \fB\-maxlen \fIlength\fR . -Indicates that the output should be split into lines of no more than -\fIlength\fR characters. By default, lines are split every 61 characters, and -this must be in the range 3 to 85 due to limitations in the encoding. +Indicates the maximum number of characters to produce for each encoded line. +The valid range is 5 to 85. Line lengths outside that range cannot be +accommodated by the encoding format. The default value is 61. .TP \fB\-wrapchar \fIcharacter\fR . -Indicates that, when lines are split because of the \fB\-maxlen\fR option, -\fIcharacter\fR should be used to separate lines. By default, this is a -newline character, +Indicates the character(s) to use to mark the end of each encoded line. +Acceptable values are a sequence of zero or more characters from the +set { \\x09 (TAB), \\x0B (VT), \\x0C (FF), \\x0D (CR) } followed +by zero or one newline \\x0A (LF). Any other value is rejected because +it would mangle the encoded text too much to decode. The default value +is a single newline. .QW \en . .PP During decoding, the following options are supported: .TP \fB\-strict\fR . -Instructs the decoder to throw an error if it encounters unexpected -whitespace characters. Otherwise it ignores them. +Instructs the decoder to throw an error if it encounters anything +outside of the standard encoding format. Without this option, the +decoder tolerates some deviations, mostly to forgive reflows of lines +between the encoder and decoder. .PP Note that neither the encoder nor the decoder handle the header and footer of the uuencode format. |