1 .TH GXDITVIEW 1 "Release 5" "X Version 11"
3 gxditview \- display gtroff output files
6 .RI [\fB\- toolkitoption\ .\|.\|.\|]
7 .RI [\fB\- option\ .\|.\|.\|]
12 program displays gtroff output on an X display.
13 It uses the standard X11 fonts,
14 so it does not require access to the server machine for font loading.
21 will read the standard input.
23 The left mouse button brings up a menu with the following entries:
26 Display the next page.
29 Display the previous page.
32 Select a particular numbered page specified by a dialog box.
35 Print the gtroff output using a command specified by a dialog box.
36 The default command initially displayed is controlled by the
38 application resource, and by the
43 Open for display a new file specified by a dialog box.
44 The file should contain gtroff output.
45 If the filename starts with
47 it will be taken to be a command to read from.
56 and Return keys are bound to the
76 action which rereads the current file, and redisplays the current page;
77 if the current file is a command, the command will be reexecuted.
83 commands in the DESC file specify the length and width in machine units
84 of the virtual page displayed by
88 accepts all of the standard X Toolkit command line options along with the
89 additional options listed below:
92 This option indicates that a brief summary of the allowed options should be
96 This option specifies the page number of the document to be displayed.
98 .BI \-backingStore\ backing-store-type
99 Redisplay of the gtroff output window can take upto a second or so,
100 this option causes the server to save the window contents so that when
101 it is scrolled around the viewport, the window is painted from
102 contents saved in backing store.
103 .I backing-store-type
110 .BI \-printCommand\ command
111 The default command displayed in the dialog box for the
116 .BI \-resolution\ res
117 The gtroff output file will be displayed at a resolution of
120 unless the DESC file contains the
122 command, in which case the device resolution will be used.
130 .BI \-filename\ string
131 The default filename displayed in the dialog box for the
135 This can be either a filename, or a command starting with
138 The following standard X Toolkit command line arguments are commonly used with
142 This option specifies the color to use for the background of the window.
143 The default is \fIwhite\fP.
146 This option specifies the color to use for the border of the window.
147 The default is \fIblack\fP.
150 This option specifies the width in pixels of the border surrounding the window.
153 This option specifies the color to use for displaying text. The default is
157 This option specifies the font to be used for displaying widget text. The
158 default is \fIfixed\fP.
161 This option indicates that reverse video should be simulated by swapping
162 the foreground and background colors.
164 .BI \-geometry\ geometry
165 This option specifies the preferred size and position of the window.
167 .BI \-display\ host : display
168 This option specifies the X server to contact.
170 .BI \-xrm\ resourcestring
171 This option specifies a resource string to be used.
173 This program uses the
175 widget in the X Toolkit. It understands all of the core resource names and
179 .BR width\ (class\ Width )
180 Specifies the width of the window.
182 .BR height\ (class\ Height )
183 Specifies the height of the window.
185 .BR foreground\ (class\ Foreground )
186 Specifies the default foreground color.
188 .BR font\ (class\ Font )
189 Specifies the font to be used for error messages.
191 .BR fontMap\ (class\ FontMap )
192 Specifies the mapping from groff font names to X font names. This
193 must be a string containing a sequence of lines. Each line contains
194 two whitespace separated fields: first the groff font name, and
195 secondly the X font name. The default is
198 TR -adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
199 TI -adobe-times-medium-i-normal--*-100-*-*-*-*-iso8859-1\en\e
200 TB -adobe-times-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
201 TBI -adobe-times-bold-i-normal--*-100-*-*-*-*-iso8859-1\en\e
202 CR -adobe-courier-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
203 CI -adobe-courier-medium-o-normal--*-100-*-*-*-*-iso8859-1\en\e
204 CB -adobe-courier-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
205 CBI -adobe-courier-bold-o-normal--*-100-*-*-*-*-iso8859-1\en\e
206 HR -adobe-helvetica-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
207 HI -adobe-helvetica-medium-o-normal--*-100-*-*-*-*-iso8859-1\en\e
208 HB -adobe-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
209 HBI -adobe-helvetica-bold-o-normal--*-100-*-*-*-*-iso8859-1\en\e
210 NR -adobe-new century schoolbook-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
211 NI -adobe-new century schoolbook-medium-i-normal--*-100-*-*-*-*-iso8859-1\en\e
212 NB -adobe-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
213 NBI -adobe-new century schoolbook-bold-i-normal--*-100-*-*-*-*-iso8859-1\en\e
214 S -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\en\e
215 SS -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\en\e
225 This program is derived from xditview;
226 portions of xditview originated in xtroff which was derived
229 Copyright 1989, Massachusetts Institute of Technology.
233 for a full statement of rights and permissions.
235 Keith Packard (MIT X Consortium)
237 Richard L. Hyde (Purdue)
239 David Slattengren (Berkeley)
241 Malcolm Slaney (Schlumberger Palo Alto Research)
243 Mark Moraes (University of Toronto)