summary refs log tree commit diff
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/shel/shel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/shel/shel.c b/progs/shel/shel.c
index a9eeeba..f4292b6 100644
--- a/progs/shel/shel.c
+++ b/progs/shel/shel.c
@@ -84,6 +84,8 @@ int main() {
 
     setenv("TERMCAP", termpcap, 1);
     setenv("PATH", "/bin", 0);
+    setenv("TERM", "xterm-256color", 1);
+    setenv("TERMINFO", "/etc/smolsh", 1);
 
     while (!false) {
         memset(input, 0, sizeof(input));