Symbol: editor
bin/ksh/history.c
124
if (editor || lflag || nflag || rflag) {
bin/ksh/history.c
155
if (editor && (lflag || nflag)) {
bin/ksh/history.c
237
ret = command(editor ? editor : "${FCEDIT:-/bin/ed} $_", 0);
bin/ksh/history.c
57
char *p, *editor = NULL;
bin/ksh/history.c
82
editor = str_nsave(p, len, ATEMP);
bin/ksh/history.c
83
strlcat(editor, " $_", len);
lib/libedit/map.c
1087
map_set_editor(EditLine *el, wchar_t *editor)
lib/libedit/map.c
1090
if (wcscmp(editor, L"emacs") == 0) {
lib/libedit/map.c
1094
if (wcscmp(editor, L"vi") == 0) {
lib/libedit/map.c
1106
map_get_editor(EditLine *el, const wchar_t **editor)
lib/libedit/map.c
1109
if (editor == NULL)
lib/libedit/map.c
1113
*editor = L"emacs";
lib/libedit/map.c
1116
*editor = L"vi";
lib/libutil/passwd.c
215
char *editor;
lib/libutil/passwd.c
224
if ((editor = getenv("EDITOR")) == NULL)
lib/libutil/passwd.c
225
editor = _PATH_VI;
lib/libutil/passwd.c
227
if (asprintf(&p, "%s %s", editor, filename) == -1)
lib/libutil/passwd.c
248
pw_error(editor, 1, 1);
lib/libutil/passwd.c
254
pw_error(editor, 1, 1);
sbin/disklabel/disklabel.c
255
error = editor(f);
sbin/disklabel/extern.h
33
int editor(int);
usr.bin/less/command.c
44
extern char *editor;
usr.bin/less/main.c
175
editor = lgetenv("VISUAL");
usr.bin/less/main.c
176
if (editor == NULL || *editor == '\0') {
usr.bin/less/main.c
177
editor = lgetenv("EDITOR");
usr.bin/less/main.c
178
if (editor == NULL || *editor == '\0')
usr.bin/less/main.c
179
editor = EDIT_PGM;
usr.bin/less/main.c
43
char *editor;
usr.bin/less/prompt.c
267
ap_str(editor);
usr.bin/less/prompt.c
34
extern char *editor;
usr.bin/mail/cmdtab.c
95
{ "edit", { editor }, I|MSGLIST, 0, MMNORM },
usr.bin/mail/extern.h
111
int editor(void *);
usr.bin/ssh/sftp.c
2216
const char *editor;
usr.bin/ssh/sftp.c
2254
if (el_get(el, EL_EDITOR, &editor) == 0 && editor[0] == 'v')
usr.bin/tmux/spawn.c
615
struct spawn_editor_state *es = wp->editor;
usr.bin/tmux/spawn.c
623
wp->editor = NULL;
usr.bin/tmux/spawn.c
682
const char *editor;
usr.bin/tmux/spawn.c
688
editor = options_get_string(global_options, "editor");
usr.bin/tmux/spawn.c
722
xasprintf(&cmd, "%s %s", editor, path);
usr.bin/tmux/spawn.c
747
wp->editor = es;
usr.bin/tmux/tmux.h
1324
struct spawn_editor_state *editor;
usr.bin/tmux/window-buffer.c
105
struct spawn_editor_state *editor;
usr.bin/tmux/window-buffer.c
412
if (data->editor != NULL) {
usr.bin/tmux/window-buffer.c
413
spawn_cancel_editor(data->editor);
usr.bin/tmux/window-buffer.c
501
if (data->editor == NULL)
usr.bin/tmux/window-buffer.c
508
pid = spawn_get_editor_pid(data->editor);
usr.bin/tmux/window-buffer.c
551
if (data->editor == ed->editor) {
usr.bin/tmux/window-buffer.c
552
data->editor = NULL;
usr.bin/tmux/window-buffer.c
600
if (data->editor != NULL)
usr.bin/tmux/window-buffer.c
611
ed->editor = spawn_editor(c, buf, len, window_buffer_edit_close_cb, ed);
usr.bin/tmux/window-buffer.c
612
if (ed->editor == NULL)
usr.bin/tmux/window-buffer.c
615
data->editor = ed->editor;
usr.bin/tmux/window-buffer.c
635
if (data->editor != NULL) {
usr.bin/tmux/window-buffer.c
91
struct spawn_editor_state *editor;
usr.bin/tmux/window-customize.c
136
struct spawn_editor_state *editor;
usr.bin/tmux/window-customize.c
154
struct spawn_editor_state *editor;
usr.bin/tmux/window-customize.c
1653
if (data->editor != NULL) {
usr.bin/tmux/window-customize.c
1654
spawn_cancel_editor(data->editor);
usr.bin/tmux/window-customize.c
1992
if (data->editor == ed->editor) {
usr.bin/tmux/window-customize.c
1993
data->editor = NULL;
usr.bin/tmux/window-customize.c
2059
if (data->editor != NULL || item == NULL)
usr.bin/tmux/window-customize.c
2107
ed->editor = spawn_editor(c, buf, len, window_customize_edit_close_cb,
usr.bin/tmux/window-customize.c
2110
if (ed->editor == NULL)
usr.bin/tmux/window-customize.c
2113
data->editor = ed->editor;
usr.bin/tmux/window-customize.c
2790
if (data->editor != NULL) {
usr.bin/tmux/window-customize.c
402
if (data->editor == NULL)
usr.bin/tmux/window-customize.c
409
pid = spawn_get_editor_pid(data->editor);
usr.bin/tmux/window.c
499
if (wp->editor != NULL && (~wp->flags & PANE_STATUSREADY))
usr.bin/vi/cl/cl_main.c
97
rval = editor(gp, argc, argv);
usr.bin/vi/include/com_extern.h
47
int editor(GS *, int, char *[]);