term-send-region

term-send-region is a compiled Lisp function in `term.el'.

(term-send-region PROC START END)

Send to PROC the region delimited by START and END.
This is a replacement for `process-send-region' that tries to keep
your process from hanging on long inputs. See `term-send-string'.