eread
if ((patp = eread("Filename pattern: ", patbuf, sizeof(patbuf),
if ((funcp = eread("Execute: ", funcbuf, sizeof(funcbuf),
if ((bufp = eread("Goto line: ", buf, sizeof(buf),
bufp = eread("Switch to buffer: ", bufn, NBUFN, EFNEW | EFBUF);
bufp = eread("Switch to buffer (default %s): ", bufn, NBUFN,
bufp = eread("Switch to buffer in other window: ", bufn, NBUFN,
bufp = eread("Switch to buffer in other window (default %s): ",
else if ((bufp = eread("Kill buffer (default %s): ", bufn, NBUFN,
if ((bufp = eread("Tab Width: ", buf, sizeof(buf),
bufp = eread("Insert buffer (default %s): ", bufn, NBUFN,
bufp = eread("Insert buffer: ", bufn, NBUFN, EFNEW | EFBUF);
bufp = eread("Index files in directory: ", dir,
p = eread("%s", pattern, MAX_TOKEN, EFNEW | EFCR | EFDEF, csprompt[i]);
char *eread(const char *, char *, size_t, int, ...)
if ((path = eread("Make directory: ", bufc, NFILEN,
if ((bufp = eread("Change default directory: ", bufc, NFILEN,
fnp = eread("Goto file: ", fpath, NFILEN,
if ((bufp = eread("Dired (directory): ", dname, NFILEN,
if ((bufp = eread("Dired other window: ", dname, NFILEN,
bufp = eread("Copy %s to: ", toname, sizeof(toname),
bufp = eread("Rename %s to: ", toname,
bufp = eread("! on %s: ", command, sizeof(command), EFNEW, sname);
rep = eread("%s? (yes or no) ", buf, sizeof(buf),
rep = eread("Please answer yes or no. %s? (yes or no) ",
if ((bufp = eread("%s to command: ", bprompt, sizeof(bprompt),
if ((bufp = eread("%s", tmp, sizeof(tmp), EFNEW, buf)) == NULL)
bufp = eread("M-x ", xname, NXNAME, EFNEW | EFFUNC);
bufp = eread("%d M-x ", xname, NXNAME, EFNEW | EFFUNC, n);
if ((bufp = eread("Insert: ", buf, sizeof(buf), EFNEW)) == NULL)
if ((bufp = eread("Eval: ", exbuf, sizeof(exbuf),
if ((bufp = eread("Load file: ", fname, NFILEN,
if ((bufp = eread("Find file in other window: ", fname, NFILEN,
bufp = eread("Insert file: ", fname, NFILEN,
if ((bufp = eread("Write file: ", fname, NFILEN,
bufp = eread("Find file: ", fname, NFILEN,
bufp = eread("Find alternate file: ", fname, NFILEN,
if ((bufp = eread("Run gid (with args): ", cprompt, NFILEN,
if ((bufp = eread("Run grep: ", cprompt, NFILEN,
if ((bufp = eread("Compile command: ", cprompt, NFILEN,
if (eread("apropos: ", string, sizeof(string), EFNUL | EFNEW) == NULL)
if ((c = eread("Insert a character: ", cbuf, sizeof(cbuf),
if ((bufp = eread("Set Default Mode: ", modebuf, sizeof(modebuf),
if ((rep = eread("Set fill-column: ", buf, sizeof(buf),
if (eread("Query replace %s with: ", news, NPAT,
if (eread("Replace %s with: ", news, NPAT,
rep = eread("%s: ", tpat, NPAT, EFNEW | EFCR, re_prompt);
rep = eread("%s (default %s): ", tpat, NPAT,
rep = eread("Prefix string: ", buf, sizeof(buf),
rep = eread("Prefix string (default %s): ", buf, sizeof(buf),
if ((cmd = eread("Shell command on region: ", cmdbuf, sizeof(cmdbuf),
if ((cmd = eread("Shell command: ", cmdbuf, sizeof(cmdbuf),
if ((rep = eread("Query replace %s with: ", news, NPAT,
r = eread("Replace string %s with: ", news, NPAT,
rep = eread("%s: ", tpat, NPAT, EFNEW | EFCR, r_prompt);
rep = eread("%s (default %s): ", tpat, NPAT,
bufp = eread("Find tag: ", utok, MAX_TOKEN, EFNUL | EFNEW);
bufp = eread("Find tag (default %s): ", utok, MAX_TOKEN,
bufp = eread("Visit tags table (default %s): ", fname,