03/06/04: ViewCVS Fix

ViewCVS doesn't support the latest version of encode. This results in your source code not being displayed. The fix is quite simple, you'll need to edit viewcvs.py like so:

enscript = popen.pipe_cmds(
    [(os.path.normpath(os.path.join(cfg.options.enscript_path,'enscript')),
           '--color', '--language=html', '--style=msvc', '-E' + lang, '-o',
           '-', '-'),

The style option is optional, the default color scheme is emacs. I just got used to the MSVC colors.

back