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

/freebsd-current/contrib/dialog/
H A Dinputbox.c86 WINDOW *editor; local
155 editor = dlg_sub_window(dialog, 1, box_width, yorg + box_y, xorg + box_x);
156 dlg_register_window(editor, "inputbox2", binding2);
159 dlg_show_string(editor, input, chr_offset, inputbox_attr,
161 wsyncup(editor);
162 wcursyncup(editor);
178 dlg_show_string(editor, input, chr_offset, inputbox_attr,
180 wmove(editor, 0, chr_offset);
181 wsyncup(editor);
182 wcursyncup(editor);
[all...]
/freebsd-current/contrib/less/
H A Dmain.c43 public char * editor; variable
176 editor = lgetenv("VISUAL");
177 if (editor == NULL || *editor == '\0')
179 editor = lgetenv("EDITOR");
180 if (isnullenv(editor))
181 editor = EDIT_PGM;
H A Dprompt.c35 extern char *editor;
283 ap_str(editor);
H A Dcommand.c62 extern char *editor;
1752 * Invoke an editor on the input file.
1771 * Expand the editor prototype string
/freebsd-current/usr.sbin/cron/crontab/
H A Dcrontab.c306 char n[MAX_FNAME], q[MAX_TEMPSTR], *editor; local
375 if ((editor = getenv("VISUAL")) == NULL &&
376 (editor = getenv("EDITOR")) == NULL) {
377 editor = EDITOR;
383 * rather than by renaming. if some editor does not support this,
398 if (strlen(editor) + strlen(Filename) + 2 >= MAX_TEMPSTR)
399 errx(ERROR_EXIT, "editor or filename too long");
400 execlp(editor, editor, Filename, (char *)NULL);
401 err(ERROR_EXIT, "%s", editor);
[all...]
/freebsd-current/bin/sh/
H A Dhistedit.c64 #define DEFEDITOR "ed" /* default editor *should* be $EDITOR */
252 const char *editor = NULL; local
277 editor = shoptarg;
300 if (lflg == 0 || editor || sflg) {
321 * Set editor.
324 if (editor == NULL &&
325 (editor = bltinlookup("FCEDIT", 1)) == NULL &&
326 (editor = bltinlookup("EDITOR", 1)) == NULL)
327 editor = DEFEDITOR;
328 if (editor[
[all...]
/freebsd-current/lib/libutil/
H A Dpw_util.c285 const char *editor; local
288 if ((editor = getenv("EDITOR")) == NULL)
289 editor = _PATH_VI;
313 execlp(editor, editor, tempname, (char *)NULL);
314 err(1, "%s", editor);
330 errx(1, "\"%s\" exited with status %d", editor, WEXITSTATUS(pstat));
/freebsd-current/contrib/libedit/
H A Dmap.c950 * Free the space taken by the editor maps
1092 * Set the editor
1095 map_set_editor(EditLine *el, wchar_t *editor) argument
1098 if (wcscmp(editor, L"emacs") == 0) {
1102 if (wcscmp(editor, L"vi") == 0) {
1111 * Retrieve the editor
1114 map_get_editor(EditLine *el, const wchar_t **editor) argument
1117 if (editor == NULL)
1121 *editor = L"emacs";
1124 *editor
[all...]
H A Dvi.c1011 const char *editor; local
1018 if ((editor = getenv("EDITOR")) == NULL)
1019 editor = "vi";
1044 execlp(editor, editor, tempfile, (char *)NULL);
/freebsd-current/usr.bin/mail/
H A Dedit.c46 editor(void *msgvec) function
53 * Invoke the visual editor on a message list.
64 * (which should not exist) and forking an editor on it.
65 * We get the editor from the stuff above.
124 * Run an editor on the file at "fpp" of "size" bytes,
182 * If in read only mode or file unchanged, just remove the editor
H A Dcmdtab.c91 { "edit", editor, I|MSGLIST, 0, MMNORM },
H A Dextern.h107 int editor(void *);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/
H A DHost.h239 static llvm::Error OpenFileInExternalEditor(llvm::StringRef editor,
/freebsd-current/sbin/camcontrol/
H A Dmodeedit.c941 const char *editor; local
952 /* Lookup editor to invoke. */
953 if ((editor = getenv("EDITOR")) == NULL)
954 editor = DEFAULT_EDITOR;
956 /* Create temp file for editor to modify. */
981 commandline = malloc(strlen(editor) + strlen(edit_path) + 2);
984 sprintf(commandline, "%s %s", editor, edit_path);
986 /* Invoke the editor on the temp file. */
988 err(EX_UNAVAILABLE, "could not invoke %s", editor);
/freebsd-current/contrib/nvi/cl/
H A Dcl_main.c45 * This is the main loop for the standalone curses editor.
115 rval = editor(gp, argc, argv);
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/
H A DEditline.cpp49 // multi-line block of text with a single line editor. Preserving this
362 const char *editor; local
363 el_get(m_editline, EL_EDITOR, &editor);
364 return editor[0] == 'e';
1337 // Multi-line editor bindings
1387 Editline *editor; local
1388 el_get(editline, EL_CLIENTDATA, &editor);
1389 return editor;
H A DHost.cpp545 llvm::Error Host::OpenFileInExternalEditor(llvm::StringRef editor,
/freebsd-current/usr.sbin/bsdinstall/scripts/
H A Dauto323 echo "Use this shell to set up partitions for the new system. When finished, mount the system at $BSDINSTALL_CHROOT and place an fstab file for the new system at $PATH_FSTAB. Then type 'exit'. You can also enter the partition editor at any time by entering 'bsdinstall partedit'."
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1226 clang::edit::EditedSource editor(source_manager, m_compiler->getLangOpts(),
1228 clang::edit::Commit commit(editor);
1265 else if (!editor.commit(commit))
1269 editor.applyRewrites(rewrites_receiver);
/freebsd-current/contrib/nvi/common/
H A Dmain.c34 * editor --
35 * Main editor routine.
37 * PUBLIC: int editor(GS *, int, char *[]);
40 editor(GS *gp, int argc, char *argv[]) function
301 * editor now, so that we position default files correctly, and
393 /* Switch into the right editor, regardless. */
399 * here when switching editor modes or restarting the screen.
472 * editor).
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/
H A DDebugger.h304 bool SetExternalEditor(llvm::StringRef editor);
/freebsd-current/tools/tools/git/
H A Dgit-arc.sh75 the log message is opened in an editor for any last-minute
785 # behaviour. Ditto for PAGER. This makes git-arc play nicer with editor
/freebsd-current/usr.bin/vi/
H A Dextern.h367 int editor(GS *, int, char *[]);
/freebsd-current/usr.sbin/etcupdate/
H A Detcupdate.sh954 (e) edit - change merged file in an editor
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DDebugger.cpp397 bool Debugger::SetExternalEditor(llvm::StringRef editor) { argument
399 return SetPropertyAtIndex(idx, editor);

Completed in 209 milliseconds