From: Terry Wilson Date: Thu, 28 Jul 2011 21:42:41 +0000 (+0000) Subject: Make console colors work for TERM=xterm-256color X-Git-Tag: 1.8.6.0-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=659c320f5d0c23c17e09937bf1390f7d1cce2801;p=thirdparty%2Fasterisk.git Make console colors work for TERM=xterm-256color git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@330107 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/term.c b/main/term.c index fbe093f800..e757d9321f 100644 --- a/main/term.c +++ b/main/term.c @@ -144,6 +144,8 @@ int ast_term_init(void) vt100compat = 1; } else if (!strcmp(term, "xterm-color")) { vt100compat = 1; + } else if (!strcmp(term, "xterm-256color")) { + vt100compat = 1; } else if (!strncmp(term, "Eterm", 5)) { /* Both entries which start with Eterm support color */ vt100compat = 1;