From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Egor Newsgroups: gmane.emacs.help Subject: Re: emacs terminal colors Date: Thu, 2 Oct 2008 07:31:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1222958789 12403 80.91.229.12 (2 Oct 2008 14:46:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 14:46:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 16:47:27 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlPN4-0006W0-Ep for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 16:41:38 +0200 Original-Received: from localhost ([127.0.0.1]:49539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPM1-000188-Gb for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 10:40:33 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d45g2000hsc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 212.248.26.3 Original-X-Trace: posting.google.com 1222957875 4575 127.0.0.1 (2 Oct 2008 14:31:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 2 Oct 2008 14:31:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d45g2000hsc.googlegroups.com; posting-host=212.248.26.3; posting-account=U5R4MwoAAAD20lQRuTFnGgOk7cqAxGTP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2), gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 office.betline.ru (squid/3.0.STABLE7) Original-Xref: news.stanford.edu gnu.emacs.help:162952 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58292 Archived-At: On 2 =CF=CB=D4, 17:22, egor.shalashni...@gmail.com wrote: > Hi!, > I have a problem with emacs colors in terminal, spent all day on it. > I'm connecting to a remote shell 1 (rhel): > 'ssh ' > And connecting from my computer to a remote shell 2 (solaris) > 'ssh ' > > The settings are nearly the same, but emacs on displays many > colors by default, and on by default are only 2 colors. > How do enable --color=3Dauto emacs switch by using only evn settings? > (If I use emacs --color on emacs starts with many colors). > > Note: It's not a problem always use --color for emacs, but: > I play with parameters in some functions into .emacs, so --color is > the additional parameter and it breaks up logic into function when I > use emacs as a diff utility (emacs -diff file1 file2: works, but emacs > --color -diff file1 file 2: doesn't) > > env: > TERM=3Dxterm > COLORTERM=3Dgnome-terminal (mc works fine with color after I've added > this env setting) > > .emacs: > (global-font-lock-mode 1) I've found than xterm-color is not exists on Solaris 10..