.TH  EDITOR "" "" "Environmental Variable"
.PC "Name editor to use by default"
\fBEDITOR=\fIeditor\fR
.PP
The environmental variable
.B EDITOR
names the default editor that you wish to use.
For example,
.B mail
invokes
.I editor
when you conclude a mail message by typing a question mark `?' at the
beginning of a line followed by \fB<return>\fR.
The screen pager
.B more
invokes
.I editor
when you enter the command
.B v
while displaying a file.
.SH "See Also"
.Xr "environmental variables," environva
.Xr "mail," mail.c
.Xr "more" more
