> 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.  IIRC from my csh days, you should check $tty before using stty.

> 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.


        Stefan


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to