man-pages/man1/appres.1.html
2021-03-31 01:06:50 +01:00

114 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of APPRES</TITLE>
</HEAD><BODY>
<H1>APPRES</H1>
Section: User Commands (1)<BR>Updated: appres 1.0.5<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
appres - list X application resource database
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>appres</B>
[class [instance]] [-1] [-V] [toolkitoptions]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
The <I>appres</I> program prints the resources seen by an application
(or subhierarchy of an application) with the specified <I>class</I> and
<I>instance</I> names. It can be used to determine which
resources a particular program will load. For example,
<P>
<PRE>
% appres XTerm
</PRE>
<P>
will list the resources that any <I>xterm</I> program will load.
If no application class is specified, the class <I>-AppResTest-</I> is used.
<P>
To match a particular instance name, specify an instance name
explicitly after the class name, or use the normal Xt toolkit option.
For example,
<P>
<PRE>
% appres XTerm myxterm
</PRE>
or
<PRE>
% appres XTerm -name myxterm
</PRE>
<P>
To list resources that match a subhierarchy of an application, specify
hierarchical class and instance names. The number of class and instance
components must be equal, and the instance name should not be
specified with a toolkit option. For example,
<P>
<PRE>
% appres Xman.TopLevelShell.Form xman.topBox.form
</PRE>
<P>
will list the resources of widgets of <I>xman</I> topBox hierarchy.
To list just the resources matching a specific level in the hierarchy,
use the -1 option. For example,
<P>
<PRE>
% appres XTerm.VT100 xterm.vt100 -1
</PRE>
<P>
will list the resources matching the <I>xterm</I> vt100 widget.
<P>
The -V option prints the appres command version and exits.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<A HREF="/cgi-bin/man/man2html?7+X">X</A>(7), <A HREF="/cgi-bin/man/man2html?1+xrdb">xrdb</A>(1), <A HREF="/cgi-bin/man/man2html?1+listres">listres</A>(1)
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
Jim Fulton, MIT X Consortium
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">AUTHOR</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:06 GMT, March 31, 2021
</BODY>
</HTML>