aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2001-09-02 09:02:29 +0000
committerMurray Stokely <murray@FreeBSD.org>2001-09-02 09:02:29 +0000
commitadc734089c92c09e8c329e366fbafd0670db29dd (patch)
treea3864ef5fc0d49f755da3a9af4d99dda24ad31cc
parent1eac89f28019aefbedb9830cd4e1d51439f166cb (diff)
downloaddoc-adc734089c92c09e8c329e366fbafd0670db29dd.tar.gz
doc-adc734089c92c09e8c329e366fbafd0670db29dd.zip
Fix sloppy use of whitespaces inside a <programlisting>. While I'm
here, add the emacs local variables section to the bottom of this file. PR: docs/30227 Submitted by: Joseph Mallett <jmallett@xMach.org>
Notes
Notes: svn path=/head/; revision=10530
-rw-r--r--en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.sgml23
-rw-r--r--en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml23
2 files changed, 34 insertions, 12 deletions
diff --git a/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.sgml b/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.sgml
index e3b46dc4e6..a65ec54238 100644
--- a/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.sgml
+++ b/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.sgml
@@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
- $FreeBSD: doc/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml,v 1.7 2001/07/06 13:02:52 dd Exp $
+ $FreeBSD: doc/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml,v 1.8 2001/07/19 10:37:35 dd Exp $
-->
<chapter id="driverbasics">
@@ -175,7 +175,7 @@ KMOD=skeleton
you write to it and can then supply them back to you when you
read from it.</para>
-<programlisting>/*
+ <programlisting>/*
* Simple `echo' pseudo-device KLD
*
* Murray Stokely
@@ -337,14 +337,14 @@ DEV_MODULE(echo,echo_loader,NULL);</programlisting>
<para>To install this driver you will first need to make a node on
your filesystem with a command such as : </para>
-<screen> &prompt.root mknod /dev/echo c 33 0</screen>
+ <screen>&prompt.root mknod /dev/echo c 33 0</screen>
<para>With this driver loaded you should now be able to type
something like :</para>
-<screen>&prompt.root echo -n "Test Data" > /dev/echo
- &prompt.root cat /dev/echo
- Test Data</screen>
+ <screen>&prompt.root echo -n "Test Data" > /dev/echo
+&prompt.root cat /dev/echo
+Test Data</screen>
<para>Real hardware devices in the next chapter..</para>
@@ -378,3 +378,14 @@ DEV_MODULE(echo,echo_loader,NULL);</programlisting>
</sect1>
</chapter>
+
+<!--
+ Local Variables:
+ mode: sgml
+ sgml-declaration: "../chapter.decl"
+ sgml-indent-data: t
+ sgml-omittag: nil
+ sgml-always-quote-attributes: t
+ sgml-parent-document: ("../book.sgml" "part" "chapter")
+ End:
+-->
diff --git a/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml b/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml
index e3b46dc4e6..a65ec54238 100644
--- a/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml
+++ b/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml
@@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
- $FreeBSD: doc/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml,v 1.7 2001/07/06 13:02:52 dd Exp $
+ $FreeBSD: doc/en_US.ISO8859-1/books/developers-handbook/driverbasics/chapter.sgml,v 1.8 2001/07/19 10:37:35 dd Exp $
-->
<chapter id="driverbasics">
@@ -175,7 +175,7 @@ KMOD=skeleton
you write to it and can then supply them back to you when you
read from it.</para>
-<programlisting>/*
+ <programlisting>/*
* Simple `echo' pseudo-device KLD
*
* Murray Stokely
@@ -337,14 +337,14 @@ DEV_MODULE(echo,echo_loader,NULL);</programlisting>
<para>To install this driver you will first need to make a node on
your filesystem with a command such as : </para>
-<screen> &prompt.root mknod /dev/echo c 33 0</screen>
+ <screen>&prompt.root mknod /dev/echo c 33 0</screen>
<para>With this driver loaded you should now be able to type
something like :</para>
-<screen>&prompt.root echo -n "Test Data" > /dev/echo
- &prompt.root cat /dev/echo
- Test Data</screen>
+ <screen>&prompt.root echo -n "Test Data" > /dev/echo
+&prompt.root cat /dev/echo
+Test Data</screen>
<para>Real hardware devices in the next chapter..</para>
@@ -378,3 +378,14 @@ DEV_MODULE(echo,echo_loader,NULL);</programlisting>
</sect1>
</chapter>
+
+<!--
+ Local Variables:
+ mode: sgml
+ sgml-declaration: "../chapter.decl"
+ sgml-indent-data: t
+ sgml-omittag: nil
+ sgml-always-quote-attributes: t
+ sgml-parent-document: ("../book.sgml" "part" "chapter")
+ End:
+-->