aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term/rcstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9term/rcstart.c')
-rw-r--r--src/cmd/9term/rcstart.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/9term/rcstart.c b/src/cmd/9term/rcstart.c
index a6a72fe6..ec168e99 100644
--- a/src/cmd/9term/rcstart.c
+++ b/src/cmd/9term/rcstart.c
@@ -35,12 +35,7 @@ rcstart(int argc, char **argv, int *pfd)
dup(sfd, 0);
dup(sfd, 1);
dup(sfd, 2);
-// system("stty tabs -onlcr -echo erase '^h' intr '^?'");
- system("echo tabs; stty tabs");
- system("echo onlcr; stty -onlcr");
- system("echo echo; stty -echo");
- system("echo erase; stty erase '^h'");
- system("echo intr; stty intr '^?'");
+ system("stty tabs -onlcr -echo erase '^h' intr '^?'");
execvp(argv[0], argv);
fprint(2, "exec %s failed: %r\n", argv[0]);
_exits("oops");