diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-11 19:39:44 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-11 19:39:44 -0400 |
commit | 7b215af0941c9452a23ba7a6607c1ddc844ca27f (patch) | |
tree | a9368c27a5f7fc57aae431fe0d7249575e9bacd2 /pty-unix.c | |
parent | aed444fc0352092cd6c3021b79c7bb624c78b464 (diff) | |
download | runes-7b215af0941c9452a23ba7a6607c1ddc844ca27f.tar.gz runes-7b215af0941c9452a23ba7a6607c1ddc844ca27f.zip |
set TERM to a fixed value
using screen for now for compatibility, but this should change to
'runes' or whatever eventually
Diffstat (limited to 'pty-unix.c')
-rw-r--r-- | pty-unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,10 @@ void runes_pty_backend_init(RunesTerm *t) shell = "/bin/sh"; } + setenv("TERM", "screen", 1); + unsetenv("LINES"); + unsetenv("COLUMNS"); + execl(shell, shell, (char *)NULL); } } |