5 image, graphic, PostScript, PDF, and
23 is a general purpose document viewer.
24 It can be used to display the individual pages
32 device independent output
37 output is simply converted to PostScript in order to be viewed.
38 It can also be used to view any number of
45 file, an Inferno bitmap file, or other common format).
49 In the absence of named files,
51 reads one from standard input.
55 runs in the window in which it is started
56 and leaves the window unchanged.
61 to grow the window if necessary
62 to display the page being viewed.
67 to create a new window for itself.
68 The newly created window will grow as under the
74 option sets the resolution for PostScript and PDF
75 files, in pixels per inch.
76 The default is 100 ppi.
78 When viewing images with
85 for more images to display.
90 to not load any graphics files nor to read
91 from standard input but rather to listen
92 for ones to load from the plumbing channel.
96 option with a page address
98 jumps to the specified page on startup.
100 Pressing and holding button 1 permits panning about the page.
102 Button 2 raises a menu of operations on the current image or the
103 entire set. The image transformations are non-destructive and are
104 valid only for the currently displayed image. They are lost as soon
105 as another image is displayed.
106 The button 2 menu operations are:
110 Restores the image to the original. All modifications are lost.
113 controls magnification.
116 Resizes the image so that it fits in the current window.
119 Rotates the image 90 degrees clockwise
122 Toggles whether images are displayed upside-down.
125 Displays the next page.
128 Displays the previous page.
131 Writes the current page address to the snarf buffer.
134 Displays the current image in a new page window.
135 Useful for selecting important pages from large documents.
138 Asks for a filename and writes the current image as
142 Shows the current image using external
144 program in a separate window. This is mostly useful for
148 Button 3 raises a menu of the
150 to be selected for viewing in any order.
155 control-D exits the program.
157 To go to a specific page, one can type its number followed by enter.
158 Typing left arrow or backspace displays the previous page.
159 Typing right arrow, space, or enter displays the next page.
160 The up and down arrow pan up and down one half screen height,
161 changing pages when panning off the top or bottom of the page.
166 to draw each page of PostScript
170 It also calls a variety of conversion programs, such as those described in
172 to convert the various raster graphics formats
173 into Inferno bitmap files.
174 Pages are converted ``on the fly,'' as needed.
178 page /sys/src/cmd/gs/examples/tiger.eps
179 Display a color PostScript file.
182 page /usr/inferno/icons/*.bit
183 Browse the Inferno bitmap library.
186 page -j /sys/doc/troff.pdf!7 /sys/doc/troff.pdf
187 Jump to page 7 in the troff manual.
190 man -t page | page -w
191 Preview this manual in a new window.
198 .B /sys/src/cmd/page.c
200 The interface to the plumber is experimental.
203 first appeared in Plan 9 from Bell Labs. It was rewritten from
204 scratch for 9front (September, 2011).