summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-23 15:51:57 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-23 15:51:57 +0000
commit5bf144dea564bad3c8eb427bdaa5b2dff1bb643c (patch)
treeed0511f48923b3c5597f2defa1ea33cafa974cf0 /lisp/term.el
parent1c5cf1e5970b2acee24d3f9811036c05d6000a10 (diff)
downloademacs-5bf144dea564bad3c8eb427bdaa5b2dff1bb643c.tar.gz
(term-exec-1): Run process on pty if possible.
Diffstat (limited to 'lisp/term.el')
-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."
(format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
(format "LINES=%d" term-height)
(format "COLUMNS=%d" term-width))
- process-environment)))
+ process-environment))
+ (process-connection-type t))
(apply 'start-process name buffer
"/bin/sh" "-c"
(format "stty -nl echo rows %d columns %d sane 2>/dev/null;\