Searched refs:term (Results 1 – 3 of 3) sorted by relevance
108 char *term, *shname; in histedit() local122 term = lookupvar("TERM"); in histedit()123 if (term) in histedit()124 setenv("TERM", term, 1); in histedit()184 setterm(const char *term) in setterm() argument186 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()
587 char *term; in grep_main() local589 term = getenv("TERM"); in grep_main()590 if (isatty(STDOUT_FILENO) && term != NULL && in grep_main()591 strcasecmp(term, "dumb") != 0) in grep_main()
97 char *term = getenv("TERM"); in isUnsupportedTerm() local100 if (term == NULL) return 0; in isUnsupportedTerm()102 if (!strcasecmp(term,unsupported_term[j])) return 1; in isUnsupportedTerm()