Purpose:
tkcon is a replacement for the standard console that comes with Tk (on
Windows/Mac, but also works on Unix). The console itself provides
many more features than the standard console. tkcon works on all
platforms where Tcl/Tk is available. It is meant primarily to aid one when
working with the little details inside tcl and tk, giving Unix users the GUI
console provided by default in the Mac and Windows Tk. It's also not a bad
replacement for the default MS-DOS shell (although it needs lots of fine
tuning).
See Limitations for a good idea of what
tkcon can't do for you.
Features:
Just in case you don't run across them while playing, here are some of the
extras in tkcon:
- Command history
- Path (Unix style) / Proc / Variable name expansion
- Multiple consoles, each with its own state (via multiple interpreters)
- Captures
stdout
and stderr
to console window
- Electric character matching (a la emacs)
- Electric proc highlighting
- Enhanced history searching
- Configurable
- Cut / Copy / Paste between windows
- Communication between consoles and other Tk interpreters (including
non-tcl ones)
- Hot Errors (click on error result to see stack trace)
- Works on all Tk platforms
Read the
documentation for how to take advantage
of these features.