From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Dickey Newsgroups: gmane.emacs.help Subject: Re: emacs 21.1 color highligh Date: Tue, 30 Jan 2007 15:51:01 -0000 Organization: RadixNet Internet Services Message-ID: <12ruqb5gk45rpf0@corp.supernews.com> References: <1170159601.079090.112030@a75g2000cwd.googlegroups.com> <878xfkpupt.fsf@main.mainworld> <1170164574.673194.213300@h3g2000cwc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1170175274 20629 80.91.229.12 (30 Jan 2007 16:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 16:41:14 +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:02 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 1HBw2Y-00031k-5X for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 17:41:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBw2X-0002x3-N1 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 11:41:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-03!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 38 Original-Xref: shelby.stanford.edu gnu.emacs.help:145159 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:40767 Archived-At: Ask wrote: > On Jan 30, 5:25 pm, 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 >> > The last one seems to work. But at some of the places areas overlap. > For example, few lines after the comments block are shown in the same > color as that of the comments block. A String is shown in different > color but few characters following the string are shown in the same > color as that of the string, etc. Colors are seen but do not seem to > be 'desciplined'. dtterm's terminal description says that clearing the background will not use the current color. (identifying the "ssh client" would help provide a better guess than "putty"). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net