GXDITVIEW(1) | General Commands Manual | GXDITVIEW(1) |
gxditview - display groff intermediate output files
gxditview |
[X-toolkit-option...] [-backingStore backing-store-type] [-filename string] [-page n] [-printCommand string] [-resolution res] [file] |
gxditview |
-help |
gxditview |
--help |
The gxditview program displays the groff intermediate output, see groff_out(5), 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 gxditview.
The groff intermediate output can be generated by groff -Z. This can be viewed by explicitly calling gxditview filename. If filename is -, gxditview will read the standard input; filename cannot be omitted. The groff intermediate output is different for all devices. gxditview can view it for all devices, but the quality is device dependent.
The best results are achieved with the X* devices for groff's option -T. There are four X* devices: -TX75, -TX75-12, -TX100, -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 gxditview. When using one of them groff generates the intermediate output for this device and calls gxditview automatically for viewing. For example, to view this man page with a base resolution of 12pt, say
(option -rSXX is documented in the groff_man(7) man page).
groff's option -X produces intermediate output for the PostScript device and subsequently uses gxditview as a viewer for it. The quality of the result depends mainly on the chosen point size and display resolution; for rapid previewing, however, something like
yields acceptable results.
During the run of gxditview, the left mouse button brings up a menu with the following entries:
The n, Space, Return, and Next (PgDn) keys are bound to the Next Page action. The p, b, BackSpace, Delete, and Prior (PgUp) keys are bound to the Previous Page action. The g key is bound to the SelectPage action. The o key is bound to the OpenFile action. The q key is bound to the Quit action. The r key is bound to the Rerasterize action which rereads the current file, and redisplays the current page; if the current file is a command, the command will be reexecuted. Vertical scrolling can be done with the k and j keys; horizontal scrolling is bound to the h and l keys. The arrow keys (up, down, left, and right) are also bound to the obvious scrolling actions.
The paperlength and paperwidth commands in the DESC file specify the length and width in machine units of the virtual page displayed by gxditview.
The gxditview program accepts all of the standard X Toolkit command-line options along with the additional options listed below:
The following standard X Toolkit command-line arguments are commonly used with gxditview:
This program uses the Dvi widget in the X Toolkit. It understands all of the core resource names and classes as well as:
"\ TR -adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\ TI -adobe-times-medium-i-normal--*-100-*-*-*-*-iso8859-1\n\ TB -adobe-times-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\ TBI -adobe-times-bold-i-normal--*-100-*-*-*-*-iso8859-1\n\ CR -adobe-courier-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\ CI -adobe-courier-medium-o-normal--*-100-*-*-*-*-iso8859-1\n\ CB -adobe-courier-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\ CBI -adobe-courier-bold-o-normal--*-100-*-*-*-*-iso8859-1\n\ HR -adobe-helvetica-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\ HI -adobe-helvetica-medium-o-normal--*-100-*-*-*-*-iso8859-1\n\ HB -adobe-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\ HBI -adobe-helvetica-bold-o-normal--*-100-*-*-*-*-iso8859-1\n\ NR -adobe-new century schoolbook-medium-r-normal--*-100-*-*-*-*-iso8859-1\n\ NI -adobe-new century schoolbook-medium-i-normal--*-100-*-*-*-*-iso8859-1\n\ NB -adobe-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1\n\ NBI -adobe-new century schoolbook-bold-i-normal--*-100-*-*-*-*-iso8859-1\n\ S -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\n\ SS -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\n\ "
gxditview and its predecessor xditview were written by Keith Packard (MIT X Consortium), Richard L. Hyde (Purdue), David Slattengren (Berkeley), Malcolm Slaney (Schlumberger Palo Alto Research), Mark Moraes (University of Toronto), and James Clark.
This program is derived from xditview; portions of xditview originated in xtroff which was derived from suntroff.
19 March 2021 | groff 1.22.4 |