scheme-editor - Color Scheme Editor
scheme-editor
scheme-editor is a color scheme editor that provides a dialog interface to configure the color schemes used by the editor. The color schemes may be created or modified within the scheme editor and then committed to the configuration files for general use.
The color schemes are typically stored in the macros directory and are executed as macro files at start up. The standard schemes are called schemeX.emf.
The scheme-editor is displayed within a single dialog box, tab selections at the top of the dialog box enable color and scheme creation and/or modification. Navigation is typically performed using the mouse, where the mouse is absent then the TAB key may be used to move between the fields. The information presented is defined as follows:-
File Name
Description
Buffer Hilight
The colors tab allows the basic palette colors of the editor to be created and modified. The left-hand side of the dialog contains a scrolling window containing the existing color entries. The right-hand side of the dialog provides the controls to add and change the color assignment. The controls operate on the currently selected palette entry.
Add
Change
Red/Green/Blue
The schemes tab allows the color schemes to be edited. The left-hand side of the dialog contains a scrolling window of the available color palette (created from the Colors tab). The right-hand side of the window shows the variants of the color scheme.
Selection
Scheme
There are 4 variants of a single color scheme; each variant is comprised of a foreground and background color, additionally a Termcap hilighting classification may be assigned to the variant, which is used in the absence of (or in addition to) color. The variant of color displayed by a particular scheme depends upon the selection/current status of the text.
Normal
Current
Select
Sel-Cur
The Termcap hilighting assignments are indicated by the alphabetic mode selection BILRUV, which are interpreted as follows:-
B - Bold.
I - Italic (typically displayed as underline).
L - Light (typically not supported).
R - Reverse video (fore/back-ground swapped).
U - Underline.
V - Toggle reverse video when inverted.
None, one or more of the Termcap modes may be applied to a single scheme variant. The last mode V needs a little more explanation; commands such as screen-poke(2) are able to invert the color scheme, i.e. use the fore color for the background etc. Enabling this mode will toggle the reverse video mode (R) when this feature is used.
Setting of the selection and scheme shows the current scheme in the Normal, Current, Select and Sel-Cur dialogs. New colors are assigned by selecting a color in the pallette area and making it current. The current color is applied by selecting the Fore / Back boxes of the scheme dialog. The assigned color is displayed in the text box The big brown ....
The controls at the bottom of the dialog apply the edits to the configuration files.
Current
Save
Install
Exit
schemed.emf - Default white on black color scheme.
schemej.emf - Black on cream color scheme.
schemel.emf - Black on grey color scheme.
schememd.emf - Microsoft Developer Studio color scheme.
scheme.emf - Defines the standard color scheme variables and associated text. The print <=> scheme assignments are made in this file.
scheme-editor is a macro that is implemented in file schemosd.emf. The scheme editor uses osd(2) to create and manage the dialogs.
(c) Copyright JASSPA 1999
Last Modified: 1999/11/28
Generated On: 1999/12/01