From owner-freebsd-cvsweb@FreeBSD.ORG Tue Oct 28 08:30:46 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 AFA1E16A4CE for ; Tue, 28 Oct 2003 08:30:46 -0800 (PST) Received: from zeus.1oftheservers.net (zeus.1oftheservers.net [207.44.244.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D1C43FE5 for ; Tue, 28 Oct 2003 08:30:10 -0800 (PST) (envelope-from boyda@boyda.net) Received: from pcp02320933pcs.abngtn01.va.comcast.net ([68.62.252.182] helo=molecule) by zeus.1oftheservers.net with esmtp (Exim 4.24) id 1AEWjJ-000574-Pe for freebsd-cvsweb@freebsd.org; Tue, 28 Oct 2003 11:30:01 -0500 Date: Mon, 27 Oct 2003 09:30:10 -0500 (EST) From: "Thomas J. Boyda" X-X-Sender: boyda@molecule.boyda.org To: freebsd-cvsweb@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII ReSent-Date: Tue, 28 Oct 2003 11:29:46 -0500 (EST) Resent-From: Thomas Boyda Resent-To: freebsd-cvsweb@freebsd.org ReSent-Subject: Error in cvsweb 2.9.1 on Solaris 9 ReSent-Message-ID: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zeus.1oftheservers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - boyda.net Subject: Error in cvsweb 2.9.1 on Solaris 9 X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Thomas J. Boyda" List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 16:30:46 -0000 Hello, I am running the 2.9.1 and I am running into this error whenever I try to click on "(download)" in the CVS log screen. This also happens when I click on the revision number in the module view. Here is what I see in my error logs [Fri Oct 24 14:45:51 2003] [error] [client 192.168.2.100] Premature end of script headers: cvsweb.cgi, referer: http://cvsweb.daou.com/cvsweb.cgi/daou/test-project/README [Fri Oct 24 14:45:51 2003] [warn] /cvsweb.cgi/~checkout~/daou/test-project/README did not send an HTTP header [Fri Oct 24 14:45:51 2003] [error] 6821: ModPerl::Registry: 500:Unknown error at /usr/local/apache2/cvsweb/docs/cvsweb.cgi line 1667, line 15. I am running Apache 2.0.47 with mod_perl_1.99.9 on a Solaris 9 system and perl 5.8.0. Any pointers would be appreciated. Thank you, Tom. ---- Thomas J. Boyda 276-676-0104 Unix Guru "Those who would give up essential liberty JAPH to purchase a little temporary safety deserve neither liberty nor safety." Benjamin Franklin, 1759 From owner-freebsd-cvsweb@FreeBSD.ORG Tue Oct 28 10:56:39 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 B655B16A4CF for ; Tue, 28 Oct 2003 10:56:39 -0800 (PST) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C6E43F75 for ; Tue, 28 Oct 2003 10:56:38 -0800 (PST) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp2.pp.htv.fi (Postfix) with ESMTP id B9F2F2972CD for ; Tue, 28 Oct 2003 20:56:37 +0200 (EET) Received: from cs78134079.pp.htv.fi (cs78134079.pp.htv.fi [62.78.134.79]) /8.11.1) with ESMTP id h9SIuac28800 for ; Tue, 28 Oct 2003 20:56:36 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Message-Id: <1067367395.3693.47.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 28 Oct 2003 20:56:35 +0200 Content-Transfer-Encoding: 7bit Subject: Re: Error in cvsweb 2.9.1 on Solaris 9 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: Tue, 28 Oct 2003 18:56:39 -0000 On Mon, 2003-10-27 at 16:30, Thomas J. Boyda wrote: > I am running the 2.9.1 and I am running into this error whenever I try to > click on "(download)" in the CVS log screen. This also happens when I > click on the revision number in the module view. Thanks for testing the beta! > Here is what I see in my error logs > [Fri Oct 24 14:45:51 2003] [error] [client 192.168.2.100] Premature end of > script headers: cvsweb.cgi, referer: http://cvsweb.daou.com/cvsweb.cgi/daou/test-project/README > [Fri Oct 24 14:45:51 2003] [warn] /cvsweb.cgi/~checkout~/daou/test-project/README did not send an HTTP header > [Fri Oct 24 14:45:51 2003] [error] 6821: ModPerl::Registry: 500:Unknown error at /usr/local/apache2/cvsweb/docs/cvsweb.cgi line 1667, line 15. > > I am running Apache 2.0.47 with mod_perl_1.99.9 on a Solaris 9 system and > perl 5.8.0. > > Any pointers would be appreciated. Hm, could you try running without mod_perl and see if there are any messages emitted to error log then? Additionally, I've committed some error handling and error message improvements to CVS HEAD after 2.9.1, could you try if it works better? From owner-freebsd-cvsweb@FreeBSD.ORG Tue Oct 28 11:49:07 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 1493316A4CE; Tue, 28 Oct 2003 11:49:07 -0800 (PST) Received: from zeus.1oftheservers.net (zeus.1oftheservers.net [207.44.244.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C6A343FBD; Tue, 28 Oct 2003 11:49:06 -0800 (PST) (envelope-from tom@boyda.net) Received: from pcp02320933pcs.abngtn01.va.comcast.net ([68.62.252.182] helo=molecule) by zeus.1oftheservers.net with esmtp (Exim 4.24) id 1AEZps-0007Ef-0m; Tue, 28 Oct 2003 14:49:00 -0500 Date: Tue, 28 Oct 2003 14:48:59 -0500 (EST) From: "Thomas J. Boyda" X-X-Sender: boyda@molecule.boyda.org To: Ville =?ISO-8859-1?Q?Skytt=E4?= In-Reply-To: <1067367395.3693.47.camel@bobcat.mine.nu> Message-ID: References: <1067367395.3693.47.camel@bobcat.mine.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zeus.1oftheservers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - boyda.net cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Error in cvsweb 2.9.1 on Solaris 9 X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Thomas J. Boyda" List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 19:49:07 -0000 Hello Ville, I took cvsweb out from under mod_perl. On Tue, 28 Oct 2003, Ville [ISO-8859-1] Skytt=E4 wrote: > Thanks for testing the beta! No problem. > Hm, could you try running without mod_perl and see if there are any > messages emitted to error log then? It looks like there is a problem with the cvs version - I have cvs 1.11.9 installed - although I got the same error under 1.11.6. Here is what is put out to my web browser: --- Error Error: Unexpected output from cvs co: /usr/local/bin/cvs: invalid option -- l Usage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. (specify --help-options for a list of options) where command is add, admin, etc. (specify --help-commands for a list of commands or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command (specify -H followed by a command name for command-specific help) Specify --help to receive this message The Concurrent Versions System (CVS) is a tool for version control. For CVS updates and additional information, see the CVS home page at http://www.cvshome.org/ or Pascal Molli's CVS site at http://www.loria.fr/~molli/cvs-index.html ---- I did not see anything in the error_log associated with this error. > Additionally, I've committed some error handling and error message > improvements to CVS HEAD after 2.9.1, could you try if it works better? I may give it a try. Thank you for your help. Tom. ---- Thomas J. Boyda 276-676-0104 Unix Guru=09=09"Those who would give up essential liberty JAPH=09=09=09 to purchase a little temporary safety =09=09=09 deserve neither liberty nor safety." =09=09=09Benjamin Franklin, 1759 From owner-freebsd-cvsweb@FreeBSD.ORG Tue Oct 28 12:32:22 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 1A28616A4CE for ; Tue, 28 Oct 2003 12:32:21 -0800 (PST) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F67443F3F for ; Tue, 28 Oct 2003 12:32:20 -0800 (PST) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp2.pp.htv.fi (Postfix) with ESMTP id DFE82297513; Tue, 28 Oct 2003 22:32:19 +0200 (EET) Received: from cs78134079.pp.htv.fi (cs78134079.pp.htv.fi [62.78.134.79]) /8.11.1) with ESMTP id h9SKWIc25779; Tue, 28 Oct 2003 22:32:18 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: "Thomas J. Boyda" In-Reply-To: References: <1067367395.3693.47.camel@bobcat.mine.nu> Content-Type: text/plain Organization: FreeBSD Message-Id: <1067373137.1285.9.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 28 Oct 2003 22:32:17 +0200 Content-Transfer-Encoding: 7bit cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Error in cvsweb 2.9.1 on Solaris 9 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: Tue, 28 Oct 2003 20:32:22 -0000 On Tue, 2003-10-28 at 21:48, Thomas J. Boyda wrote: > It looks like there is a problem with the cvs version - I have cvs 1.11.9 > installed - although I got the same error under 1.11.6. Indeed: > Error: Unexpected output from cvs co: /usr/local/bin/cvs: invalid option > -- l According to the cvs NEWS, -l was removed in 1.11.[67] (not really sure, there is some conflicting information). I happened to upgrade to 1.11.9 also on my dev box a couple of days ago and noticed this and put a clarification into cvsweb.conf: http://www.freebsd.org/cgi/cvsweb.cgi/projects/cvsweb/cvsweb.conf.diff?r1=1.62&r2=1.63&f=h > > Additionally, I've committed some error handling and error message > > improvements to CVS HEAD after 2.9.1, could you try if it works better? > > I may give it a try. Remove -l from @cvs_options in cvsweb.conf and it should work. You may also need to tweak CVSROOT/history permissions or configure cvs not to do history logging for read operations, see the above diff hunk for more info. I also assume that the recent error handling changes in CVS HEAD would have produced a better error message also under mod_perl (need to verify this though). From owner-freebsd-cvsweb@FreeBSD.ORG Tue Oct 28 16:05:51 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 A77C816A4CE for ; Tue, 28 Oct 2003 16:05:51 -0800 (PST) Received: from mail32.messagelabs.com (mail32.messagelabs.com [62.173.108.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 48DE343FBF for ; Tue, 28 Oct 2003 16:05:50 -0800 (PST) (envelope-from ian.lartey@wolfsonmicro.com) X-VirusChecked: Checked X-Env-Sender: ian.lartey@wolfsonmicro.com X-Msg-Ref: server-19.tower-32.messagelabs.com!1067385947!2863668 X-StarScan-Version: 5.1.9.3; banners=wolfsonmicro.com,-,- Received: (qmail 32377 invoked from network); 29 Oct 2003 00:05:47 -0000 Received: from unknown (HELO campbeltown.wolfson.co.uk) (194.217.161.5) by server-19.tower-32.messagelabs.com with SMTP; 29 Oct 2003 00:05:47 -0000 Received: from craigavon (unverified) by campbeltown.wolfson.co.uk for ; Wed, 29 Oct 2003 00:08:46 +0000 From: "Ian Lartey" To: Date: Wed, 29 Oct 2003 00:05:46 -0000 Message-ID: <000201c39db0$67689d20$d600a8c0@craigavon> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: 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: Wed, 29 Oct 2003 00:05:51 -0000 Hello all, cvsgraph is working well with cvsweb but enscript does not seem to be colouring the diffs. 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) In cvsweb.comn allow_enscript is set to 1, enscript_options is set to --style=emacs --color=1. 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,..... with "Side by side, colored" format the following error occurs: .../etc/cvsweb.confenscript: option `--highlight=diffs' is ambiguous,..... 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 ? Any pointers gratefully received. Regards, Ian. -- Ian Lartey Applications Software Engineer DDI - +44 (0)131 272 7079 Wolfson Microelectronics plc www.wolfsonmicro.com T +44 131 272 7000 F +44 131 272 7001 Registered in Scotland 89839 This message may contain confidential or proprietary information. If you receive this message in error, please immediately delete it, destroy all copies of it and notify the sender. Any views expressed in this message are those of the individual sender, except where the message states otherwise. We take reasonable precautions to ensure our Emails are virus free. However, we cannot accept responsibility for any virus transmitted by us and recommend that you subject any incoming Email to your own virus checking procedures. From owner-freebsd-cvsweb@FreeBSD.ORG Wed Oct 29 10:23:08 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 C957516A4CF for ; Wed, 29 Oct 2003 10:23:08 -0800 (PST) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [212.90.64.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56FE43FB1 for ; Wed, 29 Oct 2003 10:23:05 -0800 (PST) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp1.pp.htv.fi (Postfix) with ESMTP id CB03280519 for ; Wed, 29 Oct 2003 20:23:04 +0200 (EET) Received: from cs78134079.pp.htv.fi (cs78134079.pp.htv.fi [62.78.134.79]) /8.11.1) with ESMTP id h9TIN4c19036 for ; Wed, 29 Oct 2003 20:23:04 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <000201c39db0$67689d20$d600a8c0@craigavon> References: <000201c39db0$67689d20$d600a8c0@craigavon> Content-Type: text/plain Organization: FreeBSD Message-Id: <1067451783.1285.107.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 29 Oct 2003 20:23:03 +0200 Content-Transfer-Encoding: 7bit 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: Wed, 29 Oct 2003 18:23:08 -0000 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! From owner-freebsd-cvsweb@FreeBSD.ORG Thu Oct 30 10:31:38 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 718AC16A4CE; Thu, 30 Oct 2003 10:31:38 -0800 (PST) Received: from mail32.messagelabs.com (mail32.messagelabs.com [62.173.108.211]) by mx1.FreeBSD.org (Postfix) with SMTP id B170243FD7; Thu, 30 Oct 2003 10:31:36 -0800 (PST) (envelope-from Ian.Lartey@wolfsonmicro.com) X-VirusChecked: Checked X-Env-Sender: Ian.Lartey@wolfsonmicro.com X-Msg-Ref: server-17.tower-32.messagelabs.com!1067538693!2937657 X-StarScan-Version: 5.1.9.3; banners=wolfsonmicro.com,-,- Received: (qmail 2100 invoked from network); 30 Oct 2003 18:31:34 -0000 Received: from unknown (HELO campbeltown.wolfson.co.uk) (194.217.161.5) by server-17.tower-32.messagelabs.com with SMTP; 30 Oct 2003 18:31:34 -0000 Received: from craigavon (unverified) by campbeltown.wolfson.co.uk ; Thu, 30 Oct 2003 18:34:41 +0000 From: "Ian Lartey" To: =?iso-8859-1?Q?'Ville_Skytt=E4'?= , Date: Thu, 30 Oct 2003 18:31:41 -0000 Organization: Wolfson Microelectronics Message-ID: <003701c39f14$10230a40$0400000a@craigavon> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <1067451783.1285.107.camel@bobcat.mine.nu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal 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 18:31:38 -0000 owner-freebsd-cvsweb@freebsd.org wrote: > 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. I commented out the redirection of STDERR to /dev/null so I could see what was happening. > 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. > > 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. > >> 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? I have added those now. > What about enscript-colored unified diffs, > do they work? What about enscript-colorized source code (not diff) > views? * using --pretty-print=c fixes the problem. * editing cvsweb.cgi and substituting "--pretty-print=" for "--highlight" gives properly enscript-colorized source code. with this in place diffs, diff, diffu all now work. There seems to be a problem with the humanreadable/unified (non enscript coloured views...more on that in a later mail). > >> 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! > That's OK thanks for the pointer. Ian. > _______________________________________________ > freebsd-cvsweb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb > To unsubscribe, send any mail to > "freebsd-cvsweb-unsubscribe@freebsd.org" > > ______________________________________________________________ > __________ This email has been scanned for all viruses by the > MessageLabs Email Security System. > ______________________________________________________________ > __________ -- Ian Lartey Applications Software Engineer DDI - +44 (0)131 272 7079 Wolfson Microelectronics plc www.wolfsonmicro.com T +44 131 272 7000 F +44 131 272 7001 Registered in Scotland 89839 This message may contain confidential or proprietary information. If you receive this message in error, please immediately delete it, destroy all copies of it and notify the sender. Any views expressed in this message are those of the individual sender, except where the message states otherwise. We take reasonable precautions to ensure our Emails are virus free. However, we cannot accept responsibility for any virus transmitted by us and recommend that you subject any incoming Email to your own virus checking procedures. 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.