[asterisk-commits] tilghman: trunk r88437 - /trunk/main/term.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 3 09:19:48 CDT 2007


Author: tilghman
Date: Sat Nov  3 09:19:47 2007
New Revision: 88437

URL: http://svn.digium.com/view/asterisk?view=rev&rev=88437
Log:
Revert commit #86119.  Some users intentionally do not want colorized terminals, so this was a misfeature.

Modified:
    trunk/main/term.c

Modified: trunk/main/term.c
URL: http://svn.digium.com/view/asterisk/trunk/main/term.c?view=diff&rev=88437&r1=88436&r2=88437
==============================================================================
--- trunk/main/term.c (original)
+++ trunk/main/term.c Sat Nov  3 09:19:47 2007
@@ -80,16 +80,8 @@
 	int termfd = -1, parseokay = 0, i;
 
 	if (!term)
-#ifdef linux
-		term = "linux";
-#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
-		term = "cons25";
-#elif defined(SOLARIS)
-		term = "sun-color";
-#else
 		return 0;
-#endif
-	if (ast_opt_no_color)
+	if (!ast_opt_console || ast_opt_no_color || !ast_opt_no_fork)
 		return 0;
 
 	for (i=0 ;; i++) {




More information about the asterisk-commits mailing list