Lines Matching defs:shp
47 register Shell_t *shp = context->shp;
59 if(!sh_histinit((void*)shp))
61 hp = shp->gd->hist_ptr;
195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE);
205 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg);
207 sh_sigcheck(shp);
217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD))))
269 if(shp->hist_depth++ > HIST_RECURSE)
272 shp->hist_depth--;
281 return(shp->exitval);