summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-27 09:41:58 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-27 09:41:58 +0000
commit6f3f7c10f9184a88ef0535390e827fb69c4cf2ca (patch)
treecc7064b59298c1f8552669056ac4fa1dc449f69a /src
parentf0a7bfd2d96c350f35517f1be9f89f0e2754e0db (diff)
go back to xterm - 256 colors extn makes apps look like arse.
SVN revision: 74480
Diffstat (limited to 'src')
-rw-r--r--src/bin/termpty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 06eee06..8c7a2cc 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -310,8 +310,8 @@ termpty_new(const char *cmd, int w, int h, int backscroll)
310 /* TODO: should we reset signals here? */ 310 /* TODO: should we reset signals here? */
311 311
312 // pretend to be xterm 312 // pretend to be xterm
313// putenv("TERM=xterm"); 313 putenv("TERM=xterm");
314 putenv("TERM=xterm-256color"); 314// putenv("TERM=xterm-256color");
315 putenv("XTERM_256_COLORS=1"); 315 putenv("XTERM_256_COLORS=1");
316 execvp(args[0], (char *const *)args); 316 execvp(args[0], (char *const *)args);
317 exit(127); /* same as system() for failed commands */ 317 exit(127); /* same as system() for failed commands */