1APPRES(1)                   General Commands Manual                  APPRES(1)
2
3
4

NAME

6       appres - list X application resource database
7

SYNOPSIS

9       appres [class [instance]] [-1] [-V] [toolkitoptions]
10

DESCRIPTION

12       The appres program prints the resources seen by an application (or sub‐
13       hierarchy of an application) with  the  specified  class  and  instance
14       names.   It  can be used to determine which resources a particular pro‐
15       gram will load.  For example,
16
17            % appres  XTerm
18
19       will list the resources that any xterm program will load.  If no appli‐
20       cation class is specified, the class -AppResTest- is used.
21
22       To  match  a particular instance name, specify an instance name explic‐
23       itly after the class name, or use the normal Xt  toolkit  option.   For
24       example,
25
26            % appres  XTerm  myxterm
27       or
28            % appres  XTerm  -name  myxterm
29
30       To  list resources that match a subhierarchy of an application, specify
31       hierarchical class  and  instance  names.   The  number  of  class  and
32       instance  components must be equal, and the instance name should not be
33       specified with a toolkit option.  For example,
34
35            % appres  Xman.TopLevelShell.Form  xman.topBox.form
36
37       will list the resources of widgets of xman topBox hierarchy.   To  list
38       just  the resources matching a specific level in the hierarchy, use the
39       -1 option.  For example,
40
41            % appres  XTerm.VT100  xterm.vt100  -1
42
43       will list the resources matching the xterm vt100 widget.
44
45       The -V option prints the appres command version and exits.
46

SEE ALSO

48       X(7), xrdb(1), listres(1)
49

AUTHOR

51       Jim Fulton, MIT X Consortium
52
53
54
55X Version 11                     appres 1.0.5                        APPRES(1)
Impressum