init/ports: Fix environment variables in init/ncurses

init no longer sets NCURSES_NO_UTF8_ACS
ncurses no longer sets TERM
This commit is contained in:
Bananymous 2025-06-28 18:38:19 +03:00
parent e4f025edd6
commit c7c3dd7662
2 changed files with 0 additions and 2 deletions

View File

@ -20,6 +20,5 @@ install() {
make install "DESTDIR=$BANAN_SYSROOT" || exit 1
shellrc="$BANAN_SYSROOT/home/user/.shellrc"
grep -q 'export TERM=' "$shellrc" || echo 'export TERM=ansi' >> "$shellrc"
grep -q 'export NCURSES_NO_UTF8_ACS=' "$shellrc" || echo 'export NCURSES_NO_UTF8_ACS=1' >> "$shellrc"
}

View File

@ -28,7 +28,6 @@ int main(int argc, char** argv)
perror("load_keymap");
setenv("TERM", "ansi", 1);
setenv("NCURSES_NO_UTF8_ACS", "1", 1);
if (fork() == 0)
{