Skip to content

INI Settings

thedjnK edited this page Apr 30, 2017 · 3 revisions

In UwTerminalX, there is an INI file which stores settings related to how UwTerminalX operates. The INI file (UwTerminalX.ini) is created when UwTerminalX is launched for the first time and can be edited in any standard text editing program.

On Mac, INI files can be opened using TextEdit but they need to be assigned to TextEdit as on Mac there is no default file association for INI files.

LogFile

This is the log file that UwTerminalX will use to log data to if logging is enabled (Default: UwTerminalX.log).

LogMode

Sets if the log file should be cleared before being opened, 1 = clear log file before open, 0 = append to existing log file (Default: 0).

LogEnable

Controls if logging is enabled or not, 1 = enable logging, 0 = disable logging (Default: 0).

CompilerDir

This is the path to which XCompilers are searched for, it can be a path relative to UwTerminalX or it can be a full path (Default: compilers/).

CompilerSubDirs

This setting controls how XCompiler directories are layed out, if enabled then each XCompiler will need to be in a sub-directory of the CompilerDir (see above) setting, so BT900 XCompilers would go into a sub-directory called 'BT900', 1 = enable XCompiler sub-directories, 0 = disable XCompiler sub-directories (Default: 0).

DelUWCAfterDownload

This setting controls if the UWC file will be deleted after being sent to the device, 1 = delete UWC file after download, 0 = do not delete UWC file after download (Default: 0).

SysTrayIcon

This controls if a system tray icon should be displayed or not, 1 = show system tray icon, 0 = do not show system tray icon (Default: 1).

SerialSignalCheckInterval

This is the interval (in milliseconds) between checking the various serial port signal inputs such as CTS, DSR, etc. note that a lower number will result in faster updates but a greater CPU usage (Default: 50).

TextUpdateInterval

This is the interval (in milliseconds) between screen updates. Note that a lower number will result in faster updates but a greater CPU usage (Default: 80).

PrePostXCompMode

(Default: 0).

PrePostXCompRun

(Default: 0).

PrePostXCompPath

(Default: 0).

PrePostXCompFail

(Default: 0).

OnlineXComp

This setting, when set to 1, will allow UwTerminalX to use Laird's online cloud XCompiler, when set to 0 it will disallow using this service (Note that when set to 0 on Linux or Mac, no XCompilation support will be available) (Default: 1).

SSLEnable

When set to 1 will use HTTPS (SSL) for all communication with the UwTerminalX cloud server, verifying that the certificate matches (please note that the SSL build of UwTerminalX is required for this setting to be used), otherwise uses unencrypted HTTP. (Default: 1).

OnlineXCompServer

This specifies the server to use when utilising the online functionality of the utility (update checking, error code downloads, XCompiling). The code tha runs on the official Laird server is not public so would require custom implementation to use a different server (Default: uwterminalx.no-ip.org).

SkipDownloadDisplay

Controls if the data send/received whilst downloading to the module should be shown or hidden from the display screen (regardless of this value, if logging is enabled then all data sent/recieved will be logged), 1 = skip displaying data, 0 = show data (Default: 1).

LastFileDirectory

This is a path to the last directory that a smartBASIC file was selected in, it is automatically updated whenever a file is selected.

LastOtherFileDirectory

This is a path to the last directory that a non-smartBASIC file was selected in, it is automatically updated whenever a file is selected.

ConfirmClear

When set to 1 will prompt the user before issuing a clear module command (selected via the terminal menu), otherwise will erase without confirmation (Default: 1).

ShiftEnterLineSeparator

Defines the behavior of shift+enter: when 1 it will act as a line separator and when 0 will send all data in buffer, emulating the behavior of if just enter was pressed (Default: 1).

Clone this wiki locally