The following section lists all the valid options is an RC file. In all cases upper and lower case letters are identical. When processing a file all blank space at the start of a line is discarded. Any lines beginning with a ``#'' as well as blank lines are ignored.
Errors in RC files are silently ignored. They can be printed to a ``vedrc.log'' file if you start Ved with the ``-l'' option on the command line (see Section 2.8).
For a complete listing of all the various RC file options, it is best to refer to the actual data generated with the ``RC Save'' option.
Most string arguments must be enclosed in delimters. A delimiter can be any character which does not appear in the string. Examples of permitted delimited strings include "value" /value/ and CvalueC. Note that 'it's' would not work as expected.
The different frame, menu and editing areas can all be adjusted. A line for changing the area colors and attributes appears as:
area AREA FOREGOUND BACKGROUND ATTRIBUTE
where
When a window is created or text is displayed, it uses the attribute/color setting for that area.
The appearance of Each character displayed in a edit screen can be changed though an RC file. For example, the following line in an RC file:
character 10 Editor_Highlight 48 65
will cause EOL characters to be displayed in the color and attribute associated with the Editor_Highlight value as the two characters ``0a''.
When an RC file is saved, only those characters which are not set to the defaults are printed, with one exception: the above line is always printed as an example line.
The syntax is very specific:
character $0a Editor_Highlight 248
Not all characters can be displayed on all terminals.
The effects of the ``Option CharSet'' option (see Section 19.5) will override any setting made with the ``Character'' setting, so make sure this appears after ``Option CharSet'' in your RC file.
The following options can be set for the on-screen file selector:
Directory rm "rm 2>/dev/null"
This sets the program to use to delete a file. The default program is ``rm 2>/dev/null''. Note that the program name must be enclosed in a delimiter pair. The ``2>dev/null'' redirects any error output from ``rm'' to a bit bucket so that the error messages do not disrupt the display.
Directory cp "cp 2>dev/null"
This sets the program used to copy a file. The default program is ``cp''. Note that the program name must be enclosed in a delimter pair. The ``2>dev/null'' redirects any error output from ``cp'' to a bit bucket so that the error messages do not disrupt the display.
Directory Extend FALSE
By default a short directory form is used (names only). Setting this option to ``True'' generates a more detailed listing. This can also be set with the [X] key in a directory screen.
Directory Invisible FALSE
By default invisible entries (those starting with a ``.'') are not displayed. Setting this option to ``True'' cause all entries to be displayed. This option can also be toggled with the [I] or [.] keys in a directory screen.
Directory Reverse FALSE
This option will cause the sort order to be reversed if it is set to ``True''. This can also be accomplished in a directory screen with the [-] key.
Directory Scale 80
By default, the directory screen takes up an area 80% of the height and width of the terminal. You can change this by adjusting the ``scale'' value. The scale value must be between 20 and 100.
Directory Field Name
By default the directory is sorted by name. You can change this to ``extension'', ``type'', ``date'' or ``size''. You can also change the sort order in a menu screen with the menu selections or with [1], [2], [3], [4] and [0].