What is the recommended terminal emulator in emacs to use ncurses applications? I use things like wicd-curses, cmake and other applications with rich ncurses interfaces and I am having trouble in finding an appropriate configuration where keyboard interaction works well and terminal content is not accidentally scrambled.

Thank you.

  • ansi-term is recommended. if something doesn't work it it you can write an emacs package to wrap a non-curses version of the tool (plain old wicd in this case)
    – user13193
    Sep 2, 2016 at 15:46

1 Answer 1


ansi-term is a terminal emulator, and appears to work well enough to support ncurses applications.

There are some sticky issues with terminfo, particularly after sshing into remote systems, http://www.emacswiki.org/emacs/AnsiTermHints#toc6 has discussion about this.

  • Thank you. ansi-term works ok for things like top and cmake, but not for wicd-curses. I don't understand what the difference is!
    – garjola
    Oct 28, 2014 at 9:01
  • Not familiar with wicd-curses, I've used it with aptitude and it worked, but certainly didn't do an exhaustive test of ncurses apps under ansi-term.
    – dgtized
    Oct 28, 2014 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.