{
    "mode": "man",
    "parameter": "gxditview",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/gxditview/1/json",
    "generated": "2026-06-15T13:39:43Z",
    "synopsis": "gxditview [X-toolkit-option...] [-backingStore backing-store-type] [-filename string]\n[-page n] [-printCommand string] [-resolution res] [file]",
    "sections": {
        "NAME": {
            "content": "gxditview - display groff intermediate output files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gxditview [X-toolkit-option...] [-backingStore backing-store-type] [-filename string]\n[-page n] [-printCommand string] [-resolution res] [file]\n",
            "subsections": [
                {
                    "name": "gxditview -help",
                    "content": ""
                },
                {
                    "name": "gxditview --help",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The gxditview program displays the groff intermediate output, see groffout(5), on an X  dis‐\nplay.   It  uses  the standard X11 fonts, so it does not require access to the server machine\nfor font loading.  There are several ways to use gxditview.\n\nThe groff intermediate output can be generated by groff -Z.  This can be viewed by explicitly\ncalling  gxditview  filename.   If  filename  is  -,  gxditview will read the standard input;\nfilename cannot be omitted.  The groff intermediate output  is  different  for  all  devices.\ngxditview can view it for all devices, but the quality is device dependent.\n\nThe  best  results are achieved with the X* devices for groff's option -T.  There are four X*\ndevices: -TX75, -TX75-12, -TX100, -TX100-12.  They differ  by  the  X  resolution  (75dpi  or\n100dpi) and the used base font size (10pt or 12pt).  They are especially built for gxditview.\nWhen using one of them groff generates the intermediate output  for  this  device  and  calls\ngxditview  automatically for viewing.  For example, to view this man page with a base resolu‐\ntion of 12pt, say\n\ngroff -TX100-12 -man -rS12 gxditview.1\n\n(option -rSXX is documented in the groffman(7) man page).\n\ngroff's option -X produces intermediate output for the  PostScript  device  and  subsequently\nuses  gxditview  as  a viewer for it.  The quality of the result depends mainly on the chosen\npoint size and display resolution; for rapid previewing, however, something like\n\ngroff -X -P-resolution -P100 document\n\nyields acceptable results.\n\nDuring the run of gxditview, the left mouse button brings up a menu with  the  following  en‐\ntries:\n",
            "subsections": [
                {
                    "name": "Next Page",
                    "content": "Display the next page.\n"
                },
                {
                    "name": "Previous Page",
                    "content": "Display the previous page.\n"
                },
                {
                    "name": "Select Page",
                    "content": "Select a particular numbered page specified by a dialog box.\n\nPrint   Print  the  groff intermediate output using a command specified by a dialog box.  The\ndefault command initially displayed is controlled by the printCommand application re‐\nsource, and by the -printCommand option.\n\nOpen    Open  for display a new file specified by a dialog box.  The file should contain some\ngroff intermediate output.  If the filename starts with | it will be taken  to  be  a\ncommand to read from.\n\nQuit    Exit from gxditview.\n\nThe  n,  Space,  Return,  and  Next (PgDn) keys are bound to the Next Page action.  The p, b,\nBackSpace, Delete, and Prior (PgUp) keys are bound to the Previous Page action.  The g key is\nbound  to  the  SelectPage  action.  The o key is bound to the OpenFile action.  The q key is\nbound to the Quit action.  The r key is bound to the Rerasterize  action  which  rereads  the\ncurrent  file, and redisplays the current page; if the current file is a command, the command\nwill be reexecuted.  Vertical scrolling can be  done  with  the  k  and  j  keys;  horizontal\nscrolling  is bound to the h and l keys.  The arrow keys (up, down, left, and right) are also\nbound to the obvious scrolling actions.\n\nThe paperlength and paperwidth commands in the DESC file specify the length and width in  ma‐\nchine units of the virtual page displayed by gxditview.\n"
                }
            ]
        },
        "OPTIONS": {
            "content": "The  gxditview  program accepts all of the standard X Toolkit command-line options along with\nthe additional options listed below:\n",
            "subsections": [
                {
                    "name": "-help",
                    "content": ""
                },
                {
                    "name": "-page",
                    "content": ""
                },
                {
                    "name": "-backingStore",
                    "content": "Redisplay of the groff intermediate output window can take up to a second or so, this\noption  causes  the  server  to  save the window contents so that when it is scrolled\naround the viewport, the window is painted from  contents  saved  in  backing  store.\nbacking-store-type can be one of Always, WhenMapped or NotUseful.\n"
                },
                {
                    "name": "-printCommand",
                    "content": "The default command displayed in the dialog box for the Print menu entry will be com‐\nmand.\n"
                },
                {
                    "name": "-resolution",
                    "content": "The groff intermediate output file will be displayed at a resolution of res dpi,  un‐\nless the DESC file contains the X11 command, in which case the device resolution will\nbe used.  This corresponds to the Dvi widget's resolution resource.  The  default  is\n75.\n"
                },
                {
                    "name": "-filename",
                    "content": "The  default  filename  displayed  in  the dialog box for the Open menu entry will be\nstring.  This can be either a filename, or a command starting with |.\n\nThe following standard X Toolkit command-line arguments are commonly used with gxditview:\n"
                },
                {
                    "name": "-bg",
                    "content": "This option specifies the color to use for the background of the window.  The default\nis white.\n"
                },
                {
                    "name": "-bd",
                    "content": "This  option specifies the color to use for the border of the window.  The default is\nblack.\n"
                },
                {
                    "name": "-bw",
                    "content": "This option specifies the width in pixels of the border surrounding the window.\n"
                },
                {
                    "name": "-fg",
                    "content": "This option specifies the color to use for displaying text.  The default is black.\n"
                },
                {
                    "name": "-fn",
                    "content": "This option specifies the font to be used for displaying widget text.  The default is\nfixed.\n"
                },
                {
                    "name": "-rv",
                    "content": "ground and background colors.\n"
                },
                {
                    "name": "-geometry",
                    "content": "This option specifies the preferred size and position of the window.\n"
                },
                {
                    "name": "-display",
                    "content": "This option specifies the X server to contact.\n"
                },
                {
                    "name": "-xrm",
                    "content": "This option specifies a resource string to be used.\n"
                }
            ]
        },
        "X DEFAULTS": {
            "content": "This program uses the Dvi widget in the X Toolkit.  It understands all of the  core  resource\nnames and classes as well as:\n\nwidth (class Width)\nSpecifies the width of the window.\n\nheight (class Height)\nSpecifies the height of the window.\n\nforeground (class Foreground)\nSpecifies the default foreground color.\n\nfont (class Font)\nSpecifies the font to be used for error messages.\n\nfontMap (class FontMap)\nSpecifies  the  mapping from groff font names to X font names.  This must be a string\ncontaining a sequence of lines.  Each line contains two whitespace separated  fields:\nfirst the groff font name, and secondly the X font name.  The default is\n\"\\\nTR   -adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nTI   -adobe-times-medium-i-normal--*-100-*-*-*-*-iso8859-1\\n\\\nTB   -adobe-times-bold-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nTBI  -adobe-times-bold-i-normal--*-100-*-*-*-*-iso8859-1\\n\\\nCR   -adobe-courier-medium-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nCI   -adobe-courier-medium-o-normal--*-100-*-*-*-*-iso8859-1\\n\\\nCB   -adobe-courier-bold-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nCBI  -adobe-courier-bold-o-normal--*-100-*-*-*-*-iso8859-1\\n\\\nHR   -adobe-helvetica-medium-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nHI   -adobe-helvetica-medium-o-normal--*-100-*-*-*-*-iso8859-1\\n\\\nHB   -adobe-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nHBI  -adobe-helvetica-bold-o-normal--*-100-*-*-*-*-iso8859-1\\n\\\nNR   -adobe-new century schoolbook-medium-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nNI   -adobe-new century schoolbook-medium-i-normal--*-100-*-*-*-*-iso8859-1\\n\\\nNB   -adobe-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1\\n\\\nNBI  -adobe-new century schoolbook-bold-i-normal--*-100-*-*-*-*-iso8859-1\\n\\\nS    -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\\n\\\nSS   -adobe-symbol-medium-r-normal--*-100-*-*-*-*-adobe-fontspecific\\n\\\n\"\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "GROFFFONTPATH\nA  list of directories in which to search for the devname directory in addition to the\ndefault ones.  See troff(1) and grofffont(5) for more details.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/etc/X11/app-defaults/GXditview\n/etc/X11/app-defaults/GXditview-color\nThe default resource files of gxditview.  Users should override these  values  in  the\n.Xdefaults  file,  normally located in the user's home directory.  See xrdb(1) and ap‐‐\npres(1) for more.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "gxditview and its predecessor xditview were written by  Keith  Packard  (MIT  X  Consortium),\nRichard  L.  Hyde  (Purdue),  David Slattengren (Berkeley), Malcolm Slaney (Schlumberger Palo\nAlto Research), Mark Moraes (University of Toronto), and James Clark.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "X(7), xrdb(1), xditview(1), groff(1), groffout(5)\n",
            "subsections": []
        },
        "ORIGIN": {
            "content": "This program is derived from xditview; portions of xditview originated in  xtroff  which  was\nderived from suntroff.\n\n\n\ngroff 1.22.4                                23 March 2022                               GXDITVIEW(1)",
            "subsections": []
        }
    },
    "summary": "gxditview - display groff intermediate output files",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Redisplay of the 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. backing-store-type can be one of Always, WhenMapped or NotUseful."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The default command displayed in the dialog box for the Print menu entry will be com‐ mand."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The groff intermediate output file will be displayed at a resolution of res dpi, un‐ less the DESC file contains the X11 command, in which case the device resolution will be used. This corresponds to the Dvi widget's resolution resource. The default is 75."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The default filename displayed in the dialog box for the Open menu entry will be string. This can be either a filename, or a command starting with |. The following standard X Toolkit command-line arguments are commonly used with gxditview:"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the color to use for the background of the window. The default is white."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the color to use for the border of the window. The default is black."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the width in pixels of the border surrounding the window."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the color to use for displaying text. The default is black."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the font to be used for displaying widget text. The default is fixed."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "ground and background colors."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the preferred size and position of the window."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the X server to contact."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies a resource string to be used."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "X",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/X/7/json"
        },
        {
            "name": "xrdb",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/xrdb/1/json"
        },
        {
            "name": "xditview",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/xditview/1/json"
        },
        {
            "name": "groff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/groff/1/json"
        },
        {
            "name": "groffout",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/groffout/5/json"
        }
    ]
}