No *curses applications (like top, htop, Linux kernel's
make menuconfig and others) will work under emacs' different terms. However, the only one which seems to work is
git add -i
It behaves the same under term, multi-term and ansi-term: output a lot of messy garbage. It does the same when not splitting frames and I reproduced this behavior without any configuration (moved .emacs and .emacs.d somewhere else).
I included a screenshot of when I tried a
make menuconfig in Linux kernel's base directory.
I am running
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-17 on lgw01-04, modified by Debian in GUI on Ubuntu 16.04.
Is there a way of fixing this ? Is it just an isolated bug or related to emacs in general ?