Commit graph

45 commits

Author SHA1 Message Date
Chern Lee
6c21f4c1e9 Change all contractions to proper form.
don't -> do not
isn't -> is not
let's -> let us
... and so on
2001-08-16 18:35:08 +00:00
Chern Lee
d9b1288ac8 Markup Changes, place terms in:
* <application>
 * <username>
 * <command>
 * <literal>
 * <devicename>

Reviewed by:	murray
2001-08-14 22:06:11 +00:00
Jim Mock
40274f387b Change "manpage" and "man page" to "manual pages". 2001-08-11 21:34:53 +00:00
Chern Lee
205cf1b49a Standardize capitalization of titles:
* First and last word uppercase
* Prepositions, articles, and short conjunctions lowercase
* The word 'to' lowercase
* Preserved capitalization for program/command names

Reviewed by:	murray
2001-08-10 22:58:17 +00:00
Chern Lee
2b61014302 Properly markup contributions in <chapterinfo>/<sect1info>/<sect2info> tags
according to recent changes for entire Handbook.

Reviewed by:	murray
2001-08-09 23:42:35 +00:00
Valentino Vaschetto
6cf123d6cf Closed a couple of open tags which were not closed.
Reviewed by:	murray
2001-08-09 22:50:10 +00:00
Murray Stokely
2a14ff14f4 - Add an <example> and use a calloutlist for the /etc/ttys section
instead of creating a new subsection for each field.  The output is
  much more succinct and legible.
- Add a note about FreeBSD 5.0 and devfs that obviates the 'Making
  Device Special Files' section.
- Remove reference to a book that we don't have any bibliographical
  information for and that is a bit tangential to the subject at hand
  (RS-232 Bible).
- Add missing words to make complete sentences.
- Simplify discussion of null-modem and "straight" serial cables.
- Consistently use a replaceable 'N' for the last character of
  terminal devices instead of interspersing ? and X.
- Remove duplicate 'See the sio(4) manual page for more information.'
  lines.  One of these is quite sufficient per section.
- Remove more duplicate information that is unnecessary since this
  chapter has been reorganized.
- Enclose a hint in the <tip> tag.

This chapter still needs work.
2001-08-08 06:42:18 +00:00
Chern Lee
c20dd61362 Spelling Changes:
* OSs -> Operating Systems
* commmunications -> communications
* realise -> realize
* customising -> customizing
* customise -> customize
* realise -> realize
* behaviour -> behavior

British to American spelling for some of the above words only in the
Handbook as discussed on -doc.

Reviewed by:	murray
2001-08-06 21:25:28 +00:00
Murray Stokely
565a2b3a46 This chapter was a very unnatural union of several good tutorials.
Many of the sections in this chapter contained duplicate information
(about FreeBSD 1.1.5.1, mind you).

This commit adds a more substantial introduction section with
information about terminology, cables and ports, kernel configuration
of serial devices, and using stty for serial configuration.  The
remaining sections ("terminals", "dial-in service", "dial-out
service", and "setting up a serial console") can then refer to this
earlier section instead of duplicating how to setup /etc/ttys and HUP
init, etc. in each one.

Also contains a couple more markup fixes for <keycode>s.

PR:		19481
2001-08-06 12:36:16 +00:00
Murray Stokely
2237f3e894 First step of a major overhaul of this chapter. Split into multiple
commits to make it slightly easier on the translation teams.

  * Add a standard synopsis
  * Remove references to FreeBSD 1.1.5.1 and FreeBSD 1.1.  Document
    the behavior of 4.x / 5.x and ignore the paleontology.
  * Move <indexterm>s around so that printed output looks better.
  * Reference other chapters in the Handbook instead of duplicating
    information.
  * Rephrase many sentences to be more concise.
  * <filename> -> <command>
  * Refer to the text as "this chapter" instead of "this document"
  * Refer to manual pages consistently.
  * Turns a couple of question and answer entries into more formal
    paragraphs.
  * Don't intersperse example commands inside paragraphs as often.
    Instead, talk about something and then provide an example.
  * Mark up contributors in <sectNinfo>.
  * Remove synopsis-like information from one of the individual
    sections, since this has been expanded at the front of the
    chapter.
  * Mark up keys in <keycode>
  * Remove acknowledgments section.  This is inappropriate for a book
    chapter and the acknowledged person has been moved to the
    <sectNinfo> as an additional contributor.
  * Remove "information integrated from FAQ", that describes much of
    our documentation.
  * Remove troubleshooting entry about needing to be in a specific
    group to run tip or cu, since this is no longer the case.

PR:		19481
2001-08-06 12:17:47 +00:00
Murray Stokely
2fdac55c46 * Combine singular/plural index terms.
* Add a few section id's so that the printed index can find the page
  number.

Submitted by:	Valentino Vaschetto <valentino.vaschetto@windriver.com>
2001-07-30 17:18:54 +00:00
Chern Lee
4593015dcc Modified existing <indexterm>'s to make them more specific using
<filename>, <command>, and <application> tags.

Submitted by:	Valentino Vaschetto <valentino.vaschetto@windriver.com>
Approved by:	murray
2001-07-17 23:33:28 +00:00
Murray Stokely
741499c6ac Remove references to Kernel Debugging and Source Policies chapters.
These will be moving to the Developer's Handbook shortly.
2001-07-17 01:37:39 +00:00
Chern Lee
7001f29865 Standardize:
UNIX -> Unix
UNIX's -> Unixes (one instance)

Unix is a proper noun, not an acronym.  Also conforms to O'Reilly's word list.

Approved by:	murray
2001-07-17 00:11:24 +00:00
Chern Lee
7cb71c2883 Add indexterms for serialcomms chapter.
Submitted by:	Valentino Vaschetto <valentino.vaschetto@windriver.com>
Approved by:	murray
2001-07-16 23:39:49 +00:00
Murray Stokely
99c9a56f15 Consistently use an uppercase replaceable 'X' :
4.x-STABLE    -> 4.X-STABLE
   FreeBSD 2.2.x -> FreeBSD 2.2.X
2001-07-14 23:40:29 +00:00
Chern Lee
1c9cca9012 can not -> cannot
"Cannot" is proper English, has more instances in the handbook than "can not"
and conforms to O'Reilly's word list.

Approved by:	murray
2001-07-14 02:21:12 +00:00
Chern Lee
f05db19844 Standardize: Mhz -> MHz
The MHz notation for megahertz is used throughout the handbook, as well as
everywhere else.

Approved by:	murray
2001-07-14 02:06:29 +00:00
Murray Stokely
e8ca7d55f8 PC-DOS/DOS -> MS-DOS 2001-07-14 01:47:38 +00:00
Dima Dorfman
d528fae271 Assorted spelling and grammar fixes.
PR:		28906
Submitted by:	Peter J. Avalos <pavalos@theshell.com>
2001-07-12 08:28:59 +00:00
Nik Clayton
4e521b8bb2 Makefile's to make it easy to build individual handbook chapters. These
are *not* recursed in to by the top level Makefile.
2001-06-30 14:55:40 +00:00
Dima Dorfman
a0415e82f0 Remove references to first-person pronouns ("I", "me", etc.): all they
do is serve to confuse the reader (who is this "I"?).  Stuff inside
<question> tags in the mini-faq's and clearly-attributed blocks was
left alone.
2001-04-17 01:37:48 +00:00
Dima Dorfman
caa6994914 DocBook police: open and close tags for <programlisting> should cuddle
up to the contents within.

Approved by:	nik
2001-04-09 00:33:58 +00:00
Nik Clayton
e3a2596dd7 Fix a line break problem. 2001-03-12 17:42:05 +00:00
Brian Somers
7b2d582bc9 cua0? -> cuaa? 2001-01-18 01:14:34 +00:00
Maxim Sobolev
00c66e0aca Prevent `# kill -1 1' command from spliting into two lines and replace -1 with
-HUP to be consistent with the rest of the document.
2000-12-28 13:33:49 +00:00
Jim Mock
dfefe8d45b The third, and final episode in the attack of the spelling police series.
Well, at least for now anyway :-)
2000-06-14 20:30:40 +00:00
Jim Mock
3302fdee27 Change &ldquo;...&rdquo; to <quote>...</quote> as per a discussion on
-doc.

Suggested by:	nik
2000-06-08 01:56:23 +00:00
Bill Swingle
8ad04c2a5c Added synopsis to serial communications chapter.
Reviewed by:	jim
2000-04-03 04:36:10 +00:00
Neil Blakey-Milner
3cbec5400c Miscellaneous cleanups - give id's to some sections to make more useful
filenames, fix some luckily working references, and also replace some
manual foo(n) with manual references.
2000-03-11 19:38:37 +00:00
Chris Costello
7cfb0ff20b Rid blank lines of whitespace.
(Translation teams:  You can ignore this commit.)
1999-11-07 01:54:56 +00:00
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +00:00
Nik Clayton
122d319794 "../handbook.sgml" -> "../book.sgml" in Emacs local variables section. 1999-08-23 21:24:10 +00:00
Nik Clayton
f18b900b84 Fix many typos. Much kudos to the submitter for this effort.
PR:             docs/12956
Submitted by:   Neil Blakey-Milner <nbm@rucus.ru.ac.za>
1999-08-05 20:48:25 +00:00
Nik Clayton
77c293076b Include a new section explaining how to set up serial consoles. Rewrote
it slightly from the submission just to clean up some of the English,
but Kazutaka YOKOTA should get all the kudos for this.

Submitted by:   Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-07-27 18:18:11 +00:00
Nik Clayton
10b0b0a21e Add SGML comments at the top of the files with the $Id$ string. Remove
most of the other spurious comments.

Two comments relating to copyright have *not* been merged in from the
LinuxDoc version yet -- I've contacted the original authors to ask if
they would be willing to assign the copyright to the project. When I
get their response the copyright comments will either be merged in, or
left out, as necessary.
1999-03-08 22:04:49 +00:00
Nik Clayton
1e28ab5a96 Huge whitespace changes. Translators can ignore this commit completely.
Rationale: All the changes to the DocBook handbook so far have been
careful to keep whitespace changes to a minimum. This is so the
translators have as easy a job as possible in identifying exactly what's
changed.

This has meant the English version has become more and more 'ugly'. Lines
indented by the wrong amount, some lines longer than 130 characters,
others shorter than 20, gaps of 3 or 4 lines between paragraphs (and
sometimes within paragraphs). This makes it difficult to follow the
structure of the document, and needlessly complicates fixing SGML
problems.

It also makes the source practically useless as a teaching aid; the
more baroque the source looks, the less likely people are to dive in and
contribute.

This commit fixes all that -- and boy was it tedious. The snag is, it's
touched almost every line in every file in the Handbook.

Technically, the changes were made by running (in Emacs)
sgml-indent-or-tab (bound to the TAB key) on almost each line (except
those in <programlisting>, <screen>, <literallayout>, and other
verbatim sections), and then running sgml-fill-element (bound to
C-c C-q) on most paragraphs.

FWIW, this is the first, only, and last change of this type contemplated.
1999-03-07 21:26:43 +00:00
Nik Clayton
62a7d13816 Created a new set of entities for manual pages.
The construct:

    <citerefentry>
      <refentrytitle>foobar</refentrytitle>
      <manvolnum>1</manvolnum>
    </citerefentry>

is a pain to type, and messes up the pretty-printing of the source code.
Replace every occurence of a entry like that with:

    &man.foobar.1;

Adjusting the manual page name and section number appropriately.

The definitions for these entities are stored in man-refs.ent. This
file is in doc/share/sgml because it is not just specific to the Handbook.
I expect the DocBook'd FAQ and Tutorials (coming RSN) to use them as
well.

A new PUBLIC identifier has been created for these entities, and added to
the catalog file.
1999-03-07 16:32:22 +00:00
Nik Clayton
fe79ecbe4d Revert one of my previous changes. Sentences now have two spaces after
the period. Apologies for the repository bloat. This is entirely a
whitespace change.
1999-03-04 22:42:55 +00:00
Nik Clayton
7321b94099 Suddenly realised none of the
<informalexample>
    <screen>
      ...
    </screen>
  </informalexample>

need the <informalexample> element. So remove it. Simple search and
replace does the trick.
1999-01-30 23:35:05 +00:00
Nik Clayton
7e09961472 The JadeTeX macros appear to have problems dealing with footnotes in tables.
Rather than delay any longer for a fix from Sebastien Rahtz (my TeX is not
up to fixing it, natch) replace footnotes in tables with <note>...</note>
after the table.

When the JadeTeX macros DTRT, this change can be reverted.
1999-01-20 22:15:52 +00:00
Nik Clayton
9fc2fa5197 * Added boothelp.sgml
* Merged in changes between tags LINUXDOC_2_DOCBOOK and
  LINUXDOC_2_DOCBOOK_2. The merges are as follows (if a file isn't listed
  here it's because there are no changes to merge since the
  LINUXDOC_2_DOCBOOK tag was put down).

  File                 From  ->  To      Merged to files...
  ---------------------------------------------------------------
  authors.sgml         1.118 ->  1.128   authors.ent
  boothelp.sgml        Added
  contrib.sgml         1.312 ->  1.329   staff/chapter.sgml
  eresources.sgml      1.50  ->  1.51    eresources/chapter.sgml
  handbook.sgml        1.91  ->  1.95    handbook.sgml
  mirrors.sgml         1.92  ->  1.99    mirrors/chapter.sgml
  porting.sgml         1.112 ->  1.118   [1]
  ports.sgml           1.31  ->  1.33    ports/chapter.sgml
  printing.sgml        1.22  ->  1.23    printing/chapter.sgml
  stable.sgml          1.17  ->  1.18    cutting-edge/chapter.sgml [2]
  submitters.sgml      1.246 ->  1.261   contrib/chapter.sgml

  [1] Merged changes. Part of these changes are the migration of the
      "Making a port" section from contrib/chapter.sgml to
      ports/chapter.sgml

  [2] Merged some changes. 1.18 demotes some of the section headings so
      that the -stable section will appear on one HTML page. This is not
      the case with the DocBook stylesheets we're using, so wasn't
      necessary. For the time being, the -stable headings will follow
      the -current headings. This can be revisited after the migration
      is complete.

  There will be one more merge pass once the Handbook in doc/handbook/ is
  frozen, and then a pass to reformat (refill) most of the lines in the
  Handbook so it's more aesthetically pleasing. The SGML parsers don't
  care, but it makes it easier to follow the structure when editing the
  documents.

* Removed

      sgml-shorttag: nil
      sgml-minimize-attributes: max

  from the Emacs local variables at the bottom of each file. It didn't
  do quite what I was expecting.
1998-12-10 20:44:09 +00:00
Nik Clayton
6ff34ef882 Replace
<xref linkend="target" remap="foo">

with

    <link linkend="target">foo</link>

Internal links within the Handbook now do the right thing.
1998-11-05 23:28:48 +00:00
Nik Clayton
336215d4e6 Added chapter.decl, which contains a declaration for a DocBook chapter.
Added

<!--
     Local Variables:
     mode: sgml
     sgml-declaration: "../chapter.decl"
     sgml-indent-data: t
     sgml-omittag: nil
     sgml-shorttag: nil
     sgml-always-quote-attributes: t
     sgml-minimize-attributes: max
     sgml-parent-document: ("../handbook.sgml" "part" "chapter")
     End:
-->

to the bottom of each chapter.sgml file so that Emacs can do the right
thing.
1998-11-03 23:28:30 +00:00
Nik Clayton
2207769022 Split the handbook into individual files. Each chapter is in a file called
chapter.sgml in a directory named according to the value the id
attribute on that chapter.

Added chapters.ent, which lists the entities for each chapter.

Updated handbook.sgml to use these entities.
1998-11-03 23:17:06 +00:00