Home
last modified time | relevance | path

Searched refs:maxlines (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c234 int histmask, maxlines, hist_start=0; in sh_histinit() local
305 maxlines = (unsigned)strtol(cp, (char**)0, 10); in sh_histinit()
307 maxlines = HIST_DFLT; in sh_histinit()
308 for(histmask=16;histmask <= maxlines; histmask <<=1 ); in sh_histinit()
316 hp->histsize = maxlines; in sh_histinit()
335 off_t mark,size = (HIST_MAX/4)+maxlines*HIST_LINE; in sh_histinit()
339 if((hist_start = (last=(int)hp->histind)-maxlines) <=0) in sh_histinit()
369 hp = hist_trim(hp,(int)hp->histind-maxlines); in sh_histinit()