Lines Matching refs:shp
588 Shell_t *shp = ep->sh;
598 if(!(shp->sigflag[SIGWINCH]&SH_SIGFAULT))
601 shp->sigflag[SIGWINCH] |= SH_SIGFAULT;
603 pp = shp->st.trapcom[SIGWINCH];
604 shp->st.trapcom[SIGWINCH] = 0;
606 shp->st.trapcom[SIGWINCH] = pp;
612 if(!(last = shp->prompt))
614 shp->prompt = 0;
618 if(shp->hist_ptr)
620 register History_t *hp = shp->hist_ptr;
753 ep->e_term = nv_search("TERM",shp->var_tree,0);
804 Shell_t *shp = ep->sh;
806 int (*waitevent)(int,long,int) = shp->waitevent;
816 shp->waitevent = 0;
819 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP))
900 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP))
909 shp->waitevent = waitevent;
1548 Shell_t *shp = ep->sh;
1568 savexit = shp->savexit;
1569 sh_trap(shp->st.trap[SH_KEYTRAP],0);
1570 shp->savexit = savexit;
1586 void *ed_open(Shell_t *shp)
1589 ed->sh = shp;