From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: no color syntax highlighting in emacs over SSH Date: Sat, 30 Sep 2006 00:57:15 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: <6559904.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159580466 6198 80.91.229.2 (30 Sep 2006 01:41:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Sep 2006 01:41:06 +0000 (UTC) Bcc: ilya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 30 03:41:01 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GTTqX-0005Ac-22 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 03:40:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GTTqW-0000Lo-KL for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Sep 2006 21:40:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!ilya Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: powdermilk.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1159577835 67208 169.229.140.13 (30 Sep 2006 00:57:15 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Sat, 30 Sep 2006 00:57:15 +0000 (UTC) User-Agent: trn [how to get a version via %-escapes???] with a custom header X-How-To-Reach-Me: The From: address is valid X-How-To-Disable-Cc: Put in the headers the line: Mail-Copies-To: never Originator: ilya@powdermilk.math.berkeley.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:142106 Original-To: help-gnu-emacs@gnu.org 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:37726 Archived-At: [A complimentary Cc of this posting was sent to DeeplyPipelined ], who wrote in article : > Yes, font locking is turned on because I can see formatted fonts in emacs > (bold, underline), but no color. Also, I am able to get color when I use > emacs in an X window over ssh (using ssh -X), but I am not able to get > coloration when I use emacs in the non-X (TTY) mode. Your TERM is understood as non-color XTERM. Set TERM on remote machine to a color-capable XTERM (may be tricky on Solaris, it has horrible terminfo database...). If this fails, you may need to use a custom TERMINFO database. Get it from some saner OS, and set $TERMINFO accordingly. [This assumes that your Emacs groks TERMINFO. Do not know whether Solaris builds are smart enough...] Hope this helps, Ilya