next up previous
Next: 19.6 Spelling Checker Options Up: 19. RC Files Previous: 19.4 Unexpected Termination

19.5 Miscellaneous Options

All of the following options can be set dynamically from the Options menu. However, you may wish to change them in your RC file.

Option Cr_display FALSE

By default the display of EOL (end of line) characters is disabled. Setting to TRUE turns the display on.

Option Exact_case FALSE

The case match mode is normally set to ignore case differences in search and replace. Setting to TRUE enables exact case matching.

Option Auto_indent TRUE

Auto indent in normally enabled. You can disable this with a FALSE setting.

Option Cmode TRUE

Even though this setting is designed for writing source code for ``C'' programs, it appears to useful enough to have on all the time. Set it to FALSE if you want.

Option Overwrite_mode FALSE

By default Ved uses insert mode when editing. You can enable overwrite mode by setting this option to TRUE.

Option Dobackups TRUE

By default backups of modified files are created when a save is done. You can life in a more dangerous world by setting this to FALSE.

Option Backup_suffix "~"

By default, a ~ is appended to the existing filename to indicate that the file is a backup. You can change this to any characters which are valid in a filename. Note that the suffix must be enclosed in delimiters.

Option Backup_prefix ""

Normally, no prefix is used in backup names. However, you can set one if you wish. A useful prefix setting would be ".". This would make backup files to be invisible. The prefix must be enclosed in delimiters.

Option Clipboard "/tmp/vedclip"

This option sets the (nearly) full pathname used for Veds internal clipboard. The user's ID is appended to this file. Ensure that you have write permission to the the directory. The path must be enclosed in delimters.

Option Time_Macro_1 "%A %B %d, %Y"
The time macro, [Esc][5], uses this string to format the current date. For details on the format of the string, refer to the strftime (3) manual page. The string must be enclosed in delimiters.

Option Time_Macro_2 "%X"

The time macro, [Esc][6], uses this string to format the current date. For details on the format of the string, refer to the strftime (3) manual page. The string must be enclosed in delimiters.

Option Auto_Number FALSE

Auto numbering of lines is normally not needed (or wanted). If you want this feature enabled, set to TRUE.

Option Dialog_Pos 5

By default, the dialog window is positioned in the center of the terminal window. You can change this with this setting. The values 1 to 9 are permitted. They represent the top left corner to the bottom right corner as illustrated in the following table:

1 2 3
4 5 6
7 8 9

Option Tabwidth 8

The width of a tab character is normally set to the ``standard'' of 8. You can change it to any value between 1 and 12.

Option Wildcard '?'

The wildcard character used in search and replace is normally a ``?''. You can set it to any other single character between $21 and $7f. Note that you must specify a Ved value.

Option Scroll_Indicator Both

By default, Ved displays a scroll indicator on the left and right sides of the edit screen. This serves to visually indicate the approximate position of the cursor relative to the number of lines in your file. The ``scroll areas'' also act as separators between different buffers.

You can set which sides of the display you wish the scroll indicator to appear by setting the scroll_indicator rc value. The following are the only valid options:

Left
Sets the indicator to the left side only,
Right
Sets the indicator to the right side only,
Both
Sets the indicators to the left and right sides (the default),
None
Disables display of the indicators.

Option CharSet Latin1

When Ved initializes it sets the characters to display to those in the Latin1 character set. These are the characters $20 to $fe and $a1 to $ff. All other characters will be displayed as 2 digit hexadecimal values. You can change this to limit or expand the characters displayed with the ``Ascii'' or ``PC'' options. The following details the characters displayed with the various options:

Ascii
$20 to $7e. This should work with any terminal.

Latin1
$20 to $7e and $a1 to $ff. This works with XTerm and most other ``modern'' terminals.

PC
$20 to $ff. Use with caution.

This option is a shortcut to setting characters individually with the ``Character'' option (see Section 19.3.2). Note that this option overrides any setting made with the ``Character'' option.


next up previous
Next: 19.6 Spelling Checker Options Up: 19. RC Files Previous: 19.4 Unexpected Termination
2004-05-02