Is it possible to use the jobs table (C-z bg jobs fg) in multi-term (or another emacs terminal emulator)?

At present when I press C-z all of emacs is backgrounded to the system jobs table

1 Answer 1


To send C-z directly to the shell, open your shell: M-x shell or M-x term, I did not try with mutli-term. Then, once inside the shell, execute:

M-x local-set-key RET C-z self-insert-command

After that, C-z should send to the background, the task actually running inside the command line, and not the whole Emacs.

If you want this configuration to be persistent. Then you should update your init.el file and add those lines:

(add-hook 'term-mode-hook
          (lambda ()
            (define-key term-raw-map (kbd "C-z") 'self-insert-command)))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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