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: Peter Dyballa
Subject: Re: stty isn't a terminal
Date: Fri, 18 Mar 2005 23:29:28 +0100


Am 18.03.2005 um 23:11 schrieb Stefan Monnier:

Google should be able to answer that one. It's a problem in your shell's
config file (like .cshrc) where you use `stty' without first checking
whether the shell is actually running on a terminal.

It's only present in GNU Emacs 22 from CVS. And this is the corresponding portion in .tcshrc to make GNU Emacs work in xterm:

if (! $?TERM) setenv TERM xterm
if (($TERM == xterm) | ($TERM == nxterm)) then
    setenv TERM xterm-color
    stty erase '^?'
endif

In the shell buffer TERM is dumb ...

GNU Emacs 21.3.50 from CVS, as provided by Fink, and GNU Emacs 21.2, as supplied by Apple, do not show that behaviour.

Is it a bug that GNU Emacs 22 from CVS does not set TERM for shell-mode-on-region?

--
Greetings

  Pete





reply via email to

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