Searched defs:term (Results 1 - 3 of 3) sorted by relevance

/system/core/liblinenoise/
H A Dlinenoise.c97 char *term = getenv("TERM"); local
100 if (term == NULL) return 0;
102 if (!strcasecmp(term,unsupported_term[j])) return 1;
/system/core/sh/
H A Dhistedit.c108 char *term, *shname; local
122 term = lookupvar("TERM");
123 if (term)
124 setenv("TERM", term, 1);
184 setterm(const char *term) argument
186 if (el != NULL && term != NULL)
187 if (el_set(el, EL_TERMINAL, term) != 0) {
188 outfmt(out2, "sh: Can't set terminal type %s\n", term);
/system/core/toolbox/grep/
H A Dgrep.c587 char *term; local
589 term = getenv("TERM");
590 if (isatty(STDOUT_FILENO) && term != NULL &&
591 strcasecmp(term, "dumb") != 0)

Completed in 39 milliseconds