cvsweb 2.9.1 and enscript 1.6.2

VilleSkyttä scop at FreeBSD.org
Wed Oct 29 10:23:08 PST 2003


On Wed, 2003-10-29 at 02:05, Ian Lartey wrote:

> I suppose my first question is: 
> Does cvsweb 12.9.1 work OK with enscript 1.6.2 ?
> (The comments in the cvswed.conf say yes 
> so I'll move onto my to my problem)

It should, although I have personally only tested with 1.6.4 from
http://people.ssh.com/mtr/genscript/

> in "Colored" diff format the line number hyper text links are present 
> but result in the following error on the http server:
> .../etc/cvsweb.confenscript: option `--highlight=c' is ambiguous,.....

Huh, I have no idea how "c" gets passed to --highlight or why the
/etc/cvsweb.conf stuff is in the error log.  Could you post unedited
snippets from the error log?  What web server do you run and on what
platform?

For context diffs, the value to --highlight should be "diff", "diffu"
for unified, and "diffs" for side by side diffs.

> with "Side by side, colored" format the following error occurs:
> .../etc/cvsweb.confenscript: option `--highlight=diffs' is
> ambiguous,.....

Hm.  What diff* files do you have in the enscript hl directory?
Could you try the most recent highlighting stuff available from the
enscript homepage above?  What about enscript-colored unified diffs, do
they work?  What about enscript-colorized source code (not diff) views?

> I'm not sure what I have missed out, lang_cvsweb.st is in the 
> hl directory of enscript.
>
> could this mean I have a problem with IPC::RUN ?

Most likely not, looks like an enscript problem to me.  To isolate the
problem, I'd suggest (in addition to the above) running enscript from
the command line for unified, context and side by side diffs using
diffu, diff and diffs for values of --highlight respectively.

Let the list know how it goes, and thanks for testing the beta!



More information about the freebsd-cvsweb mailing list