aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2009-06-09 09:26:13 -0700
committerRuss Cox <rsc@swtch.com>2009-06-09 09:26:13 -0700
commit77ac35832191e456a5d9a3ccff667ab262838303 (patch)
tree495044d1e4ad5c4d20cdde4cf187dfa24333ce33 /src/cmd/9term
parentfc9f53d45420e17afd9d1492615ab0038161f405 (diff)
parentfc9f53d45420e17afd9d1492615ab0038161f405 (diff)
downloadplan9port-77ac35832191e456a5d9a3ccff667ab262838303.tar.gz
plan9port-77ac35832191e456a5d9a3ccff667ab262838303.tar.bz2
plan9port-77ac35832191e456a5d9a3ccff667ab262838303.zip
merge
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/rcstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/rcstart.c b/src/cmd/9term/rcstart.c
index c137b8f8..4d64349c 100644
--- a/src/cmd/9term/rcstart.c
+++ b/src/cmd/9term/rcstart.c
@@ -77,10 +77,10 @@ rcstart(int argc, char **argv, int *pfd, int *tfd)
*/
notifyoff("sys: window size change");
+ putenv("TERM", "9term");
pid = fork();
switch(pid){
case 0:
- putenv("TERM", "9term");
sfd = childpty(fd, slave);
dup(sfd, 0);
dup(sfd, 1);