Searched refs:histline (Results 1 – 4 of 4) sorted by relevance
39 extern struct Strbuf histline;1008 np->histline = Strsave(histline.s); in enthist()1010 np->histline = NULL; in enthist()1017 np->histline = NULL; in enthist()1057 if (hp->histline) in hfree()1058 xfree(hp->histline); in hfree()1087 if (HistLit && hp->histline) in phist()1088 xprintf("%" TCSH_S "\n", hp->histline); in phist()1222 if (HistLit && hp->histline) in fmthist()1223 return xasprintf("%" TCSH_S, hp->histline); in fmthist()
121 struct Strbuf histline; /* = Strbuf_INIT; last line input */ variable152 histline.len = 0; in lex()190 Strbuf_terminate(&histline); in lex()191 if (histline.len != 0 && histline.s[histline.len - 1] == '\n') in lex()192 histline.s[histline.len - 1] = '\0'; in lex()1564 Strbuf_append1(&histline, c); in readc()
996 if (HistLit && hp->histline) { in GetHistLine()997 copyn(InputBuf, hp->histline, INBUFSIZE);/*FIXBUF*/ in GetHistLine()1725 if (hp->histline) { in e_toggle_hist()1726 copyn(InputBuf, hp->histline, INBUFSIZE);/*FIXBUF*/ in e_toggle_hist()1882 if (hp->histline == NULL) in e_up_search_hist()1883 hp->histline = sprlex(&hp->Hlex); in e_up_search_hist()1885 hl = hp->histline; in e_up_search_hist()1941 if (hp->histline == NULL) in e_down_search_hist()1942 hp->histline = sprlex(&hp->Hlex); in e_down_search_hist()1944 hl = hp->histline; in e_down_search_hist()
1080 Char *histline; member