Searched refs:editor (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-9.3-release/contrib/cvs/src/
H A Dedit.h36 extern void editor_set PROTO ((const char *filename, const char *editor,
H A Dlogmsg.c52 * editor session, or being sent to a logfile program. The modified, added,
184 * editor on the file. The header garbage in the resultant file is then
211 /* Abort creation of temp file if no editor is defined */
213 error(1, 0, "no editor defined, must use -e or -m");
301 /* run the editor */
308 "warning: editor session failed");
412 independant of the running of an editor for getting a message.
960 editinfo_proc(repository, editor)
962 const char *editor;
965 if (editinfo_editor && strcmp (editinfo_editor, editor)
[all...]
H A Dedit.c656 editor_set (filename, editor, val)
658 const char *editor;
665 newlist = fileattr_modify (edlist, editor, val, '>', ',');
792 error (0, 0, "invalid character in editor value");
H A Dsanity.sh1186 tests="${tests} mflag editor errmsg1 errmsg2 adderrmsg opterrmsg"
5991 # * editor-9: checking in a modified file,
15473 editor)
15475 # run an external editor.
15480 # Our "editor" puts "x" at the start of each line, so we
15492 dotest editor-1 "${testcvs} -q co -l ." ''
15494 dotest editor-2 "${testcvs} add first-dir" \
15498 dotest editor-3 "${testcvs} add file1 file2" \
15502 dotest editor-4 "${testcvs} -e ${TESTDIR}/editme -q ci" \
15515 dotest editor
[all...]
/freebsd-9.3-release/release/picobsd/tinyware/passwd/
H A Dpw_util.c199 char *p, *editor; local
201 if (!(editor = getenv("EDITOR")))
202 editor = _default_editor;
203 if ((p = strrchr(editor, '/')))
206 p = editor;
214 execlp(editor, p, tempname, (char *)NULL);
221 pw_error(editor, 1, 1);
227 pw_error(editor, 1, 1);
/freebsd-9.3-release/bin/sh/
H A Dhistedit.c65 #define DEFEDITOR "ed" /* default editor *should* be $EDITOR */
189 const char *editor = NULL; local
216 editor = optarg;
242 if (lflg == 0 || editor || sflg) {
263 * Set editor.
266 if (editor == NULL &&
267 (editor = bltinlookup("FCEDIT", 1)) == NULL &&
268 (editor = bltinlookup("EDITOR", 1)) == NULL)
269 editor = DEFEDITOR;
270 if (editor[
[all...]
/freebsd-9.3-release/contrib/less/
H A Dmain.c43 public char * editor; variable
174 editor = lgetenv("VISUAL");
175 if (editor == NULL || *editor == '\0')
177 editor = lgetenv("EDITOR");
178 if (editor == NULL || *editor == '\0')
179 editor = EDIT_PGM;
H A Dprompt.c35 extern char *editor;
300 ap_str(editor);
H A Dcommand.c52 extern char *editor;
1503 * Invoke an editor on the input file.
1525 * Expand the editor prototype string
/freebsd-9.3-release/usr.sbin/cron/crontab/
H A Dcrontab.c316 char n[MAX_FNAME], q[MAX_TEMPSTR], *editor; local
383 if ((!(editor = getenv("VISUAL")))
384 && (!(editor = getenv("EDITOR")))
386 editor = EDITOR;
392 * rather than by renaming. if some editor does not support this,
407 if (strlen(editor) + strlen(Filename) + 2 >= MAX_TEMPSTR)
408 errx(ERROR_EXIT, "editor or filename too long");
409 execlp(editor, editor, Filename, (char *)NULL);
410 err(ERROR_EXIT, "%s", editor);
[all...]
/freebsd-9.3-release/contrib/dialog/
H A Dinputbox.c78 WINDOW *editor; local
137 editor = dlg_sub_window(dialog, 1, box_width, yorg + box_y, xorg + box_x);
138 dlg_register_window(editor, "inputbox", binding2);
154 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey);
231 dlg_unregister_window(editor);
/freebsd-9.3-release/lib/libutil/
H A Dpw_util.c294 const char *editor; local
297 if ((editor = getenv("EDITOR")) == NULL)
298 editor = _PATH_VI;
321 execlp(editor, basename(editor), tempname, (char *)NULL);
/freebsd-9.3-release/sbin/camcontrol/
H A Dmodeedit.c718 const char *editor; local
729 /* Lookup editor to invoke. */
730 if ((editor = getenv("EDITOR")) == NULL)
731 editor = DEFAULT_EDITOR;
733 /* Create temp file for editor to modify. */
758 commandline = malloc(strlen(editor) + strlen(edit_path) + 2);
761 sprintf(commandline, "%s %s", editor, edit_path);
763 /* Invoke the editor on the temp file. */
765 err(EX_UNAVAILABLE, "could not invoke %s", editor);
/freebsd-9.3-release/contrib/dialog/samples/copifuncs/
H A Dcommon.funcs57 # Args: user, editor
95 # Args: user, editor
123 # name of editor to use for replies that have text
205 # name of editor for ~e command (when editor="builtin")
208 # what editor to use ("none" means simulate Berkeley Mail)
209 editor = $EDIT
211 # the character to use in the builtin editor for entering commands
325 # name of editor for ~v command (when editor
[all...]
/freebsd-9.3-release/lib/libedit/
H A Dmap.c938 * Free the space taken by the editor maps
1080 * Set the editor
1083 map_set_editor(EditLine *el, char *editor) argument
1086 if (strcmp(editor, "emacs") == 0) {
1090 if (strcmp(editor, "vi") == 0) {
1099 * Retrieve the editor
1102 map_get_editor(EditLine *el, const char **editor) argument
1105 if (editor == NULL)
1109 *editor = "emacs";
1112 *editor
[all...]
/freebsd-9.3-release/contrib/nvi/ip/
H A Dip_main.c31 * This is the main loop for the vi-as-library editor.
67 rval = editor(gp, argc, argv);
/freebsd-9.3-release/usr.bin/mail/
H A Dcmdtab.c97 { "edit", editor, I|MSGLIST, 0, MMNORM },
H A Dedit.c52 editor(int *msgvec) function
59 * Invoke the visual editor on a message list.
70 * (which should not exist) and forking an editor on it.
71 * We get the editor from the stuff above.
130 * Run an editor on the file at "fpp" of "size" bytes,
188 * If in read only mode or file unchanged, just remove the editor
H A Dextern.h109 int editor(int *);
/freebsd-9.3-release/sbin/sunlabel/
H A Dsunlabel.c158 * Disk label editor for sun disklabels.
484 const char *editor; local
502 if ((editor = getenv("EDITOR")) == NULL)
503 editor = _PATH_VI;
504 execlp(editor, editor, tmpfil, (char *)NULL);
505 err(1, "execlp %s", editor);
/freebsd-9.3-release/contrib/gdb/gdb/cli/
H A Dcli-cmds.c560 char *editor;
632 if ((editor = (char *) getenv ("EDITOR")) == NULL)
633 editor = "/bin/ex";
639 cmdlen = strlen(editor) + 1
645 sprintf(p,"%s +%d %s%s",editor,sal.line,
1235 Uses EDITOR environment variable contents as editor (or ex as default).",NULL));
555 char *editor; local
/freebsd-9.3-release/contrib/nvi/include/
H A Dcom_extern.h127 int editor __P((GS *, int, char *[]));
/freebsd-9.3-release/contrib/nvi/cl/
H A Dcl_main.c50 * This is the main loop for the standalone curses editor.
105 * If we're being called as an editor library, we're done here, we
148 rval = editor(gp, argc, argv);
/freebsd-9.3-release/contrib/nvi/tk/
H A Dtk_main.c46 * This is the main loop for the standalone Tcl/Tk editor.
72 * Strip out any arguments that the common editor doesn't understand
163 rval = editor(gp, argc, argv);
/freebsd-9.3-release/contrib/nvi/common/
H A Dmain.c47 * editor --
48 * Main editor routine.
50 * PUBLIC: int editor __P((GS *, int, char *[]));
53 editor(gp, argc, argv) function
339 * editor now, so that we position default files correctly, and
430 /* Switch into the right editor, regardless. */
436 * here when switching editor modes or restarting the screen.
517 * editor).

Completed in 194 milliseconds

12