From mboxrd@z Thu Jan 1 00:00:00 1970 From: njn2118 at columbia.edu (Nik Nyby) Date: Wed, 30 Jul 2014 00:21:34 -0400 Subject: Fwd: source-filter isn't getting applied In-Reply-To: References: <87a97t89to.fsf@columbia.edu> <20140728223805.GG26927@serenity.lan> <20140729073705.GH26927@serenity.lan> Message-ID: Nevermind about the about-filter. I'm reading the about-formatting.sh script and my questions are all answered now. On Wed, Jul 30, 2014 at 12:17 AM, Nik Nyby wrote: > Great, this helped me debug the error. I looked at the part of the strace > where it was reading the /etc/cgitrc, and it looked like it was only > reading the first setting, even though the following settings are getting > applied. I'm not sure exactly why yet, but putting the source-filter > setting at the top of the /etc/cgitrc fixes the problem, and my source > files are now highlighted. > > Now I'm dealing with the same problem with the about-filter, because > putting that setting at the top isn't giving me markdown highlighting. > > > On Tue, Jul 29, 2014 at 3:37 AM, John Keeping wrote: > >> On Mon, Jul 28, 2014 at 11:59:10PM -0400, Nik Nyby wrote: >> > The permissions on the script files are set to be executable by >> everyone: >> > -rwxr-xr-x >> > >> > Thanks for the strace idea. I'm looking through the strace, but I >> haven't >> > seen any helpful mention of the filter scripts yet. I've attached an >> > abridged version of my strace with the middle of the file taken out. I >> > don't know if this is helpful or not. I'll let you know if I solve the >> > problem. >> >> If CGit was going to open a filter, it would do so after this line: >> >> write(1, "
", 29) = 29
>>
>> So it looks like something in the configuration isn't being read
>> correctly, but I think you snipped the strace log before we could see
>> which config file it reads.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: