summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-21 09:27:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-21 09:27:00 (GMT)
commit43044c4c6faa38551b3d808f7be2675b73fd67e3 (patch)
treeb760cd6c40522f1fbdf5f50efcd729d5a4edc4d6 /doc
parent7c6a26e4d9ddc0871cf3c4f7c7ad86b40eb3a56b (diff)
parente715bc67dad8fd0fc152aff7a0f595f8d5fd1286 (diff)
downloadtcl-43044c4c6faa38551b3d808f7be2675b73fd67e3.zip
tcl-43044c4c6faa38551b3d808f7be2675b73fd67e3.tar.gz
tcl-43044c4c6faa38551b3d808f7be2675b73fd67e3.tar.bz2
Fix examples, using "-translation binary" correctly in stead of "-encoding binary"
Diffstat (limited to 'doc')
-rw-r--r--doc/chan.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/chan.n b/doc/chan.n
index b42e906..6387bfb 100644
--- a/doc/chan.n
+++ b/doc/chan.n
@@ -892,7 +892,7 @@ proc GetData {chan} {
}
}
-chan configure $chan -blocking 0 -encoding binary
+chan configure $chan -blocking 0 -translation binary
\fBchan event\fR $chan readable [list GetData $chan]
.CE
.PP
@@ -1051,7 +1051,7 @@ file384b6a8
-errorinfo {...} -errorline 1
% chan tell $f
0
-% chan configure $f -encoding binary -profile strict
+% chan configure $f -translation binary
% chan gets $f
AÃB
.CE
@@ -1075,7 +1075,7 @@ file35a65a0
-errorinfo {...} -errorline 1
% chan tell $f
1
-% chan configure $f -encoding binary -profile strict
+% chan configure $f -translation binary
% chan read $f
ÃB
% chan close $f