Lines Matching refs:script
54 #include "script.h"
70 * Switch to script mode.
80 "150|The script command is only available in vi mode");
87 "The script command is already runninng");
117 sp->script = sc;
231 master = sp->script->sh_master;
242 return (sscr_insert(sp) || sp->script == NULL);
268 sc = sp->script;
349 FD_SET(sp->script->sh_master, &rdfd);
350 if (sp->script->sh_master > maxfd)
351 maxfd = sp->script->sh_master;
363 FD_ISSET(sp->script->sh_master, &rdfd)) {
395 FD_SET(sp->script->sh_master, &rdfd);
396 if (sp->script->sh_master > maxfd)
397 maxfd = sp->script->sh_master;
414 FD_ISSET(sp->script->sh_master, &rdfd) &&
445 sc = sp->script;
521 sc = sp->script;
546 if ((sc = sp->script) == NULL)
549 /* Turn off the script flags. */
560 (void)proc_wait(sp, (long)sc->sh_pid, "script-shell", 0, 0);
565 sp->script = NULL;