{
    "content": [
        {
            "type": "text",
            "text": "# GXDITVIEW (info)\n\n## NAME\n\ngxditview - display groff intermediate output files\n\n## SYNOPSIS\n\ngxditview [X-toolkit-option...] [-backingStore backing-store-type]\n[-filename string] [-page n] [-printCommand string]\n[-resolution res] [file]\ngxditview -help\ngxditview --help\n\n## DESCRIPTION\n\nThe  gxditview  program  displays  the  groff  intermediate output, see\ngroffout(5), on an X display.  It uses the standard X11 fonts,  so  it\ndoes  not require access to the server machine for font loading.  There\nare several ways to use gxditview.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **X DEFAULTS**\n- **ENVIRONMENT**\n- **FILES**\n- **AUTHORS**\n- **SEE ALSO**\n- **ORIGIN**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "GXDITVIEW",
        "section": "",
        "mode": "info",
        "summary": "gxditview - display groff intermediate output files",
        "synopsis": "gxditview [X-toolkit-option...] [-backingStore backing-store-type]\n[-filename string] [-page n] [-printCommand string]\n[-resolution res] [file]\ngxditview -help\ngxditview --help",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 71,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 69,
                "subsections": []
            },
            {
                "name": "X DEFAULTS",
                "lines": 41,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "ORIGIN",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "gxditview - display groff intermediate output files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "gxditview [X-toolkit-option...] [-backingStore backing-store-type]\n[-filename string] [-page n] [-printCommand string]\n[-resolution res] [file]\n\ngxditview -help\ngxditview --help\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  gxditview  program  displays  the  groff  intermediate output, see\ngroffout(5), on an X display.  It uses the standard X11 fonts,  so  it\ndoes  not require access to the server machine for font loading.  There\nare several ways to use gxditview.\n\nThe groff intermediate output can be generated by groff -Z.   This  can\nbe  viewed by explicitly calling gxditview filename.  If filename is -,\ngxditview will read the standard input;  filename  cannot  be  omitted.\nThe  groff intermediate output is different for all devices.  gxditview\ncan 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\n-T.   There  are  four  X* devices: -TX75, -TX75-12, -TX100, -TX100-12.\nThey differ by the X resolution (75dpi or 100dpi)  and  the  used  base\nfont  size  (10pt  or  12pt).  They are especially built for gxditview.\nWhen using one of them groff generates the intermediate output for this\ndevice  and calls gxditview automatically for viewing.  For example, to\nview this man page with a base resolution 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  de-\nvice  and  subsequently uses gxditview as a viewer for it.  The quality\nof the result depends mainly on the chosen point size and display reso-\nlution; 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\nwith the following entries:\n\nNext Page\nDisplay the next page.\n\nPrevious Page\nDisplay the previous page.\n\nSelect Page\nSelect a particular numbered page specified by a dialog box.\n\nPrint   Print the groff intermediate output using a  command  specified\nby  a  dialog  box.  The default command initially displayed is\ncontrolled by the printCommand application resource, and by the\n-printCommand option.\n\nOpen    Open  for  display  a  new file specified by a dialog box.  The\nfile should contain some groff  intermediate  output.   If  the\nfilename starts with | it will be taken to be a command to read\nfrom.\n\nQuit    Exit from gxditview.\n\nThe n, Space, Return, and Next (PgDn) keys are bound to  the  Next Page\naction.   The  p, b, BackSpace, Delete, and Prior (PgUp) keys are bound\nto the Previous Page action.  The g key is bound to the SelectPage  ac-\ntion.   The  o key is bound to the OpenFile action.  The q key is bound\nto the Quit action.  The r key is bound to the Rerasterize action which\nrereads  the current file, and redisplays the current page; if the cur-\nrent file is a command,  the  command  will  be  reexecuted.   Vertical\nscrolling  can  be  done with the k and j keys; horizontal scrolling is\nbound to the h and l keys.  The arrow keys (up, down, left, and  right)\nare also bound to the obvious scrolling actions.\n\nThe  paperlength  and  paperwidth commands in the DESC file specify the\nlength and width in machine units of  the  virtual  page  displayed  by\ngxditview.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "The  gxditview  program  accepts all of the standard X Toolkit command-\nline options along with the additional options listed below:\n\n-help   This option indicates that a brief summary of the  allowed  op-\ntions should be printed.\n\n-page   This  option  specifies  the  page number of the document to be\ndisplayed.\n\n-backingStore backing-store-type\nRedisplay of the groff intermediate output window can  take  up\nto  a  second  or so, this option causes the server to save the\nwindow contents so that when it is scrolled  around  the  view-\nport,  the  window  is  painted  from contents saved in backing\nstore.  backing-store-type can be one of Always, WhenMapped  or\nNotUseful.\n\n-printCommand command\nThe  default  command displayed in the dialog box for the Print\nmenu entry will be command.\n\n-resolution res\nThe groff intermediate output file will be displayed at a reso-\nlution  of  res dpi, unless the DESC file contains the X11 com-\nmand, in which case the device resolution will be  used.   This\ncorresponds  to  the Dvi widget's resolution resource.  The de-\nfault is 75.\n\n-filename string\nThe default filename displayed in the dialog box for  the  Open\nmenu entry will be string.  This can be either a filename, or a\ncommand starting with |.\n\nThe following standard X Toolkit command-line  arguments  are  commonly\nused with gxditview:\n\n-bg color\nThis  option  specifies  the color to use for the background of\nthe window.  The default is white.\n\n-bd color\nThis option specifies the color to use for the  border  of  the\nwindow.  The default is black.\n\n-bw number\nThis  option  specifies  the width in pixels of the border sur-\nrounding the window.\n\n-fg color\nThis option specifies the color to  use  for  displaying  text.\nThe default is black.\n\n-fn font\nThis option specifies the font to be used for displaying widget\ntext.  The default is fixed.\n\n-rv     This option indicates that reverse video should be simulated by\nswapping the foreground and background colors.\n\n-geometry geometry\nThis  option  specifies  the preferred size and position of the\nwindow.\n\n-display host:display\nThis option specifies the X server to contact.\n\n-xrm resourcestring\nThis option specifies a resource string to be used.\n",
                "subsections": []
            },
            "X DEFAULTS": {
                "content": "This program uses the Dvi widget in the X Toolkit.  It understands  all\nof the core resource names 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.\nThis must be a string containing a  sequence  of  lines.   Each\nline  contains two whitespace separated fields: first the groff\nfont 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  direc-\ntory  in  addition  to  the  default  ones.   See  troff(1)  and\ngrofffont(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\nthese  values  in  the  .Xdefaults file, normally located in the\nuser's home directory.  See xrdb(1) and appres(1) for more.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "gxditview and its predecessor xditview were written  by  Keith  Packard\n(MIT X Consortium), Richard L. Hyde (Purdue), David Slattengren (Berke-\nley), Malcolm Slaney (Schlumberger Palo  Alto  Research),  Mark  Moraes\n(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\nin xtroff which was derived from suntroff.\n\ngroff 1.22.4                     23 March 2022                    GXDITVIEW(1)",
                "subsections": []
            }
        }
    }
}