[cmake-developers] [PATCH] kwsys: Add putty-256color as a VT100 color-capable terminal

Muli Baron muli.baron at gmail.com
Thu Dec 26 09:42:54 EST 2013


Using PuTTY with the terminal type set to putty-256color causes CMake
not to output any colors during build. Changing it to one of the
'supported' terminal types fixes the problem. This patch adds the
putty-256color terminal type to the list of supported terminals.
---
 Source/kwsys/Terminal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Source/kwsys/Terminal.c b/Source/kwsys/Terminal.c
index 25832c2..6d7ec41 100644
--- a/Source/kwsys/Terminal.c
+++ b/Source/kwsys/Terminal.c
@@ -155,6 +155,7 @@ static const char* kwsysTerminalVT100Names[] =
   "mach-color",
   "mlterm",
   "putty",
+  "putty-256color",
   "rxvt",
   "rxvt-256color",
   "rxvt-cygwin",
-- 
1.8.5.2




More information about the cmake-developers mailing list