/src/usr.bin/mail/ |
edit.c | 64 const char *editcmd; local in function:run_editor 111 editcmd = value(editortype == 'e' ? ENAME_EDITOR : ENAME_VISUAL); 112 if (editcmd == NULL) 113 editcmd = editortype == 'e' ? _PATH_EX : _PATH_VI; 114 if (run_command(editcmd, NULL, 0, -1, tempname, NULL) < 0) {
|
edit.c | 64 const char *editcmd; local in function:run_editor 111 editcmd = value(editortype == 'e' ? ENAME_EDITOR : ENAME_VISUAL); 112 if (editcmd == NULL) 113 editcmd = editortype == 'e' ? _PATH_EX : _PATH_VI; 114 if (run_command(editcmd, NULL, 0, -1, tempname, NULL) < 0) {
|
/src/bin/sh/ |
histedit.c | 874 char *editcmd; local in function:histcmd 879 editcmd = stalloc(cmdlen); 880 snprintf(editcmd, cmdlen, "%s %s", editor, editfile); 881 VTRACE(DBG_HISTORY, ("histcmd editing: \"%s\"\n", editcmd)); 882 evalstring(editcmd, 0); /* XXX - should use no JC command */ 883 stunalloc(editcmd);
|
histedit.c | 874 char *editcmd; local in function:histcmd 879 editcmd = stalloc(cmdlen); 880 snprintf(editcmd, cmdlen, "%s %s", editor, editfile); 881 VTRACE(DBG_HISTORY, ("histcmd editing: \"%s\"\n", editcmd)); 882 evalstring(editcmd, 0); /* XXX - should use no JC command */ 883 stunalloc(editcmd);
|