emacs-devel
[Top][All Lists]
Advanced

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

Re: (getenv "TERM) always returns "dumb"


From: Stefan
Subject: Re: (getenv "TERM) always returns "dumb"
Date: 31 Aug 2004 09:35:41 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> Due to a recent change in startup.el, (getenv "TERM") now always
>> returns "dumb":
>> 
>> ;; Subprocesses of Emacs do not have direct access to the terminal, 
>> ;; so unless told otherwise they should only assume a dumb terminal. 
>> (setenv "TERM" "dumb")

> I think we should revert that change unless Stefan comes up with a better
> idea.

I still think the change is basically right, but I agree that we should
probably revert it since noone seems to have the time or inclination to do
the additional necessary changes (i.e. keep TERM set until after running
the terminal-specific config file and stash the original TERM value
somewhere so that a new `terminal-type' function can return it to code that
needs it).


        Stefan




reply via email to

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