| |
|
| This version of the LWB features a sophisticated graphical
user interface using XWindows and Motif. It is currently available for Solaris and Linux as binary distributions. | |||
| It should be possible to port this version to other unix systems, although you'll need Motif to do that. If you want to make such a port to another system, please tell us. We will then gladly make the source code available to you. | |||
| a picture of a
sample XLWB session (38 K) | |||
| Startup: | ||||
xlwb [options]
| ||||
where the given options are X Toolkit command line options, like
-foreground.
| ||||
| make sure that every LWB statement is terminated with a semicolon (';'). Contrary to the ASCII LWB is the given text processed when the RETURN key is pressed. This will produce a parse error when the statement is not terminated by a semicolon. To insert a new line into a region without terminating the input, use SHIFT-RETURN. | ||||
| Navigation: | |||
Navigation is preferably done by mouse clicks and
scrollbar movements.
a and CTRL-e
jump to the beginning and end of a line.
| |||
| Copy & Paste: | |||
Copy & paste by mouse is Motif
standard. In addition the following Emacs-like sequences are available:
| |||
| Name Completion: | |||
| All system provided symbols (e.g. module functions) are available for name completion. Equally, user defined symbols are immediately supported. Type in the name up to uniqueness and press TAB. | |||
| Menu File: | |||
| The Load/Save Session entries have no command
correspondence and are therefore only available in the XLWB.
Save Session saves the current content of the work
window as you see it by scrolling up and down. Load session reads such a session in again, but without any interpretation or reevaluation. To reevaluate single regions press RETURN. The recommended extension for this file type is .xls.
| |||
The Read/Save file entries correspond to the
typed commands
read("filename")
and save("filename").
Those commands refer only to assigned symbols of the
user module, i.e. if you never did an assignment then
save("filename") will
produce an empty file.The recommended extension for this file type is .lwb.
| |||
| Interrupt: | |||
It is possible to interrupt an algorithm started from within the XLWB.
However, for the X version, it is a bit awkward. First, you have to find
out the process ID of the xlwb.exec process (for instance,
via ps|grep xlwb). Second, send an interrupt signal to this
process using the kill command: kill -INT proc_id).
| |||
| Resources Window: | |||
| Most settings are immediately active after the selection. The Cancel-button restores the latest settings that have been accepted with the Okay-button, and the Default-button restores the start-up settings. | |||
| Resource Files: | |||
| |||
| Fonts: | |||
A particularly interesting type of resources
are the fonts. Essentially, every font can be chosen for every type of
regions (input/output/text etc., see the resources window). However,
it is recommended to use a fixed width font, at least for the output
regions, because a few functions use text graphics to display data
structures (e.g. cpc::display, pltl::display).
The XLWB comes with a couple of logic specific fonts with special signs for logical connectives and greek symbols.
pretty must be set (see the resources window)
in order to have the connectives mapped to the special characters (this is the default output mode).
| |||
| lwb@iam.unibe.ch | LWB 1.1 February 22, 2002 |