The Config( ) command lets you display or change any of vEdit's configuration parameters including many not included in the CONFIG menu.

You can display either all 180+ configuration parameters or just one category.

Config / CF
Display the current values of all configuration parameters. It is about 180 lines long. Assuming the -MORE- function is enabled, the display will pause after each screen full.

The display from the Config( ) is very similar to the contents of the VEDIT.CFG file described in the vEdit User's Manual. The name of each configuration parameter begins with a one or two letter category name. (The online help lists all categories, F1.)

For example, all screen-display oriented parameter names begin with "S_" and all printing oriented parameter names begin with "P_". You can display just the configuration parameters in one category as in the following examples:

Config(s)
Display just the configuration parameters in the screen-display category, i.e. those with a name beginning with "S_".
Config(pg)
Display just the programming oriented configuration parameters, i.e. those with a name beginning with "PG_".

To change the value of a configuration parameter, you must specify its name (upper/lower case doesn't matter and "_" is optional) and its new value.

Config(W_RT_MARG,70)
Set the right margin to column 70.

If you examine a VEDIT.CFG file (created by clicking Config then Save config), you will notice that the parameter name, e.g. W_RT_MARG, can optionally be followed with a descriptive name in quotes, e.g. "Right margin (*) (0=Window, 16 - 255)". vEdit ignores the text between the quotes — it is only intended to improve readability.

Similarly, the Config_String( ) command lets you display all configuration strings or change one.

Config_String / CFS
Display the Current values of all configuration strings.
Config_String(PR_DEF,"LPT2")
Change the "Default" printer to be the 2nd parallel port.

The Config_Tab( ) command displays the current tab stops or lets you set new ones. It is very similar to clicking Config then Tab stops. You can specify either uniform tab stops or up to 33 explicit tab stops.

Config_Tab / CFT
Display the current tab stops.
CFT(10)
Set uniform tab stop at every 10 columns.
CFT(7 15 24 64)
Set tab stop columns 7, 15, 24 and 64.

The tab stops can be separated from each other with commas or a space. It is the only command that allows numeric arguments to be separated by just a space.

Related Resources