Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
2
cde/doc/C/guides/docbookGuide/examples/anchor.sgm
Normal file
2
cde/doc/C/guides/docbookGuide/examples/anchor.sgm
Normal file
@@ -0,0 +1,2 @@
|
||||
<PARA>There is an Anchor <ANCHOR ID="ch05-061-AN-7"> in this sentence.
|
||||
</PARA>
|
||||
8
cde/doc/C/guides/docbookGuide/examples/chaphead.sgm
Normal file
8
cde/doc/C/guides/docbookGuide/examples/chaphead.sgm
Normal file
@@ -0,0 +1,8 @@
|
||||
<CHAPTER ID=CH-061-ch05-1>
|
||||
<TITLE>An Introduction to the X Window System
|
||||
</TITLE>
|
||||
<TITLEABBREV>Intro to X
|
||||
</TITLEABBREV>
|
||||
<PARA>And so on.
|
||||
</PARA>
|
||||
</CHAPTER>
|
||||
10
cde/doc/C/guides/docbookGuide/examples/docarch.sgm
Normal file
10
cde/doc/C/guides/docbookGuide/examples/docarch.sgm
Normal file
@@ -0,0 +1,10 @@
|
||||
<!SGML "ISO 8879:1986"
|
||||
.
|
||||
.
|
||||
.
|
||||
APPINFO
|
||||
NONE
|
||||
>
|
||||
<!DOCTYPE book [
|
||||
(DTD as distributed goes here)
|
||||
]>
|
||||
6
cde/doc/C/guides/docbookGuide/examples/fig.sgm
Normal file
6
cde/doc/C/guides/docbookGuide/examples/fig.sgm
Normal file
@@ -0,0 +1,6 @@
|
||||
<FIGURE ID="FG-061-ch05-2" FLOAT="1">
|
||||
<TITLE>The xdmlogwin Display
|
||||
</TITLE>
|
||||
<GRAPHIC FILEREF="gr061ch05t2.gif"></>
|
||||
<GRAPHIC ENTITYREF="&gr061ch05t3.gif;"></>
|
||||
</FIGURE>
|
||||
25
cde/doc/C/guides/docbookGuide/examples/indterm.sgm
Normal file
25
cde/doc/C/guides/docbookGuide/examples/indterm.sgm
Normal file
@@ -0,0 +1,25 @@
|
||||
<PARA>This paragraph deals with two subjects that should
|
||||
be listed in
|
||||
the index: how to rotate your terminal and how to adjust
|
||||
its height.
|
||||
<INDEXTERM>
|
||||
<PRIMARY>rotating your terminal
|
||||
</PRIMARY>
|
||||
</INDEXTERM>
|
||||
<INDEXTERM>
|
||||
<PRIMARY>terminal
|
||||
</PRIMARY>
|
||||
<SECONDARY>rotation of
|
||||
</SECONDARY>
|
||||
</PRIMARY>
|
||||
</INDEXTERM>
|
||||
<INDEXTERM>
|
||||
<PRIMARY>terminal
|
||||
</PRIMARY>
|
||||
<SECONDARY>adjustment of
|
||||
</SECONDARY>
|
||||
<SEEALSO>troubleshooting
|
||||
</SEEALSO>
|
||||
</PRIMARY>
|
||||
</INDEXTERM>
|
||||
</PARA>
|
||||
16
cde/doc/C/guides/docbookGuide/examples/itlist.sgm
Normal file
16
cde/doc/C/guides/docbookGuide/examples/itlist.sgm
Normal file
@@ -0,0 +1,16 @@
|
||||
<ITEMIZEDLIST>
|
||||
<LISTITEM>
|
||||
<PARA>This function should connect the client to an X server with
|
||||
<FUNCTION>XOpenDisplay</FUNCTION>,
|
||||
and exit gracefully if the connection could not be made.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
<LISTITEM>
|
||||
<PARA>This para discusses
|
||||
information about the physical screen.
|
||||
</PARA>
|
||||
<PARA>This is a second paragraph occurring
|
||||
within the same ListItem.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
</ITEMIZEDLIST>
|
||||
3
cde/doc/C/guides/docbookGuide/examples/link1.sgm
Normal file
3
cde/doc/C/guides/docbookGuide/examples/link1.sgm
Normal file
@@ -0,0 +1,3 @@
|
||||
<PARA>To go there,
|
||||
<LINK LINKEND="H1-061-ch05-1">click here</LINK> and say goodbye.
|
||||
</PARA>
|
||||
3
cde/doc/C/guides/docbookGuide/examples/link2.sgm
Normal file
3
cde/doc/C/guides/docbookGuide/examples/link2.sgm
Normal file
@@ -0,0 +1,3 @@
|
||||
<PARA>Click to go to
|
||||
<LINK LINKEND="S1-061-ch05-1" ENDTERM="T1-061-ch05-1"></LINK>
|
||||
</PARA>
|
||||
5
cde/doc/C/guides/docbookGuide/examples/ll.sgm
Normal file
5
cde/doc/C/guides/docbookGuide/examples/ll.sgm
Normal file
@@ -0,0 +1,5 @@
|
||||
<literallayout>
|
||||
Here's a line
|
||||
here's another, below it
|
||||
and a third line, indented
|
||||
</literallayout>
|
||||
54
cde/doc/C/guides/docbookGuide/examples/msg.sgm
Normal file
54
cde/doc/C/guides/docbookGuide/examples/msg.sgm
Normal file
@@ -0,0 +1,54 @@
|
||||
<MSGENTRY>
|
||||
<MSG>
|
||||
<MSGMAIN>
|
||||
<MSGTEXT>
|
||||
<PARA>Auto removal: Token-ring lobe
|
||||
</PARA>
|
||||
</MSGTEXT>
|
||||
</MSGMAIN>
|
||||
<MSGSUB>
|
||||
<TITLE>Failure
|
||||
</TITLE>
|
||||
<MSGTEXT>
|
||||
<PARA>Local token-ring adapter
|
||||
</PARA>
|
||||
<PARA>Local access unit
|
||||
</PARA>
|
||||
<PARA>Local lobe cables
|
||||
</PARA>
|
||||
</MSGTEXT>
|
||||
</MSGSUB>
|
||||
<MSGREL>
|
||||
<TITLE>NetWare message:
|
||||
</TITLE>
|
||||
<MSGTEXT>
|
||||
<PARA>TOKEN-NW-237-Adapter <REPLACEABLE>number</REPLACEABLE&
|
||||
gt; -board <REPLACEABLE>number</REPLACEABLE> : The adapter
|
||||
is beaconing.
|
||||
</PARA>
|
||||
<PARA>Ring status = <REPLACEABLE>code</REPLACEABLE>
|
||||
.
|
||||
</PARA>
|
||||
</MSGTEXT>
|
||||
</MSGREL>
|
||||
</MSG>
|
||||
<MSGINFO>
|
||||
<MSGORIG>NetView for NetWare
|
||||
</MSGORIG>
|
||||
<MSGLEVEL>Informative
|
||||
</MSGLEVEL>
|
||||
</MSGINFO>
|
||||
<MSGEXPLAN>
|
||||
<TITLE>Explanation:
|
||||
</TITLE>
|
||||
<PARA>Adapter left the ring as part of the beacon automatic
|
||||
recovery process.
|
||||
</PARA>
|
||||
</MSGEXPLAN>
|
||||
<MSGEXPLAN>
|
||||
<TITLE>Action:
|
||||
</TITLE>
|
||||
<PARA>Ask the LAN administrator to review the link data.
|
||||
</PARA>
|
||||
</MSGEXPLAN>
|
||||
</MSGENTRY>
|
||||
21
cde/doc/C/guides/docbookGuide/examples/orlist.sgm
Normal file
21
cde/doc/C/guides/docbookGuide/examples/orlist.sgm
Normal file
@@ -0,0 +1,21 @@
|
||||
<ORDEREDLIST>
|
||||
<LISTITEM>
|
||||
<PARA>The window is mapped with <FUNCTION>XMapWindow</FUNCTION>
|
||||
or related routines.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
<LISTITEM>
|
||||
<PARA>All its ancestors must be mapped. This
|
||||
condition is always satisfied for the children of the root
|
||||
window, the top-level windows of each application.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
<LISTITEM>
|
||||
<PARA>The window must not be obscured by visible
|
||||
sibling windows or their
|
||||
ancestors this depends on the stacking order. When first
|
||||
mapped, a window appears on top of its siblings, which will
|
||||
be on top of all windows if its parent is the root window.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
</ORDEREDLIST>
|
||||
27
cde/doc/C/guides/docbookGuide/examples/proc.sgm
Normal file
27
cde/doc/C/guides/docbookGuide/examples/proc.sgm
Normal file
@@ -0,0 +1,27 @@
|
||||
<PROCEDURE>
|
||||
<TITLE>Waking Up</TITLE>
|
||||
<PARA>This is what you must do to awaken.
|
||||
</PARA>
|
||||
<STEP>
|
||||
<PARA>Bring yourself to a hypnopompic state, either from an
|
||||
ongoing dream or by use of your internal clock. You may
|
||||
feel unable to move, but you will no longer be dreaming.
|
||||
</PARA>
|
||||
<PARA>Now you are ready for real-world readjustment.
|
||||
</PARA>
|
||||
<SUBSTEPS>
|
||||
<STEP>
|
||||
<PARA>Roll over.
|
||||
</PARA>
|
||||
</STEP>
|
||||
<STEP>
|
||||
<PARA>Squint out of one eye.
|
||||
</PARA>
|
||||
</STEP>
|
||||
</SUBSTEPS>
|
||||
</STEP>
|
||||
<STEP>
|
||||
<PARA>Yawn and rise from your bed.
|
||||
</PARA>
|
||||
</STEP>
|
||||
</PROCEDURE>
|
||||
10
cde/doc/C/guides/docbookGuide/examples/refmeta.sgm
Normal file
10
cde/doc/C/guides/docbookGuide/examples/refmeta.sgm
Normal file
@@ -0,0 +1,10 @@
|
||||
<REFMETA>
|
||||
<REFENTRYTITLE>ldsysdump
|
||||
</REFENTRYTITLE>
|
||||
<MANVOLNUM>1
|
||||
</MANVOLNUM>
|
||||
<REFMISCINFO CLASS="Sysad">System Administration Commands
|
||||
</REFMISCINFO>
|
||||
<REFMISCINFO CLASS="Copyright">Copyright 1985
|
||||
</REFMISCINFO>
|
||||
</REFMETA>
|
||||
6
cde/doc/C/guides/docbookGuide/examples/refnmdv1.sgm
Normal file
6
cde/doc/C/guides/docbookGuide/examples/refnmdv1.sgm
Normal file
@@ -0,0 +1,6 @@
|
||||
<REFNAMEDIV ID="061-RP72">
|
||||
<REFNAME>mwm
|
||||
</REFNAME>
|
||||
<REFPURPOSE>the Motif window manager
|
||||
</REFPURPOSE>
|
||||
</REFNAMEDIV>
|
||||
10
cde/doc/C/guides/docbookGuide/examples/refnmdv2.sgm
Normal file
10
cde/doc/C/guides/docbookGuide/examples/refnmdv2.sgm
Normal file
@@ -0,0 +1,10 @@
|
||||
<REFNAMEDIV ID="061-RP73">
|
||||
<REFNAME>grep
|
||||
</REFNAME>
|
||||
<REFNAME>egrep
|
||||
</REFNAME>
|
||||
<REFNAME>fgrep
|
||||
</REFNAME>
|
||||
<REFPURPOSE>search a file for a string or regular expression
|
||||
</REFPURPOSE>
|
||||
</REFNAMEDIV>
|
||||
16
cde/doc/C/guides/docbookGuide/examples/refnmdv3.sgm
Normal file
16
cde/doc/C/guides/docbookGuide/examples/refnmdv3.sgm
Normal file
@@ -0,0 +1,16 @@
|
||||
<REFNAMEDIV ID="061-RP74">
|
||||
<REFDESCRIPTOR>string
|
||||
</REFDESCRIPTOR>
|
||||
<REFNAME>strcat
|
||||
</REFNAME>
|
||||
<REFNAME>strdup
|
||||
</REFNAME>
|
||||
<REFNAME>strncat
|
||||
</REFNAME>
|
||||
<REFNAME>strcmp
|
||||
</REFNAME>
|
||||
<REFNAME>strncmp
|
||||
</REFNAME>
|
||||
<REFPURPOSE>string operators
|
||||
</REFPURPOSE>
|
||||
</REFNAMEDIV>
|
||||
9
cde/doc/C/guides/docbookGuide/examples/refsyndv.sgm
Normal file
9
cde/doc/C/guides/docbookGuide/examples/refsyndv.sgm
Normal file
@@ -0,0 +1,9 @@
|
||||
<REFSYNOPSISDIV ID="RS-061-66">
|
||||
<SYNOPSIS>
|
||||
<COMMAND>ls</COMMAND>
|
||||
<OPTIONAL><PARAMETER>options</PARAMETER></OPTIONAL>
|
||||
<REPLACEABLE CLASS="PARAMETER"><FILENAME>directory name
|
||||
</FILENAME>
|
||||
</REPLACEABLE>
|
||||
</SYNOPSIS>
|
||||
</REFSYNOPSISDIV>
|
||||
3
cde/doc/C/guides/docbookGuide/examples/renderas.sgm
Normal file
3
cde/doc/C/guides/docbookGuide/examples/renderas.sgm
Normal file
@@ -0,0 +1,3 @@
|
||||
<SECT1 Renderas="Sect3">
|
||||
<TITLE>My Masquerade as a Third-Level Head
|
||||
</TITLE>
|
||||
9
cde/doc/C/guides/docbookGuide/examples/screen.sgm
Normal file
9
cde/doc/C/guides/docbookGuide/examples/screen.sgm
Normal file
@@ -0,0 +1,9 @@
|
||||
<SCREEN ID="SC-1015-12-24">
|
||||
<SYSTEMITEM CLASS="PROMPT">%</SYSTEMITEM> <USERINPUT>make install</USERINPUT>
|
||||
install -c -m 0644 rgb.txt /usr/lib/X11
|
||||
install -c -m 0644 rgb.dir /usr/lib/X11
|
||||
install -c -m 0644 rgb.pag /usr/lib/X11
|
||||
install -c -s showrgb /usr/lib/X11
|
||||
install in ./rgb done
|
||||
|
||||
</SCREEN>
|
||||
8
cde/doc/C/guides/docbookGuide/examples/sect.sgm
Normal file
8
cde/doc/C/guides/docbookGuide/examples/sect.sgm
Normal file
@@ -0,0 +1,8 @@
|
||||
<SECT1 ID=S1-061-ch05-1>
|
||||
<TITLE>Running the Program
|
||||
</TITLE>
|
||||
<PARA>If you have the sample programs
|
||||
and a workstation that runs X, you can try out this program
|
||||
by compiling <FILENAME>basic/basicwin.c</FILENAME>.
|
||||
</PARA>
|
||||
</SECT1>
|
||||
32
cde/doc/C/guides/docbookGuide/examples/seglist.sgm
Normal file
32
cde/doc/C/guides/docbookGuide/examples/seglist.sgm
Normal file
@@ -0,0 +1,32 @@
|
||||
<SEGMENTEDLIST>
|
||||
<SEGTITLE>Museum
|
||||
</SEGTITLE>
|
||||
<SEGTITLE>City
|
||||
</SEGTITLE>
|
||||
<SEGTITLE>Collections
|
||||
</SEGTITLE>
|
||||
<SEGLISTITEM>
|
||||
<SEG>Asian Art Museum
|
||||
</SEG>
|
||||
<SEG>San Francisco
|
||||
</SEG>
|
||||
<SEG>East Asian, Indian, and Islamic
|
||||
</SEG>
|
||||
</SEGLISTITEM>
|
||||
<SEGLISTITEM>
|
||||
<SEG>British Museum
|
||||
</SEG>
|
||||
<SEG>London
|
||||
</SEG>
|
||||
<SEG><EMPHASIS>all areas</EMPHASIS>
|
||||
</SEG>
|
||||
</SEGLISTITEM>
|
||||
<SEGLISTITEM>
|
||||
<SEG>Louvre
|
||||
</SEG>
|
||||
<SEG>Paris
|
||||
</SEG>
|
||||
<SEG>mostly paintings
|
||||
</SEG>
|
||||
</SEGLISTITEM>
|
||||
</SEGMENTEDLIST>
|
||||
19
cde/doc/C/guides/docbookGuide/examples/shell.sgm
Normal file
19
cde/doc/C/guides/docbookGuide/examples/shell.sgm
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE book SYSTEM "docbook.dtd"
|
||||
[
|
||||
!ENTITY bookinfo SYSTEM "bookinfo.sgm"
|
||||
!ENTITY pref SYSTEM "pref.sgm"
|
||||
!ENTITY c1 SYSTEM "ch01.sgm"
|
||||
!ENTITY c2 SYSTEM "ch07.sgm"
|
||||
!ENTITY appa SYSTEM "appa.sgm"
|
||||
!ENTITY appb SYSTEM "appb.sgm"
|
||||
!ENTITY glossary SYSTEM "glossary.sgm"
|
||||
]
|
||||
<BOOK>
|
||||
&bookinfo;
|
||||
&pref;
|
||||
&c1;
|
||||
<!-- &c2; -->
|
||||
<!-- &appa; -->
|
||||
<!-- &appb; -->
|
||||
<!-- &glossary; -->
|
||||
</BOOK>
|
||||
14
cde/doc/C/guides/docbookGuide/examples/simlist.sgm
Normal file
14
cde/doc/C/guides/docbookGuide/examples/simlist.sgm
Normal file
@@ -0,0 +1,14 @@
|
||||
<simplelist columns=4>
|
||||
<member>a</member>
|
||||
<member>b</member>
|
||||
<member>c</member>
|
||||
<member>d</member>
|
||||
<member>e</member>
|
||||
<member>f</member>
|
||||
<member>g</member>
|
||||
<member>h</member>
|
||||
<member>i</member>
|
||||
<member>j</member>
|
||||
<member>k</member>
|
||||
<member>l</member>
|
||||
</simplelist>
|
||||
6
cde/doc/C/guides/docbookGuide/examples/sshot.sgm
Normal file
6
cde/doc/C/guides/docbookGuide/examples/sshot.sgm
Normal file
@@ -0,0 +1,6 @@
|
||||
<SCREENSHOT>
|
||||
<SCREENINFO>Press the F1 key and type “catfile”
|
||||
while holding down the Alt, Page Down, and F12 keys.
|
||||
</SCREENINFO>
|
||||
<GRAPHIC FORMAT="GIF" FILEREF="figs/05.07.gif"></GRAPHIC>
|
||||
</SCREENSHOT>
|
||||
18
cde/doc/C/guides/docbookGuide/examples/tabl.sgm
Normal file
18
cde/doc/C/guides/docbookGuide/examples/tabl.sgm
Normal file
@@ -0,0 +1,18 @@
|
||||
<TABLE>
|
||||
<TITLE>Sample Decimal-Aligned Table
|
||||
</TITLE>
|
||||
<TGROUP ALIGN="char" CHAROFF="50" CHAR="." COLS="3">
|
||||
<TBODY>
|
||||
<ROW>
|
||||
<ENTRY>345.021</ENTRY>
|
||||
<ENTRY>211.02</ENTRY>
|
||||
<ENTRY>221.3</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY>blue</ENTRY>
|
||||
<ENTRY>red</ENTRY>
|
||||
<ENTRY>yellow</ENTRY>
|
||||
</ROW>
|
||||
</TBODY>
|
||||
</TGROUP>
|
||||
</TABLE>
|
||||
14
cde/doc/C/guides/docbookGuide/examples/toc.sgm
Normal file
14
cde/doc/C/guides/docbookGuide/examples/toc.sgm
Normal file
@@ -0,0 +1,14 @@
|
||||
<TOC>
|
||||
<TITLE>Table of Contents</TITLE>
|
||||
<TOCCHAP pagenum="iv">
|
||||
<TOCENTRY>Acknowledgements</TOCENTRY>
|
||||
<TOCLEVEL1 pagenum="iv">
|
||||
<TOCENTRY>How to Get the DocBook DTD Online
|
||||
</TOCENTRY>
|
||||
</TOCLEVEL1>
|
||||
</TOCCHAP>
|
||||
<TOCCHAP pagenum="1">
|
||||
<TOCENTRY>Development of the DocBook DTD
|
||||
</TOCENTRY></TOCCHAP>
|
||||
</TOC>
|
||||
|
||||
31
cde/doc/C/guides/docbookGuide/examples/varlist.sgm
Normal file
31
cde/doc/C/guides/docbookGuide/examples/varlist.sgm
Normal file
@@ -0,0 +1,31 @@
|
||||
<VARIABLELIST>
|
||||
<VARLISTENTRY>
|
||||
<TERM>Window
|
||||
</TERM>
|
||||
<LISTITEM>
|
||||
<PARA>A unique integer identifier (ID) that is
|
||||
returned by XCreateWindow or XCreateSimpleWindow and is
|
||||
thereafter used by the program to refer to the created
|
||||
window resource.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
</VARLISTENTRY>
|
||||
<VARLISTENTRY>
|
||||
<TERMGRP>
|
||||
<TERM>Display
|
||||
</TERM>
|
||||
<TERM>XOpenDisplay
|
||||
</TERM>
|
||||
</TERMGRP>
|
||||
<LISTITEM>
|
||||
<PARA>A large structure that contains information
|
||||
about the server and its screens. It is filled only after
|
||||
this program connects to a server by calling XOpenDisplay.
|
||||
</PARA>
|
||||
<PARA>A small structure containing information about
|
||||
the server and its screens would be more economical, but we
|
||||
mention it only to generate another paragraph.
|
||||
</PARA>
|
||||
</LISTITEM>
|
||||
</VARLISTENTRY>
|
||||
</VARIABLELIST>
|
||||
7
cde/doc/C/guides/docbookGuide/examples/warn.sgm
Normal file
7
cde/doc/C/guides/docbookGuide/examples/warn.sgm
Normal file
@@ -0,0 +1,7 @@
|
||||
<WARNING>
|
||||
<PARA>Never use software from sources
|
||||
you would not trust with your firstborn.
|
||||
</PARA>
|
||||
<PARA>If in doubt about a program, don't use it at all.
|
||||
</PARA>
|
||||
</WARNING>
|
||||
2
cde/doc/C/guides/docbookGuide/examples/xref.sgm
Normal file
2
cde/doc/C/guides/docbookGuide/examples/xref.sgm
Normal file
@@ -0,0 +1,2 @@
|
||||
<PARA>See <XREF LINKEND="ch05-s1" ENDTERM="ch05-t1">,
|
||||
for more information.</PARA>
|
||||
Reference in New Issue
Block a user