Previous Next Table of Contents

6. Features

6.1 Scrolling

It is probably a de facto standard of user interfaces that windows are supposed to be scrolled by means of scrollbars attached to their sides. However, for various reasons the use of scrollbars has been minimized in gv.

Instead, in all windows with obscured data scrolling may be performed by

pressing button1, moving the mouse, releasing button1
directly in the window. This includes the displayed page, zoom popups, the table of contents and the file and directory lists displayed in the file selection popup.

6.2 Displaying new versions of a document

During document creation it is usually desirable to always display the newest version of the document in work.

Instead of explicitly loading it via the file selection popup the most recent version can be displayed by pressing the "Update File" button in the main window. Choosing the "Update File" entry in the menu that pops up when clicking with the third mouse button anywhere on the displayed page certainly has the same effect.

More comfortable is the "Watch File" feature which may be switched on by selecting the corresponding entry in the "State" menu. If activated gv will check every now and then if a new version of the displayed file exists. If so it will be displayed automatically. By default the file is checked about once every second.

Finally it may also be left to the document creating program to trigger gv to update its display. To do so the program should send the SIGHUP signal to gv. For instance at the end of a shell script generating a postscript file from latex sources the line

   kill -SIGHUP <gv_pid>
may be added (here <gv_pid> is the process id of gv). Executing the script and thereby creating a new version of the document will then also cause the result to be displayed instantaneously.


Previous Next Table of Contents