Skip to content
Tcl Source Code View Ticket
Login

View Ticket

missing option in chan ensemble docs

Closed / Invalid88610dda58ab0d0ac538ae4288f0a206eae2f514Created 1 year agoUpdated 1 year ago
Descriptionplain2025-07-08 07:10:11
On page https://www.tcl-lang.org/man/tcl9.0/TclCmd/chan.html there is no mention of the `chan configure _channel_ -winsize` option.
But it works for me, e.g.,

$ tclsh9
% chan configure stdout -winsize
93 50

This is useful so ought to be documented.
apnadkarnimarkdown2025-07-08 14:19:55

It's documented on the open manpage. This is true of many channel options that are specific to channel types. I think the chan manpage only documents those common to all channels.

mnsummerfieldplain2025-07-09 07:13:33
You're right. And I've now noticed that in the `chan configure` docs there is a cross-ref to `open`, so I've attempted to close this as invalid.
Log in (anonymous is fine) to add a comment.