From bf0e6b0ce8978fe6839e3e3985b1cc62ac020f63 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 23 Jun 1996 15:51:57 +0000 Subject: [PATCH] (term-exec-1): Run process on pty if possible. --- lisp/term.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;\ -- 2.39.2