Table of Contents

Name

gv - a PostScript and PDF previewer

Synopsis


gv [ filename ]
   [-monochrome] [-grayscale] [-color]
   [-[no]safer] [-[no]quiet] [-arguments <argumen
ts>]
   [-page <label>] [-[no]center]
   [-media <media>]
   [-portrait] [-landscape] [-upsidedown] [-seasc
ape]
   [-scale <n>] [-scalebase <n>]
   [-swap] [-noswap]
   [-antialias] [-noantialias]
   [-dsc] [-nodsc]
   [-eof] [-noeof]
   [-pixmap] [-nopixmap]
   [-watch] [-nowatch]
   [-?] [-h] [-help] [-v]
   [-resize] [-noresize]
   [-geometry [<width>][x<height>][{+-}<xoffset>{
+-}<yoffset>
]
   [-ad <resource file>]
   [-style <resource file>]
   [-spartan]
   [<other toolkit options>]

Description

gv allows to view and navigate through PostScript and PDF documents on an X display by providing a user interface for the ghostscript interpreter . Please note that gv is derived from Tim Theisen's ghostview 1.5.

Options

filename
The name of the file to be displayed. The file ending ".ps" may be omitted. "filename" may point to a compressed file (gzipped, zipped or compressed). Viewing PDF files requires at least ghostscript v ersion 4.x.
-ad <resource file>
Read and use additional resources from the file <resource file>. These resources have higher priority than those p rovided in the context of the -style <resource file> opti on.
-antialias, -noantialias
Whether to use antialiasing.
-arguments <arguments>
Start ghostscript with additional options as spec ified by the string <arguments>.
-center, -nocenter
Whether the page should be centered automatically .
-dsc, -nodsc
Determines if document structuring convention (DS C) comments should be respected or ignored. If -nodsc is used gv will not attempt to examine the structure of the document but will pass the f ile to the ghostscript interpreter as a whole. In thi s case no pa ge numbers are shown and freely moving around in the documen t is not pos sible. This option may help when viewing files not confo rming to the document structuring conventions.
-eof, -noeof
Defines the behaviour of the postscript scanner u sed to examine the structure of the document. If -noeof is used the scanner will ignore end of file (EOF) comments. This may help when viewing documents wh ich import o ther documents without enclosing them within the prope r "BeginDocument" and "EndDocument" comments. If -eof is used, the scanner treats an EOF commen t as marking the end of the file.
-pixmap, -nopixmap
If -pixmap is used gv tries to maintain off-scree n regions of the displayed page by allocating a sufficientl y large pixm ap. If -nopixmap is used the X Server is responsible for maintaining obscured portions of the displayed pa ge (see also the "useBackingPixmap" resource).
-v
Print the version number of gv to standard output and exit.
-h, -?
Display a short help message and exit.
-help
Display a more explicit help message and exit.
-scale <n>
Selects the scale entry <n> relative to the scale 1.0. <n> must be an integer.
-scalebase <n>
Selects the scale base <n>.
-monochrome, -grayscale, -col or
Sets the color palette to be used.
-media <media>
Selects the paper size to be used. Valid values a re names of paper sizes that appear in the list of page media s as given by the medias resource.
-page <label>
Display the page with label <label> first.
-portrait, -landscape, -seasc ape, - upsidedown
Sets the orientation.
-quiet, -noquiet
Whether to start ghostscript with the -dQUIET opt ion.
-resize, -noresize
Whether gv is allowed to automatically fit the size of its window to the size of the displayed p age.
-safer, -nosafer
Whether to start ghostscript with the -dSAFER opt ion.
-spartan
This is a shortcut for "-style gv_spartan.dat U.
-style <resource file>
Read and use additional resources from the file < resource fil e>. These resources have lower priority than those p rovided in the context of the -ad <resource file> option.
-swap, -noswap
Whether to interchange the meaning of the orienta tions landscape and seascape.
-watch, -nowatch
The -watch option causes gv to check the document periodically. If changes are detected gv will automatically display the newer version of the file. The document is by default checked once every second. This can be changed via the watchFileFrequency resource. Note that sending gv the SIGHUP signal also causes an update of the displayed document. This method may be used by document creators to trigger gv remotely.

Resources

Resource files In general gv does not depend on any external res ource files. However, when starting gv, preferences are read f rom a system specific resource file. The name of this file is as described by the "X FILESEARCHPA TH" environment variable, or, if this variable is not defined, implementation dependant. In most cases it is "/usr/X11/lib/X11/app-defaults/GV". Administrators may want to modify this file in or der to set up gv according to the local needs of thei r system. a user specific resource file. The name of this file is either "~/.gv" or as described by the "XUSERFILESEARCHPATH" environment vari able. The files "gv_user.ad" and "gv_system.ad" (located in the library directory of gv, which is most probably either "/usr/local/lib/gv/" or "/usr/lib/gv/" ma y serve as a basis for constructing the user and system specific res ource files. Note that the user and system specific resource f iles are not the only sources of preferences taken into account when gv is started. However, in practice these are the most important . Resources of gv The following describes some of the resources of gv. The precise syntax of some of the resource values may be inferred from the appended default system specifi c resource f ile.

antialias
Whether antialiasing should be used. Valid values are "True" and "False".
autoCenter
Whether the displayed page should automatically b e centered (for instance when opening a new file). Valid values are "True" and "False".
autoResize
Whether gv is allowed to resize the main window according to the size of the current page. Valid values are "True" and "False".
confirmPrint
Whether printing requires an extra confirmation. Valid values are "True" and "False".
confirmQuit
Whether leaving gv requires extra confirmation. Valid values are "0" (Never), "1" (When processing) and "2" (Always). The default value is "1", which causes a confirmation request when trying to leave gv in the presence of pending PDF to Postscript conv ersions.
scrollingEyeGuide
If this resource is "True" scrolling via the keyboard causes a temporary border to be drawn ar ound the previously visible area of the page. Allowed values are "True" and "False".
ignoreEOF
Defines the behaviour of the postscript scanner a s described in the Options section. Valid values are "True" and "False".
respectDSC
Determines whether gv should attempt to respect d ocument structuring comments. Valid values are "True" and "False".
reverseScrolling
Defines the interpretation of directions when scrolling with the mouse. Valid values are "True" and "False".
swapLandscape
Whether the meaning of "landscape" and "sea cape" should be interchanged. Valid values are "True" and "False".
scratchDir
Specifies a directory used to store temporary dat a.
defaultSaveDir
Specifies the default destination directory for f iles to be s aved.
useBackingPixmap
If the value of this resource is "False" the X Server is advised that saving off-screen pixels of the d isplayed pag e would be beneficial (maintaining backing store). In this case gv does not actively maintain the contents of the pa ge but relie s on the X Server. The server is, however, always f ree to stop maintaining backing backing store. If the value of this resource is "True" the X Server is advised that maintaining backing store is not useful. In this case gv attempts to allocate a sufficient ly large pixmap to store the contents of the displayed page.
watchFile
Whether the document should be checked periodical ly and updat ed automatically if changes are detected. Valid values are "True" and "False".
watchFileFrequency
Defines the time in milliseconds elapsing between successive checks of the document when watchFile is set to \ *QTrue". Allowed values must be larger than 500.
printCommand
The command used for printing a file. The command may contain multiple '%s' wildcards which will be replaced by the name of the file to be printed.
gsInterpreter
The command used to start the ghostscript interpr eter.
gsCmdScanPDF
The command used to extract document structuring comments from a PDF file.
gsCmdConvPDF
The command used to convert a PDF file to PostScr ipt.
gsX11Device
The ghostscript command line option which activat es the "X11" device.
gsX11AlphaDevice
The ghostscript command line option which activat es the "X11" device with antialiasing enabled.
gsSafer
Determines whether ghostscript should be started with the "-dSAFER" command line option.
gsQuiet
Determines whether ghostscript should be started with the "-dQUIET" command line option.
gsArguments
May be used to provide additional command line op tions for th e ghostscript interpreter. Starting gv with the "-arguments <arguments>" option will override this resource setting.
magMenu
Describes the menu that pops up when preparing to to zoom an area of the displayed page.
dirs
Defines a list of directories accessible via the Directories menu in the file selection window. The special value "Home" corresponds to the u sers home di rectory, the value "Tmp" corresponds to the scratch di rectory as d efined by the scratchDir resource.
filter
Defines the default filter to be used when displa ying a direc tory contents in the file selection window. A filter is specified according to the syntax


   <filter>    := [<filespecs>] [no <filespecs>]
   <filespecs> := <filespec> [<filespecs>]
   <filespec>  := filename possibly including wil
dcards '*'
                  which match any character.

Example: The filter


   GV*filter: *.ps *.pdf no .*

screens out all files with names starting with a dot and keeps of the remaining ones only those which end on ".ps" or ".pdf".

filters
Defines a list of filters offered in the Filters menu of the file selection window. The filter "None" has a special meaning causing all files to be displayed when the corres ponding menu entry is selected.
miscMenuEntries
Describes the menu that pops up when clicking wit h the third mouse button on the displayed page. The value of this resource is a list of menu entr ies. Allowed entries are "update", "redisplay", "toggle_current", "toggle_even", "toggle_odd", "unmark", "stop", "print_all", "print_marked", "save_all", "save_marked" and "line".
showTitle
Whether the name of the displayed document should be shown in the title bar of the window. The name of gv's icon wi ll also chan ge accordingly if this resource is set to "True" .
maximumWidth, maximumHeight
When resizing gv will not attempt to exceed the s ize specifie d by these resources. These resources may be specified as a positive in teger or as "screen", optionally combined with a positive or negative offset. The default values listed above provide examples for this syn tax. "screen" will automatically be replaced by th e size of th e screen.
minimumWidth, minimumHeight
Defines a minimum size for the main window. Valid values for both resources are positive inte gers larger than 200.
scale
Sets the initial scale. The value of this resourc e is the off set of the scale to be selected relative to the scale 1.0 in the the "Scale" menu.
scaleBase
Selects the initial scale base. The value of this resource sh ould be a positive integer.
scales
Defines the available scales bases and scales in the "Scale " menu.
orientation
Sets the initial orientation. Valid values are "portrait", "landscape","seascape", "upside-down" and "automatic". "automatic" causes gv to attempt to derive the correct orientation from document s tructuring comments.
fallbackOrientation
Defines the paper-size to be used when automatic orientation detetction fails. Valid values are "portrait", "landscape","seascape" and "upside-down".
medias
A list describing the page medias known to gv. List entries starting with "!" or "#" wil l not appear in the "Media" menu but will still be used for autom atic paper s ize detection.
pagemedia
Sets the paper size. Allowd values are as given in the above list of p aper-sizes. Specifying "automatic" causes gv to attempt to derive the correct paper-size from document st ructuring comments.
fallbackPageMedia
Defines the paper-size to be used when automatic paper-size detetction fails. Valid values are as given in t he above list of paper-sizes. The default user and system specific resource file


GV.pageMedia:           automatic
GV.orientation:         automatic
GV.fallbackOrientation: portrait
GV.swapLandscape:       False
GV.autoCenter:          True
GV.antialias:           False
GV.respectDSC:          True
GV.ignoreEOF:           True
GV.confirmPrint:        True
GV.reverseScrolling:    False
GV.scrollingEyeGuide:   True
GV.autoResize:          True
GV.maximumWidth:        screen-20
GV.maximumHeight:       screen-44
GV.minimumWidth:        400
GV.minimumHeight:       430
GV.confirmQuit:         1
GV.watchFile:           False
GV.watchFileFrequency:  1000
GV.showTitle:           True
GV.miscMenuEntries:     redisplay       \n\
                        # update        \n\
                        stop            \n\
                        line            \n\
                        toggle_current  \n\
                        toggle_even     \n\
                        toggle_odd      \n\
                        unmark          \n\
                        line            \n\
                        print_all       \n\
                        print_marked    \n\
                        save_all        \n\
                        save_marked
GV.scale:               0
GV.scaleBase:           1
GV.scales:              Natural size,   1.000,  s
creen  \n\
                        Pixel based,    1.000,  p
ixel   \n\
                        0.100,          0.100    
       \n\
                        0.125,          0.125    
       \n\
                        0.250,          0.250    
       \n\
                        0.500,          0.500    
       \n\
                        0.707,          0.707    
       \n\
                        1.000,          1.000    
       \n\
                        1.414,          1.414    
       \n\
                        2.000,          2.000    
       \n\
                        4.000,          4.000    
       \n\
                        8.000,          8.000    
       \n\
                        10.00,          10.00
GV.medias:              Letter,         612     7
92     \n\
                        # LetterSmall,  612     7
92     \n\
                        Legal,          612     1
008    \n\
                        Statement,      396     6
12     \n\
                        Tabloid,                7
92     1224    \n\
                        Ledger,         1224    7
92     \n\
                        Folio,          612     9
36     \n\
                        Quarto,         610     7
80     \n\
                        # 7x9,          504     6
48     \n\
                        # 9x11,         648     7
92     \n\
                        # 9x12,         648     8
64     \n\
                        # 10x13,                7
20     936     \n\
                        10x14,          720     1
008    \n\
                        Executive,      540     7
20     \n\
                        # A0,           2384    3
370    \n\
                        # A1,           1684    2
384    \n\
                        # A2,           1191    1
684    \n\
                        A3,             842     1
191    \n\
                        A4,             595     8
42     \n\
                        # A4Small,      595     8
42     \n\
                        A5,             420     5
95     \n\
                        # A6,           297     4
20     \n\
                        # A7,           210     2
97     \n\
                        # A8,           148     2
10     \n\
                        # A9,           105     1
48     \n\
                        # A10,          73      1
05     \n\
                        # B0,           2920    4
127    \n\
                        # B1,           2064    2
920    \n\
                        # B2,           1460    2
064    \n\
                        # B3,           1032    1
460    \n\
                        B4,             729     1
032    \n\
                        B5,             516     7
29     \n\
                        # B6,           363     5
16     \n\
                        # B7,           258     3
63     \n\
                        # B8,           181     2
58     \n\
                        # B9,           127     1
81     \n\
                        # B10,          91      1
27     \n\
                        # ISOB0,                2
835    4008    \n\
                        # ISOB1,                2
004    2835    \n\
                        # ISOB2,                1
417    2004    \n\
                        # ISOB3,                1
001    1417    \n\
                        # ISOB4,                7
09     1001    \n\
                        # ISOB5,                4
99     709     \n\
                        # ISOB6,                3
54     499     \n\
                        # ISOB7,                2
49     354     \n\
                        # ISOB8,                1
76     249     \n\
                        # ISOB9,                1
25     176     \n\
                        # ISOB10,       88      1
25     \n\
                        # C0,           2599    3
676    \n\
                        # C1,           1837    2
599    \n\
                        # C2,           1298    1
837    \n\
                        # C3,           918     1
296    \n\
                        # C4,           649     9
18     \n\
                        # C5,           459     6
49     \n\
                        # C6,           323     4
59     \n\
                        # C7,           230     3
23     \n\
                        # DL,           312     6
24
GV.magMenu:             2,      2       \n\
                        4,      4       \n\
                        8,      8       \n\
                        16,     16      \n\
                        32,     32      \n\
                        64,     64
GV*Ghostview.background:                white
GV*Ghostview.foreground:                black
GV.gsInterpreter:       gs
GV.gsCmdScanPDF:        gs -dNODISPLAY -dQUIET -s
PDFname=%s -sDSCname=%s pdf2dsc.ps
-c quit
GV.gsCmdConvPDF:        gs -dNODISPLAY -dQUIET  -
dNOPAUSE -sPSFile=%s %s -c
quit
GV.gsX11Device:         -sDEVICE=x11
GV.gsX11AlphaDevice:    -dNOPLATFONTS -sDEVICE=x1
1alpha
GV.gsSafer:             True
GV.gsQuiet:             True
GV.gsArguments:
GV.uncompressCommand:   gzip -d -c %s > %s
GV.printCommand:        lpr
GV.scratchDir:          ~/
GV.defaultSaveDir:      ~/
GV.fallbackPageMedia:   a4
GV.useBackingPixmap:    True
GV*dirs:                Home\n\
                        Tmp\n\
                        /usr/doc\n\
                        /usr/local/doc
GV*filter:              no .*
GV*filters:             None\n\
                        *.*ps* *.pdf*  no  .*\n\

                        *.*ps*   no  .*\n\
                        *.pdf*  no  .*\n\
                        no  .*

Mouse and key bindings

Mouse bindings in the Main and the Zoom w indow
The following mouse events are defined when the m ouse pointer is either on the displayed page or on a zoomed ar ea:
- press button 1, move mouse, release button 1
Scrolls the displayed page 'proportionally'.
- press button 3, move mouse, release button 3
Scrolls the displayed page 'absolutely'.
- double-click with button 1
In the main window this displays the previous/nex t page if the double-click occured in the left/right hal f of the window. In a zoom window it does nothing.
- press button 2, release button 2
Pops up a small menu which allows to choose a mag nification for a certain area around the current mouse posit ion. After selecting a magnification a zoom window pop s up displaying the area at the chosen scale.
- press button 2, move mouse, release button 2
This draws and thereby defines a rectangular regi on which can be displayed in a zoom window. The magnificat ion for the area can be selected by means of a popup menu whi ch appears a fter releasing button 2.
- press button 1, press button 2
Redisplays the current page. This event sequence works only in the main window.
- press button 3, release button 3
Pops up a small menu which offers a few standard actions like 'Redisplay', 'Mark Page', etc.
Mouse bindings in the File Selection popu p
The following mouse events are defined when the m ouse pointer is in the window of either a file or a directory lis t:
- press button 1, move mouse, release button 1
Scrolls a file or directory list 'proportionally' .
- press button 2, move mouse, release button 2
Scrolls a file or directory list 'absolutely'.
- press button 2, release button 2
Scrolls a file or directory list one page up/down if the button was pressed in the upper/lower half of the list.
- double-click with button 1 on a filename
Selects the file and closes the File Selection po pup.
- click with button 1 on a directory n ame
Causes the contents of this directory to be displ ayed.
Mouse bindings in the Table of Contents P
The following mouse events are defined when the m ouse pointer is in the window showing a list of page numbers of t he current file (table of contents):
- press button 1, move mouse, release button 1
Scrolls the table of contents.
- press button 1 on a page number
Go to this page.
- press button 2 on a page number
Mark this page if it is unmarked, but unmark it i f it is mark ed.
- press button 2, move mouse, release button 2
Marks/unmarks all unmarked/marked pages in the re gion crossed by the mouse pointer during the movement.
Mouse bindings in the Panner widget
The Panner widget is the rectangular region locat ed close to the left edge of the main window. It indicates the si ze and the position of the visible area of the current page relative to the total page. The following mouse events are defined when the m ouse pointer is in this region:
- press button 1, move mouse
Scrolls the displayed page.
- press button 2
Display the previous page.
- press button 3
Display the next page.
Mouse bindings in the
The ">>" and "<<" buttons are used to move to another page. The following mouse events are d efined:
- press button 1
Move 1 page forward/backwards.
- press button 2
Move 5 pages forward/backwards.
- press button 3
Move 10 pages forward/backwards.
Key Bindings
The following key events are defined in the main window. Thos e bindings scrolling the page are also defined in zoom popup s.


=== Notation:
s-X          means press "Shift"           and ke
y "X"
c-X          means press "Ctrl"            and ke
y "X"
sc-X         means press "Shift" or "Ctrl" and ke
y "X"
=== Miscellaneous keys:
A            Toggle antialiasing on and off
O            Open a new file
Q            Quit gv
R            Toggle gv's resizing behaviour
I            Respect/Ignore document structuring
W            Watch file / Don't watch file
S            Save the marked pages
sc-S         Save the current file
P            Print the marked pages
sc-P         Print the current file
c-L          Redisplay the current page
.            Redisplay the current page
sc-.         Reopen the current file
M            Mark the current page
N            Unmark the current page
=== Orientation:
7            Orientation portrait
8            Orientation landscape
9            Orientation upside-down
0            Orientation seascape
=== Magnification:
sc-6         Select the scale entry -6 relative t
o the scale 
1.0
sc-5         Select the scale entry -5 relative t
o the scale 
1.0
sc-4         Select the scale entry -4 relative t
o the scale 
1.0
sc-3         Select the scale entry -3 relative t
o the scale 
1.0
sc-2         Select the scale entry -2 relative t
o the scale 
1.0
sc-1         Select the scale entry -1 relative t
o the scale 
1.0
^            Select the scale 1.0 (for german key
board layout
)
`            Select the scale 1.0
1            Select the scale entry 1 relative to
 the scale 1
.0
2            Select the scale entry 2 relative to
 the scale 1
.0
3            Select the scale entry 3 relative to
 the scale 1
.0
4            Select the scale entry 4 relative to
 the scale 1
.0
5            Select the scale entry 5 relative to
 the scale 1
.0
6            Select the scale entry 6 relative to
 the scale 1
.0
+            Select the next scale entry
=            Select the next scale entry
-            Select the previous scale entry
=== Navigating:
Arrow        Scroll in the direction of the arrow
s-Up         Scroll columns up   or jump -1 pages
s-Down       Scroll columns down or jump  1 pages
s-Left       Scroll rows left    or jump -1 pages
s-Right      Scroll rows right   or jump  1 pages
c-Up         Jump -1 pages (to top/left corner)
c-Down       Jump  1 pages (to top/left corner)
c-Left       Jump -5 pages (to top/left corner)
c-Right      Jump  5 pages (to top/left corner)
D,X,Z,Y,C    Identical to arrow up,down,left,left,right
V            Center the page
sc-Space     Scroll columns up   or jump -1 pages
Space        Scroll columns down or jump  1 pages
BackSpace    Scroll columns up   or jump -1 pages
Insert       Jump  -5 pages
Delete       Jump   5 pages
Home         Go to the first page
End          Go to the last page
Prior        Jump  -1 pages
Next         Jump   1 pages
Keypad 0-9   Highlight a page number
Keypad -     Highlight previous page number
Keypad +     Highlight next page number
Keypad Enter Jump to the highlighted page
c-Enter      Jump  -1 pages
s-Enter      Jump  -1 pages
Enter        Jump   1 pages
B            Jump  -1 pages
F            Jump   1 pages

Comments about the user interface

Scales
The "Scale" menu which allows to view the doc ument at different sizes is divided into two parts. The first part shows a list of available scale bases, the second part, separated by a line, lists the relative scales wh ich are appl ied with respect to the selected scale base. By default two scales bases are available, the QNatural siz e" and the "Pixel based" base. When choosing the "Pixel based" scale base a relative sca le of 1.0 causes one postscript point to correspond to one pixel on the screen. When viewing a document at a relative scale of 1. 0 using the "Natural size" base the page should appear in i ts real size, as if printed on paper. For the "Natural size" base to work properly gv has to kn ow the correct size of the root window. Automatic de tection of this size unfortunately only provides approxim ate results, therefore it is best if it is provided by the user. To do s o the resour ce


   GV.screenSize:  <width> x <height>

should be added to the "SCREEN_RESOURCES" pro perty of the screen the document is viewed on, with <width> and <heig ht> describing the width and height of the root windo w in units o f millimeters. For instance by using the command


   echo "GV.screenSize: 396 x 291" | xrdb -overri
de -screen

a width of 346 mm and a height of 291 mm will be used for the "Natural size" scale base. Alternatively the resource


   GV.screenSize_<machine>_<disp>_<scr>:  <width>
 x <height>

may be added to a resource file read by gv. Here <machine> ,<disp> and ANGLED) describe the display on which gv displays the document. For instance, if the display is set to "tic.tac .toe.wo:0.1" the resource should be specified as


   GV.screenSize_tic_0_1: 396 x 291

Note that this method doesn't work on VMS. As a last alternative the resource


   GV.screenSize:  <width> x <height>

may be added to one of the resource files. Howeve r, for obvious reasons this method should be used only on single user ma chines.

Scrolling
It is probably a de facto standard for user inter faces that windows are supposed to be scrolled by means of scrollbars attached to their sides. However, for various reasons the use of scrollbar s has been minimized in gv. Instead, in all windows with obscured data, scrol ling may be performed by pressing button1, moving the mouse, then releasin g button1 directly in the window. This includes the display ed page, zoom popups, the table of contents and the file a nd directory lists displayed in the file selection p opup.
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 sel ection popup the most recent version can be displayed by pressing the "Redisplay" button in the main window (VMS users should use the "Update File" entry in the "File" menu). Choosing the "Redisplay" 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 whic h may be switched on by selecting the corresponding ent ry in the "State" menu. If activated gv will check every now and then if a new version of the displa yed file exists. If so it will be displayed automatic ally. By default the file is checked about once every second. Finally it may also be left to the document creat ing 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 CR<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. Please note that this feature is available only on X11 R6 based systems.

Availability

The source code of the most recent version of gv may be obtained from the following sources:

World Wide Web:
http://wwwthep.physik.uni-mainz.de/~plass/gv/
Anonymous ftp:
ftp://thep.physik.uni-mainz.de/pub/gv/

Authors


Johannes Plass             plass@thep.physik.uni-
mainz.de
                           Department of Physics
                           Johannes Gutenberg Uni
versity
                           Mainz, Germany
gv is derived from GhostView 1.5, created by
          Tim Theisen      Systems Programmer
Internet: tim@cs.wisc.edu  Department of Computer
 Sciences
    UUCP: uwvax!tim        University of Wisconsi
n-Madison
   Phone: (608)262-0438    1210 West Dayton Stree
t
     FAX: (608)262-9777    Madison, WI   53706

Suggestions and bug reports

Please send suggestions or bug reports to plass@t hep.physik.u ni-mainz.de.


Table of Contents