Am 19.03.2005 um 00:19 schrieb Stefan Monnier:
if (! $?TERM) setenv TERM xterm
This is bogus.
if (($TERM == xterm) | ($TERM == nxterm)) then setenv TERM xterm-color stty erase '^?' endif
This is also bogus because TERM might be defined even if you're not on a tty.
Yes, of course, I know! I had to do this non-sense earlier for Mac OS X to have GNU Emacs work in Apple's Terminal application with colours. I checked today that in Mac OS X 10.3(.8) it's not necesary any more.
IIRC from my csh days, you should check $tty before using stty.
Yes, tcsh sets $tty ...
Is it a bug that GNU Emacs 22 from CVS does not set TERM for shell-mode-on-region?
It would be a bug to set TERM in such a case.
Oh yes, that's right, of course!
-- Greetings
Pete
_______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
