5 image, graphic, PostScript, PDF, and
23 is a general purpose document viewer.
24 It can be used to display the individual pages
30 device independent output
33 output is simply converted to PostScript in order to be viewed.
34 It can also be used to view any number of
41 file, an Inferno bitmap file, or other common format).
45 In the absence of named files,
47 reads one from standard input.
51 runs in the window in which it is started
52 and leaves the window unchanged.
57 to grow the window if necessary
58 to display the page being viewed.
63 to create a new window for itself.
64 The newly created window will grow as under the
70 option sets the resolution for PostScript and PDF
71 files, in pixels per inch.
72 The default is 100 ppi.
74 When viewing images with
81 for more images to display.
86 to not load any graphics files nor to read
87 from standard input but rather to listen
88 for ones to load from the plumbing channel.
92 option with a page address
94 jumps to the specified page on startup.
96 Pressing and holding button 1 permits panning about the page.
98 Button 2 raises a menu of operations on the current image or the
99 entire set. The image transformations are non-destructive and are
100 valid only for the currently displayed image. They are lost as soon
101 as another image is displayed.
102 The button 2 menu operations are:
106 Restores the image to the original. All modifications are lost.
109 controls magnification.
112 Resizes the image so that it fits in the current window.
115 Rotates the image 90 degrees clockwise
118 Toggles whether images are displayed upside-down.
121 Displays the next page.
124 Displays the previous page.
127 Writes the current page address to the snarf buffer.
130 Displays the current image in a new page window.
131 Useful for selecting important pages from large documents.
134 Asks for a filename and writes the current image as
138 Shows the current image using external
140 program in a separate window. This is mostly useful for
144 Button 3 raises a menu of the
146 to be selected for viewing in any order.
151 control-D exits the program.
153 To go to a specific page, one can type its number followed by enter.
154 Typing left arrow or backspace displays the previous page.
155 Typing right arrow, space, or enter displays the next page.
156 The up and down arrow pan up and down one half screen height,
157 changing pages when panning off the top or bottom of the page.
162 to draw each page of PostScript
166 It also calls a variety of conversion programs, such as those described in
168 to convert the various raster graphics formats
169 into Inferno bitmap files.
170 Pages are converted ``on the fly,'' as needed.
174 page /sys/src/cmd/gs/examples/tiger.eps
175 Display a color PostScript file.
178 page /usr/inferno/icons/*.bit
179 Browse the Inferno bitmap library.
182 page -j /sys/doc/troff.pdf!7 /sys/doc/troff.pdf
183 Jump to page 7 in the troff manual.
186 man -t page | page -w
187 Preview this manual in a new window.
193 .B /sys/src/cmd/page.c
195 The interface to the plumber is experimental.
198 first appeared in Plan 9 from Bell Labs. It was rewritten from
199 scratch for 9front (September, 2011).