From owner-freebsd-cvsweb@FreeBSD.ORG Thu Oct 30 12:03:17 2003 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D9B216A4CE for ; Thu, 30 Oct 2003 12:03:17 -0800 (PST) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7782143FBF for ; Thu, 30 Oct 2003 12:03:13 -0800 (PST) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 4816927BA2F; Thu, 30 Oct 2003 22:03:12 +0200 (EET) Received: from cs78134079.pp.htv.fi (cs78134079.pp.htv.fi [62.78.134.79]) /8.11.1) with ESMTP id h9UK3BN12370; Thu, 30 Oct 2003 22:03:11 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: Ian Lartey In-Reply-To: <003701c39f14$10230a40$0400000a@craigavon> References: <003701c39f14$10230a40$0400000a@craigavon> Content-Type: text/plain Organization: FreeBSD Message-Id: <1067544190.20763.32.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 30 Oct 2003 22:03:10 +0200 Content-Transfer-Encoding: 7bit cc: freebsd-cvsweb@FreeBSD.org Subject: RE: cvsweb 2.9.1 and enscript 1.6.2 X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 20:03:17 -0000 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 " 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.