I'd like to run a command in a running iterm tab (or terminal, whatever) from elisp. I don't want to use a terminal emulator running under emacs, since I've yet to find one that handles output as well as a standalone terminal emulator.
Is this possible?
I basically need this, but for a process that isn't running under emacs:
(term-simple-send proc "echo hello")
M-x term
? This one seems to work quite like a real terminal.ansi-term
right now, and it works ok but not nearly as well as Terminal or iTerm. The buffer scrolls slower on output, sometimes gets "stuck" where the last output line isn't at the bottom of the buffer, I haven't figured out how to get it to use a different smaller font,C-x b
occasionally puts me in the test buffer accidentally, trouble with unicode. I'd just like to use a native terminal if it's a possible thing.