gnocl::vte

WJG (08-MAR-09) Sometimes its useful to open a console in an application just to run the occasional command or two. To achieve this Gnome provides a useful widget, VTE or Virtual Terminal Emulation widget. Support for this has now been added to Gnocl. Here's a screenshot of a familiar terminal favourite, Midnight Commander, running within the gnocl::vte widget.

http://wjgiddings.googlepages.com/Screenshot_VTE.png

Heres the script to launch the terminal:

 #!/bin/sh
 # the next line restarts using tclsh \
 exec tclsh "$0" "$@"

 package require Gnocl
 package require GnoclVTE

 gnocl::window -title VTE -child [gnocl::box -children [gnocl::vte]]
 gnocl::mainLoop