nx-shell.tcl

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove useless expr statements

  1. … 1 more file in changeset.
nx::shell2: extend the exit wrapper to include Tcl 8.6 try

nx::shell2: Make sure that the proper exit code is provided when leaving the -c stdin mode

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)