summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-10-23 12:03:07 +0000
committerKenichi Handa <handa@m17n.org>1997-10-23 12:03:07 +0000
commitb62aa5e1da86db77d3d41abb5a0a54a6897b05aa (patch)
tree6f18509a187911407eca76c1864af3981cf8b9b9 /lisp/term.el
parent2454dad1ef4897b2a7022a4935193751831915b4 (diff)
downloademacs-b62aa5e1da86db77d3d41abb5a0a54a6897b05aa.tar.gz
(term-exec-1): Bind inhibit-eol-conversion to t before
calling start-process.
Diffstat (limited to 'lisp/term.el')
-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."
(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;\