emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stty isn't a terminal


From: Stefan Monnier
Subject: Re: stty isn't a terminal
Date: Fri, 18 Mar 2005 18:19:56 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]