Node:The console, Next:Windows limitations, Previous:Command line editing, Up:Release notes and installation guide for Windows
The console window used for the windowed executable is based on code
written by Jan Wielemaker <jan@swi.psy.uva.nl>
.
In SICStus 3.8 the console was enhanced with menu access to common
Prolog flags and file operations. Most of these should be self
explanatory. The Reconsult
item in the File
menu
reconsults the last file consulted with use of the File
menu. It
will probably be replaced in the future with something more powerful.
Note that the menus work by simulating user input to the Prolog top level or debugger. For this reason, it is recommended that the menus are only used when SICStus is waiting for a goal at the top-level (or in a break level) or when the debugger is waiting for a command.
The stream-based console window is a completely separate library, using
its own configuration info. It will look at the environment variable
CONSOLE
which should contain a string of the form
name:value{,name:value} where name is
one of:
sl
rows
cols
x
y
On Windows 95 or 98, you will normally specify this in your autoexec.bat
file. Here is
an example:
% set CONSOLE=sl:600,x:400,y:400
On Windows NT and Windows 2000 or newer, you would use the System
Control Panel.
Many of these settings are also accessible from the menu Settings
of the console.