2 .TH GXDITVIEW 1 "Release 5" "X Version 11"
4 gxditview \- display gtroff output files
7 .RI [\fB\- toolkitoption\ .\|.\|.\|]
8 .RI [\fB\- option\ .\|.\|.\|]
13 program displays gtroff output on an X display.
14 It uses the standard X11 fonts,
15 so it does not require access to the server machine for font loading.
22 will read the standard input.
24 The left mouse button brings up a menu with the following entries:
27 Display the next page.
30 Display the previous page.
33 Select a particular numbered page specified by a dialog box.
36 Print the gtroff output using a command specified by a dialog box.
37 The default command initially displayed is controlled by the
39 application resource, and by the
44 Open for display a new file specified by a dialog box.
45 The file should contain gtroff output.
46 If the filename starts with
48 it will be taken to be a command to read from.
57 and Return keys are bound to the
77 action which rereads the current file, and redisplays the current page;
78 if the current file is a command, the command will be reexecuted.
84 commands in the DESC file specify the length and width in machine units
85 of the virtual page displayed by
89 accepts all of the standard X Toolkit command line options along with the
90 additional options listed below:
93 This option indicates that a brief summary of the allowed options should be
97 This option specifies the page number of the document to be displayed.
99 .BI \-backingStore\ backing-store-type
100 Redisplay of the gtroff output window can take upto a second or so,
101 this option causes the server to save the window contents so that when
102 it is scrolled around the viewport, the window is painted from
103 contents saved in backing store.
104 .I backing-store-type
111 .BI \-printCommand\ command
112 The default command displayed in the dialog box for the
117 .BI \-resolution\ res
118 The gtroff output file will be displayed at a resolution of
121 unless the DESC file contains the
123 command, in which case the device resolution will be used.
131 .BI \-filename\ string
132 The default filename displayed in the dialog box for the
136 This can be either a filename, or a command starting with
139 The following standard X Toolkit command line arguments are commonly used with
143 This option specifies the color to use for the background of the window.
144 The default is \fIwhite\fP.
147 This option specifies the color to use for the border of the window.
148 The default is \fIblack\fP.
151 This option specifies the width in pixels of the border surrounding the window.
154 This option specifies the color to use for displaying text. The default is
158 This option specifies the font to be used for displaying widget text. The
159 default is \fIfixed\fP.
162 This option indicates that reverse video should be simulated by swapping
163 the foreground and background colors.
165 .BI \-geometry\ geometry
166 This option specifies the preferred size and position of the window.
168 .BI \-display\ host : display
169 This option specifies the X server to contact.
171 .BI \-xrm\ resourcestring
172 This option specifies a resource string to be used.
174 This program uses the
176 widget in the X Toolkit. It understands all of the core resource names and
180 .BR width\ (class\ Width )
181 Specifies the width of the window.
183 .BR height\ (class\ Height )
184 Specifies the height of the window.
186 .BR foreground\ (class\ Foreground )
187 Specifies the default foreground color.
189 .BR font\ (class\ Font )
190 Specifies the font to be used for error messages.
192 .BR fontMap\ (class\ FontMap )
193 Specifies the mapping from groff font names to X font names. This
194 must be a string containing a sequence of lines. Each line contains
195 two whitespace separated fields: first the groff font name, and
196 secondly the X font name. The default is
199 TR -adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
200 TI -adobe-times-medium-i-normal--*-100-*-*-*-*-iso8859-1\en\e
201 TB -adobe-times-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
202 TBI -adobe-times-bold-i-normal--*-100-*-*-*-*-iso8859-1\en\e
203 CR -adobe-courier-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
204 CI -adobe-courier-medium-o-normal--*-100-*-*-*-*-iso8859-1\en\e
205 CB -adobe-courier-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
206 CBI -adobe-courier-bold-o-normal--*-100-*-*-*-*-iso8859-1\en\e
207 HR -adobe-helvetica-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
208 HI -adobe-helvetica-medium-o-normal--*-100-*-*-*-*-iso8859-1\en\e
209 HB -adobe-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
210 HBI -adobe-helvetica-bold-o-normal--*-100-*-*-*-*-iso8859-1\en\e
211 NR -adobe-new century schoolbook-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
212 NI -adobe-new century schoolbook-medium-i-normal--*-100-*-*-*-*-iso8859-1\en\e
213 NB -adobe-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
214 NBI -adobe-new century schoolbook-bold-i-normal--*-100-*-*-*-*-iso8859-1\en\e
215 S -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\en\e
216 SS -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\en\e
226 This program is derived from xditview;
227 portions of xditview originated in xtroff which was derived
230 Copyright 1989, Massachusetts Institute of Technology.
234 for a full statement of rights and permissions.
236 Keith Packard (MIT X Consortium)
238 Richard L. Hyde (Purdue)
240 David Slattengren (Berkeley)
242 Malcolm Slaney (Schlumberger Palo Alto Research)
244 Mark Moraes (University of Toronto)