mmm,

joe seems to do source code highlighting now - well the one that comes with 
Knoppix 3.6 does (joe version 3.1).

It does a nice job of 'C' code anyhow.

Mike


On Tue, 11 Jan 2005 11:04, Carl Cerecke wrote:
> Hi,
>
> As far as I know, to view source code with syntax highlighting in a
> terminal, I have two options:
> 1. source-highlight package
> 2. emacs
>
> Trouble is (1) is easy to use but isn't very clever about syntax, and
> (2) gets the syntax highlighting right, but is a pain to use.
>
> So, ideally, I want an emacs-based filter that reads in a source code
> file, and outputs that with ANSI color escape sequences in the same
> manner as the font-lock-fontify-buffer command does.
>
> Less ideal, but good enough, would be a script around emacs to read in a
> file, font-lock it, and put emacs in view mode.
>
> Any ideas on how I do either of these?
>
> Cheers,
> Carl.

-- 
Linux Rocks!

Reply via email to