nx-shell.tcl

Clone Tools
  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
nx::shell2: Rewrote in-shell exit support to avoid Tcl's native exit and to unwind gracefully to avoid NSF refcount leaks on exit; bumped package number

  1. … 5 more files in changeset.
nx::shell2: Provide complete errorinfo, not just top-level line

Harden nx::shell against inlined return statements

Some cleanup and adding basic test cases

  1. … 5 more files in changeset.
nx::shell reform: Provide an alternative nx::shell impl (nx::shell2), used by all four shell scripts. nx::shell2 builds on Tcl's event loop, rather than while + update. This avoids blocking the Tk main window (update). In addition, nx::shell2 is closer to Tcl's native shells (e.g., no extra lines on enter, catches EOF).

  1. … 4 more files in changeset.
nx::shell: Have xotclsh and xowish use nx::shell

  1. … 4 more files in changeset.
nx::shell: Avoid poluting global namespace

Started refactoring scripted shell environment into a single, package location (nx::shell) to ease sharing between nxsh & friends, as well as to facilitate implementingNX/XOTcl shells in wrapped applications (tclkits)