Commit bf0e6b0c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(term-exec-1): Run process on pty if possible.

parent 7e939f29
......@@ -883,7 +883,8 @@ buffer. The hook term-exec-hook is run after each exec."
(format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
(format "LINES=%d" term-height)
(format "COLUMNS=%d" term-width))
(process-connection-type t))
(apply 'start-process name buffer
"/bin/sh" "-c"
(format "stty -nl echo rows %d columns %d sane 2>/dev/null;\
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment