Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 20:23:03 +0200
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: cvsweb 2.9.1 and enscript 1.6.2
Message-ID:  <1067451783.1285.107.camel@bobcat.mine.nu>
In-Reply-To: <000201c39db0$67689d20$d600a8c0@craigavon>
References:  <000201c39db0$67689d20$d600a8c0@craigavon>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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!



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1067451783.1285.107.camel>