From c8c5d5872d3e12896eeb70c48883143a50a1cdb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 18 Dec 2008 14:50:08 -0500 Subject: [PATCH] Set terminal type to vt100. --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index baee19c7..2dd6b531 100644 --- a/terminal.c +++ b/terminal.c @@ -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);