Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 22:03:10 +0200
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        Ian Lartey <Ian.Lartey@wolfsonmicro.com>
Cc:        freebsd-cvsweb@FreeBSD.org
Subject:   RE: cvsweb 2.9.1 and enscript 1.6.2
Message-ID:  <1067544190.20763.32.camel@bobcat.mine.nu>
In-Reply-To: <003701c39f14$10230a40$0400000a@craigavon>
References:  <003701c39f14$10230a40$0400000a@craigavon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2003-10-30 at 20:31, Ian Lartey wrote:

> > Huh, I have no idea how "c" gets passed to --highlight or why the
> > /etc/cvsweb.conf stuff is in the error log.  
> 
> I commented out the redirection of STDERR to /dev/null so 
> I could see what was happening.

Ok, but I mean I don't understand why something like "/etc/cvsweb.conf"
gets printed there...

> > Could you post unedited
> > snippets from the error log?  What web server do you run and on what
> > platform? 
> 
> This is on Apache on Redhat Linux 8.

In that case you might want to try my RPMs for RHL 9, they should work
also on 8.  That and all the dependencies (including enscript 1.6.4) are
available from http://cachalot.mine.nu/9/

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

> Ah I think I see the problem now - enscript doesn't understand the 
> --highlight option that doEnscript in cvsweb.cgi passes.  
> 
> "enscript --highlight=diffu <filename>"  results in :
> enscript: unrecognised option `--highlight=diffu" is ambiguous
> and the man pages for enscript do not mention the --highlight option.

Doh!  I see the enscript NEWS file has this for 1.6.3:

  - renamed `--pretty-print' and `--help-pretty-print' options to
    `--highlight' and `--help-highlight'

That practically means that 1.6.3 is the minimum supported enscript
version.  Will update the docs.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1067544190.20763.32.camel>