summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-19 03:55:13 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-19 03:55:13 +0000
commit409e04ba8c6afe6e3e1231dbe592b8068204891b (patch)
treeffe58d4a3fd191e39740ad294440c8033ec8c1c8 /lisp/term.el
parent8e711f0dda9872fe8420aa8cd4916e8675008583 (diff)
downloademacs-409e04ba8c6afe6e3e1231dbe592b8068204891b.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 46087b23143..1defc63cb39 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -822,7 +822,7 @@ buffer. The hook term-exec-hook is run after each exec."
;; loses one arg when called with -c, and newer shells (bash, ksh) don't.
;; Thus we add an extra dummy argument "..", and then remove it.
(apply 'start-process name buffer
-"/bin/sh" "-c" (format "stty sane -nl echo rows %d columns %d; if [ $1 = .. ]; then shift; fi;\
+"/bin/sh" "-c" (format "stty -nl echo rows %d columns %d sane 2>/dev/null; if [ $1 = .. ]; then shift; fi;\
TERM=$1; export TERM; shift;\
TERMCAP=$1; export TERMCAP; shift;\
EMACS=t; export EMACS;\