Searched defs:editor (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/mailx/
H A Dedit.c61 editor(int *msgvec) function
72 * Invoke the visual editor on a message list.
88 * (which should not exist) and forking an editor on it.
89 * We get the editor from the stuff above.
108 * Set signals; locate editor.
164 * Fork/execl the editor on the edit file.
191 * If in read only mode, just remove the editor
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c48 * Password file editor with locking.
69 char *editor; local
80 editor = getenv("VISUAL");
81 if (editor == 0)
82 editor = getenv("EDITOR");
83 if (editor == 0)
84 editor = DEFAULT_EDITOR;
104 if (editfile(editor, ptemp, passwd, &n_mtime)) {
149 if (editfile(editor, stemp, shadow, &o_mtime))
226 editfile(char *editor, cha argument
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dcrontab.c86 " The editor indicates that an error occurred while you were\n"\
130 char *editor; local
295 editor = getenv("VISUAL");
296 if (editor == NULL) {
298 editor = getenv("EDITOR");
299 if (editor == NULL)
300 editor = VIPATH;
304 buflen = strlen(editor) + strlen(edtemp) + 2;
306 (void) snprintf(buf, buflen, "%s %s", editor, edtemp);
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dvacation.c1031 char *editor; local
1085 editor = getenv("VISUAL");
1086 if (editor == NULL)
1087 editor = getenv("EDITOR");
1088 if (editor == NULL)
1089 editor = "/usr/bin/vi";
1090 (void) snprintf(cmd, sizeof (cmd), "%s %s", editor,
1092 printf("Please use your editor (%s)"
1093 " to edit this file.\n", editor);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmain.c68 char *editor, *home, *shell; /* environment variables */ variable
166 editor = mygetenv("EDITOR", EDITOR);
167 editor = mygetenv("VIEWER", editor); /* use viewer if set */
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c451 GlEditor editor; /* The style of editing, (eg. vi or emacs) */ member in struct:GetLine
1036 * Change the editor style being emulated.
1038 static int gl_change_editor(GetLine *gl, GlEditor editor);
1813 gl->editor = GL_EMACS_MODE;
2004 if(gl_change_editor(gl, gl->editor))
2608 if(gl->editor == GL_NO_EDITOR)
4313 gl_delete_chars(gl, nc, gl->editor == GL_EMACS_MODE || gl->vi.command);
4322 (gl->editor==GL_EMACS_MODE));
4382 if(gl->editor == GL_VI_MODE && !gl->vi.command && !gl->insert) {
4505 if(gl->editor
6929 gl_change_editor(GetLine *gl, GlEditor editor) argument
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c14376 char *buf, *editor; local
14418 editor = getenv("EDITOR");
14419 if (editor == NULL)
14420 editor = "vi";
14422 bufsz = strlen(editor) + 1 + strlen(tempname) + 1;
14425 if (snprintf(buf, bufsz, "%s %s", editor, tempname) < 0)
14426 uu_die(gettext("Error creating editor command"));
14429 semerr(gettext("Could not launch editor %s: %s\n"), editor,

Completed in 121 milliseconds