Help with XDVI and PXDVI

There are two forms of the xdvi program which have slightly different features and different keystroke commands. They are xdvi and pxdvi.

Both commands are invoked from the command line in the same way as

xdvi myfile.dvi
or
pxdvi myfile.dvi
The suffix .dvi may be omitted so, for example, the command pxdvi myfile will also work.

The first version, xdvi, is the more traditional and has somewhat fewer features. In particular, there is no way to print a dvi file from within xdvi. The second version pxdvi has a print button allowing you to print the entire document or some subset of pages. This makes pxdvi a better choice as a web browser helper application for files of type application/dvi. In addition pxdvi displays a list of page numbers in the margin which you can click on to jump directly to a page.

The keystroke commands for these two programs have significant differences, especially in the page motion commands. The page motion commands for xdvi seem ad hoc  (u for up, d for down, etc.) while those from pxdvi seem to be copied from the vi and emacs editors. These differences can be confusing however, as some single commands do different things in the two versions. The complete list for each version is given below.

Keystroke Commands for XDVI

Keystroke Commands for PXDVI