Back home
GORT
GORT stands for ... Well if you've ever seen the movie the "Earth Stood Still", it basically stands. GORT is your automoton buddy, with a suite of science-fiction grade tools for detecting, building, and integrating Tcl/Tk packages.
Getting Gort
Gort is distributed as source code via fossil at http://fossil.etoyoc.com/fossil/gort
It can be downloaded as a source zipfile here
Gort is usable directly from the source repository via the "gort.tcl" script in the root folder of the source repository.
To have gort run as "gort" in your environment add an alias:
alias gort="tclsh8.6 PATH_TO_GORT_REPO/gort.tcl"
Gort also has facilities to build itself as a self contained executable. in progress
Gort Requirements
GORT assumes you have two things in your evironment:
- A working copy of Tcl/Tk 8.6
- A working fossil binary
Using GORT
Gort is used in two ways:
- In batch mode via the command line.
- Interactively via the Gort Interactive Shell
To use batch mode, just call gort from the command line:
gort package info tcllib
To use interactive mode, call gort without any arguments, or explicitly with the "shell" command:
gort
OR
gort shell
Gort Shell
The Gort shell is an interactive command line environment. Where Tk is available, it opens in a Tk Text widget. All commands in the shell are accessible directly via the command line.
The help command gives reasonably helpful reference information about the tools provided by Gort. Areas of support include archive packing/unpacking, building packages from source, retrieving packages from the teapot, and populating virtual file systems for other packages.
Any command which is not understood by Gort itself will be interpreted in the global interpreter. If the output is green, Gort is responding. If the output is blue, the command was evaluated using bare tcl. If the output is red, there was an error.