Index of /systems/unix/tex-gpc/xdvi
      Name                    Last modified       Size  Description

[DIR] Parent Directory 30-Jun-2014 19:53 - [   ] load 30-Aug-2008 22:35 1k [   ] XDvi 29-Nov-2009 23:59 1k [   ] config 28-Nov-2009 20:36 1k [TXT] macxdvi.h 30-Nov-2009 01:21 36k [   ] macconfigure 30-Nov-2009 01:17 131k

How to install xdvi for TeX-GPC:

Get the source from
  ftp http://math.berkeley.edu/~vojta/xdvi/xdvi-22.85.tar.gz
It unpacks into xdvi-22.85.

Edit config reflecting your binary directory, your man directory
(i. e. a directory you have write permissions and has a subdirectory
man1) and the resolution of your printer and then switch to xdvi-22.84
and run
../config && make clean && make && make install

Unfortunately this neither works for NetBSD nor for Mac OS X.
For NetBSD use this:
../config && make clean && make && ../load && make install

For Mac OS X use this:
Instead replace the configure script in xdvi-22.84 with macconfigure,
and replace xdvi.h with macxdvi.h.

The xdvi is configured soley by DVIPSconf/XDvi, move XDvi to DVIPSconf.
And this does not work on Mac-OS-X.
workaround: xrdb -merge DVIPSconf/XDvi

You might want to change /etc/man.conf to include your private man pages.
I boldly replaced the line
_default        /usr/{share,X11R6,pkg,local}/man/
to
_default        /usr/{helbig,share,X11R6,pkg,local}/man/

enjoy
Wolfgang