diff options
author | WlodekM <[email protected]> | 2025-02-15 15:51:21 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2025-02-15 15:51:21 +0200 |
commit | 8043bc132342205a6033667975dd1a70375fd542 (patch) | |
tree | a469fa47f1d73d422c9743367be47a83558bd138 /progs | |
parent | a78fe6ec83b4446d1368910b51bf7257eb8476c9 (diff) |
try to make vi or nano work (and fail miserably)
Diffstat (limited to 'progs')
-rw-r--r-- | progs/shel/shel.c | 2 |
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)); |