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

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to