I am on terminal.

I'd like to invoke a ncurses based program a.out. In vim, I do :silent !a.out, which will directly show a.out.

In emacs, the closest thing I can do is (suspend-emacs "a.out"). However, the parent terminal will first be shown, and then a.out will be launched. It is as if we literally first suspend emacs, and type a.out, hence showing the original content on the terminal, losing the silent benefit as in vim.

  • Is M-& what you're looking for?
    – user12563
    Nov 10 '17 at 16:32
  • @DoMiNeLa10 the ncurses program need to be in the front; it's a tui tool, and cannot be in the background.
    – FunkyBaby
    Nov 11 '17 at 0:43
  • Try M-x term in that case.
    – user12563
    Nov 11 '17 at 12:51

Your Answer

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

Browse other questions tagged or ask your own question.