term-char-mode
term-char-mode is an interactive compiled Lisp function in `term.el
'.
(term-char-mode)
Switch to char ("raw") sub-mode of term mode.
Each character you type is sent directly to the inferior without
intervention from Emacs, except for the escape character (usually C-c).