all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (getenv "TERM) always returns "dumb"
@ 2004-08-31  0:21 Peter Heslin
  2004-08-31  9:30 ` Andreas Schwab
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Heslin @ 2004-08-31  0:21 UTC (permalink / raw)


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")

So what is now the correct way for an Emacs customization to determine
the original value of this environment variable?

(For another person who was recently bitten by this change, see the
thread in comp.emacs entitled "emacs -nw and 256 colors in xterm".)

Peter

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-09-06 16:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-31  0:21 (getenv "TERM) always returns "dumb" Peter Heslin
2004-08-31  9:30 ` Andreas Schwab
2004-08-31 13:35   ` Stefan
2004-08-31 19:57     ` Peter Heslin
2004-08-31 20:11     ` (getenv "TERM") " Davis Herring
2004-09-01 19:24       ` Richard Stallman
2004-09-02  9:06         ` Kai Grossjohann
2004-09-03 17:24           ` Richard Stallman
2004-09-03 18:16             ` Stefan Monnier
2004-09-03 22:34               ` Juri Linkov
2004-09-04 22:12               ` Richard Stallman
2004-09-06 16:09                 ` Stefan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.