emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: find-grep makes raw terminal ANSI]


From: Andreas Schwab
Subject: Re: address@hidden: Re: find-grep makes raw terminal ANSI]
Date: Sun, 18 Nov 2007 11:45:20 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> !     (setenv "TERM" "emacs")
>> !     (setenv "GREP_OPTIONS" (concat (getenv "GREP_OPTIONS") " 
>> --color=auto"))
>
> Looks about right, except that I believe `emacs' is too vague.
> I'd use something like "emacs-grep".

See comint-exec-1. "emacs" is the traditional value used for TERM on
termcap systems, where you can define an arbitrary terminal in the
environment.  This doesn't work on terminfo systems, so Emacs uses
"dumb" instead.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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