Next: , Previous: , Up: Top   [Contents][Index]

2 Starting and Stopping LUX.

(To install LUX on your computer system, see Installing LUX). You begin a LUX session by typing at the keyboard the name of the program on your system (probably lux). After some initialization and a greeting message, the main LUX prompt appears:


LUX is now ready to take your commands. Any complete command that you type is executed immediately. For example, if you type the command t,'Hello, world!' and press the RET key, then the screen looks something like this:

LUX>t,'Hello, world!'
Hello, world!

The t command is a synonym of type (type) and print (print), and displays its arguments on the screen. LUX has executed your command and is waiting for the next one.

You end a LUX session by entering the quit command (quit), or the equivalent exit command (exit);

If you want some initialization commands to be executed automatically when LUX starts up, then put those commands in file .luxinit in your home directory. The contents of that file are read and executed automatically when LUX starts.