projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7037a0
)
Set terminal type to vt100.
author
Kristian Høgsberg
<krh@redhat.com>
Thu, 18 Dec 2008 19:50:08 +0000
(14:50 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Thu, 18 Dec 2008 19:50:08 +0000
(14:50 -0500)
terminal.c
patch
|
blob
|
history
diff --git
a/terminal.c
b/terminal.c
index
baee19c
..
2dd6b53
100644
(file)
--- 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);