diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-04 15:13:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-04 15:13:50 (GMT) |
commit | 3135d809f53a454377a4497cd20563a3ea061e3b (patch) | |
tree | fcaddbfb5b7aeea80f7ec0acce4ce0df4c57eac2 /doc/chan.n | |
parent | 3d98702f4592b02dee7b963d566407db562fb962 (diff) | |
parent | 6bf04853ecf35bd3d5b034fd47b57e31d1d7a754 (diff) | |
download | tcl-3135d809f53a454377a4497cd20563a3ea061e3b.zip tcl-3135d809f53a454377a4497cd20563a3ea061e3b.tar.gz tcl-3135d809f53a454377a4497cd20563a3ea061e3b.tar.bz2 |
Merge 8.7
Diffstat (limited to 'doc/chan.n')
-rw-r--r-- | doc/chan.n | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -152,7 +152,7 @@ If \fIchar\fR is the empty string, there is no special character that marks the end of the data. The default value is the empty string. The acceptable range is \ex01 - -\ex7f. A value outside this range results in an error. +\ex7F. A value outside this range results in an error. .VS "TCL8.7 TIP656" .TP \fB\-profile\fR \fIprofile\fR @@ -245,10 +245,10 @@ files to slow destinations like network sockets. .PP \fB\-size\fR limits the number of characters copied. .PP -If \fB\-command\fR is gviven, \fBchan copy\fR returns immediately, works in the +If \fB\-command\fR is given, \fBchan copy\fR returns immediately, works in the background, and calls \fIcallback\fR when the copy completes, providing as an additional argument the number of characters written to \fIoutputChan\fR. If -an error occurres during the background copy, another argument provides message +an error occurs during the background copy, another argument provides message for the error. \fIinputChan\fR and \fIoutputChan\fR are automatically configured for non-blocking mode if needed. Background copying only works correctly if events are being processed, e.g. via \fBvwait\fR or Tk. |