194a251fdSmrg<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" 'http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd'>
294a251fdSmrg
394a251fdSmrg<!-- Process this file with DocBook tools to generate the output format
494a251fdSmrg(such as manual pages or HTML documents).
594a251fdSmrg
694a251fdSmrgNote that strings like __appmansuffix__, __filemansuffix__, __libmansuffix__,
794a251fdSmrg__miscmansuffix__ etc. have to be replaced first (in theory that's the
894a251fdSmrgjob of ENTITIES but some XML tools are highly allergic to such stuff... ;-().
994a251fdSmrgA quick way to do that is to filter this document via
1094a251fdSmrg/usr/bin/sed "s/__appmansuffix__/${MANSUFFIX}/g;s/__filemansuffix__/${FILEMANSUFFIX}/g;s/__libmansuffix__/${LIBMANSUFFIX}/g;s/__miscmansuffix__/${MISCMANSUFFIX}/g"
1194a251fdSmrgassuming that env vars like MANSUFFIX etc. have been set to the matching
1294a251fdSmrgmanual volume numbers.
1394a251fdSmrg  -->
1494a251fdSmrg
1594a251fdSmrg<refentry>
1694a251fdSmrg  <refmeta>
1794a251fdSmrg    <refentrytitle>xlsfonts</refentrytitle>
1894a251fdSmrg    <manvolnum>__appmansuffix__</manvolnum>
1994a251fdSmrg  </refmeta>
2094a251fdSmrg
2194a251fdSmrg  <refnamediv>
2294a251fdSmrg    <refname>xlsfonts</refname>
2394a251fdSmrg    <refpurpose>server font list displayer for X</refpurpose>
2494a251fdSmrg  </refnamediv>
2594a251fdSmrg
2694a251fdSmrg  <refsynopsisdiv>
2794a251fdSmrg    <cmdsynopsis>
2894a251fdSmrg      <command>xlsfonts</command>
2994a251fdSmrg
3094a251fdSmrg      <arg><option>-display <replaceable>host:dpy</replaceable></option></arg>
3194a251fdSmrg
3294a251fdSmrg      <arg><option>-l</option></arg>
3394a251fdSmrg
3494a251fdSmrg      <arg><option>-ll</option></arg>
3594a251fdSmrg
3694a251fdSmrg      <arg><option>-lll</option></arg>
3794a251fdSmrg
3894a251fdSmrg      <arg><option>-m</option></arg>
3994a251fdSmrg
4094a251fdSmrg      <arg><option>-C</option></arg>
4194a251fdSmrg
4294a251fdSmrg      <arg><option>-1</option></arg>
4394a251fdSmrg
4494a251fdSmrg      <arg><option>-w <replaceable>width</replaceable></option></arg>
4594a251fdSmrg
4694a251fdSmrg      <arg><option>-n <replaceable>columns</replaceable></option></arg>
4794a251fdSmrg
4894a251fdSmrg      <arg><option>-u</option></arg>
4994a251fdSmrg
5094a251fdSmrg      <arg><option>-o</option></arg>
5194a251fdSmrg
5294a251fdSmrg      <arg><option>-fn <replaceable>pattern</replaceable></option></arg>     
5394a251fdSmrg    </cmdsynopsis>
5494a251fdSmrg  </refsynopsisdiv>
5594a251fdSmrg
5694a251fdSmrg  <refsect1>
5794a251fdSmrg    <title>DESCRIPTION</title>
5894a251fdSmrg
5994a251fdSmrg    <para>
6094a251fdSmrg      <command>xlsfonts</command> lists the fonts that match the given pattern.
6194a251fdSmrg      The wildcard character "*" may be used to match any sequence of characters
6294a251fdSmrg      (including none), and "?" to match any single character.
6394a251fdSmrg      If no pattern is given, "*" is assumed.
6494a251fdSmrg    </para>
6594a251fdSmrg    <para>
6694a251fdSmrg      The "*" and "?" characters must be quoted to prevent them from being expanded by the shell.
6794a251fdSmrg    </para>
6894a251fdSmrg  </refsect1>
6994a251fdSmrg
7094a251fdSmrg  <refsect1>
7194a251fdSmrg    <title>OPTIONS</title>
7294a251fdSmrg
7394a251fdSmrg    <variablelist>
7494a251fdSmrg      <varlistentry>
7594a251fdSmrg        <term><option>-display <replaceable>host:dpy</replaceable></option>
7694a251fdSmrg        </term>
7794a251fdSmrg        <listitem>
7894a251fdSmrg          <para>
7994a251fdSmrg            This option specifies the X server to contact.
8094a251fdSmrg          </para>
8194a251fdSmrg        </listitem>
8294a251fdSmrg      </varlistentry>
8394a251fdSmrg
8494a251fdSmrg      <varlistentry>
8594a251fdSmrg        <term><option>-d <replaceable>host:dpy</replaceable></option>
8694a251fdSmrg        </term>
8794a251fdSmrg        <listitem>
8894a251fdSmrg          <para>
8994a251fdSmrg            Same as <option>-display <replaceable>host:dpy</replaceable></option>.
9094a251fdSmrg          </para>
9194a251fdSmrg        </listitem>
9294a251fdSmrg      </varlistentry>
9394a251fdSmrg
9494a251fdSmrg      <varlistentry>
9594a251fdSmrg        <term><option>-l</option>
9694a251fdSmrg        </term>
9794a251fdSmrg        <listitem>
9894a251fdSmrg          <para>
9994a251fdSmrg            Lists some attributes of the font on one line in addition
10094a251fdSmrg            to its name.
10194a251fdSmrg          </para>
10294a251fdSmrg        </listitem>
10394a251fdSmrg      </varlistentry>
10494a251fdSmrg
10594a251fdSmrg      <varlistentry>
10694a251fdSmrg        <term><option>-ll</option>
10794a251fdSmrg        </term>
10894a251fdSmrg        <listitem>
10994a251fdSmrg          <para>
11094a251fdSmrg            Lists font properties in addition to <option>-l</option> output.
11194a251fdSmrg          </para>
11294a251fdSmrg        </listitem>
11394a251fdSmrg      </varlistentry>
11494a251fdSmrg      
11594a251fdSmrg      <varlistentry>
11694a251fdSmrg        <term><option>-lll</option>
11794a251fdSmrg        </term>
11894a251fdSmrg        <listitem>
11994a251fdSmrg          <para>
12094a251fdSmrg            Lists character metrics in addition to <option>-ll</option> output.
12194a251fdSmrg          </para>
12294a251fdSmrg        </listitem>
12394a251fdSmrg      </varlistentry>
12494a251fdSmrg
12594a251fdSmrg      <varlistentry>
12694a251fdSmrg        <term><option>-m</option>
12794a251fdSmrg        </term>
12894a251fdSmrg        <listitem>
12994a251fdSmrg          <para>
13094a251fdSmrg            This option indicates that long listings should also print
13194a251fdSmrg            the minimum and maximum bounds of each font.
13294a251fdSmrg          </para>
13394a251fdSmrg        </listitem>
13494a251fdSmrg      </varlistentry>
13594a251fdSmrg
13694a251fdSmrg      <varlistentry>
13794a251fdSmrg        <term><option>-C</option>
13894a251fdSmrg        </term>
13994a251fdSmrg        <listitem>
14094a251fdSmrg          <para>
14194a251fdSmrg            This option indicates that listings should use multiple columns.
14294a251fdSmrg            This is the same as <option>-n 0</option>.
14394a251fdSmrg          </para>
14494a251fdSmrg        </listitem>
14594a251fdSmrg      </varlistentry>
14694a251fdSmrg
14794a251fdSmrg      <varlistentry>
14894a251fdSmrg        <term><option>-1</option>
14994a251fdSmrg        </term>
15094a251fdSmrg        <listitem>
15194a251fdSmrg          <para>
15294a251fdSmrg            This option indicates that listings should use a single column.
15394a251fdSmrg            This is the same as <option>-n 1</option>.
15494a251fdSmrg          </para>
15594a251fdSmrg        </listitem>
15694a251fdSmrg      </varlistentry>
15794a251fdSmrg
15894a251fdSmrg      <varlistentry>
15994a251fdSmrg        <term><option>-w <replaceable>width</replaceable></option>
16094a251fdSmrg        </term>
16194a251fdSmrg        <listitem>
16294a251fdSmrg          <para>
16394a251fdSmrg            This option specifies the width in characters that should be
16494a251fdSmrg            used in figuring out how many columns to print.
16594a251fdSmrg            The default is 79.
16694a251fdSmrg          </para>
16794a251fdSmrg        </listitem>
16894a251fdSmrg      </varlistentry>
16994a251fdSmrg
17094a251fdSmrg      <varlistentry>
17194a251fdSmrg        <term><option>-n <replaceable>columns</replaceable></option>
17294a251fdSmrg        </term>
17394a251fdSmrg        <listitem>
17494a251fdSmrg          <para>
17594a251fdSmrg            This option specifies the number of columns to use in
17694a251fdSmrg            displaying the output. By default, it will attempt to
17794a251fdSmrg            fit as many columns of font names into the number of
17894a251fdSmrg            character specified by <option>-w</option> width.
17994a251fdSmrg          </para>
18094a251fdSmrg        </listitem>
18194a251fdSmrg      </varlistentry>
18294a251fdSmrg
18394a251fdSmrg      <varlistentry>
18494a251fdSmrg        <term><option>-u</option>
18594a251fdSmrg        </term>
18694a251fdSmrg        <listitem>
18794a251fdSmrg          <para>
18894a251fdSmrg            This option indicates that the output should be left unsorted.
18994a251fdSmrg          </para>
19094a251fdSmrg        </listitem>
19194a251fdSmrg      </varlistentry>
19294a251fdSmrg
19394a251fdSmrg      <varlistentry>
19494a251fdSmrg        <term><option>-o</option>
19594a251fdSmrg        </term>
19694a251fdSmrg        <listitem>
19794a251fdSmrg          <para>
19894a251fdSmrg            This option indicates that xlsfonts should do an OpenFont
19994a251fdSmrg            (and QueryFont, if appropriate) rather than a ListFonts.
20094a251fdSmrg            This is useful if ListFonts or ListFontsWithInfo fail to
20194a251fdSmrg            list a known font (as is the case with some scaled font
20294a251fdSmrg            systems).
20394a251fdSmrg          </para>
20494a251fdSmrg        </listitem>
20594a251fdSmrg      </varlistentry>
20694a251fdSmrg
20794a251fdSmrg      <varlistentry>
20894a251fdSmrg        <term><option>-fn <replaceable>pattern</replaceable></option>
20994a251fdSmrg        </term>
21094a251fdSmrg        <listitem>
21194a251fdSmrg          <para>
21294a251fdSmrg            This option specifies the font name pattern to match.
21394a251fdSmrg          </para>
21494a251fdSmrg        </listitem>
21594a251fdSmrg      </varlistentry>
21694a251fdSmrg    </variablelist>
21794a251fdSmrg  </refsect1>
21894a251fdSmrg
21994a251fdSmrg  <refsect1>
22094a251fdSmrg    <title>SEE ALSO</title>
22194a251fdSmrg    <para>
22294a251fdSmrg      <simplelist type="inline">
22394a251fdSmrg        <member><citerefentry><refentrytitle>X</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry></member>
22494a251fdSmrg        <member><citerefentry><refentrytitle>Xserver</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
22594a251fdSmrg        <member><citerefentry><refentrytitle>xset</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
22694a251fdSmrg        <member><citerefentry><refentrytitle>xfd</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
22794a251fdSmrg        <member>X Logical Font Description Conventions</member>
22894a251fdSmrg      </simplelist>
22994a251fdSmrg    </para>
23094a251fdSmrg  </refsect1>
23194a251fdSmrg
23294a251fdSmrg  <refsect1>
23394a251fdSmrg    <title>ENVIRONMENT</title>
23494a251fdSmrg
23594a251fdSmrg    <variablelist>
23694a251fdSmrg      <varlistentry>
23794a251fdSmrg        <term><envar>DISPLAY</envar>
23894a251fdSmrg        </term>
23994a251fdSmrg        <listitem>
24094a251fdSmrg	    <para><envar>DISPLAY</envar> must be set to get the default host and display to use.
24194a251fdSmrg	  </para>
24294a251fdSmrg	</listitem>
24394a251fdSmrg      </varlistentry>
24494a251fdSmrg      
24594a251fdSmrg    </variablelist>
24694a251fdSmrg  </refsect1>
24794a251fdSmrg
24894a251fdSmrg  <refsect1>
24994a251fdSmrg    <title>BUGS</title>
25094a251fdSmrg
25194a251fdSmrg    <para>
25294a251fdSmrg      Doing ``xlsfonts -l'' can tie up your server for a very long time. 
25394a251fdSmrg      This is really a bug  with  single-threaded
25494a251fdSmrg      non-preemptable servers, not with this program.
25594a251fdSmrg    </para>
25694a251fdSmrg  </refsect1>
25794a251fdSmrg
25894a251fdSmrg  <refsect1>
25994a251fdSmrg    <title>AUTHOR</title>
26094a251fdSmrg
26194a251fdSmrg    <para>
26294a251fdSmrg      <simplelist>
26394a251fdSmrg        <member><othercredit><firstname>Mark</firstname> <surname>Lillibridge</surname> <affiliation><orgname>MIT Project Athena</orgname></affiliation></othercredit></member>
26494a251fdSmrg        <member><othercredit><firstname>Jim</firstname> <surname>Fulton</surname> <affiliation><orgname>MIT X Consortium</orgname></affiliation></othercredit></member>
26594a251fdSmrg        <member><othercredit><firstname>Phil</firstname> <surname>Karlton</surname> <affiliation><orgname>SGI</orgname></affiliation></othercredit></member>
26694a251fdSmrg        <member><othercredit><firstname>Roland</firstname> <surname>Mainz</surname> <affiliation><orgname>University Giessen</orgname></affiliation></othercredit></member>
26794a251fdSmrg      </simplelist>
26894a251fdSmrg    </para>
26994a251fdSmrg  </refsect1>
27094a251fdSmrg
27194a251fdSmrg</refentry>
27294a251fdSmrg
27394a251fdSmrg
274