This commit is contained in:
Russ Cox 2009-06-09 09:26:13 -07:00
commit 77ac358321
4 changed files with 29 additions and 18 deletions

View file

@ -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);