From bf63f986ff1a433ab6cce5287d51c191036f0a65 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 6 Aug 2013 09:42:10 -0400 Subject: 9term: set TERM=dumb instead of TERM=9term Everyone seems to assume that TERM != dumb implies ANSI escape codes are okay. In fact, many people assume that unconditionally, but it is easier to argue back about TERM=dumb than TERM=9term. This applies to acme win too, because they share the code. Set termprog=9term or termprog=win for clients who need to know. R=rsc CC=r https://codereview.appspot.com/12532043 --- src/cmd/9term/9term.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmd/9term/9term.c') diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index c0be6f7f..5cf46dec 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -15,6 +15,7 @@ #include "fns.h" #include "term.h" +const char *termprog = "9term"; int use9wm; int mainpid; int mousepid; -- cgit v1.2.3