Prev: None. Up: Using BLOX. Next: Evaluating expressions.

Starting BLOX

BLOX and gst are already installed at Hendrix. But if you are running it on your home system, after you've installed it (good luck), you can start BLOX as follows:

unix% gst -qK browser/Run.st &
If you have an image file you want to work with, probably named gst.im, you will want to pass that as a command-line argument.
unix% gst -qK browser/Run.st -I gst.im &
You'll be in BLOX, and you can proceed to the next step of this tutorial.

If you're at Hendrix, you'll first want to log in to my office computer, galadriel, by typing the following at the command line.

unix% ssh 150.208.12.226
Once logged in, you will need to tell galadriel on which terminal to display GUI programs. If your computer's name is merry, then the following accomplishes this.
unix% export DISPLAY=merry:0.0

Once you're set up, you'll want to cd into an appropriate directory before starting BLOX, because the first thing BLOX will do is to create an image file. (It will be called gst.im, and it holds everything about the current environment, taking roughly 2MB of disk space.)

unix% cd CS360
unix% mkdir assn4
unix% cd assn4
Finally, you can start BLOX.
unix% blox &

Prev: None. Up: Using BLOX. Next: Evaluating expressions.