0

I wish to achieve what a C-c (send a keyboardinterrupt) would do in a terminal outside of Emacs. How do I do that in Emacs shell mode?

1
  • Please specify what that C-c behavior outside Emacs is, to make this Q&A more helpful for others. Thx. – Drew Jan 2 at 17:37
1

In Shell mode (and many other modes that run an external command interpreter), press C-c C-c (comint-interrupt-subjob). That's the C-c prefix of mode-specific commmands, followed by C-c which is chosen to be like C-c in a plain terminal.

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.