-c Execute cmd immediately after starting the edit session. Particularly useful for initial
positioning in the file, however cmd is not limited to positioning commands. This is the POSIX
1003.2 interface for the historic “+cmd” syntax. Nex/nvi supports both the old and new syntax.
|
-e Start editing in ex mode, as if the command name were ex.
|
-l Start editing with the lisp and showmatch options set.
|
-R Start editing in read‐only mode, as if the command name was view, or the readonly option was set.
|
-r Recover the specified files, or, if no files are specified, list the files that could be
recovered. If no recoverable files by the specified name exist, the file is edited as if the -r
option had not been specified.
|
-S Run with the secure edit option set, disallowing all access to external programs.
|
-s Enter batch mode; applicable only to ex edit sessions. Batch mode is useful when running ex
scripts. Prompts, informative messages and other user oriented message are turned off, and no
startup files or environmental variables are read. This is the POSIX 1003.2 interface for the
historic “-” argument. Nex/nvi supports both the old and new syntax.
|
-t Start editing at the specified tag. (See ctags(1)).
|
-w Set the initial window size to the specified number of lines.
|
-v Start editing in vi mode, as if the command name was vi or view.
|