help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs 21.1 color highligh


From: Phil Jackson
Subject: Re: emacs 21.1 color highligh
Date: Tue, 30 Jan 2007 16:05:56 +0000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]