Set terminal type to vt100.

This commit is contained in:
Kristian Høgsberg 2008-12-18 14:50:08 -05:00
parent b7037a02f0
commit c8c5d5872d

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