XDITVIEW(1) AIX XDITVIEW(1) NAME xditview - display ditroff output SYNOPSIS xxxxddddiiiittttvvvviiiieeeewwww [ -_t_o_o_l_k_i_t_o_p_t_i_o_n ... ] [ -_o_p_t_i_o_n ... ] [ _f_i_l_e_n_a_m_e ] DESCRIPTION The _x_d_i_t_v_i_e_w program displays _d_i_t_r_o_f_f output on an X display. It uses no special metrics and automatically con- verts the printer coordinates into screen coordinates; using the user-specified screen resolution, rather than the actual resolution so that the appropriate fonts can be found. If ``----'' is given as the _f_i_l_e_n_a_m_e, _x_d_i_t_v_i_e_w reads from standard input. If ``||||'' is the first character of _f_i_l_e_n_a_m_e, _x_d_i_t_v_i_e_w forks _s_h to run the rest of the ``file name'' and uses the standard output of that command. OPTIONS _X_d_i_t_v_i_e_w accepts all of the standard X Toolkit command line options along with the additional options listed below: ----ppppaaaaggggeeee _p_a_g_e-_n_u_m_b_e_r This option specifies the page number of the doc- ument to be displayed at start up time. ----rrrreeeessssoooolllluuuuttttiiiioooonnnn _s_c_r_e_e_n-_r_e_s_o_l_u_t_i_o_n This specifies the desired screen resolution to use; fonts will be opened by requesting this resolution field in the XLFD names. ----nnnnooooPPPPoooollllyyyyTTTTeeeexxxxtttt Some X servers incorrectly implement PolyText with multiple strings per request. This option suppesses the use of this feature in _x_d_i_t_v_i_e_w. ----bbbbaaaacccckkkkiiiinnnnggggSSSSttttoooorrrreeee _b_a_c_k_i_n_g-_s_t_o_r_e-_t_y_p_e Redisplay 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. _b_a_c_k_i_n_g-_s_t_o_r_e-_t_y_p_e can be one of AAAAllllwwwwaaaayyyyssss, WWWWhhhheeeennnnMMMMaaaappppppppeeeedddd or NNNNoooottttUUUUsssseeeeffffuuuullll. The following standard X Toolkit command line arguments are commonly used with _x_d_i_t_v_i_e_w: ----bbbbgggg _c_o_l_o_r This option specifies the color to use for the back- ground of the window. The default is _w_h_i_t_e. ----bbbbdddd _c_o_l_o_r This option specifies the color to use for the border of the window. The default is _b_l_a_c_k. Rev. Release 5 Page 1 XDITVIEW(1) AIX XDITVIEW(1) ----bbbbwwww _n_u_m_b_e_r This option specifies the width in pixels of the border surrounding the window. ----ffffgggg _c_o_l_o_r This option specifies the color to use for display- ing text. The default is _b_l_a_c_k. ----ffffnnnn _f_o_n_t This option specifies the font to be used for displaying widget text. The default is _f_i_x_e_d. ----rrrrvvvv This option indicates that reverse video should be simulated by swapping the foreground and background colors. ----ggggeeeeoooommmmeeeettttrrrryyyy _g_e_o_m_e_t_r_y This option specifies the preferred size and posi- tion of the window. ----ddddiiiissssppppllllaaaayyyy _h_o_s_t::::_d_i_s_p_l_a_y This option specifies the X server to contact. ----xxxxrrrrmmmm _r_e_s_o_u_r_c_e_s_t_r_i_n_g This option specifies a resource string to be used. X DEFAULTS This program uses a _D_v_i widget. It understands all of the core resource names and classes as well as: wwwwiiiiddddtttthhhh ((((class WWWWiiiiddddtttthhhh)))) Specifies the width of the window. hhhheeeeiiiigggghhhhtttt ((((class HHHHeeeeiiiigggghhhhtttt)))) Specifies the height of the window. ffffoooorrrreeeeggggrrrroooouuuunnnndddd ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd)))) Specifies the default foreground color. ffffoooonnnntttt ((((class FFFFoooonnnntttt)))) Specifies the font to be used for error messages. FFFFoooonnnnttttMMMMaaaapppp ((((ccccllllaaaassssssss FFFFoooonnnnttttMMMMaaaapppp)))) To associate the _d_i_t_r_o_f_f fonts with appropriate X fonts, this string resource contains a set of new- line separated specifications, each of which con- sists of a ditroff name, some white space and an XLFD pattern with * characters in appropriate places to allow all sizes to be listed. The default fontMap is: R -*-times-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\ I -*-times-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\ Rev. Release 5 Page 2 XDITVIEW(1) AIX XDITVIEW(1) B -*-times-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\ F -*-times-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\ BI -*-times-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\ C -*-courier-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\ CO -*-courier-medium-o-normal--*-*-*-*-*-*-iso8859-1\n\ CB -*-courier-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\ CF -*-courier-bold-o-normal--*-*-*-*-*-*-iso8859-1\n\ H -*-helvetica-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\ HO -*-helvetica-medium-o-normal--*-*-*-*-*-*-iso8859-1\n\ HB -*-helvetica-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\ HF -*-helvetica-bold-o-normal--*-*-*-*-*-*-iso8859-1\n\ N -*-new century schoolbook-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\ NI -*-new century schoolbook-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\ NB -*-new century schoolbook-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\ NF -*-new century schoolbook-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\ A -*-charter-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\ AI -*-charter-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\ AB -*-charter-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\ AF -*-charter-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\ S -*-symbol-medium-r-normal--*-*-*-*-*-*-adobe-fontspecific\n\ S2 -*-symbol-medium-r-normal--*-*-*-*-*-*-adobe-fontspecific\n USING XDITVIEW WITH DITROFF You can use any ditroff output file with _x_d_i_t_v_i_e_w, although files which use the fonts appropriate to the fontMap will look more accurate on the screen. On servers which support scaled fonts, all requested font sizes will be accurately reflected on the screen; for servers which do not support scaled _x_d_i_t_v_i_e_w will use the closest font from the same fam- ily. SEE ALSO _X(1), _x_r_d_b(1), _d_i_t_r_o_f_f(1), _X _L_o_g_i_c_a_l _F_o_n_t _D_e_s_c_r_i_p_t_i_o_n _C_o_n_- _v_e_n_t_i_o_n_s ORIGIN Portions of this program originated in _x_t_r_o_f_f _w_h_i_c_h _w_a_s _d_e_r_i_v_e_d from _s_u_n_t_r_o_f_f. COPYRIGHT Copyright 1989, Massachusetts Institute of Technology. See _X(1) for a full statement of rights and permissions. AUTHORS Keith Packard (MIT X Consortium) Richard L. Hyde (Purdue) David Slattengren (Berkeley) Malcom Slaney (Schlumberger Palo Alto Research) Mark Moraes (University of Toronto) Rev. Release 5 Page 3