aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1996-06-23 15:51:57 +0000
committerRichard M. Stallman1996-06-23 15:51:57 +0000
commitbf0e6b0ce8978fe6839e3e3985b1cc62ac020f63 (patch)
treeeaa18811280939614d1702a389d86e13fb0ad6fb /lisp
parent7e939f298d105012260b39060947ba8459927121 (diff)
downloademacs-bf0e6b0ce8978fe6839e3e3985b1cc62ac020f63.tar.gz
emacs-bf0e6b0ce8978fe6839e3e3985b1cc62ac020f63.zip
(term-exec-1): Run process on pty if possible.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/term.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 154b0e0c6e4..8e266c0e78a 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -883,7 +883,8 @@ buffer. The hook term-exec-hook is run after each exec."
883 (format "EMACS=%s (term:%s)" emacs-version term-protocol-version) 883 (format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
884 (format "LINES=%d" term-height) 884 (format "LINES=%d" term-height)
885 (format "COLUMNS=%d" term-width)) 885 (format "COLUMNS=%d" term-width))
886 process-environment))) 886 process-environment))
887 (process-connection-type t))
887 (apply 'start-process name buffer 888 (apply 'start-process name buffer
888 "/bin/sh" "-c" 889 "/bin/sh" "-c"
889 (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\ 890 (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\