Set terminal type to vt100.
authorKristian Høgsberg <krh@redhat.com>
Thu, 18 Dec 2008 19:50:08 +0000 (14:50 -0500)
committerKristian Høgsberg <krh@redhat.com>
Thu, 18 Dec 2008 19:50:08 +0000 (14:50 -0500)
terminal.c

index baee19c..2dd6b53 100644 (file)
@@ -569,6 +569,7 @@ terminal_run(struct terminal *terminal, const char *path)
        pid = forkpty(&master, NULL, NULL, NULL);
        if (pid == 0) {
                close(master);
+               setenv("TERM", "vt100", 1);
                if (execl(path, path, NULL)) {
                        printf("exec failed: %m\n");
                        exit(EXIT_FAILURE);