Artifacts Associated With Ticket 659494ffffffffff
Ticket change [4ec3188f95] (rid 125697) by nobody on 2002-12-28 21:29:06:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OS Platform and Version: Macintosh, 10.2.3 Problem Behavior: When executing 'wish script' from bash shell, where the script file contains a "console hide" command, I get an error message reporting that the console command is invalid. Expected Behavior: Console hide and console show commands in tcl scripts should be obeyed. Details: I get the following message invalid command name "console" while executing "console hide" If I execute wish by bash-2.05a$ wish </dev/null and then from the console window type % source script Everything is ok. It also fails if the script is sourced from the Wish menu item "file->source" - foundin initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "Wish execution of console hide fails"
- type initialized to: "Bug"
Ticket change [d9f495bcb6] (rid 107699) by dkf on 2003-01-07 17:38:21:
- closedate changed to: "2003-01-07T10:38:21"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 The console is a feature of Tk, not Tcl. And it is not generally present on UNIX systems, though it sounds like MacOSX-Tcl is inconsistent about this. The usual workaround is to do, for example: catch {console hide} - login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- subsystem changed to: "69. Other"
- username: "dkf"