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 ?
top
andhtop
underansi-term
in Emacs 24.5. Possibly your issues are on account of missingeterm-color
terminfo? I believeapt-get install ncurses-term
on Debian systems should install this for you; or you can copy (or symlink) theeterm-color
andeterm-color.ti
files from the/usr/share/emacs/xx.x/etc/e
directory to a~/.terminfo/e/
directory, or system-wide at/usr/share/terminfo/e/
./usr/share/emacs/24.5/etc/e/eterm-color*
to/usr/share/terminfo/e/
without success. Also tried to move them to~/.terminfo/e/
without a change. Also removed original eterm-color from/usr/share/terminfo/e/
still without a change. Also tried to do the opposite and moved/usr/share/terminfo/e/eterm-color
to/usr/share/emacs/xx.x/etc/e/
but that didn't work. Do I need to reboot, login/logout, use another command to refresh some cache or activate these configs ?