Lines Matching refs:prog
290 char *prog = pwd->pw_shell;298 if (setenv("SHELL",((!prog || !*prog) ? "/bin/sh" : prog), 1)) _exit(1);300 if (!(prog = getenv("VISUAL"))) {301 if (!(prog = getenv("EDITOR")))302 prog = "vi";304 execlp(prog, prog, tname, (char *) NULL);305 perror_exit("can't execute '%s'", prog);