Home
last modified time | relevance | path

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

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