unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Phil Jackson <nntp@shellarchive.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs 21.1 color highligh
Date: Tue, 30 Jan 2007 16:05:56 +0000	[thread overview]
Message-ID: <871wlcfqjf.fsf@main.mainworld> (raw)
In-Reply-To: 12ruq8gqk48dvd1@corp.supernews.com

Thomas Dickey <dickey@saltmine.radix.net> writes:

> Phil Jackson <nntp@shellarchive.co.uk> wrote:
>> "Ask" <ask.q@indiatimes.com> 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

  reply	other threads:[~2007-01-30 16:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 12:20 emacs 21.1 color highligh Ask
2007-01-30 12:25 ` Phil Jackson
2007-01-30 13:42   ` Ask
2007-01-30 15:51     ` Thomas Dickey
2007-01-30 16:31       ` Ask
2007-01-30 17:12         ` Thomas Dickey
2007-01-30 15:49   ` Thomas Dickey
2007-01-30 16:05     ` Phil Jackson [this message]
2007-01-30 16:59       ` Thomas Dickey
2007-01-30 17:06         ` Ask
2007-01-30 17:50           ` Mike Treseler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wlcfqjf.fsf@main.mainworld \
    --to=nntp@shellarchive.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).