Both sides previous revisionPrevious revisionNext revision | Previous revision |
util:scfg [2024/05/15 18:54] – [CTRL Directory] Introduce scfg.ini (which needs some work) digital man | util:scfg [2024/05/25 19:48] (current) – [See Also] Add link to uifc.ini digital man |
---|
===== scfg.ini ===== | ===== scfg.ini ===== |
| |
The default user interface/display control settings of SCFG can be overridden by creating the file ''[[dir:ctrl]]/scfg.ini'' (new to SCFG v3.20): | The default user interface/display control settings of SCFG can be overridden by creating the file ''[[dir:ctrl]]/scfg.ini'' (new to SCFG v3.20). |
| |
^ Section ^ Key ^ Default Value ^ Description ^ | All of the ''scfg.ini'' keys are in the //root// (global) section: |
| ''[uifc]'' | ''mode'' | ''0'' | Bit-flags, see ''uifc.h'' for bit definitions, e.g. set to ''2'' to disable mouse support | | |
| ''[uifc]'' | ''height'' | //auto-detect// | Height of user interface window, in rows/lines of text | | |
| ''[uifc]'' | ''insert'' | ''false'' | Set to ''true'' to enable keyboard insert mode by default, not overwrite | | |
| ''[uifc]'' | ''esc_delay'' | ''25'' | Milliseconds to wait for escape sequence, differentiating between ESC key press and extended key escape sequence | | |
| ''[ciolib]'' | ''mode'' | ''0'' (auto) | Interface mode, see ''ciolib.h'' for value definitions, e.g. set to ''4'' to enable ANSI output mode | | |
| ''[ciolib]'' | ''scaling'' | ''0'' (auto) | Initial display scale of graphical window, fractions supported | | |
| |
| ^ Key ^ Default Value ^ Description ^ |
| | ''video_mode'' | ''42'' (80x25 LCD) | The text/video output mode | |
| | ''uifc_mode'' | ''0'' | Bit-flags controlling the user interface library, see ''uifc.h'' for bit definitions, e.g. set to ''2'' to disable mouse support | |
| | ''ciolib_mode'' | ''0'' (auto) | Console I/O Library Interface mode, see ''ciolib.h'' for value definitions, e.g. set to ''4'' to enable ANSI output mode | |
| | ''lines'' | //auto-detect// | Height of user interface window, in rows/lines of text (usually, 25) | |
| | ''insert'' | ''false'' | Set to ''true'' to enable keyboard insert mode by default, not overwrite | |
| | ''esc_delay'' | ''25'' | Milliseconds to wait for escape sequence, differentiating between ESC key press and extended key escape sequence | |
| | ''scaling'' | ''0'' (auto) | Initial display scale of graphical window, fractions supported | |
| |
| If the ''[[dir:ctrl]]/scfg.ini'' file does not exist, SCFG will fallback to using the file ''[[dir:ctrl]]/[[config:uifc.ini]]'', if it exists. |
===== Usage ===== | ===== Usage ===== |
| |
* [[config:|Configuration]] | * [[config:|Configuration]] |
* [[config:cmdline|Command Lines]] | * [[config:cmdline|Command Lines]] |
| * [[config:uifc.ini]] |
* [[ref:uifc|User Interface Library (UIFC)]] | * [[ref:uifc|User Interface Library (UIFC)]] |
| |
{{tag>configure scfg}} | {{tag>configure scfg uifc}} |
| |