/ast/src/cmd/ie/ |
H A D | history.c | 75 struct history *hist_ptr = 0; variable in typeref:struct:history 114 if(hist_ptr) 132 hist_ptr = fp; 174 hist_ptr = fp; 229 register struct history *fp = hist_ptr; 232 hist_ptr = 0; 310 struct history *hist_old = hist_ptr; 314 fdo= io_renumber(hist_ptr->fixfd,fcntl(hist_ptr->fixfd,F_DUPFD,USERIO)); 315 hist_ptr [all...] |
H A D | history.h | 62 extern struct history *hist_ptr;
|
H A D | editlib.c | 199 if(fd==editfd && hist_ptr && (opt_flag&NOHIST)==0 && r>0) 205 p_setout(hist_ptr->fixfd);
|
H A D | edit.c | 574 if(hist_ptr) 576 register struct history *fp = hist_ptr; 916 if(!hist_ptr || (st.states&BUILTIN)) 924 p_setout(hist_ptr->fixfd);
|
H A D | emacs.c | 215 if (hist_ptr) /* hloff cleared by ed_setup, recalculate... */
|
/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 126 static History_t *hist_ptr; variable 238 if(shgd->hist_ptr=hist_ptr) 255 shgd->hist_ptr = hist_ptr = hp; 314 shgd->hist_ptr = hist_ptr = hp; 423 hist_ptr = 0; 424 shgd->hist_ptr = 0; 493 hist_ptr [all...] |
H A D | completion.c | 555 if(!shgd->hist_ptr) 566 sfwrite(shgd->hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1); 568 hist_flush(shgd->hist_ptr);
|
H A D | hexpand.c | 304 hl = hist_find(shgd->hist_ptr, str, 305 shgd->hist_ptr->histind, 313 n = shgd->hist_ptr->histind + n; 315 if(n > 0 && hist_seek(shgd->hist_ptr, n) != -1) 316 ref = shgd->hist_ptr->histfp;
|
H A D | emacs.c | 265 location = hist_locate(shgd->hist_ptr,location.hist_command,location.hist_line,1); 676 location = hist_locate(shgd->hist_ptr,hline,hloff,count); 1306 location = hist_find(shgd->hist_ptr,(char*)lstring,hline,1,direction);
|
H A D | edit.c | 626 if(shp->gd->hist_ptr) 628 register History_t *hp = shp->gd->hist_ptr; 1666 if(!(hp=ep->sh->gd->hist_ptr) && (!nv_getval(HISTFILE) || !sh_histinit(ep->sh))) 1676 hp = ep->sh->gd->hist_ptr;
|
H A D | vi.c | 2277 location = hist_find(shgd->hist_ptr,((char*)virtual)+1, curhline, 1, new_direction);
|
/ast/src/cmd/ksh93/bltins/ |
H A D | hist.c | 61 hp = shp->gd->hist_ptr; 205 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg);
|
H A D | print.c | 218 fd = sffileno(shp->gd->hist_ptr->histfp); 234 else if(!(shp->inuse_bits&(1<<fd)) && (sh_inuse(shp,fd) || (shp->gd->hist_ptr && fd==sffileno(shp->gd->hist_ptr->histfp)))) 356 hist_flush(shp->gd->hist_ptr);
|
H A D | read.c | 494 if((flags&S_FLAG) && !shp->gd->hist_ptr) 497 if(!shp->gd->hist_ptr) 510 sfwrite(shp->gd->hist_ptr->histfp,(char*)cp,c); 623 sfwrite(shp->gd->hist_ptr->histfp,(char*)cp,c); 811 hist_flush(shp->gd->hist_ptr);
|
H A D | typeset.c | 1350 else if(tp->sh->gd->hist_ptr) 1351 iop = (tp->sh->gd->hist_ptr)->histfp;
|
/ast/src/cmd/ksh93/sh/ |
H A D | main.c | 422 hist_flush(shp->gd->hist_ptr); 508 if(shp->gd->hist_ptr) 509 hist_eof(shp->gd->hist_ptr); 553 if(sh_isstate(SH_INTERACTIVE) && shp->gd->hist_ptr) 556 hist_eof(shp->gd->hist_ptr); 567 if(sh_isstate(SH_INTERACTIVE) && shp->gd->hist_ptr) 568 hist_flush(shp->gd->hist_ptr);
|
H A D | jobs.c | 1072 hist_list(shgd->hist_ptr,outfile,pw->p_name,0,";"); 1223 if(!shgd->hist_ptr) 1229 if(hist_match(shgd->hist_ptr,pw->p_name,cp,flag)>=0) 1298 register History_t *hp = shp->gd->hist_ptr; 1391 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1); 1718 hist_list(shgd->hist_ptr,outfile,pw->p_name,'&',";");
|
H A D | lex.c | 193 if(sh_isstate(SH_HISTORY) && shp->gd->hist_ptr) 194 log = shp->gd->hist_ptr->histfp;
|
H A D | path.c | 1340 if(shp->gd->hist_ptr && (path=nv_getval(HISTFILE)) && strcmp(path,shp->gd->hist_ptr->histname)) 1342 hist_close(shp->gd->hist_ptr);
|
H A D | xec.c | 611 if((mode&~SH_FUNEVAL) && shp->gd->hist_ptr) 613 hist_flush(shp->gd->hist_ptr); 1409 if(shp->gd->hist_ptr && item->strm == shp->gd->hist_ptr->histfp) 1410 hist_close(shp->gd->hist_ptr);
|
H A D | init.c | 287 void *histopen = shp->gd->hist_ptr; 295 hist_close(shp->gd->hist_ptr);
|
H A D | nvtype.c | 1683 else if(shp->gd->hist_ptr) 1684 iop = (shp->gd->hist_ptr)->histfp;
|
/ast/src/cmd/ksh93/include/ |
H A D | defs.h | 130 History_t *hist_ptr; member in struct:shared
|