It would be nice to be able to open several files with just one command, e.g.,
xdvi file1 file2
instead of
xdvi file1
xdvi file2
If you agree that accepting more than one file on the command line is a valuable feature then I could try to implement the corresponding forking mechanism.
Logged In: YES
user_id=177175
Originator: NO
I think this would require quite some rewrite of the initialization code (which is quite a mess ...). E.g. a suitable place could be do_fork() in run_dvi_file(), xdvi.c, but then some of the logic involving globals.dvi_name will have to be changed. I'm not sure if it's worth the effort when the following in (ba)sh will also do:
for f in *.dvi; do xdvi $f; done
Or, customize the shell wrapper to invoke xdvi multiple times? Would need to deal with the options though.