From: Kristian Høgsberg Date: Thu, 18 Dec 2008 19:50:08 +0000 (-0500) Subject: Set terminal type to vt100. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8c5d5872d3e12896eeb70c48883143a50a1cdb7;p=platform%2Fupstream%2Fwayland.git Set terminal type to vt100. --- diff --git a/terminal.c b/terminal.c index baee19c..2dd6b53 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);