Symbol: editor
bin/sh/histedit.c
254
const char *editor = NULL;
bin/sh/histedit.c
279
editor = shoptarg;
bin/sh/histedit.c
302
if (lflg == 0 || editor || sflg) {
bin/sh/histedit.c
326
if (editor == NULL &&
bin/sh/histedit.c
327
(editor = bltinlookup("FCEDIT", 1)) == NULL &&
bin/sh/histedit.c
328
(editor = bltinlookup("EDITOR", 1)) == NULL)
bin/sh/histedit.c
329
editor = DEFEDITOR;
bin/sh/histedit.c
330
if (editor[0] == '-' && editor[1] == '\0') {
bin/sh/histedit.c
332
editor = NULL;
bin/sh/histedit.c
381
if (editor) {
bin/sh/histedit.c
444
if (editor) {
bin/sh/histedit.c
449
editcmd = stalloc(strlen(editor) + strlen(editfile) + 2);
bin/sh/histedit.c
450
sprintf(editcmd, "%s %s", editor, editfile);
lib/libutil/pw_util.c
285
const char *editor;
lib/libutil/pw_util.c
288
if ((editor = getenv("EDITOR")) == NULL)
lib/libutil/pw_util.c
289
editor = _PATH_VI;
lib/libutil/pw_util.c
313
execlp(editor, editor, tempname, (char *)NULL);
lib/libutil/pw_util.c
314
err(1, "%s", editor);
lib/libutil/pw_util.c
330
errx(1, "\"%s\" exited with status %d", editor, WEXITSTATUS(pstat));
sbin/camcontrol/modeedit.c
941
const char *editor;
sbin/camcontrol/modeedit.c
953
if ((editor = getenv("EDITOR")) == NULL)
sbin/camcontrol/modeedit.c
954
editor = DEFAULT_EDITOR;
sbin/camcontrol/modeedit.c
981
commandline = malloc(strlen(editor) + strlen(edit_path) + 2);
sbin/camcontrol/modeedit.c
984
sprintf(commandline, "%s %s", editor, edit_path);
sbin/camcontrol/modeedit.c
988
err(EX_UNAVAILABLE, "could not invoke %s", editor);
usr.bin/mail/cmdtab.c
91
{ "edit", editor, I|MSGLIST, 0, MMNORM },
usr.bin/mail/extern.h
107
int editor(void *);
usr.bin/vi/common_extern.h
54
int editor(GS *, int, char *[]);
usr.sbin/cron/crontab/crontab.c
306
char n[MAX_FNAME], q[MAX_TEMPSTR], *editor;
usr.sbin/cron/crontab/crontab.c
375
if ((editor = getenv("VISUAL")) == NULL &&
usr.sbin/cron/crontab/crontab.c
376
(editor = getenv("EDITOR")) == NULL) {
usr.sbin/cron/crontab/crontab.c
377
editor = EDITOR;
usr.sbin/cron/crontab/crontab.c
398
if (strlen(editor) + strlen(Filename) + 2 >= MAX_TEMPSTR)
usr.sbin/cron/crontab/crontab.c
400
execlp(editor, editor, Filename, (char *)NULL);
usr.sbin/cron/crontab/crontab.c
401
err(ERROR_EXIT, "%s", editor);
usr.sbin/cron/crontab/crontab.c
420
warnx("wrong PID (%d != %d) from \"%s\"", xpid, pid, editor);
usr.sbin/cron/crontab/crontab.c
424
warnx("\"%s\" exited with status %d", editor, WEXITSTATUS(waiter));
usr.sbin/cron/crontab/crontab.c
429
editor, WTERMSIG(waiter), WCOREDUMP(waiter) ?"" :"no ");