|
2002-06-05
| ||
| 23:34 | • Closed ticket [526543ffff]: tcl_interactive side effect plus 8 other changes artifact: a35dfa94a7 user: dgp | |
|
2002-06-01
| ||
| 06:32 | • Ticket [526543ffff]: 1 change artifact: e158aee408 user: dgp | |
|
2002-03-06
| ||
| 18:46 | • New ticket [526543ffff]. artifact: 0633591073 user: dgp | |
tcl_interactive side effect
Closed / Invalid526543ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 24 years ago
Descriptionplain2002-03-06 18:46:11
In the Tcl_Main rewrite, the global Tcl variable tcl_interactive was linked to the C variable tty, allowing Tcl's test suite to enable/disbale interactive-style output. As long as Tcl scripts treat tcl_interactive as read-only, there's no problem. Some Tcl code does write to tcl_interactive, though, notably tkcon, and the "console for Unix" at the Wiki, so we should check whether this change breaks them, and whether Tcl_Main, or they should be changed to resolve the matter.
dgp Ticket [526543ffff]: 1 change
[History diff]2002-06-01 06:32:11
dgpplain2002-06-05 23:34:05
Logged In: YES user_id=80530 This change should not break any currently working case described above. Those examples require Tk, and that has meant interpretation with wish, not tclsh. wish does not use Tcl_Main, so these changes will have no effect. If one tries to use the "console for Unix" or tkcon in a tclsh (with loaded Tk), it's possible there will be unexpected results (haven't checked in detail), but that will only mean that to expand to this new functionality, that code will have to be changed to respect the read-only nature of tcl_interactive. Assigning to Jeff as Pending in case he has a comment. If not, this will close.
Log in (anonymous is fine) to add a comment.