Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
.TH GXDITVIEW @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
.
.
.SH NAME
gxditview \- display groff intermediate output files
.
.
.SH SYNOPSIS
.B \%gxditview
.RI [\fB\- toolkitoption\  .\|.\|.\|]
.RI [\fB\- option\  .\|.\|.\|]
.RI [ filename ]
.
.
.SH DESCRIPTION
The
.B \%gxditview 
program displays the
.I groff intermediate
.IR output ,
see
.BR groff_out (@MAN5EXT@),
on an X\~display.
.
It uses the standard X11 fonts, so it does not require access to the
server machine for font loading.
.
There are several ways to use
.BR \%gxditview .
.
.
.PP
The
.I groff intermediate output
can be generated by
.BR groff\~\-Z .
This can be viewed by explicity calling
.B \%gxditview
.IR \%filename .
If
.I filename
is
.BR \- ,
.B \%gxditview
will read the standard input;
.I \%filename
cannot be omitted.
.
The
.I groff intermediate output
is different for all devices.
.
.B \%gxditview
can view it for all devices, but the quality is not always good.
.
.
.PP
The best result is achieved with the
.BR X *
devices for
.BR groff 's
option
.BR \-T .
.
There are four
.BR X *
devices:
.BR \%\-TX75 ,
.BR \%\-TX75\-12 ,
.BR \%\-TX100 ,
.BR \%\-TX100\-12 .
They differ by the X\~resolution (75dpi or 100dpi) and the used base font
size (10pt or 12pt).
.
They are especially built for
.BR \%gxditview .
When using one of them
.B groff
generates the
.I intermediate output
for this device and calls
.B \%gxditview
automatically for viewing.
.
.
.PP
.BR groff 's
option
.B \-X
should be considered obsolete today; it produces
.I intermediate output
for
.I Postscript
and uses
.B \%gxditview
as a viewer for it, but with a bad quality.
.
Simply don't use it.
.
.
.PP
During the run of
.BR \%gxditview ,
the left mouse button brings up a menu with the following entries:
.
.TP 8
.B "Next Page"
Display the next page.
.
.TP
.B "Previous Page"
Display the previous page.
.
.TP
.B "Select Page"
Select a particular numbered page specified by a dialog box.
.
.TP
.B Print
Print the
.I groff intermediate output
using a command specified by a dialog box.
.
The default command initially displayed is controlled by the
.B printCommand
application resource, and by the
.B \-printCommand
option.
.
.TP
.B Open
Open for display a new file specified by a dialog box.
.
The file should contain some
.I groff intermediate
.IR output .
If the filename starts with
.B |
it will be taken to be a command to read from.
.
.TP
.B Quit
Exit from
.BR \%gxditview .
.
.
.PP
The
.IR n ,
.I Space
and
.I Return
keys are bound to the
.B Next\ Page
action.
.
The
.IR p ,
.I BackSpace
and
.I Delete
keys are bound to the
.B Previous\ Page
action.
.
The
.I q
key is bound to the
.B Quit
action.
.
The
.I r
key is bound to the
.B Rerasterize
action which rereads the current file, and redisplays the current
page; if the current file is a command, the command will be
reexecuted.
.
.
.PP
The
.B paperlength
and
.B paperwidth
commands in the DESC file specify the length and width in machine units
of the virtual page displayed by
.BR \%gxditview .
.
.
.SH OPTIONS
The
.B \%gxditview
program accepts all of the standard X\~Toolkit command line options
along with the additional options listed below:
.
.TP 8
.B \-help
This option indicates that a brief summary of the allowed options should be
printed.
.
.TP
.B \-page
This option specifies the page number of the document to be displayed.
.
.TP
.BI \-backingStore\  backing-store-type
Redisplay of the
.I groff intermediate output
window can take up to a second or so, this option causes the server to
save the window contents so that when it is scrolled around the
viewport, the window is painted from contents saved in backing store.
.I backing-store-type
can be one of
.BR Always ,
.B WhenMapped
or 
.BR NotUseful .
.
.TP
.BI \-printCommand\  command
The default command displayed in the dialog box for the
.B Print
menu entry will be
.IR command .
.
.TP
.BI \-resolution\  res
The
.I groff intermediate output
file will be displayed at a resolution of
.I res
dpi, unless the DESC file contains the
.B X11
command, in which case the device resolution will be used.
.
This corresponds to the
.I Dvi
widget's
.B resolution
resource.
.
The default is 75.
.
.TP
.BI \-filename\  string
The default filename displayed in the dialog box for the
.B Open
menu entry will be
.IR string .
This can be either a filename, or a command starting with
.BR | .
.
.
.PP
The following standard X\~Toolkit command line arguments are commonly used
with 
.BR \%gxditview :
.
.TP 8
.BI \-bg\  color
This option specifies the color to use for the background of the window.  
.
The default is \fIwhite\fP.
.
.TP
.BI \-bd\  color
This option specifies the color to use for the border of the window.
.
The default is \fIblack\fP.
.
.TP
.BI \-bw\  number
This option specifies the width in pixels of the border surrounding the
window.
.
.TP
.BI \-fg\  color
This option specifies the color to use for displaying text.
.
The default is 
\fIblack\fP.
.
.TP
.BI \-fn\  font
This option specifies the font to be used for displaying widget text.
.
The default is \fIfixed\fP.
.
.TP
.B \-rv
This option indicates that reverse video should be simulated by swapping
the foreground and background colors.
.
.TP
.BI \-geometry\  geometry
This option specifies the preferred size and position of the window.
.
.TP
.BI \-display\  host : display
This option specifies the X\~server to contact.
.
.TP
.BI \-xrm\  resourcestring
This option specifies a resource string to be used.
.
.
.SH X DEFAULTS
This program uses the 
.I Dvi
widget in the X\~Toolkit.
.
It understands all of the core resource names and classes as well as:
.
.TP 8
.BR width\  (class\  Width )
Specifies the width of the window.
.
.TP
.BR height\  (class\  Height )
Specifies the height of the window.
.
.TP
.BR foreground\  (class\  Foreground )
Specifies the default foreground color.
.
.TP
.BR font\  (class\  Font )
Specifies the font to be used for error messages.
.
.TP
.BR fontMap\  (class\  FontMap )
Specifies the mapping from
.I groff
font names to X\~font names.
.
This must be a string containing a sequence of lines.
.
Each line contains two whitespace separated fields: first the
.I groff
font name, and secondly the X\~font name.
.
The default is
.nf
"\e
TR	-adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
TI	-adobe-times-medium-i-normal--*-100-*-*-*-*-iso8859-1\en\e
TB	-adobe-times-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
TBI	-adobe-times-bold-i-normal--*-100-*-*-*-*-iso8859-1\en\e
CR	-adobe-courier-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
CI	-adobe-courier-medium-o-normal--*-100-*-*-*-*-iso8859-1\en\e
CB	-adobe-courier-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
CBI	-adobe-courier-bold-o-normal--*-100-*-*-*-*-iso8859-1\en\e
HR	-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
HI	-adobe-helvetica-medium-o-normal--*-100-*-*-*-*-iso8859-1\en\e
HB	-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
HBI	-adobe-helvetica-bold-o-normal--*-100-*-*-*-*-iso8859-1\en\e
NR	-adobe-new century schoolbook-medium-r-normal--*-100-*-*-*-*-iso8859-1\en\e
NI	-adobe-new century schoolbook-medium-i-normal--*-100-*-*-*-*-iso8859-1\en\e
NB	-adobe-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1\en\e
NBI	-adobe-new century schoolbook-bold-i-normal--*-100-*-*-*-*-iso8859-1\en\e
S	-adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\en\e
SS	-adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\en\e
"
.fi
.
.
.SH "SEE ALSO"
.BR X (1),
.BR xrdb (1),
.BR xditview (1),
.BR groff (@MAN1EXT@),
.BR groff_out (@MAN5EXT@)
.
.
.SH ORIGIN
This program is derived from
.BR \%xditview ;
portions of
.B \%xditview
originated in
.B \%xtroff
which was derived from
.BR \%suntroff .
.
.
.SH COPYRIGHT
Copyright 1989, Massachusetts Institute of Technology.
.br
See
.BR X (1)
for a full statement of rights and permissions.
.
.
.SH AUTHORS
Keith Packard (MIT X Consortium)
.br
Richard L. Hyde (Purdue)
.br
David Slattengren (Berkeley)
.br
Malcolm Slaney (Schlumberger Palo Alto Research)
.br
Mark Moraes (University of Toronto)
.br
James Clark
.
.\" Local Variables:
.\" mode: nroff
.\" End: