diff options
| author | Russ Cox <rsc@swtch.com> | 2013-08-06 09:42:10 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2013-08-06 09:42:10 -0400 |
| commit | bf63f986ff1a433ab6cce5287d51c191036f0a65 (patch) | |
| tree | 62dbd26446e930d0d5a841be9dcd1a43667212cd /src/cmd/9term/term.h | |
| parent | 2bc9a13faf0abcfa43cddc8c226b2f742b764c4a (diff) | |
| download | plan9port-bf63f986ff1a433ab6cce5287d51c191036f0a65.tar.gz plan9port-bf63f986ff1a433ab6cce5287d51c191036f0a65.zip | |
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
Diffstat (limited to 'src/cmd/9term/term.h')
| -rw-r--r-- | src/cmd/9term/term.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/9term/term.h b/src/cmd/9term/term.h index e7a1f6b2..6041275a 100644 --- a/src/cmd/9term/term.h +++ b/src/cmd/9term/term.h @@ -10,3 +10,4 @@ extern int loginshell; extern void echoed(char*, int); extern int echocancel(char*, int); extern int dropcrnl(char*, int); +extern const char *termprog; |
