tex-dvi-view-command

tex-dvi-view-command is a variable defined in `tex-mode.el'.
Its value is

(cond ((eq window-system 'x) "xdvi") ((eq window-system 'w32) "yap") (t "dvi2tty * | cat -s"))

  • This variable may be risky if used as a file-local variable.

Documentation:
Command used by M-x tex-view to display a `.dvi' file.
If it is a string, that specifies the command directly.
If this string contains an asterisk (`*'), that is replaced by the file name;
otherwise, the file name, preceded by a space, is added at the end.

If the value is a form, it is evaluated to get the command to use.

You can customize this variable.