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>
This commit is contained in:
parent
1eac89f280
commit
adc734089c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10530
2 changed files with 34 additions and 12 deletions
en_US.ISO8859-1/books
|
@ -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:
|
||||
-->
|
||||
|
|
|
@ -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:
|
||||
-->
|
||||
|
|
Loading…
Reference in a new issue