From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Jackson Newsgroups: gmane.emacs.help Subject: Re: emacs 21.1 color highligh Date: Tue, 30 Jan 2007 16:05:56 +0000 Message-ID: <871wlcfqjf.fsf@main.mainworld> References: <1170159601.079090.112030@a75g2000cwd.googlegroups.com> <878xfkpupt.fsf@main.mainworld> <12ruq8gqk48dvd1@corp.supernews.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170175302 20744 80.91.229.12 (30 Jan 2007 16:41:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 16:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 30 17:41:36 2007 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 1HBw2z-0003F1-I6 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 17:41:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBw2z-00036w-3u for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 11:41:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!news-peer-lilac.gradwell.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:TZYnL/+2l5cj5s+GQEeciF0YNcQ= Original-Lines: 40 Original-NNTP-Posting-Host: 81.187.28.241 Original-X-Trace: 1170173144 news.aaisp.net.uk 758 81.187.28.241:38042 Original-X-Complaints-To: aaispnews-abuse@gradwell.net Original-Xref: shelby.stanford.edu gnu.emacs.help:145162 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:40768 Archived-At: Thomas Dickey writes: > Phil Jackson wrote: >> "Ask" writes: > >>> I am using Emacs 21.1 using ssh client (windows machine) on a Unix/ >>> Linux server. Emacs opens the file in console itself which I am fine >>> with. X-type of environment my ssh client is incapable of providing. >>> Even though it is emacs *21.1*, it doesn't show the color higlighting. >>> I did execute Alt-X font-lock-mode. All it did, instead of showing >>> colors, made language constructs for exampke keywords, comments etc >>> bolder. My console still looked Black & White. I noticed I was using >>> bash shell and TERM was set to vt100. >>> >>> What am I missing to get the colors seen ? > >> I don't know which OS you are on but try setting your TERM to one of: > >> xterm >> xterm-color >> xterm-256color >> dtterm > > He's probably running PuTTY (set TERM to "putty"). > None of the other suggestions are likely to be correct. Don't forget that Emacs parses the termcap entries too and on SunOS 5.9 putty has no definition, so actually, it's much less likely to work than the above list. ,----[ TERM=putty emacs ] | $ TERM=putty emacs-22.0.50 | emacs: Terminal type putty is not defined. `---- Cheers, Phil -- "The team has come along slow but fast." - Casey Stengel, Baseball player/manager