Send commands to Emacs through processes running in term.el