JSI Tip 0336 - Configure the Console via the registry.
November 30, 1997
You can configure the Console using the Console applet in Control Panel.
To configure the Console using the registry, edit:
HKEY_CURRENT_USERConsole
Value | Type | Default | D e s c r i p t i o n |
---|---|---|---|
CursorSize | REG_DWORD | 25% | The percentage of the character cell occupied by the cursor. The valid entries are 25% (small), 50% (medium), and 100% (large). |
FullScreen | REG_DWORD | 0 | Valid entries are 0 (Windowed) and 1 (Full Screen). |
FaceName | REG_SZ | none | Alternate command window font name. If blank, a raster font is used. |
FontFamily | REG_DWORD | 0 | Font type. 0=raster, 48=TrueType. |
FontSize | REG_DWORD | 0x00000000 | This is an 8 character hex number, representing pixel height / pixel width. The default (0x00000000) is 8x12 and an entry of 0x000C0005 is 12x5. |
FontWeight | REG_DWORD | 0 | 0 is the default weight of the chosen font. |
HistoryBufferSize | REG_DWORD | 50 | The number of commands that can be stored in each command buffer. |
InsertMode | REG_DWORD | 0 | 0=overtype, 1=insert. |
NumberOfHistoryBuffers | REG_DWORD | 4 | Number of command buffers. |
PopupColors | REG_DWORD | 0x000000F5 | 8 character hex representing backround color / text color. |
QuickEdit | REG_DWORD | 0 | 0=User must use commands to cut & paste, 1=User can use the mouse to cut & paste. |
ScreenBufferSize | REG_DWORD | 0x00190050 | 8 character hex represents lines of text / character per line. The default is 25 lines of 80 characters. |
ScreenColors | REG_DWORD | 0x000000007 | 8 character hex representing backround color / text color. |
WindowSize | REG_DWORD | 0x00190050 | 8 character hex represents lines of text / character per line. The default is 25 lines of 80 characters. |
WindowPosition | REG_DWORD | none | If not present, the system selects a position. 8 character hex representing y / x. |
For each console configuration that you save, a sub-key is created with the name of the window. This sub-key has the same value entries as the Console key. You do this by right clicking the title bar of the command window and choosing Properties.
About the Author
You May Also Like