November 1998
Beginner
352 pages
7h 46m
English
nvi 1.79 has a total of 78 options that affect its behavior. Table 3.2 summarizes the most important ones. Most options described in Table 3.1 are not repeated here.
| Option | Default | Description |
|---|---|---|
| backup | A string describing a backup filename to use. The current contents of a file are saved in this file before writing the new data out. For example, a value of "N%.bak" causes nvi to include a version number at the end of the file; version numbers are always incremented. | |
| cdpath | environment variable CDPATH, or current directory | A search path for the :cd command. |
| cedit | When the first character of this string is entered on the colon command line, nvi opens a new window on the command history that you can then edit. Hitting RETURN on any given line executes that line. ESC is a good choice for this option. (Use ^V ^[ to enter it.) | |
| comment | nocomment | If the first non-empty line begins with /*, //, or #, nvi skips the comment text before displaying the file. This avoids displaying long, boring legal notices. |
| directory (dir) | environment variable TMPDIR, or /tmp | The directory where nvi puts its temporary files. |
| extended | noextended | Searches use egrep-style extended regular expressions. |
| filec | When the first character of this string is entered on the colon command line, nvi treats the blank delimited word in front of the cursor as if it had an * appended to it and does shell-style filename expansion. ESC is a also good choice for this option. (Use ^V ^[ to enter ... |
Read now
Unlock full access