Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/edit/
H A Dhistory.c235 int histmask, maxlines, hist_start=0; in sh_histinit() local
306 maxlines = (unsigned)strtol(cp, (char**)0, 10); in sh_histinit()
308 maxlines = HIST_DFLT; in sh_histinit()
309 for(histmask=16;histmask <= maxlines; histmask <<=1 ); in sh_histinit()
317 hp->histsize = maxlines; in sh_histinit()
336 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()