Lines Matching refs:B_TTY_LINE_LEN

51 #define B_TTY_LINE_LEN	256  macro
75 static char hist[51][B_TTY_LINE_LEN];
76 static char pbuf[B_TTY_LINE_LEN];
77 static char cbuf[B_TTY_LINE_LEN];
184 char help[B_TTY_LINE_LEN];
578 char tbuf[B_TTY_LINE_LEN]; in print()
633 memset(btty.hist[0], 0, B_TTY_LINE_LEN); in bttyManageHistory()
851 snprintf(pbuf, B_TTY_LINE_LEN, "%12s: %s\n\r", in execHelpCheck()
861 snprintf(pbuf, B_TTY_LINE_LEN, "%13s: %s\n\r", in execHelpCheck()
1165 char comm[B_TTY_LINE_LEN]; in execCLI()
1166 snprintf(comm, B_TTY_LINE_LEN, "%s %s\n", argv[1], argv[2]); in execCLI()
1178 char *comm, alias[B_TTY_LINE_LEN]; in execAlias()
1190 snprintf(pbuf, B_TTY_LINE_LEN, "%12s: %s\n\r", in execAlias()
1262 snprintf(commands[i].help, B_TTY_LINE_LEN, "%s", alias); in execAlias()
1281 snprintf(commands[i].help, B_TTY_LINE_LEN, "%s", alias); in execAlias()
1345 memset(alias, 0, B_TTY_LINE_LEN); in execAlias()
1876 else if (n > B_TTY_LINE_LEN) in execSet()
2041 snprintf(btty.hist[1], B_TTY_LINE_LEN, "%s", comm); in execSet()
2383 char src[B_TTY_LINE_LEN], dst[B_TTY_LINE_LEN]; in bttyCookedCompletion()
2394 memset(src, 0, B_TTY_LINE_LEN); in bttyCookedCompletion()
2395 memset(dst, 0, B_TTY_LINE_LEN); in bttyCookedCompletion()
2425 snprintf(src, B_TTY_LINE_LEN, "%s", coms[first].name); in bttyCookedCompletion()
2429 snprintf(dst, B_TTY_LINE_LEN, "%s", &line[i + 1]); in bttyCookedCompletion()
2433 snprintf(line, B_TTY_LINE_LEN, "%s %s", src, dst); in bttyCookedCompletion()
2435 snprintf(line, B_TTY_LINE_LEN, "%s %s", src, &line[i + 1]); in bttyCookedCompletion()
2437 snprintf(line, B_TTY_LINE_LEN, "%s ", src); in bttyCookedCompletion()
2699 memset(cbuf, 0, B_TTY_LINE_LEN); in bttySearch()
2938 snprintf(pbuf, B_TTY_LINE_LEN, "CLI ':insert' mode command list:\r\n"); in execHelp()
2945 snprintf(pbuf, B_TTY_LINE_LEN, "%12s (:) %s\n\r", in execHelp()
2962 snprintf(pbuf, B_TTY_LINE_LEN, "%12s: %s\n\r", in execHelp()
2989 char var[B_TTY_LINE_LEN]; in bttyExecute()
3013 memset(pbuf, 0, B_TTY_LINE_LEN); in bttyExecute()
3114 memset(pbuf, 0, B_TTY_LINE_LEN); in bttyExecute()
3231 char *comm = tbuf, **vargs, zbuf[B_TTY_LINE_LEN]; in bttyInterpret()
3250 memset(tbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3253 memset(zbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3254 snprintf(zbuf, B_TTY_LINE_LEN, "%s", btty.hist[i]); in bttyInterpret()
3265 memset(cbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3266 memset(btty.hist[0], 0, B_TTY_LINE_LEN); in bttyInterpret()
3276 snprintf(pbuf, B_TTY_LINE_LEN, "%i %s\n\r", i, btty.hist[i]); in bttyInterpret()
3279 snprintf(pbuf, B_TTY_LINE_LEN, ":"); in bttyInterpret()
3282 memset(cbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3289 memset(pbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3298 snprintf(pbuf, B_TTY_LINE_LEN, "\r%s", btty.prompt); in bttyInterpret()
3301 memset(cbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3316 vargs[i] = brightonmalloc(B_TTY_LINE_LEN); in bttyInterpret()
3317 memset(vargs[i], 0, B_TTY_LINE_LEN); in bttyInterpret()
3405 memset(cbuf, 0, B_TTY_LINE_LEN); in bttyInterpret()
3406 memset(btty.hist[0], 0, B_TTY_LINE_LEN); in bttyInterpret()
3531 memset(cbuf, 0, B_TTY_LINE_LEN); in bttyCookedMode()
3613 memset(cbuf, 0, B_TTY_LINE_LEN); in bttyCookedMode()
3614 memset(btty.hist[0], 0, B_TTY_LINE_LEN); in bttyCookedMode()
3925 snprintf(cbuf, B_TTY_LINE_LEN, "%s", templates[i].opname); in brightonCLIcheck()
4113 memset(cbuf, 0, B_TTY_LINE_LEN); in brightonCLIcheck()
4122 memset(cbuf, 0, B_TTY_LINE_LEN); in brightonCLIcheck()