278 lines
7.6 KiB
HTML
278 lines
7.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of XDITVIEW</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>XDITVIEW</H1>
|
|
Section: User Commands (1)<BR>Updated: xditview 1.0.5<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
xditview - display ditroff output
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>xditview</B>
|
|
|
|
[ -<I>toolkitoption</I> ... ] [ -<I>option</I> ... ] [ <I>filename</I> ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<I>xditview</I>
|
|
|
|
program displays
|
|
<I>ditroff</I>
|
|
|
|
output on an X display. It uses no special
|
|
metrics and automatically converts 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
|
|
``<B>-</B>'' is given as the
|
|
<I>filename,</I>
|
|
|
|
<I>xditview</I>
|
|
|
|
reads from standard input.
|
|
If ``<B>|</B>'' is the first character of
|
|
<I>filename,</I>
|
|
|
|
<I>xditview</I>
|
|
|
|
forks
|
|
<I>sh</I>
|
|
|
|
to run the rest of the ``file name'' and uses the
|
|
standard output of that command.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<I>Xditview</I>
|
|
|
|
accepts all of the standard X Toolkit command line options along with the
|
|
additional options listed below:
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-page </B><I>page-number</I>
|
|
|
|
<DD>
|
|
This option specifies the page number of the document to be displayed at
|
|
start up time.
|
|
<DT id="2"><B>-resolution </B><I>screen-resolution</I>
|
|
|
|
<DD>
|
|
This specifies the desired screen resolution to use; fonts will be opened by
|
|
requesting this resolution field in the XLFD names.
|
|
<DT id="3"><B>-noPolyText</B>
|
|
|
|
<DD>
|
|
Some X servers incorrectly implement PolyText with multiple strings
|
|
per request. This option suppresses the use of this feature in
|
|
<I>xditview.</I>
|
|
|
|
<DT id="4"><B>-backingStore </B><I>backing-store-type</I>
|
|
|
|
<DD>
|
|
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.
|
|
<I>backing-store-type</I> can be one of <B>Always</B>, WhenMapped or
|
|
NotUseful.
|
|
</DL>
|
|
<P>
|
|
|
|
The following standard X Toolkit command line arguments are commonly used with
|
|
<I>xditview:</I>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5"><B>-bg </B><I>color</I>
|
|
|
|
<DD>
|
|
This option specifies the color to use for the background of the window.
|
|
The default is <I>white</I>.
|
|
<DT id="6"><B>-bd </B><I>color</I>
|
|
|
|
<DD>
|
|
This option specifies the color to use for the border of the window.
|
|
The default is <I>black</I>.
|
|
<DT id="7"><B>-bw </B><I>number</I>
|
|
|
|
<DD>
|
|
This option specifies the width in pixels of the border surrounding the window.
|
|
<DT id="8"><B>-fg </B><I>color</I>
|
|
|
|
<DD>
|
|
This option specifies the color to use for displaying text. The default is
|
|
<I>black</I>.
|
|
<DT id="9"><B>-fn </B><I>font</I>
|
|
|
|
<DD>
|
|
This option specifies the font to be used for displaying widget text. The
|
|
default is <I>fixed</I>.
|
|
<DT id="10"><B>-rv</B>
|
|
|
|
<DD>
|
|
This option indicates that reverse video should be simulated by swapping
|
|
the foreground and background colors.
|
|
<DT id="11"><B>-geometry </B><I>geometry</I>
|
|
|
|
<DD>
|
|
This option specifies the preferred size and position of the window.
|
|
<DT id="12"><B>-display </B><I>host</I>:<I>display</I>
|
|
|
|
<DD>
|
|
This option specifies the X server to contact.
|
|
<DT id="13"><B>-xrm </B><I>resourcestring</I>
|
|
|
|
<DD>
|
|
This option specifies a resource string to be used.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>X DEFAULTS</H2>
|
|
|
|
This program uses a
|
|
<I>Dvi</I>
|
|
|
|
widget. It understands all of the core resource names and
|
|
classes as well as:
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="14"><B>width (</B>class<B> Width)</B>
|
|
|
|
<DD>
|
|
Specifies the width of the window.
|
|
<DT id="15"><B>height (</B>class<B> Height)</B>
|
|
|
|
<DD>
|
|
Specifies the height of the window.
|
|
<DT id="16"><B>foreground (</B>class<B> Foreground)</B>
|
|
|
|
<DD>
|
|
Specifies the default foreground color.
|
|
<DT id="17"><B>font (</B>class<B> Font)</B>
|
|
|
|
<DD>
|
|
Specifies the font to be used for error messages.
|
|
<DT id="18"><B>FontMap (class FontMap)</B>
|
|
|
|
<DD>
|
|
To associate the
|
|
<I>ditroff</I>
|
|
|
|
fonts with appropriate X fonts, this string
|
|
resource contains a set of new-line separated specifications, each of which
|
|
consists 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:
|
|
<PRE>
|
|
|
|
R -*-times-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
|
|
I -*-times-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
|
|
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
|
|
|
|
</PRE>
|
|
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>USING XDITVIEW WITH DITROFF</H2>
|
|
|
|
<P>
|
|
|
|
You can use any ditroff output file with
|
|
<I>xditview,</I>
|
|
|
|
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
|
|
<I>xditview</I>
|
|
|
|
will use the closest font from the same family.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<I><A HREF="/cgi-bin/man/man2html?7+X">X</A></I>(7),
|
|
|
|
<I><A HREF="/cgi-bin/man/man2html?1+xrdb">xrdb</A></I>(1),
|
|
|
|
<I><A HREF="/cgi-bin/man/man2html?1+ditroff">ditroff</A></I>(1),
|
|
|
|
<I>X Logical Font Description Conventions</I>
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>ORIGIN</H2>
|
|
|
|
Portions of this program originated in
|
|
<I>xtroff which was derived</I>
|
|
|
|
from
|
|
<I>suntroff.</I>
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright 1994 X Consortium
|
|
<BR>
|
|
|
|
See <I><A HREF="/cgi-bin/man/man2html?7+X">X</A></I>(7) for a full statement of rights and permissions.
|
|
<A NAME="lbAK"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Keith Packard (MIT X Consortium)
|
|
<BR>
|
|
|
|
Richard L. Hyde (Purdue)
|
|
<BR>
|
|
|
|
David Slattengren (Berkeley)
|
|
<BR>
|
|
|
|
Malcom Slaney (Schlumberger Palo Alto Research)
|
|
<BR>
|
|
|
|
Mark Moraes (University of Toronto)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="19"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="20"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="21"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="22"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="23"><A HREF="#lbAF">X DEFAULTS</A><DD>
|
|
<DT id="24"><A HREF="#lbAG">USING XDITVIEW WITH DITROFF</A><DD>
|
|
<DT id="25"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="26"><A HREF="#lbAI">ORIGIN</A><DD>
|
|
<DT id="27"><A HREF="#lbAJ">COPYRIGHT</A><DD>
|
|
<DT id="28"><A HREF="#lbAK">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:30 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|