Console ConfigurationIndex

Configuration File

The Console Application defaults to settings that work for most people's computer configurations.  If needed, you can plant a file in the aBinary directory under the main brainstem distribution to change these settings.  This can be done using a simple text editor (TeachText, Notepad, or the Memo Pad).  The basic file format is lines of "setting = value".  Below are the default settings and setting names for the Console Application:

Setting Name Description MacOS default Win32 default WinCE default Linux default PalmOS default
portname Serial port name. printer COM1 COM1: ttyS1 serial
baudrate Serial port data rate. 9600
mode BrainStem or SP03 BrainStem
timeout Packet timeout setting. 1 sec.
debug Debug information level. 0 (none)
outputBufferSize Lines in output buffer. 100
left Window's left coordinate. 100 n/a
top Window's top coordinate. 100 n/a
width Window's width. 240 n/a
height Window's height. 240 n/a
outputColor RGB color of output to Stem. 0xFF0000 n/a
inputColor RGB color of input from Stem. 0x00FF00 n/a
statusColor RGB color of Console message. 0x000000 n/a
commandColor RGB color of user command. 0x0000FF n/a
messageColor RGB color of Stem messages. 0x880088 n/a

This file should be saved into the aBinary folder with the name "console.config".  Capitalization matters for both the file name and the contents of the file.

TipOn the PalmOS, the console.config file should be a file in the Memo Pad with the first line containing only "console.config" followed by the rest of the file on the subsequent lines.

TipOn many platforms, the extensions are hidden in the file browser to "help" you.  Make sure your editor didn't add an extension like .txt to the file you created for your configuration.

An example file that changes the port to the COM2 serial port and the baud rate to 4800 for Windows would look like:


version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.