From: Richard M. Stallman Date: Wed, 19 Oct 1994 03:55:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-19.34~6252 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=41b9e2b5685f612a42b4922664e1fdb75badceac;p=emacs.git *** empty log message *** --- 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;\