| /mirbsd/src/gnu/usr.bin/lynx/src/ |
| D | LYEdit.c | 41 if (LYstrstr(editor, table[n]) != 0) { in editor_can_position() 51 if (strcmp(editor, value) == 0) { in editor_can_position() 197 if (LYstrstr(editor, "pico")) { in edit_temporary_file() 203 HTAddXpand(&command, format, params++, editor); in edit_temporary_file() 210 HTAddXpand(&command, format, params++, editor); in edit_temporary_file() 218 else if (StrNCmp(editor, "VZ", 2) == 0) { in edit_temporary_file() 221 HTAddXpand(&command, format, params++, editor); in edit_temporary_file() 225 } else if (StrNCmp(editor, "edit", 4) == 0) { in edit_temporary_file() 227 HTAddXpand(&command, format, params++, editor); in edit_temporary_file() 234 if (strchr(editor, ' ')) in edit_temporary_file() [all …]
|
| /mirbsd/src/usr.bin/sudo/ |
| D | sudo_edit.c | 74 char **nargv, **ap, *editor, *cp; local 192 if (((editor = getenv("VISUAL")) != NULL && *editor != '\0') || 193 ((editor = getenv("EDITOR")) != NULL && *editor != '\0')) { 194 editor = estrdup(editor); 196 editor = estrdup(def_editor); 197 if ((cp = strchr(editor, ':')) != NULL) 207 for (cp = editor + 1; *cp != '\0'; cp++) { 213 for ((cp = strtok(editor, " \t")); cp != NULL; (cp = strtok(NULL, " \t")))
|
| D | TROUBLESHOOTING | 61 "shadow passwords" in config.h with your editor). Note that 82 Q) When I run visudo it uses vi as the editor and I hate vi. How 83 can I make it use another editor? 84 A) Your best bet is to run configure with the --with-env-editor switch. 85 This will make visudo use the editor specified by the user's 87 with the --with-editor=/path/to/another/editor.
|
| /mirbsd/src/usr.bin/less/ |
| D | main.c | 43 public char * editor; variable 152 editor = lgetenv("VISUAL"); 153 if (editor == NULL || *editor == '\0') 155 editor = lgetenv("EDITOR"); 156 if (editor == NULL || *editor == '\0') 157 editor = EDIT_PGM;
|
| D | prompt.c | 36 extern char *editor; 289 ap_str(editor);
|
| /mirbsd/src/usr.sbin/cron/ |
| D | crontab.c | 284 char n[MAX_FNAME], q[MAX_TEMPSTR], *editor; in edit_cmd() local 376 if (((editor = getenv("VISUAL")) == NULL || *editor == '\0') && in edit_cmd() 377 ((editor = getenv("EDITOR")) == NULL || *editor == '\0')) { in edit_cmd() 378 editor = EDITOR; in edit_cmd() 403 if (snprintf(q, sizeof q, "%s %s", editor, Filename) >= sizeof(q)) { in edit_cmd() 409 perror(editor); in edit_cmd() 423 ProgramName, (long)pid, editor, strerror(errno)); in edit_cmd() 426 ProgramName, (long)xpid, (long)pid, editor); in edit_cmd() 432 ProgramName, editor, WEXITSTATUS(waiter)); in edit_cmd() 437 ProgramName, editor, WTERMSIG(waiter), in edit_cmd()
|
| /mirbsd/src/lib/libutil/ |
| D | passwd.c | 224 char * volatile editor; in pw_edit() local 233 if ((editor = getenv("EDITOR")) == NULL) in pw_edit() 234 editor = _PATH_VI; in pw_edit() 236 if (asprintf(&p, "%s %s", editor, filename) == -1) in pw_edit() 257 pw_error(editor, 1, 1); in pw_edit() 263 pw_error(editor, 1, 1); in pw_edit()
|
| /mirbsd/src/gnu/usr.bin/cvs/ |
| D | configure.in | 551 dnl begin --with-editor 553 dnl Set the default editor to use for log messages 558 [The text editor CVS will use by default for log messages.]) 560 # Let the confiscator request a specific editor 562 [editor], optwith 564 [--with-editor], 565 [The default text editor CVS should use for log messages 569 # If --with-editor was supplied with an argument, let it override $EDITOR from 572 # ignore the --without-editor case since it will be caught below. 577 # Set the default when --with-editor wasn't supplied or when it was supplied [all …]
|
| D | Makefile.bsd-wrapper | 29 --with-editor=/bin/ed \
|
| /mirbsd/src/gnu/usr.bin/perl/wince/ |
| D | registry.bat | 5 ::- a remote registry editor or get a registry editor for your
|
| /mirbsd/src/distrib/special/more/ |
| D | more.c | 1071 char *editor; in command() local 1073 editor = getenv("VISUAL"); in command() 1074 if (editor == NULL || *editor == '\0') in command() 1075 editor = getenv("EDITOR"); in command() 1076 if (editor == NULL || *editor == '\0') in command() 1077 editor = _PATH_VI; in command() 1078 if ((p = strrchr(editor, '/')) != NULL) in command() 1081 p = editor; in command() 1088 execute(filename, editor, p, cmdbuf, in command()
|
| /mirbsd/src/usr.bin/file/magdir/ |
| D | wordperfect | 46 >8 beshort 2049 Macro editor macro 47 >8 beshort 2050 Macro editor help file 48 >8 beshort 2051 Macro editor keyboard file
|
| D | editors | 4 # T602 editor documents
|
| /mirbsd/src/bin/mksh/ |
| D | histrap.c | 96 char **hfirst, **hlast, **hp, *editor = NULL; in c_fc() local 115 editor = alloc(len + 4, ATEMP); in c_fc() 116 memcpy(editor, p, len); in c_fc() 117 memcpy(editor + len, Tspdollaru, 4); in c_fc() 167 if (editor || lflag || nflag || rflag) { in c_fc() 229 if (editor && (lflag || nflag)) { in c_fc() 320 ret = command(editor ? editor : TFCEDIT_dollaru, 0); in c_fc()
|
| /mirbsd/src/lib/libedit/ |
| D | map.c | 1083 map_set_editor(EditLine *el, char *editor) in map_set_editor() argument 1086 if (strcmp(editor, "emacs") == 0) { in map_set_editor() 1090 if (strcmp(editor, "vi") == 0) { in map_set_editor() 1102 map_get_editor(EditLine *el, const char **editor) in map_get_editor() argument 1105 if (editor == NULL) in map_get_editor() 1109 *editor = "emacs"; in map_get_editor() 1112 *editor = "vi"; in map_get_editor()
|
| /mirbsd/src/usr.bin/vi/ |
| D | README | 65 to support a full-screen editor using curses. 80 editor. Peter Kessler helped bring sanity to version 2's 82 and created the framework that users see in the present editor. 83 Mark Horton added macros and other features and made the editor
|
| /mirbsd/src/usr.bin/vi/docs/tutorial/ |
| D | vi.advanced | 74 42 vi's relationship with the ex editor: {:} 158 often, the editor will hang you in an infinite loop. Please don't try it: 268 is a large portion of the editor keeping track of what your screen currently 285 Here is as good a place as any to mention that if the editor is displaying the 455 and proceed to the next file, {:n!^M} forces the editor to discard the current 456 contents of the editor. 465 Typing {:r fname^M} will read the contents of file fname into the editor and 481 the editor, perform the task, and then reinvoke the editor on the same file. 484 At this point, the editor is put to sleep and will be reawakened when you log 501 to sleep. The shell is now the parent of vi. When you type {^Z} the editor [all …]
|
| /mirbsd/src/usr.bin/vi/docs/ |
| D | features | 66 key. (Simulate the Rand editor?) 75 + A status file so that the next time invocation of the editor returns 82 editor, its window is left in the same place but with some default
|
| /mirbsd/src/sbin/disklabel/ |
| D | extern.h | 27 int editor(struct disklabel *, int, char *, char *);
|
| D | Makefile | 7 SRCS= disklabel.c dkcksum.c editor.c manpage.S
|
| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | edit.h | 35 extern void editor_set (const char *filename, const char *editor,
|
| /mirbsd/src/sbin/scsi/ |
| D | scsi.c | 734 char *editor = getenv("EDITOR"); in edit_edit() local 735 if (!editor) in edit_edit() 736 editor = _PATH_VI; in edit_edit() 740 if (asprintf(&system_line, "%s %s", editor, edit_name) == -1) in edit_edit()
|
| /mirbsd/src/usr.bin/mail/misc/ |
| D | mail.tildehelp | 17 ~v Invoke display editor on message.
|
| /mirbsd/src/bin/ed/ |
| D | README | 4 ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/cli/ |
| D | cli-cmds.c | 557 char *editor; in edit_command() local 629 if ((editor = (char *) getenv ("EDITOR")) == NULL) in edit_command() 630 editor = "/bin/ex"; in edit_command() 649 p = xstrprintf ("%s +%d \"%s\"", editor, sal.line, fn); in edit_command()
|