<?xml version="1.0"?>
<!DOCTYPE refentry SYSTEM "src/refentry.dtd">
<refentry id="refentry">
<refmeta>
<refentrytitle>test</refentrytitle>
<manvolnum>test</manvolnum>
<refmiscinfo class="arch">arch refmiscinfo</refmiscinfo>
<refmiscinfo class="copyright">copyright refmiscinfo</refmiscinfo>
<refmiscinfo class="date">date refmiscinfo</refmiscinfo>
<refmiscinfo class="sectdesc">sectdesc refmiscinfo</refmiscinfo>
<refmiscinfo class="software">software refmiscinfo</refmiscinfo>
</refmeta>
<refnamediv>
<refname>refname1</refname>
<refname>refname2</refname>
<refname>refname3</refname>
<refpurpose>test refpurpose</refpurpose>
</refnamediv>
<refsynopsisdiv id="refsynopsisdiv">
<title>SYNOPSIS</title>
<funcsynopsis>
<funcprototype>
<funcdef>type <function>function1</function></funcdef>
<paramdef>type <parameter>param1</parameter></paramdef>
<paramdef>type <parameter>param2</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>type <function>function2</function></funcdef>
<void/>
</funcprototype>
<funcprototype>
<funcdef>type <function>function3</function></funcdef>
<varargs/>
</funcprototype>
</funcsynopsis>
<classsynopsis>
<ooclass>
<modifier>modifier1</modifier>
<modifier>modifier2</modifier>
<classname>ClassName</classname>
</ooclass>
<oointerface>
<modifier>implements</modifier>
<interfacename>InterfaceName</interfacename>
</oointerface>
<ooexception>
<modifier>throws</modifier>
<exceptionname>ExceptionName</exceptionname>
</ooexception>
<classsynopsisinfo>Classsynopsisinfo here.</classsynopsisinfo>
<constructorsynopsis>
<modifier>modifier1</modifier>
<modifier>modifier2</modifier>
<methodparam>
<modifier>modifier</modifier>
<type>type</type>
<parameter>param</parameter>
<initializer>initializer</initializer>
</methodparam>
<methodparam>
<funcparams>funcparams</funcparams>
</methodparam>
<exceptionname>ExceptionName</exceptionname>
</constructorsynopsis>
<destructorsynopsis>
<void/>
<exceptionname>Exception1</exceptionname>
<exceptionname>Exception2</exceptionname>
</destructorsynopsis>
<fieldsynopsis>
<modifier>modifier</modifier>
<type>type</type>
<varname>VarName</varname>
<initializer>initializer</initializer>
</fieldsynopsis>
<methodsynopsis>
<modifier>modifier1</modifier>
<modifier>modifier2</modifier>
<type>type</type>
<methodname>methodName</methodname>
<methodparam>
<modifier>modifier</modifier>
<type>type</type>
<parameter>parameter</parameter>
<initializer>initializer</initializer>
</methodparam>
</methodsynopsis>
</classsynopsis>
<cmdsynopsis>
<command>command</command>
<group choice="opt">
<arg>-optional <replaceable>arg1-replaceable</replaceable></arg>
<sbr/>
<arg choice="opt" rep="repeat">-optional repeating-literal-arg2</arg>
<sbr/>
<arg choice="required">-required literal-arg3</arg>
</group>
<arg rep="norepeat"><replaceable>replaceable</replaceable></arg>
<sbr/>
<arg>final-arg</arg>
<sbr/>
</cmdsynopsis>
<synopsis>A plain synopsis.</synopsis>
</refsynopsisdiv>
<refsect1 id="para">
<title>Paras and Lists</title>
<para>This para includes <citerefentry>
<refentrytitle>man</refentrytitle> <manvolnum>1</manvolnum>
</citerefentry>, <citetitle>citetitle</citetitle>,
<classname>classname</classname>, <command>command</command>,
<emphasis>emphasis</emphasis>, <errorcode>errorcode</errorcode>,
<errorname>errorname</errorname>,
<errortype>errortype</errortype>, <function>function</function>,
<literal>literal</literal>, <quote>quote</quote>,
<replaceable>replaceable</replaceable>,
<trademark>trademark</trademark>, <trademark
class="copyright">copyright</trademark>, <trademark
class="registered">registered trademark</trademark>, <trademark
class="service">service mark</trademark>, a ulink: <ulink
url="http://mcraig.org/">http://mcraig.org/</ulink>, and an xref
to <xref linkend="refsynopsisdiv"/>.</para>
<para>This para is just text. This sentence is false. This
sentence is false. This sentence is false. This sentence is
false. This sentence is false. This sentence is false. This
sentence is false. This sentence is false. This sentence is
false. This sentence is false. This sentence is false. This
sentence is false. This sentence is false.</para>
<itemizedlist>
<listitem>
<para>item 1</para>
</listitem>
<listitem>
<para>item 2</para>
</listitem>
<listitem>
<para>item 3</para>
</listitem>
<listitem>
<para>item 4</para>
<itemizedlist>
<listitem>
<para>item 1</para>
</listitem>
<listitem>
<para>item 2</para>
<itemizedlist>
<listitem>
<para>item 0</para>
</listitem>
<listitem>
<para>item 1</para>
</listitem>
<listitem>
<para>item 2</para>
</listitem>
<listitem>
<para>item 3</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>item 3</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>item 5</para>
</listitem>
</itemizedlist>
<orderedlist>
<listitem>
<para>item 1</para>
</listitem>
<listitem>
<para>item 2</para>
</listitem>
<listitem>
<para>item 3</para>
</listitem>
<listitem>
<para>item 4</para>
<orderedlist>
<listitem>
<para>item 1</para>
</listitem>
<listitem>
<para>item 2</para>
<orderedlist>
<listitem>
<para>item 0</para>
</listitem>
<listitem>
<para>item 1</para>
</listitem>
<listitem>
<para>item 2</para>
</listitem>
<listitem>
<para>item 3</para>
</listitem>
</orderedlist>
</listitem>
<listitem>
<para>item 3</para>
</listitem>
</orderedlist>
</listitem>
<listitem>
<para>item 5</para>
</listitem>
</orderedlist>
<variablelist>
<varlistentry>
<term>term1</term>
<listitem>
<para>Variable list entry 1</para>
</listitem>
</varlistentry>
<varlistentry>
<term>term 2</term>
<listitem>
<para>Variable list entry 2</para>
<itemizedlist>
<listitem>
<para>item 1</para>
<orderedlist>
<listitem>
<para>item 1 a</para>
</listitem>
<listitem>
<para><replaceable>replaceable</replaceable> item 2 a</para>
</listitem>
</orderedlist>
</listitem>
<listitem>
<para>item 2, which includes more than item 1. This para
actually includes a couple of sentences.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
<varlistentry>
<term>term 3</term>
<listitem>
<para>listitem para</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="example">
<title>Example</title>
<para>This section contains an example.</para>
<example id="anExample">
<title>An Example</title>
<screen>[mcraig@localhost mcraig]$ <userinput>su</userinput>
Password: <replaceable>password</replaceable>
[root@localhost mcraig]# <userinput>cat /etc/hosts</userinput>
<computeroutput># Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.99 lethe</computeroutput>
[root@localhost mcraig]# </screen>
<para>Here's another screen.</para>
<screen>[mcraig@localhost mcraig]$ <userinput>ls</userinput>
<computeroutput>archive install.inf MarkCraig_CS430_3.doc refentry.dtd void.html
arg.html junit MarkCraig_CS445_book.pdf testabort webman.html
cvs junk matchingrule.c testpasswd
debugger.jar m plug.tar.gz test.xml
examples Mail public_html</computeroutput>
[mcraig@localhost mcraig]$</screen>
<para>Here's a programlisting.</para>
<programlisting>/*
* redirect is the pseudo-tty that console output
* is redirected to if asked by TIOCCONS.
*/
struct tty_struct * redirect;
static void initialize_tty_struct(struct tty_struct *tty);
static ssize_t tty_read(struct file *, char *, size_t, loff_t *);
static ssize_t tty_write(struct file *, const char *, size_t, loff_t *);
static unsigned int tty_poll(struct file *, poll_table *);
static int tty_open(struct inode *, struct file *);
static int tty_release(struct inode *, struct file *);
int tty_ioctl(struct inode * inode, struct file * file,
unsigned int cmd, unsigned long arg);
static int tty_fasync(int fd, struct file * filp, int on);
extern int vme_scc_init (void);
extern long vme_scc_console_init(void);
extern int serial167_init(void);
extern long serial167_console_init(void);
extern void console_8xx_init(void);
extern int rs_8xx_init(void);
extern void mac_scc_console_init(void);
</programlisting>
</example>
</refsect1>
<refsect1 id="msgset">
<title>MsgSet</title>
<para>This section contains a message set.</para>
<msgset>
<msgentry>
<msg>
<msgmain>
<msgtext>
<para>msgtext para</para>
<blockquote>
<attribution>Lao Tsu</attribution>
<para>He who knows others is wise.</para>
<para>He who knows himself is enlightened.</para>
</blockquote>
<para>Do you know who you are?</para>
</msgtext>
</msgmain>
<msgsub>
<msgtext>
<para>msgsub msgtext para</para>
<para>another para</para>
</msgtext>
</msgsub>
<msgrel>
<msgtext>
<para>msgrel msgtext para</para>
<para>another para</para>
</msgtext>
</msgrel>
</msg>
<msginfo>
<msgorig>msgorig from somewhere in the machine</msgorig>
</msginfo>
<msgexplan>
<para>This is supposed to explain.</para>
<blockquote>
<attribution>Lyman Bryson</attribution>
<para>The error of youth is to believe that intelligence
is a substitute for experience, while the error of age is
to believe experience is a substitute for
intelligence.</para>
</blockquote>
<orderedlist>
<listitem>
<para>one</para>
</listitem>
<listitem>
<para>two</para>
</listitem>
<listitem>
<para>three</para>
</listitem>
</orderedlist>
<para>And there you have it.</para>
</msgexplan>
</msgentry>
<msgentry>
<msg>
<msgmain>
<msgtext>
<para>another</para>
<variablelist>
<varlistentry>
<term>error <replaceable>variable list</replaceable></term>
<listitem>
<para>Somewhere here in the machine</para>
</listitem>
</varlistentry>
</variablelist>
</msgtext>
</msgmain>
<msgsub>
<msgtext>
<para>msgsub</para>
<screen>$ <userinput>cat /dev/null</userinput></screen>
</msgtext>
</msgsub>
<msgrel>
<msgtext>
<para>msgrel</para>
<programlisting>#!/bin/sh -x
/bin/ls -l</programlisting>
</msgtext>
</msgrel>
</msg>
<msginfo>
<msglevel>very, very, very serious</msglevel>
</msginfo>
<msgexplan>
<para><quote>Meets Tough Quality Standards</quote>: It
compiles without errors.</para>
</msgexplan>
</msgentry>
</msgset>
<refsect2 id="refsect2a">
<title>A refsect2</title>
<para>Here's a refsect2.</para>
</refsect2>
<refsect2 id="refsect2b">
<title>A refsect2</title>
<para>Here's another refsect2.</para>
</refsect2>
<refsect2 id="refsect2c">
<title>A refsect2</title>
<para>Here's yet another refsect2.</para>
</refsect2>
<refsect2 id="refsect2d">
<title>A refsect2</title>
<para>Here's a last refsect2.</para>
</refsect2>
</refsect1>
<refsect1 id="table">
<title>Tables</title>
<para>This section includes tables.</para>
<table frame="topbot">
<title>A topbot Table</title>
<tgroup>
<thead valign="bottom">
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
<entry>
<para>head3</para>
</entry>
</row>
</thead>
<tbody valign="top">
<row valign="top">
<entry align="left" valign="bottom">
<para>A para.</para>
</entry>
<entry align="center" valign="middle">
<para>A para.</para>
</entry>
<entry align="right" valign="top">
<para>A para.</para>
</entry>
</row>
<row valign="middle">
<entry morerows="1">
<para>morerows is 1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
<entry>
<para>cell3</para>
</entry>
</row>
<row valign="top">
<entry>
<para>cell2</para>
</entry>
<entry>
<para>cell3</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table frame="all">
<title>An all table</title>
<tgroup>
<thead>
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>cell1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
</row>
<row>
<entry>
<para>cell3</para>
</entry>
<entry>
<para>cell4</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table frame="bottom">
<title>A bottom table</title>
<tgroup>
<thead>
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>cell1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
</row>
<row>
<entry>
<para>cell3</para>
</entry>
<entry>
<para>cell4</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table frame="none">
<title>A none table</title>
<tgroup>
<thead>
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>cell1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
</row>
<row>
<entry>
<para>cell3</para>
</entry>
<entry>
<para>cell4</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table frame="sides">
<title>A sides table</title>
<tgroup>
<thead>
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>cell1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
</row>
<row>
<entry>
<para>cell3</para>
</entry>
<entry>
<para>cell4</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table frame="top">
<title>A top table</title>
<tgroup>
<thead>
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>cell1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
</row>
<row>
<entry>
<para>cell3</para>
</entry>
<entry>
<para>cell4</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table colsep="1" rowsep="1">
<title>A colsep=1, rowsep=1 table</title>
<tgroup>
<thead>
<row>
<entry>
<para>head1</para>
</entry>
<entry>
<para>head2</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>cell1</para>
</entry>
<entry>
<para>cell2</para>
</entry>
</row>
<row>
<entry>
<para>cell3</para>
</entry>
<entry>
<para>cell4</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</refsect1>
</refentry> |