Symbol: editor
bin/sh/histedit.c
187
const char *editor = NULL;
bin/sh/histedit.c
211
editor = shoptarg;
bin/sh/histedit.c
231
if (lflg == 0 || editor || sflg) {
bin/sh/histedit.c
255
if (editor == NULL &&
bin/sh/histedit.c
256
(editor = bltinlookup("FCEDIT", 1)) == NULL &&
bin/sh/histedit.c
257
(editor = bltinlookup("EDITOR", 1)) == NULL)
bin/sh/histedit.c
258
editor = DEFEDITOR;
bin/sh/histedit.c
259
if (editor[0] == '-' && editor[1] == '\0') {
bin/sh/histedit.c
261
editor = NULL;
bin/sh/histedit.c
310
if (editor) {
bin/sh/histedit.c
373
if (editor) {
bin/sh/histedit.c
378
editcmd = stalloc(strlen(editor) + strlen(editfile) + 2);
bin/sh/histedit.c
379
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
312
execlp(editor, basename(strdup(editor)), tempname, NULL);
sbin/camcontrol/modeedit.c
715
const char *editor;
sbin/camcontrol/modeedit.c
727
if ((editor = getenv("EDITOR")) == NULL)
sbin/camcontrol/modeedit.c
728
editor = DEFAULT_EDITOR;
sbin/camcontrol/modeedit.c
755
commandline = malloc(strlen(editor) + strlen(edit_path) + 2);
sbin/camcontrol/modeedit.c
758
sprintf(commandline, "%s %s", editor, edit_path);
sbin/camcontrol/modeedit.c
762
err(EX_UNAVAILABLE, "could not invoke %s", editor);
sbin/hammer/cmd_config.c
108
char *runcmd, *editor, *tmp;
sbin/hammer/cmd_config.c
170
editor = strdup(tmp);
sbin/hammer/cmd_config.c
172
editor = strdup("vi");
sbin/hammer/cmd_config.c
175
asprintf(&runcmd, "%s %s", editor, path);
sbin/hammer/cmd_config.c
205
free(editor);
sbin/vinum/commands.c
82
char *editor; /* editor to start */
sbin/vinum/commands.c
85
editor = getenv("EDITOR");
sbin/vinum/commands.c
86
if (editor == NULL)
sbin/vinum/commands.c
87
editor = "/usr/bin/vi";
sbin/vinum/commands.c
96
sprintf(commandline, "%s %s", editor, tempfile); /* create an edit command */
usr.bin/mail/cmdtab.c
93
{ "edit", editor, I|MSGLIST, 0, MMNORM },
usr.bin/mail/extern.h
109
int editor(int *);
usr.sbin/cron/crontab/crontab.c
299
const char *editor;
usr.sbin/cron/crontab/crontab.c
380
if ((!(editor = getenv("VISUAL")))
usr.sbin/cron/crontab/crontab.c
381
&& (!(editor = getenv("EDITOR")))
usr.sbin/cron/crontab/crontab.c
383
editor = EDITOR;
usr.sbin/cron/crontab/crontab.c
404
if (strlen(editor) + strlen(Filename) + 2 >= MAX_TEMPSTR)
usr.sbin/cron/crontab/crontab.c
406
execlp(editor, editor, Filename, NULL);
usr.sbin/cron/crontab/crontab.c
407
err(ERROR_EXIT, "%s", editor);
usr.sbin/cron/crontab/crontab.c
426
warnx("wrong PID (%d != %d) from \"%s\"", xpid, pid, editor);
usr.sbin/cron/crontab/crontab.c
430
warnx("\"%s\" exited with status %d", editor, WEXITSTATUS(waiter));
usr.sbin/cron/crontab/crontab.c
435
editor, WTERMSIG(waiter), WCOREDUMP(waiter) ?"" :"no ");