Lines Matching refs:term
106 char *term;
316 cctx->term = NULL;
325 (cctx->term = buffer_get_string_ret(m, &len)) == NULL ||
332 if (cctx->term != NULL)
333 xfree(cctx->term);
364 "term \"%s\", cmd \"%s\", env %u", __func__, c->self,
366 cctx->want_subsys, cctx->term, cmd, env_len);
384 xfree(cctx->term);
411 xfree(cctx->term);
1230 cctx->term, &cctx->tio, c->rfd, &cctx->cmd, cctx->env);
1249 xfree(cctx->term);
1636 char *e, *term;
1659 term = getenv("TERM");
1671 buffer_put_cstring(&m, term == NULL ? "" : term);