[tcljava-dev] PATCH: Jacl
Brought to you by:
mdejong
From: Tom P. <tpo...@ny...> - 2002-08-04 20:06:51
|
Here are some patches to Jacl, some of these patch are the same as the ones I posted on 6/30/2002. 1. Unified jaclsh/wisk startup, checks $0 to determine if starting jaclsh or wisk. To use this patch, place swank.jar in the same install directory as jacl.jar and tcljava.jar, and 'ln -s jaclsh wisk'. 2. jaclsh: runs 'tty(1)', and checks output if running on a tty device. If so, set 'jacl.tty' property so that the Jacl interpreter can use the appropriate Channel flush behavior. 3. jaclsh: sets 'jacl.tcllibpath' property so that init.tcl can add the installed lib path to auto_path. 4. Interp.java: check jacl.tty property, set interp isTty field. Flush all open channels when exiting. Makes allowExceptions() method public for use by Swank. 5. Shell.java: add processing of ~/.jaclshrc on shell startup, add support for custom tcl_prompt (per Shawn Boyce's earlier patch). 6. StdChannel.java: flush output on write if channel is stderr, or if channel is stdout and connected to a tty device. 7. init.tcl: add contents of system property jacl.tcllibpath to auto_path. 8. TCL.java: change scope of OK to public, for use by Swank. -- Tom Poindexter tpo...@ny... http://www.nyx.net/~tpoindex/ |