Fabio S. wrote: >>> direct search: >>> Tools->Preferences->Output->General >>> xdvi -nofork -sourceposition "$$n $$t" $$o -editor >>> "lyxeditor.sh %f >>> %l" >> >> "-nofork" part is needed because of the pipe? > > I guess: the point is that without -nofork if you have xdvi already open, > lyx starts a new instance every time you execute direct search. > I also addedd the -editor option.
Have you really tried without nofork option? I just tried the standard call xdvi -sourceposition 445:example.tex example.dvi and no new instance was opened, instead it correctly jumped in already existing viewer. Pavel