/freebsd-current/contrib/dialog/ |
H A D | inputbox.c | 86 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 D | main.c | 43 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 D | prompt.c | 35 extern char *editor; 283 ap_str(editor);
|
H A D | command.c | 62 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 D | crontab.c | 306 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 D | histedit.c | 64 #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 D | pw_util.c | 285 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 D | map.c | 950 * 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 D | vi.c | 1011 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 D | edit.c | 46 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 D | cmdtab.c | 91 { "edit", editor, I|MSGLIST, 0, MMNORM },
|
H A D | extern.h | 107 int editor(void *);
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Host.h | 239 static llvm::Error OpenFileInExternalEditor(llvm::StringRef editor,
|
/freebsd-current/sbin/camcontrol/ |
H A D | modeedit.c | 941 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 D | cl_main.c | 45 * 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 D | Editline.cpp | 49 // 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 D | Host.cpp | 545 llvm::Error Host::OpenFileInExternalEditor(llvm::StringRef editor,
|
/freebsd-current/usr.sbin/bsdinstall/scripts/ |
H A D | auto | 323 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 D | ClangExpressionParser.cpp | 1226 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 D | main.c | 34 * 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 D | Debugger.h | 304 bool SetExternalEditor(llvm::StringRef editor);
|
/freebsd-current/tools/tools/git/ |
H A D | git-arc.sh | 75 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 D | extern.h | 367 int editor(GS *, int, char *[]);
|
/freebsd-current/usr.sbin/etcupdate/ |
H A D | etcupdate.sh | 954 (e) edit - change merged file in an editor
|
/freebsd-current/contrib/llvm-project/lldb/source/Core/ |
H A D | Debugger.cpp | 397 bool Debugger::SetExternalEditor(llvm::StringRef editor) { argument 399 return SetPropertyAtIndex(idx, editor);
|