[cvsnt] ViewCVS and enscript on Windows 2000 Server with IIS and CVSNT

Bo Berglund bo.berglund at telia.com
Tue Apr 8 22:04:19 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,
I have worked hard to understand all of this with Enscript and I
actually got it working on one W2000 server with CVSNT, but when I did
the exact same installation (I think so at least) on my XP-Pro
workstation everything except Enscript works. I spent a lot of time on
it about two months ago but then I gave up.

So I really would like to try your suggestions.
But....
>	GNU enscript 1.6.3 (enscript-1.6.3-2-bin.zip)
This file does not seem to exist on Sourceforge, I can only find the
file enscript-1.6.3-3-bin.zip
Is this a typo on your part or is the working file the one with -2- in
the name?

Anyway, I followed your advice on the files to get and downloaded what
I could find (-3-) and copied them on top of my existing GnuWin32/bin
folder. I also checked the cfg file contents etc.

But I still don't get anything from the ViewCvs markup call....

I switched on the debug mode on ViewCvs and then I can see that
enscript is called as follows:
"c:\Programs\GnuWin32\bin\enscript" "--color" "--language=html"
"--pretty-print=delphi" "-o" "-" "-"

On Standard In is my pascal file all right.

Standard output from enscript is nothing...

Then sed is called as follows:
"sed" "-n" "/^<PRE>$/,/<\/PRE>$/p"
The input is the stdout of the previous process ( == NIL....)

So it seems like something is preventing enscript from doing its
thing.

Then I opened a command prompt and issued the same command as enscript
is getting from ViewCvs (by copy-paste) and I piped the file into it
like this:
"c:\Programs\GnuWin32\bin\enscript" "--color" "--language=html"
"--pretty-print=delphi" "-o" "-" "-" <
F:\Engineering\Projects\CVSMailer\Logging.pas

And now it works like it should, enscript outputs the html code for
the syntax highlighted file.

This proves that the command will actually work and yet it doesn't
when invoked from ViewCvs.
Is this explainable at all????



/Bo
(Bo Berglund, developer in Sweden)


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook