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:
parent
e4f025edd6
commit
c7c3dd7662
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue