Here are some patches to Swank. These only affect tcl/lang/SwkShell.java:
1. Add support for ~/.wishrc to source code on startup
2. Beginning support for tcl_prompt (per Shawn Boyce's earlier Jacl patch)
3. Set default window title to filename sourced, or to 'wisk'
4. Adds an event loop when running a file on the command line (*)
5. Changes console I/O from System to using Tcl Channels.
(*) this was a major block for me, Swank1.0 with the stock Jacl CVS 1.3.x
source doesn't let you run:
$ wisk somefile.tcl
Previously, wisk would startup, display the main window, and promptly
exit. Adding the event loop allows normal wish-like behavior.
Also see my related Jacl patch that runs jaclsh or wisk from the same
startup shell.
--
Tom Poindexter
tpo...@ny...
http://www.nyx.net/~tpoindex/
|