Lines Matching defs:editor
189 char *p, *editor;
192 (void) &editor;
197 if ((editor = getenv("EDITOR")) == NULL)
198 editor = strdup(_PATH_VI);
200 editor = strdup(editor);
201 if ((p = strrchr(editor, '/')))
204 p = editor;
206 /* Scan editor string, count spaces, allocate arg vector. */
242 execvp(editor, xargv);
248 pw_error(editor, 1, 1);
254 pw_error(editor, 1, 1);
257 free(editor);