aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1997-10-23 12:03:07 +0000
committerKenichi Handa1997-10-23 12:03:07 +0000
commit34c0365b517bf8113fd6fa5e6c2d20dabd862279 (patch)
tree552a5ffdb944f1f5283d9487a115d39fd788f5ce
parent9d3d8cba5a8430544f433330a0c8b3bc727b0d50 (diff)
downloademacs-34c0365b517bf8113fd6fa5e6c2d20dabd862279.tar.gz
emacs-34c0365b517bf8113fd6fa5e6c2d20dabd862279.zip
(term-exec-1): Bind inhibit-eol-conversion to t before
calling start-process.
-rw-r--r--lisp/term.el5
1 files changed, 4 insertions, 1 deletions
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."
1432 (format "LINES=%d" term-height) 1432 (format "LINES=%d" term-height)
1433 (format "COLUMNS=%d" term-width)) 1433 (format "COLUMNS=%d" term-width))
1434 process-environment)) 1434 process-environment))
1435 (process-connection-type t)) 1435 (process-connection-type t)
1436 ;; We should suppress conversion of end-of-line format.
1437 (inhibit-eol-conversion t)
1438 )
1436 (apply 'start-process name buffer 1439 (apply 'start-process name buffer
1437 "/bin/sh" "-c" 1440 "/bin/sh" "-c"
1438 (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\ 1441 (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\