Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#define EDITOR {"vi"}
#define MAIL {"mailx", "-f", "+inbox"}

/* TERM variable for launched programs */
#define TERM "linux"

/* fbval_t should match framebuffer depth */
typedef unsigned int fbval_t;

Expand Down
2 changes: 1 addition & 1 deletion term.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ void term_exec(char **args)
if ((term->pid = fork()) == -1)
return;
if (!term->pid) {
char *envp[MAXENV] = {"TERM=linux"};
char *envp[MAXENV] = {"TERM=" TERM};
envcpy(envp + 1, environ);
_login(slave);
close(master);
Expand Down