Node:Console Preferences, Previous:The console, Up:The console



Console Preferences

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
The number of lines you can scroll back. There is no limit, but the more you specify the more memory will be used. Memory is allocated when data becomes available. The default is 200.
rows
The initial number of lines. The default is 24.
cols
The initial number of columns. The default is 80.
x
The X coordinate of the top-left corner. The default is determined by the system.
y
The Y coordinate of the top-left corner. The default is determined by the system.

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.