Mercurial > emacs
comparison lisp/term.el @ 52370:d3fa53727e82
(term-exec-1): Bind coding-system-for-read.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 29 Aug 2003 16:11:53 +0000 |
parents | e88404e8f2cf |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
52369:5e02293b946b | 52370:d3fa53727e82 |
---|---|
1345 (format "COLUMNS=%d" term-width)) | 1345 (format "COLUMNS=%d" term-width)) |
1346 process-environment)) | 1346 process-environment)) |
1347 (process-connection-type t) | 1347 (process-connection-type t) |
1348 ;; We should suppress conversion of end-of-line format. | 1348 ;; We should suppress conversion of end-of-line format. |
1349 (inhibit-eol-conversion t) | 1349 (inhibit-eol-conversion t) |
1350 ;; inhibit-eol-conversion doesn't seem to do the job, but this does. | |
1351 (coding-system-for-read 'unknown-unix) | |
1350 ) | 1352 ) |
1351 (apply 'start-process name buffer | 1353 (apply 'start-process name buffer |
1352 "/bin/sh" "-c" | 1354 "/bin/sh" "-c" |
1353 (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\ | 1355 (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\ |
1354 if [ $1 = .. ]; then shift; fi; exec \"$@\"" | 1356 if [ $1 = .. ]; then shift; fi; exec \"$@\"" |