Skip to content
Snippets Groups Projects
Commit eb856fbb authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Revert commit #86119. Some users intentionally do not want colorized...

Revert commit #86119.  Some users intentionally do not want colorized terminals, so this was a misfeature.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 05dd7fec
Branches
Tags
No related merge requests found
...@@ -80,16 +80,8 @@ int ast_term_init(void) ...@@ -80,16 +80,8 @@ int ast_term_init(void)
int termfd = -1, parseokay = 0, i; int termfd = -1, parseokay = 0, i;
if (!term) if (!term)
#ifdef linux
term = "linux";
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
term = "cons25";
#elif defined(SOLARIS)
term = "sun-color";
#else
return 0; return 0;
#endif if (!ast_opt_console || ast_opt_no_color || !ast_opt_no_fork)
if (ast_opt_no_color)
return 0; return 0;
for (i=0 ;; i++) { for (i=0 ;; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment