From 34c0365b517bf8113fd6fa5e6c2d20dabd862279 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 23 Oct 1997 12:03:07 +0000 Subject: [PATCH] (term-exec-1): Bind inhibit-eol-conversion to t before calling start-process. --- lisp/term.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/term.el b/lisp/term.el index e3aefb83b9a..eb453e4dc18 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -1432,7 +1432,10 @@ buffer. The hook term-exec-hook is run after each exec." (format "LINES=%d" term-height) (format "COLUMNS=%d" term-width)) process-environment)) - (process-connection-type t)) + (process-connection-type t) + ;; We should suppress conversion of end-of-line format. + (inhibit-eol-conversion t) + ) (apply 'start-process name buffer "/bin/sh" "-c" (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\ -- 2.39.2