From owner-freebsd-doc@FreeBSD.ORG Sat Jun 14 05:50:36 2003
Return-Path:
Delivered-To: freebsd-doc@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id EDB6737B401
for ;
Sat, 14 Jun 2003 05:50:35 -0700 (PDT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by mx1.FreeBSD.org (Postfix) with ESMTP id 72C3C43FB1
for ;
Sat, 14 Jun 2003 05:50:18 -0700 (PDT)
(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5ECoCUp043156
for ;
Sat, 14 Jun 2003 05:50:12 -0700 (PDT)
(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5ECoCmU043155;
Sat, 14 Jun 2003 05:50:12 -0700 (PDT)
Resent-Date: Sat, 14 Jun 2003 05:50:12 -0700 (PDT)
Resent-Message-Id: <200306141250.h5ECoCmU043155@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-doc@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
Lukas Ertl
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id AA57C37B401
for ;
Sat, 14 Jun 2003 05:46:06 -0700 (PDT)
Received: from mailbox.univie.ac.at (mail.univie.ac.at [131.130.1.27])
by mx1.FreeBSD.org (Postfix) with ESMTP id E230243F3F
for ;
Sat, 14 Jun 2003 05:45:56 -0700 (PDT) (envelope-from le@univie.ac.at)
Received: from korben.in.tern (dialin202.cc.univie.ac.at [131.130.202.202])
by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h5ECj9oQ194174
for ;
Sat, 14 Jun 2003 14:45:13 +0200
Received: from korben.in.tern (korben.in.tern [127.0.0.1])
by korben.in.tern (8.12.9/8.12.9) with ESMTP id h5ECj6GM001701
for ;
Sat, 14 Jun 2003 14:45:07 +0200 (CEST)
(envelope-from le@korben.in.tern)
Received: (from le@localhost)
by korben.in.tern (8.12.9/8.12.9/Submit) id h5ECj5T6001700;
Sat, 14 Jun 2003 14:45:05 +0200 (CEST)
(envelope-from le)
Message-Id: <200306141245.h5ECj5T6001700@korben.in.tern>
Date: Sat, 14 Jun 2003 14:45:05 +0200 (CEST)
From: Lukas Ertl
To: FreeBSD-gnats-submit@FreeBSD.org
X-Send-Pr-Version: 3.113
X-Mailman-Approved-At: Sat, 14 Jun 2003 05:58:09 -0700
Subject: docs/53315: [PATCH] remove extraneous whitespace at the end of
lines in articles
X-BeenThere: freebsd-doc@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Lukas Ertl
List-Id: Documentation project
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sat, 14 Jun 2003 12:50:36 -0000
>Number: 53315
>Category: docs
>Synopsis: [PATCH] remove extraneous whitespace at the end of lines in articles
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 14 05:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Lukas Ertl
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
Vienna University Computer Center
>Environment:
System: FreeBSD korben 5.1-CURRENT FreeBSD 5.1-CURRENT #10: Wed Jun 11 23:19:20 CEST 2003 le@korben:/usr/obj/usr/src/sys/KORBEN i386
>Description:
>How-To-Repeat:
>Fix:
This mega-patch removes extraneous whitespace at the end of lines in the
documentation articles.
--- articles.diff begins here ---
Index: en_US.ISO8859-1/articles//console-server/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/console-server/article.sgml,v
retrieving revision 1.12
diff -u -r1.12 article.sgml
--- en_US.ISO8859-1/articles//console-server/article.sgml 1 Feb 2003 17:49:28 -0000 1.12
+++ en_US.ISO8859-1/articles//console-server/article.sgml 14 Jun 2003 12:34:45 -0000
@@ -855,20 +855,20 @@
printed labels *before* putting on the connectors is the best way I have
seen for marking what they are.
-
You can also use Panduit or similar tags that
-you put on with nylon tie straps, but I find the ink wears off the
+
You can also use Panduit or similar tags that
+you put on with nylon tie straps, but I find the ink wears off the
tags.
-
Cisco Catalyst switches
-
+
Cisco Catalyst switches
+
Astoundingly, the pinout on the console ports of the Catalysts is
actually different to the pinout used on the 26xx-series
Cisco hardware. I think the way to tell which is which is by
-considering the operating software. If it uses IOS, then the previous
+considering the operating software. If it uses IOS, then the previous
pinout is required. If it uses the switch software, then this pinout
is required.
@@ -1066,7 +1066,7 @@
SSH to log into to the server machine, and run the
console client there.
The conserver program has fractured into a number
of versions. The home page referenced above seems to be the
Index: en_US.ISO8859-1/articles//contributing/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/contributing/article.sgml,v
retrieving revision 1.495
diff -u -r1.495 article.sgml
--- en_US.ISO8859-1/articles//contributing/article.sgml 1 Feb 2003 17:41:49 -0000 1.495
+++ en_US.ISO8859-1/articles//contributing/article.sgml 14 Jun 2003 12:34:50 -0000
@@ -66,7 +66,7 @@
What Is Needed
-
+
The following list of tasks and sub-projects represents
something of an amalgam of various TODO
lists and user requests.
@@ -118,7 +118,7 @@
- Ongoing Programmer Tasks
+ Ongoing Programmer TasksMost of the tasks listed here require either a considerable
investment of time, or an in-depth knowledge of the FreeBSD
kernel, or both. However, there are also many useful tasks
Index: en_US.ISO8859-1/articles//contributors/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/contributors/article.sgml,v
retrieving revision 1.399
diff -u -r1.399 article.sgml
--- en_US.ISO8859-1/articles//contributors/article.sgml 13 Jun 2003 18:34:16 -0000 1.399
+++ en_US.ISO8859-1/articles//contributors/article.sgml 14 Jun 2003 12:35:47 -0000
@@ -822,7 +822,7 @@
&a.cognet;
-
+
&a.jeh;
@@ -1008,7 +1008,7 @@
- &a.arved;
+ &a.arved;
@@ -1110,7 +1110,7 @@
&a.emoore;
-
+
&a.amorita;
@@ -5362,7 +5362,7 @@
- Kay Lehmann
+ Kay Lehmann
kay_lehmann@web.de
@@ -7669,7 +7669,7 @@
Sebastian Strollo
seb@erix.ericsson.se
-
+
Sebastian Yepes
esn@x123.info
@@ -8289,7 +8289,7 @@
Tim Daneliuk
tundra@tundraware.com
-
+
Tim Kientzle
kientzle@netcom.com
Index: en_US.ISO8859-1/articles//cvsup-advanced/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/cvsup-advanced/article.sgml,v
retrieving revision 1.10
diff -u -r1.10 article.sgml
--- en_US.ISO8859-1/articles//cvsup-advanced/article.sgml 9 Dec 2002 23:28:21 -0000 1.10
+++ en_US.ISO8859-1/articles//cvsup-advanced/article.sgml 14 Jun 2003 12:35:52 -0000
@@ -26,7 +26,7 @@
The present article assumes a basic understanding of CVSup
- operation. It documents several delicate issues connected with
+ operation. It documents several delicate issues connected with
source synchronization via CVSup, viz. effective solutions to
the problem of stale files as well as special source updating
cases; which issues are likely to cause apparently inexplicable
@@ -36,17 +36,17 @@
Preface
-
- This document is the fruit of the author's attempts to
+
+ This document is the fruit of the author's attempts to
fully understand the niceties of CVSup & source updating. :-)
- While the author has made every effort to make these pages
- as informative and correct as possible, he is only human and
+ While the author has made every effort to make these pages
+ as informative and correct as possible, he is only human and
may have made all sorts of typos, mistakes, etc. He will be
very grateful for any comments and/or suggestions you send to
his e-mail address, bartequi@neomedia.it.
-
+
Introduction
@@ -57,7 +57,7 @@
FAQ,
you may have noticed Question 12 & 13.
- When updating any collection of sources (eg
+ When updating any collection of sources (eg
/usr/ports), &man.cvsup.1; makes use of
the related checkouts file in order to perform the updating
process in the most efficient and correct way. In this example
@@ -66,12 +66,12 @@
your base is /usr.A checkouts file contains information on the current status
- of your sources—in a way, a sort of photograph. This
+ of your sources—in a way, a sort of photograph. This
significant information enables cvsup to retrieve updates most
effectively. Further, and maybe more important, it enables cvsup
to correctly manage your sources by locally deleting any files
no longer present in the repository, thus leaving no stale files
- on your system. In fact, without a checkouts file, cvsup would
+ on your system. In fact, without a checkouts file, cvsup would
not know which files your collection was composed of (cf
&man.cvsup.1; and the fallback method for details); as a result,
it could not delete on your system those files no longer present
@@ -89,9 +89,9 @@
A useful python script: cvsupchk
- Alternatively, in order to examine your sources for
- inconsistencies, you may wish to utilize the cvsupchk python
- script; which script is currently found in
+ Alternatively, in order to examine your sources for
+ inconsistencies, you may wish to utilize the cvsupchk python
+ script; which script is currently found in
/usr/ports/net/cvsup/work/cvsup-16.1/contrib/cvsupchk,
together with a nice README. Prerequisites:
@@ -121,9 +121,9 @@
&prompt.user; /path/to/cvsupchk -d /usr -c /usr/sup/src-all/checkouts.cvs:RELENG_4 | more
- In each case, cvsupchk will inspect your sources for
- inconsistencies by utilizing the information contained in the
- related checkouts file. Such anomalies as deleted files being
+ In each case, cvsupchk will inspect your sources for
+ inconsistencies by utilizing the information contained in the
+ related checkouts file. Such anomalies as deleted files being
present (aka stale files), missing checked-out files, extra RCS
files, and dead directories will be printed to standard output.
@@ -141,15 +141,15 @@
src-allIf you specify eg tag=A in your supfile, cvsup will create
- a checkouts file called checkouts.cvs:A:
+ a checkouts file called checkouts.cvs:A:
for instance, if tag=RELENG_4, a checkouts file called
- checkouts.cvs:RELENG_4 is generated.
+ checkouts.cvs:RELENG_4 is generated.
This file will be used to retrieve and/or store information
identifying your 4-STABLE sources.When tracking src-all, if you wish to
- pass from tag=A to tag=B (A less/greater than B not making
- any difference) and if your checkouts file is
+ pass from tag=A to tag=B (A less/greater than B not making
+ any difference) and if your checkouts file is
checkouts.cvs:A, the following actions
should be performed:
@@ -172,8 +172,8 @@
The cvsup utility will look for checkouts.cvs:B—in
- that the target is B; that is, cvsup will make use of
- the information contained therein to correctly manage your
+ that the target is B; that is, cvsup will make use of
+ the information contained therein to correctly manage your
sources.The benefits:
@@ -185,17 +185,17 @@
- less load is placed on the server, in that cvsup
+ less load is placed on the server, in that cvsup
operates in the most efficient way.
- For example, A=RELENG_4, B=.. The period in B=. means
- -CURRENT. This is a rather typical update, from 4-STABLE
- to -CURRENT. While it is straightforward to downgrade your
- sources (eg from -CURRENT to -STABLE), downgrading a system
- is quite another matter. You are STRONGLY advised not to
+ For example, A=RELENG_4, B=.. The period in B=. means
+ -CURRENT. This is a rather typical update, from 4-STABLE
+ to -CURRENT. While it is straightforward to downgrade your
+ sources (eg from -CURRENT to -STABLE), downgrading a system
+ is quite another matter. You are STRONGLY advised not to
attempt such an operation, unless you know exactly what you
are doing.
@@ -203,8 +203,8 @@
Updating to the same tag as of a different date
- If you wish to switch from tag=A to tag=A as of a
- different GMT date (say, date=D), you will execute the
+ If you wish to switch from tag=A to tag=A as of a
+ different GMT date (say, date=D), you will execute the
following:
@@ -219,25 +219,25 @@
Whether the new date precedes that of the last sync
- operation with tag=A or not, it is immaterial. For example,
- in order to specify the date August 27, 2000, 10:00:00 GMT
+ operation with tag=A or not, it is immaterial. For example,
+ in order to specify the date August 27, 2000, 10:00:00 GMT
you write the line:src-all tag=RELENG_4 date=2000.08.27.10.00.00
- The format of a date is rigid. You have to specify
- all the components of the date: century (20, ie the 21st
- century, must be supplied whereas 19, the past century, can
- be omitted), year, month, day, hour, minutes, seconds—as
- shown in the above example. For more information, please
+ The format of a date is rigid. You have to specify
+ all the components of the date: century (20, ie the 21st
+ century, must be supplied whereas 19, the past century, can
+ be omitted), year, month, day, hour, minutes, seconds—as
+ shown in the above example. For more information, please
see &man.cvsup.1;.
- Whether or not a date is specified, the checkouts file
+ Whether or not a date is specified, the checkouts file
is called checkouts.cvs:A (eg
checkouts.cvs:RELENG_4). As a result,
- no particular action is needed in order to revert to the
- previous state: you have to modify the date in the supfile,
+ no particular action is needed in order to revert to the
+ previous state: you have to modify the date in the supfile,
and run csvup again.
@@ -245,18 +245,18 @@
Updating your ports collection for the first time
- Since ports are tagged . (ie -CURRENT), you can
- correctly sync them for the first time by adding the date
- keyword (cf &man.cvsup.1; for the exact format): you should
- specify a date as close as possible to that of shipping of
- your ports tree. After cvsup has correctly created the ports
- checkouts file, which is precisely the goal of this first
+ Since ports are tagged . (ie -CURRENT), you can
+ correctly sync them for the first time by adding the date
+ keyword (cf &man.cvsup.1; for the exact format): you should
+ specify a date as close as possible to that of shipping of
+ your ports tree. After cvsup has correctly created the ports
+ checkouts file, which is precisely the goal of this first
special sync operation, the date field must be removed;
all subsequent updates will be carried out smoothly.
- If you have been reading the apparently nit-picking
- remarks in these sections, you will probably have recognized
- the potential for trouble in a source updating process.
+ If you have been reading the apparently nit-picking
+ remarks in these sections, you will probably have recognized
+ the potential for trouble in a source updating process.
A number of people have actually run into problems. You have
been warned. :-)
Index: en_US.ISO8859-1/articles//diskless-x/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/diskless-x/article.sgml,v
retrieving revision 1.10
diff -u -r1.10 article.sgml
--- en_US.ISO8859-1/articles//diskless-x/article.sgml 2 Dec 2002 21:11:54 -0000 1.10
+++ en_US.ISO8859-1/articles//diskless-x/article.sgml 14 Jun 2003 12:35:52 -0000
@@ -13,7 +13,7 @@
Diskless X Server: a how to guide
-
+
Jerry
@@ -24,14 +24,14 @@
-
+
28-December-1996
-
+
1996Jerry Kendall
-
+
With the help of some friends on the FreeBSD-hackers list, I have
been able to create a diskless X terminal. The creation of the X
@@ -45,15 +45,15 @@
system is a 486DX2-66. I setup a diskless FreeBSD (complete) that
uses no local disk. The server in that case is a Sun 670MP running
SunOS 4.1.3. The same setup configuration was needed for both.
-
+
I am sure that there is stuff that needs to be added
to this. Please send me any comments.
-
+
Creating the boot floppy (On the diskless system)
-
+
Since the network boot loaders will not work with some of the TSR's
and such that MS-DOS uses, it is best to create a dedicated boot floppy
or, if you can, create an MS-DOS menu that will (via the
@@ -61,7 +61,7 @@
ask what configuration to load when the system starts. The later is the
method that I use and it works great. My MS-DOS (6.x) menu is
below.
-
+
config.sys
@@ -94,10 +94,10 @@
:end
-
+
Getting the network boot programs (On the server)
-
+
Compile the net-boot programs that are located in
/usr/src/sys/i386/boot/netboot. You should read
the comments at the top of the Makefile. Adjust as
@@ -108,10 +108,10 @@
server. It will load the kernel from the boot server. At this point,
put both programs on the MS-DOS boot floppy created earlier.
-
+
Determine which program to run (On the diskless system)
-
+
If you know the chipset that your Ethernet adapter uses, this is
easy. If you have the NS8390 chipset, or a NS8390 based chipset, use
nb8390.com. If you have a 3Com 509 based chipset,
@@ -123,13 +123,13 @@
Booting across the network
-
+
Boot the diskless system with out any config.sys/autoexec.bat
files. Try running the boot program for your Ethernet adapter.My Ethernet adapter is running in WD8013 16bit mode so I run
nb8390.com
-
+
C:>cd \netbootC:>nb8390
@@ -154,18 +154,18 @@
message, verify that you did indeed set the compile time defines in the
Makefile correctly.
-
+
Allowing systems to boot across the network (On the server)
-
+
Make sure the /etc/inetd.conf file has entries
for tftp and bootps. Mine are listed below:
-
+
tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot
#
# Additions by who ever you are
bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab
-
+
If you have to change the /etc/inetd.conf file,
send a HUP signal to inetd. To do this, get the
process ID of inetd with ps -ax | grep inetd | grep -v
@@ -189,7 +189,7 @@
:ip=199.246.76.2:\
:gw=199.246.76.1:\
:vm=rfc1048:
-
+
The lines are as follows:
@@ -269,10 +269,10 @@
The NFS mounted root filesystem will be mounted read
only.
-
+
The hierarchy for the diskless system can be re-mounted allowing
read-write operations if required.
-
+
I use my spare 386DX-40 as a dedicated X terminal.The hierarchy for altair is:
@@ -303,7 +303,7 @@
-r-xr-xr-x 1 root bin 73728 Dec 13 22:38 ./sbin/mount
-r-xr-xr-x 1 root wheel 1992 Jun 10 1995 ./dev/MAKEDEV.local
-r-xr-xr-x 1 root wheel 24419 Jun 10 1995 ./dev/MAKEDEV
-
+
If you are not using &man.devfs.5; (which is the default
in FreeBSD 5.X), you should make sure that you
do not forget to run MAKEDEV all in the
Index: en_US.ISO8859-1/articles//euro/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/euro/article.sgml,v
retrieving revision 1.7
diff -u -r1.7 article.sgml
--- en_US.ISO8859-1/articles//euro/article.sgml 17 Feb 2003 22:52:09 -0000 1.7
+++ en_US.ISO8859-1/articles//euro/article.sgml 14 Jun 2003 12:35:56 -0000
@@ -1,11 +1,11 @@
-
%man;
]>
- The Euro symbol on
+ The Euro symbol on
FreeBSD
@@ -27,9 +27,9 @@
2003The FreeBSD Documentation Project
-
+
$FreeBSD: doc/en_US.ISO8859-1/articles/euro/article.sgml,v 1.7 2003/02/17 22:52:09 blackend Exp $
-
+
This document will try to help you in getting started with the new
Euro Symbol on your new keyboard that you had to buy
@@ -37,7 +37,7 @@
will first focus on the more important parts like being able to
correctly display the symbol on the console. Later sections will deal
with configuring particular programs like
- X11.
+ X11.
Lots of helpful input came from Oliver Fromme, Tom Rhodes and
@@ -50,16 +50,16 @@
The Euro in a nutshell
- If you already feel comfortable with
- localization as
- described in the FreeBSD
- Handbook you might be only interested in the following facts which
- will get you started quickly:
+ If you already feel comfortable with
+ localization as
+ described in the FreeBSD
+ Handbook you might be only interested in the following facts which
+ will get you started quickly:ISO8859-15
-
+
This is a slight modification of the commonly used ISO8859-1
character map. It includes the Euro symbol. Used for the
@@ -80,8 +80,8 @@
/usr/share/syscons/keymaps/*.iso.kbd
- Appropriate keyboard maps depending on your language. Set your
- keymap entry in rc.conf to
+ Appropriate keyboard maps depending on your language. Set your
+ keymap entry in rc.conf to
one of these.
@@ -115,7 +115,7 @@
A general remark
-
+
In the following sections we will often refer to
ISO8859-15. This is the standard notation starting
with FreeBSD 4.5. In older
@@ -123,15 +123,15 @@
ISO_8859-15 or DIS_8859-15.
- If you are using an older version of
- FreeBSD, be sure to take a
+ If you are using an older version of
+ FreeBSD, be sure to take a
look at /usr/share/locale/ in order to find out
which naming convention is in place.The console
-
+
Setting up your console font
@@ -191,8 +191,8 @@
combination is necessary (e.g.: Alt
Gre) to decimal value 164.
If running into problems, the best way to check is to take a look at
- /usr/share/syscons/keymaps/*.kbd. The format of
- the key mapping files is described in &man.keyboard.4;.
+ /usr/share/syscons/keymaps/*.kbd. The format of
+ the key mapping files is described in &man.keyboard.4;.
&man.kbdcontrol.1; can be used to load a custom keymap.Once the correct keyboard map is selected, it should be added to
@@ -201,13 +201,13 @@
keymap="german.iso" # or another mapAs stated above, this step has most probably already been taken
- by you at installation time (with
- sysinstall). If not, either reboot or
+ by you at installation time (with
+ sysinstall). If not, either reboot or
load the new keymap via &man.kbdcontrol.1;.
- To verify the keyboard mapping, switch to a new console and at
+ To verify the keyboard mapping, switch to a new console and at
the login prompt, instead of logging in, try to
- type the Euro key. If it is not working, either
+ type the Euro key. If it is not working, either
file a bug report via &man.send-pr.1; or make sure you in fact chose
the right keyboard map.
@@ -217,13 +217,13 @@
tcsh.
-
+
Fixing the environment variables
- The shells (bash, tcsh) revert to the &man.readline.3; library
- which in turn respects the LC_CTYPE environment
- variable. LC_CTYPE must be set before the shell is
+ The shells (bash, tcsh) revert to the &man.readline.3; library
+ which in turn respects the LC_CTYPE environment
+ variable. LC_CTYPE must be set before the shell is
completely running. Luckily it suffices to add the line:export LC_CTYPE=de_DE.ISO8859-15
@@ -241,11 +241,11 @@
however.
- An alternative to modifying .login and
+ An alternative to modifying .login and
.bash_profile is to set the environment
variables through the &man.login.conf.5; mechanism. This approach
has the advantage of assigning login classes to certain users (e.g.
- French users, Italian users, etc) in one
+ French users, Italian users, etc) in one
place.
@@ -285,14 +285,14 @@
/usr/X11R6/lib/X11/app-defaults and add the correct
font. Let us demonstrate this with
xterm.
-
+
&prompt.root; cd /usr/X11R6/lib/X11/app-defaults/
&prompt.root; vi XTermAdd the following line to the beginning of the file:*font: -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15
-
+
Finally, restart X and make sure, fonts can be displayed by
executing the above awk script. All
major applications should respect the keyboard mapping and the font
@@ -301,7 +301,7 @@
Open problems
-
+
Of course, the author would like to receive feedback. In addition,
at least let me know if you have fixes for one of these open
problems:
@@ -311,7 +311,7 @@
Describe alternative way of setting up XFree86:
x11/xkeycaps
-
+
Settings in GNOME
Index: en_US.ISO8859-1/articles//explaining-bsd/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/explaining-bsd/article.sgml,v
retrieving revision 1.7
diff -u -r1.7 article.sgml
--- en_US.ISO8859-1/articles//explaining-bsd/article.sgml 10 Mar 2003 06:16:12 -0000 1.7
+++ en_US.ISO8859-1/articles//explaining-bsd/article.sgml 14 Jun 2003 12:36:06 -0000
@@ -66,15 +66,15 @@
The C library, the base API for the system.
-
+
The BSD C library is based on code from Berkeley, not
the GNU project.
-
+
Utilities such as shells, file utilities, compilers and
linkers.
-
+
Some of the utilities are derived from the GNU
project, others are not.
@@ -95,9 +95,9 @@
-
+
- What, a real UNIX?
+ What, a real UNIX?The BSD operating systems are not clones, but open source
derivatives of AT&T's Research UNIX operating system, which is also
@@ -164,12 +164,12 @@
OpenBSD, split off from
NetBSD.
-
+
Why is BSD not better known?
-
+
For a number of reasons, BSD is relatively unknown:
-
+
The BSD developers are often more interested in polishing their
@@ -449,11 +449,11 @@
-
+
How does the BSD license differ from the GNU Public
license?
-
+
Linux is available under the
GNU General Public
License (GPL), which is designed to eliminate closed
@@ -490,17 +490,17 @@
What does this all mean in practice? Who should use BSD, who
should use Linux?
-
+
This is a very difficult question to answer. Here are some
guidelines:
-
+
If it ain't broke, don't fix it: If you already
use an open source operating system, and you are happy with it,
there is probably no good reason to change.
-
+
BSD systems, in particular FreeBSD, can have notably higher
performance than Linux. But this is not across the board. In many
@@ -528,7 +528,7 @@
Who provides support, service, and training for BSD?
-
+
BSDi have always supported BSD/OS, and they have recently
announced support contracts for FreeBSD.
Index: en_US.ISO8859-1/articles//formatting-media/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/formatting-media/article.sgml,v
retrieving revision 1.26
diff -u -r1.26 article.sgml
--- en_US.ISO8859-1/articles//formatting-media/article.sgml 31 Mar 2003 21:23:06 -0000 1.26
+++ en_US.ISO8859-1/articles//formatting-media/article.sgml 14 Jun 2003 12:36:11 -0000
@@ -54,7 +54,7 @@
There are two possible modes of disk formatting:
-
+ compatibility mode: Arranging a
disk so that it has a slice table for use with other
@@ -84,7 +84,7 @@
allowing access to the Label and Partition editors and a Write
feature which will update just the selected disk and slice
without affecting other disks. The other method is running
- the tools manually from a root command line. For
+ the tools manually from a root command line. For
dedicated mode, only three or four commands are involved while
sysinstall requires some
manipulation.
@@ -144,7 +144,7 @@
Each filesystem and swap area on a disk resides in a
partition. Maintained using the disklabel utility.
-
+
sector: Smallest subdivision of a disk. One sector
usually represents 512 bytes of data.
@@ -177,7 +177,7 @@
to the system and a disk placed in the drive during startup,
so the kernel can determine the drive's geometry. Check the
dmesg output and make sure your device and
- the disk's size is listed. If the kernel reports
+ the disk's size is listed. If the kernel reports
Can't get the size
@@ -213,11 +213,11 @@
- Start sysinstall as root by typing
+ Start sysinstall as root by typing
&prompt.root; /stand/sysinstall
-
+
from the command prompt.
@@ -238,10 +238,10 @@
If you are using this entire disk for FreeBSD, select
A.
-
+
- When asked:
+ When asked:
Do you want to do this with a true partition entry so as to remain
@@ -255,7 +255,7 @@
When asked if you still want to do this, answer
Yes.
-
+ Select Write.
@@ -264,7 +264,7 @@
When warned about writing on installed systems, answer
Yes.
-
+ Quitthe FDISK Editor and
@@ -281,13 +281,13 @@
C to Create a partition, accept the
default size, partition type Filesystem, and a mountpoint
(which is not used).
-
+
Enter W when done and confirm to
continue. The filesystem will be newfs'd for you, unless
you select otherwise (for new partitions you will want to
- do this!). You will get the error:
+ do this!). You will get the error:
Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory
@@ -318,7 +318,7 @@
If you need to edit the disklabel to create multiple
partitions (such as swap), use the following:
-
+
&prompt.root; dd if=/dev/zero of=/dev/ad2 count=2
&prompt.root; disklabel /dev/ad2 > /tmp/label
@@ -351,11 +351,11 @@
- Start sysinstall as root by typing
+ Start sysinstall as root by typing
&prompt.root; /stand/sysinstall
-
+
from the command prompt.
@@ -376,10 +376,10 @@
If you are using this entire disk for FreeBSD, select
A.
-
+
- When asked:
+ When asked:
Do you want to do this with a true partition entry so as to remain
@@ -407,18 +407,18 @@
You will be asked about the boot manager, select
None again.
-
+ Select Label from the Index
menu.
-
+
Label as desired. For a single partition, accept the
default size, type filesystem, and a mountpoint (which
is not used).
-
+
The filesystem will be newfs'd for you, unless you
@@ -426,7 +426,7 @@
this!). You will get the error:
- Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory
+ Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory
Ignore.
@@ -467,7 +467,7 @@
When newfsing the drive, do NOT newfs the `c'
partition. Instead, newfs the partition where the
non-swap space lies.
-
+
Add an entry to /etc/fstab as
@@ -477,7 +477,7 @@
/dev/ad0b none swap sw 0 0
-
+
Change /dev/ad0b to the device of the newly added
space.
@@ -498,7 +498,7 @@
Copying the Contents of Disks
-
+
Submitted By: Renaud Waldura
(renaud@softway.com)
Index: en_US.ISO8859-1/articles//freebsd-questions/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/freebsd-questions/article.sgml,v
retrieving revision 1.13
diff -u -r1.13 article.sgml
--- en_US.ISO8859-1/articles//freebsd-questions/article.sgml 18 May 2003 16:37:21 -0000 1.13
+++ en_US.ISO8859-1/articles//freebsd-questions/article.sgml 14 Jun 2003 12:36:15 -0000
@@ -31,10 +31,10 @@
list.
-
+
Introduction
-
+
FreeBSD-questions is a mailing list maintained by
the FreeBSD project to help people who have questions about the normal
use of FreeBSD. Another group, FreeBSD-hackers,
@@ -51,7 +51,7 @@
url="http://www.catb.org/~esr/faqs/hacker-howto.html">How To Become
A Hacker
-
+
This is a regular posting aimed to help both those seeking advice
from FreeBSD-questions (the newcomers), and also those
who answer the questions (the hackers).
@@ -69,7 +69,7 @@
FreeBSD-questions. In the following section, I recommend how to submit
a question; after that, we will look at how to answer one.
-
+
How to subscribe to FreeBSD-questions
@@ -77,18 +77,18 @@
a mail message to &a.majordomo; with the single line:
subscribe FreeBSD-questions
-
+
majordomo is an automatic program which
maintains the mailing list, so you do not need a subject line. If your
mailer complains, however, you can put anything you like in the subject
line.
-
+
When you get the reply from majordomo
telling you the details of the list, please save
it. If you ever should want to leave the list, you will need
the information there. See the next section for more details.
-
+
How to unsubscribe from FreeBSD-questions
@@ -156,7 +156,7 @@
FreeBSD-hackers. In some cases, it is not really
clear which group you should ask. The following criteria should help
for 99% of all questions, however:
-
+
If the question is of a general nature, ask
@@ -164,13 +164,13 @@
about installing FreeBSD or the use of a particular UNIX
utility.
-
+
If you think the question relates to a bug, but you are not sure,
or you do not know how to look for it, send the message to
FreeBSD-questions.
-
+
If the question relates to a bug, and you are
sure that it is a bug (for example, you can
@@ -197,7 +197,7 @@
Before submitting a question
-
+
You can (and should) do some things yourself before asking a question
on one of the mailing lists:
@@ -241,10 +241,10 @@
-
+
How to submit a question
-
+
When submitting a question to FreeBSD-questions, consider the
following points:
@@ -261,7 +261,7 @@
you do not. In the rest of this document, we will look at how to get
the most out of your question to FreeBSD-questions.
-
+
Not everybody who answers FreeBSD questions reads every message:
they look at the subject line and decide whether it interests them.
@@ -278,7 +278,7 @@
speak English as their first language, and we try to make
allowances for that, but it is really painful to try to read a
message written full of typos or without any line breaks.
-
+
Do not underestimate the effect that a poorly formatted mail
message has, not just on the FreeBSD-questions mailing list.
Your mail message is all people see of you, and if it is poorly
@@ -328,7 +328,7 @@
use mailers which do not get on very well with
MIME.
-
+
Make sure your time and time zone are set correctly. This may
seem a little silly, since your message still gets there, but many
@@ -358,7 +358,7 @@
sources, though of course you should not be sending questions
about -CURRENT to FreeBSD-questions.
-
+
With any problem which could be
hardware related, tell us about your hardware. In case of
doubt, assume it is possible that it is hardware. What kind of
@@ -370,7 +370,7 @@
tells not just what hardware you are running, but what version of
FreeBSD as well.
-
+
If you get error messages, do not say I get error
messages, say (for example) I get the error
@@ -416,7 +416,7 @@
This redirects the information to the file
/tmp/dmesg.out.
-
+
If you do all this, and you still do not get an answer, there
could be other reasons. For example, the problem is so complicated
@@ -428,7 +428,7 @@
only make you unpopular.
-
+
To summarize, let's assume you know the answer to the following
question (yes, it is the same one in each case).
You choose which of these two questions you would be more prepared to
@@ -471,7 +471,7 @@
you are talking about. Do not forget to trim unnecessary text out,
though.
-
+
The text in the subject line stays the same (you did remember to
put one in, did you not?). Many mailers will sort messages by
@@ -487,7 +487,7 @@
-
+
How to answer a question
@@ -505,7 +505,7 @@
check this is to sort your incoming mail by subject: then
(hopefully) you will see the question followed by any answers, all
together.
-
+
If somebody has already answered it, it does not automatically
mean that you should not send another answer. But it makes sense to
read all the other answers first.
@@ -551,14 +551,14 @@
send messages with hundreds of CCs. If this is the case, be sure to
trim the Cc: lines appropriately.
-
+
Include relevant text from the original message. Trim it to the
minimum, but do not overdo it. It should still be possible for
somebody who did not read the original message to understand what
you are talking about.
-
+
Use some technique to identify which text came from the original
message, and which text you add. I personally find that prepending
@@ -580,7 +580,7 @@
text such as Re: . If your mailer does not do it
automatically, you should do it manually.
-
+
If the submitter did not abide by format conventions (lines too
long, inappropriate subject line), please fix
Index: en_US.ISO8859-1/articles//hubs/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/hubs/article.sgml,v
retrieving revision 1.33
diff -u -r1.33 article.sgml
--- en_US.ISO8859-1/articles//hubs/article.sgml 23 May 2003 13:49:52 -0000 1.33
+++ en_US.ISO8859-1/articles//hubs/article.sgml 14 Jun 2003 12:36:30 -0000
@@ -23,10 +23,10 @@
- Valentino
+ ValentinoVaschetto
- logo@FreeBSD.org
+ logo@FreeBSD.org
@@ -96,10 +96,10 @@
which is determined by the servers policy. It is
also affected by the types of services you want to offer.
Plain FTP or HTTP services may not require a huge
- amount of resources. Watch out, if you provide
+ amount of resources. Watch out, if you provide
CVSup, rsync or even AnonCVS. This can have a huge
impact on CPU and memory requirements. Especially
- rsync is considered a memory hog, and CVSup does
+ rsync is considered a memory hog, and CVSup does
indeed consume some CPU. For AnonCVS it might
be a nice idea to set up a memory resident file system (MFS) of at least
300 MB, so you need to take this into account
@@ -201,14 +201,14 @@
RSYNC (optional for FTP fileset)Rsync is often also offered for convenience, for the
- contents of the FTP area of FreeBSD. The
+ contents of the FTP area of FreeBSD. The
protocol is different from FTP in many ways, and
overall, it can be stated, that it is much more
bandwidth friendly, as only differences between files
- are transferred, not whole files.
+ are transferred, not whole files.
Rsync does require significant amount of memory for
each instance. The size depends on the size of
- the synced module in terms of number of directories and
+ the synced module in terms of number of directories and
files. Rsync can use rsh and
ssh (now default) as a transport,
or use it's own protocol for stand-alone access
@@ -269,13 +269,13 @@
offering it via CVSup. Still it is possible to offer
the CVS repository via AnonCVS, FTP,
Rsync or HTTP, but
- people would benefit much more from CVSup access.
+ people would benefit much more from CVSup access.
CVSup was developed by &a.jdp;.
- It is a bit tricky to install on non-FreeBSD platforms,
+ It is a bit tricky to install on non-FreeBSD platforms,
since it is written in Modula-3 and therefore requires
- a Modula-3 environment. John Polstra has built a
+ a Modula-3 environment. John Polstra has built a
stripped down version of M3, that is sufficient to
- run CVSup, and can be installed much easier.
+ run CVSup, and can be installed much easier.
See Ezm3
for details. Related ports are:
@@ -292,20 +292,20 @@
- There are a few more like net/cvsupit and
+ There are a few more like net/cvsupit and
net/cvsup-without-gui you might want to have
- a look at. If you prefer a static binary package, take a look
+ a look at. If you prefer a static binary package, take a look
here.
This page still refers to the S1G bug, that was present
in CVSup. Maybe
John will setup a generic download-site to get
static binaries for various platforms.
-
+
It is possible to use CVSup to offer
- any kind of fileset, not just CVS repositories,
+ any kind of fileset, not just CVS repositories,
but configuration can be complex.
- CVSup is known to eat some CPU on the server as on the
+ CVSup is known to eat some CPU on the server as on the
client, since it needs to compare lots of files.
@@ -343,14 +343,14 @@
See the manpage for details of the options. See also the cvs info
page, about additional ways to make sure, access is read-only.
- It is advisable, that you create an unprivileged account,
+ It is advisable, that you create an unprivileged account,
preferably called anoncvs.
Also you need to create a file passwd
- in your /home/ncvs/CVSROOT and assign a
+ in your /home/ncvs/CVSROOT and assign a
CVS password (empty or anoncvs) to that user.
The directory /anoncvstmp is a special
purpose memory based file system. It is not required but
- advised, since &man.cvs.1; creates a shadow directory
+ advised, since &man.cvs.1; creates a shadow directory
structure in your /tmp which is
not used after the operation, but slows things
dramatically, if real disk operations are required.
@@ -378,7 +378,7 @@
The FTP area is the largest amount of data, that
needs to be mirrored. It includes the distributions
- sets, required for network installation, the
+ sets, required for network installation, the
branches, that are actually snapshots
of checked-out source trees, the ISO Images
to write CD-ROMs with the installation distribution,
@@ -414,7 +414,7 @@
In general FTP is not really good for mirroring, since it transfers
each whole file, if it has changed, and does
not create a single data stream, that will benefit from
- a large TCP congestion window.
+ a large TCP congestion window.
@@ -422,18 +422,18 @@
A better way, to mirror the FTP area is rsync.
You can install the port net/rsync and then use
- rsync to sync with your upstream host.
+ rsync to sync with your upstream host.
rsync is already mentioned
in .
- Since rsync access is not
+ Since rsync access is not
required, your preferred upstream site may not allow it.
Since it is quite common, though, chances are small, that
you cannot use it. You can always consider using an
upstream server, that offers it, just for the benefits
- of rsync.
+ of rsync.
- Since the number of rsync
+ Since the number of rsync
clients will have a significant impact on the server
machine, most admins impose limitations on their
server. For a mirror, you should ask the site maintainer
@@ -460,7 +460,7 @@
With CVSup
A few sites, including the one-and-only ftp-master.FreeBSD.org
- even offer CVSup to mirror the contents of
+ even offer CVSup to mirror the contents of
the FTP space. You need to install a cvsup
client, preferably from the port: net/cvsup.
(Also reread .)
@@ -543,7 +543,7 @@
Using other methods
Using other methods than CVSup is
- generally not recommended. We describe them in short here
+ generally not recommended. We describe them in short here
anyway. Since most sites offer the CVS repository as
part of the FTP fileset under the path
/pub/FreeBSD/development/FreeBSD-CVS,
@@ -562,7 +562,7 @@
- You can NOT use AnonCVS to
+ You can NOT use AnonCVS to
mirror the CVS repository, since CVS does not allow
you to access the repository itself, but only checked
out versions of the modules.
@@ -581,10 +581,10 @@
and a cronjob, that calls cvs up -d -P
on a regular basis, maybe just after your repository was updated.
Of course, the files need to remain in a directory, available
- for public WWW access. The installation and configuration of a
+ for public WWW access. The installation and configuration of a
webserver is not discussed here.
-
+
For the website to be visible, users must execute the &man.make.1;
command in the main www directory. This command
will create the standard *.html files for web
@@ -592,7 +592,7 @@
textproc/docproj port must be
installed.
- If you don't have a local repository, you can use
+ If you don't have a local repository, you can use
CVSup to maintain an up to date copy
of the www pages. A sample supfile can be found in
/usr/share/examples/cvsup/www-supfile and
@@ -621,8 +621,8 @@
Mirroring the FreeBSD documentation
- As the documentation is referenced a lot from the
- webpages, it is recommended, that you mirror the
+ As the documentation is referenced a lot from the
+ webpages, it is recommended, that you mirror the
FreeBSD documentation as well. However, this is not
so trivial as the www-pages alone.
@@ -652,7 +652,7 @@
Then you need to install a couple of ports.
You are lucky, that there is a meta-port:
textproc/docproj to do the work
- for you. You need to setup some
+ for you. You need to setup some
environment variables, like
SGML_CATALOG_FILES,
also have a look at your /etc/make.conf
@@ -686,7 +686,7 @@
Every mirror should be updated on a regular
basis. You will certainly need some script
- framework for it, that will be called by
+ framework for it, that will be called by
&man.cron.8;. Since nearly every admin
does this his own way, we cannot give
specific instructions. It could work
@@ -739,7 +739,7 @@
Mirrors are organized by country. All
official mirrors have a DNS entry of the form
- ftpN.CC.FreeBSD.org. With
+ ftpN.CC.FreeBSD.org. With
CC (i.e. country code) being the
top level domain
of the country, where this mirror is located;
@@ -756,14 +756,14 @@
Additionally there exists a hierarchy of mirrors, which
- is described terms of tiers.
+ is described terms of tiers.
The master sites are not referred to, but can be
described as Tier-0. Mirrors
that mirror from these sites can be considered
Tier-1, mirrors of Tier-1-mirrors,
- are Tier-2, etc.
+ are Tier-2, etc.
Official sites are encouraged to be of a low tier,
- but the lower the tier, the higher the requirements in
+ but the lower the tier, the higher the requirements in
terms as described in .
Also access to low-tier-mirrors may be restricted, and
access to master sites is definitely restricted.
@@ -779,7 +779,7 @@
The short answer is: from the
site, that is closest to you in Internet terms, or gives you
- the fastest access.
+ the fastest access.
I just want to mirror from somewhere!
@@ -834,8 +834,8 @@
I want to access the master sites!
If you have good reasons, and good prerequisites,
- you may want and get access to one of the
- master sites. Access to these sites is
+ you may want and get access to one of the
+ master sites. Access to these sites is
generally restricted, and there are special policies
for access. If you are already an official
mirror, this certainly helps you getting access.
@@ -850,7 +850,7 @@
ftp-master.FreeBSD.org
- This is the master site for the FTP fileset.
+ This is the master site for the FTP fileset.
ftp-master.FreeBSD.org provides
@@ -935,8 +935,8 @@
The following applies mainly to the FTP fileset,
- since a CVS repository should always be mirrored
- completely, and the webpages are a case of
+ since a CVS repository should always be mirrored
+ completely, and the webpages are a case of
its own.
@@ -946,7 +946,7 @@
carry the complete filesetallow access to other mirror sites
- provide FTP and
+ provide FTP and
RSYNC access
@@ -1001,7 +1001,7 @@
If everything works so far, contact the DNS admin, responsible
for your region/country, and ask for a DNS entry for your
site. The admin should able to be contacted via
- hostmaster@cc.FreeBSD.org, which
+ hostmaster@cc.FreeBSD.org, which
cc being your country code/TLD
again. Your DNS entry will look like described
in .
@@ -1015,13 +1015,13 @@
- Then you can ask the &a.doc; or the &a.hubs;
+ Then you can ask the &a.doc; or the &a.hubs;
to add your mirror site to the mirror list in the
FreeBSD
Handbook. Make sure you tell them the email address,
to list as the maintainer of the site.
-
+
This is it.
@@ -1041,7 +1041,7 @@
- ftp.is.FreeBSD.org - hostmaster@is.FreeBSD.org -
+ ftp.is.FreeBSD.org - hostmaster@is.FreeBSD.org -
(Bandwidth)(FTP
processes)(HTTP processes)
Index: en_US.ISO8859-1/articles//java-tomcat/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/java-tomcat/article.sgml,v
retrieving revision 1.14
diff -u -r1.14 article.sgml
--- en_US.ISO8859-1/articles//java-tomcat/article.sgml 8 Oct 2002 21:11:21 -0000 1.14
+++ en_US.ISO8859-1/articles//java-tomcat/article.sgml 14 Jun 2003 12:36:39 -0000
@@ -15,21 +15,21 @@
following disclaimer in the documentation and/or other materials
provided with the distribution.
- THIS DOCUMENTATION IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS AND CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED
+ THIS DOCUMENTATION IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS AND CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
-->
@@ -56,7 +56,7 @@
Java and Jakarta Tomcat on FreeBSD
-
+ VictoriaChan
@@ -79,8 +79,8 @@
Victoria ChanHiten Pandya
-
- $FreeBSD: doc/en_US.ISO8859-1/articles/java-tomcat/article.sgml,v 1.14 2002/10/08 21:11:21 blackend Exp $
+
+ $FreeBSD: doc/en_US.ISO8859-1/articles/java-tomcat/article.sgml,v 1.14 2002/10/08 21:11:21 blackend Exp $This document is presented in hopes of making it easier for
@@ -93,7 +93,7 @@
-
+
Introduction
@@ -129,7 +129,7 @@
In this article, you will find how to install the Java
Development Kit for FreeBSD, and how to get up and running with
Tomcat. A section is also provided for
- further reading.
+ further reading.
@@ -234,7 +234,7 @@
nearest to you. Click on Java 2 SDK, Standard Edition,
version 1.3.1. Save the
j2sdk-1_3_1-src.tar.gz to the
- /usr/ports/distfiles/ directory.
+ /usr/ports/distfiles/ directory.
@@ -244,7 +244,7 @@
several restrictions in place on the use of Java, which you must
address. The FreeBSD Project does not take any responsibilities
for your actions.
-
+
Do not discard any of the downloaded files, as they will be
needed for building some of the native ports for FreeBSD, which
are discussed later on.
@@ -416,7 +416,7 @@
after setting up the necessary Java environment, which we have
previously completed.
- In-order to setup Tomcat on FreeBSD, follow the below
+ In-order to setup Tomcat on FreeBSD, follow the below
procedure:
@@ -451,7 +451,7 @@
from the Jakarta website, which is located at
. The
file to download is called
- jakarta-tomcat-4.0.3.tar.gz.
+ jakarta-tomcat-4.0.3.tar.gz.
Index: en_US.ISO8859-1/articles//mh/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/mh/article.sgml,v
retrieving revision 1.19
diff -u -r1.19 article.sgml
--- en_US.ISO8859-1/articles//mh/article.sgml 21 May 2003 20:54:14 -0000 1.19
+++ en_US.ISO8859-1/articles//mh/article.sgml 14 Jun 2003 12:36:53 -0000
@@ -464,7 +464,7 @@
-
+
This allows you to do things like
@@ -571,7 +571,7 @@
TOTAL= 199 messages in 13 folders.
-
+
The refile command is what you use to move
messages between folders. When you do something like
refile 23 +netfuture message number 23 is moved
@@ -751,7 +751,7 @@
else {return-path} take the return-path from the original
message, %> endif.
-
+
As you can tell MH formatting can get rather involved. You
can probably decipher what most of the other functions and
variables mean. All of the information on writing these format
Index: en_US.ISO8859-1/articles//pxe/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/pxe/article.sgml,v
retrieving revision 1.14
diff -u -r1.14 article.sgml
--- en_US.ISO8859-1/articles//pxe/article.sgml 24 Jul 2002 01:08:56 -0000 1.14
+++ en_US.ISO8859-1/articles//pxe/article.sgml 14 Jun 2003 12:36:58 -0000
@@ -10,27 +10,27 @@
FreeBSD Jumpstart Guide
-
+
AlfredPerlstein
-
+
alfred@FreeBSD.org
-
+
$FreeBSD: doc/en_US.ISO8859-1/articles/pxe/article.sgml,v 1.14 2002/07/24 01:08:56 keramida Exp $
-
+
This article details the method used to allow machines to install
FreeBSD using the Intel PXE method of booting a machine over a network.
-
+
Introduction
@@ -41,16 +41,16 @@
Terminology:
-
+
-
+
ServerThe machine offering netboot and install options.
-
+
ClientThe machine that will have FreeBSD installed on it.
@@ -62,8 +62,8 @@
Requires:
Clients supporting the Intel PXE netboot option, an Ethernet connection.
-
- Please let me know if you come across anything you have problems with
+
+ Please let me know if you come across anything you have problems with
or suggestions for additional documentation.If you would like someone to train/implement a specific netinstall system
@@ -79,39 +79,39 @@
- Install DHCP: Install net/isc-dhcp3 you can use this config file
+ Install DHCP: Install net/isc-dhcp3 you can use this config file
dhcpd.conf, stick it in /usr/local/etc/
-
+
Enable tftp:
-
+
Make a directory /usr/tftpboot
-
+
- Add this line to your
+ Add this line to your
/etc/inetd.conf:
-
+
tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /usr/tftpboot
-
+
-
+
Enable NFS:
-
+
Add this to /etc/rc.conf:nfs_server_enable="YES"
-
+
Add this to /etc/exports:
@@ -119,44 +119,44 @@
-
+
- Reboot to enable the new services or start them
+ Reboot to enable the new services or start them
manually.
-
+
Bootstrap Setup
- Download bootfiles: Download the
+ Download bootfiles: Download the
- kern.flp and
-
+ kern.flp and
+
mfsroot.flp floppy images.
-
+
Setup tftp/pxe-boot directory:
-
+
Put pxeboot in the boot directory:
-
+
&prompt.root; rm -rf /usr/obj/*
&prompt.root; cd /usr/src/sys/boot
&prompt.root; make
&prompt.root; cp /usr/src/sys/boot/i386/pxeldr/pxeboot /usr/tftpboot
-
+
Using the vndevice mount the kern.flp
file and copy its contents to
/usr/tftpboot:
-
+
&prompt.root; vnconfig vn0 kern.flp # associate a vndevice with the file
&prompt.root; mount /dev/vn0 /mnt # mount it
&prompt.root; cp -R /mnt /usr/tftpboot # copy the contents to /usr/tftpboot
@@ -165,21 +165,21 @@
-
+
- Compile a custom kernel for the clients (particularly to avoid
- the device config screen at boot) and stick it in
+ Compile a custom kernel for the clients (particularly to avoid
+ the device config screen at boot) and stick it in
/usr/tftpboot.
-
+
- Make a special loader.rc to and install it
- in /usr/tftpboot/boot/loader.rc so that it
- does not prompt for the second disk, here is
+ Make a special loader.rc to and install it
+ in /usr/tftpboot/boot/loader.rc so that it
+ does not prompt for the second disk, here is
mine.
-
+
Extract the installer and helper utilities from the mfsroot disk
and uncompress them, put them in /usr/tftpboot
@@ -193,18 +193,18 @@
&prompt.root; cd /usr/tftpboot # get into the pxeboot directory
&prompt.root; gunzip mfsroot.gz # uncompress the mfsroot
-
+
Make your sysinstall script install.cfg, you
- can use
+ can use
mine as a template, but you must edit it.
-
-
- Copy the sysinstall script into the extracted and uncompressed
+
+
+ Copy the sysinstall script into the extracted and uncompressed
mfsroot image:
-
+
&prompt.root; cd /usr/tftpboot
&prompt.root; vnconfig vn0 mfsroot
&prompt.root; mount /dev/vn0 /mnt
@@ -214,10 +214,10 @@
-
+
Install Setup
-
+
Put the install files in an NFS accessible location on the
@@ -234,46 +234,46 @@
README.TXT cdrom.inf dict mfsroot.flp
RELNOTES.TXT compat1x doc packages
-
+
- Copy the compressed packages into the packages/All directory
+ Copy the compressed packages into the packages/All directory
under nfs.
-
+
Make sure you have an INDEX file prepared
in the packages directory. You can make your own
INDEX entries like so:alfred-1.0||/|Alfred install bootstrap||alfred@FreeBSD.org||||
-
+
Then you can install custom packages, particularly your own
custom post-install package.
-
+
Custom Post-Install Package
- You can use the script pkgmaker.sh to create a
- custom package for post install, the idea is to have it install and
- configure any special things you may need done.
- pkgmaker is run in the directory above the package
- you wish to create with the single argument of the package (ie mypkg)
- which will then create a mypkg.tgz for you to include in your sysinstall
+ You can use the script pkgmaker.sh to create a
+ custom package for post install, the idea is to have it install and
+ configure any special things you may need done.
+ pkgmaker is run in the directory above the package
+ you wish to create with the single argument of the package (ie mypkg)
+ which will then create a mypkg.tgz for you to include in your sysinstall
package.
- Inside your custom package dir you will want a file called
- PLIST which contains all the files that you wish to
+ Inside your custom package dir you will want a file called
+ PLIST which contains all the files that you wish to
install and be incorporated into your package.
-
- You will also want files called pre and
- post in the directory, these are shell scripts
- that you want to execute before and after your package is
+
+ You will also want files called pre and
+ post in the directory, these are shell scripts
+ that you want to execute before and after your package is
installed.
-
- Since this package is in your install.cfg file
+
+ Since this package is in your install.cfg file
it should be run and do the final configuration for you.
Index: en_US.ISO8859-1/articles//releng/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/releng/article.sgml,v
retrieving revision 1.48
diff -u -r1.48 article.sgml
--- en_US.ISO8859-1/articles//releng/article.sgml 4 May 2003 22:43:19 -0000 1.48
+++ en_US.ISO8859-1/articles//releng/article.sgml 14 Jun 2003 12:37:07 -0000
@@ -58,7 +58,7 @@
-
+
Introduction
@@ -79,7 +79,7 @@
FreeBSD development. An elected core-team[7]
of very senior developers provides some level of direction over
the project.
-
+
The rapid pace of FreeBSD development leaves little time
for polishing the development system into a production quality
@@ -88,7 +88,7 @@
HEAD or trunk of our CVS
tree, known as FreeBSD-CURRENT or
-CURRENT for short.
-
+
A more stable branch is maintained, known as
FreeBSD-STABLE or -STABLE for short.
Both branches live in a master CVS repository in California and
@@ -101,7 +101,7 @@
with general assumption that they have first gone into
FreeBSD-CURRENT and have been thoroughly tested by our user
community.
-
+
In the interim period between releases, nightly snapshots are
built automatically by the FreeBSD Project build machines and made
available for download from
-
+
Bug reports and feature requests are continuously submitted by
users throughout the release cycle. Problems reports are entered into our
GNATS[9] database
@@ -123,7 +123,7 @@
In addition to the multitude of different technical mailing lists
about FreeBSD, the &a.qa; provides a forum for discussing the finer
points of release-polishing.
-
+
To service our most conservative users, individual release
branches were introduced with FreeBSD 4.3.
These release branches are created shortly before a final release
@@ -133,7 +133,7 @@
available to keep systems on the
RELENG_X_Y
branches updated.
-
+
discusses the
different phases of the release engineering process leading up to
the actual system build and
@@ -161,7 +161,7 @@
From CURRENT and it describes the process of merging a
tested change from our -CURRENT development branch to our -STABLE
branch.
-
+
Code Review
@@ -170,31 +170,31 @@
time, all commits to the -STABLE branch must be approved by the
&a.re;. The kinds of changes that are allowed during this 15 day
period include:
-
+
Bug fixes.
-
+
Documentation updates.
-
+
Security-related fixes of any kind.
-
+
Minor changes to device drivers, such as adding new Device
IDs.
-
+
Any additional change that the release engineering team feels
is justified, given the potential risk.
-
+
After the first 15 days of the code slush, a
release candidate is released for
widespread testing and the code enters a code
@@ -209,56 +209,56 @@
different components required for a successful release are
available.
-
+
Final Release ChecklistWhen several release candidates have been made available for
widespread testing and all major issues have been resolved, the
final release polishing can begin.
-
+
Creating the Release BranchAs described in the introduction, the
RELENG_X_Y
release branch is a relatively new addition to our release
- engineering
+ engineering
methodology. The first step in creating this branch is to
ensure that you are working with the newest version of the
RELENG_X sources
that you want to branch from.
-
+
/usr/src&prompt.root; cvs update -rRELENG_4 -P -d
-
+
The next step is to create a branch point
tag, so that diffs against the start of
the branch are easier with CVS:
-
+
/usr/src&prompt.root; cvs rtag -rRELENG_4 RELENG_4_8_BP src
-
+
And then a new branch tag is created with:
-
+
/usr/src&prompt.root; cvs rtag -b -rRELENG_4_8_BP RELENG_4_8 src
-
+
The
RELENG_* tags
are restricted for use by the CVS-meisters and release
engineers.
-
+
A tag is CVS
vernacular for a label that identifies the source at a specific point
in time. By tagging the tree, we ensure that future release builders
- will always be able to use the same source we used to create the
+ will always be able to use the same source we used to create the
official FreeBSD Project releases.
-
+
-
+
@@ -266,14 +266,14 @@
&branches.ascii;
-
+
- FreeBSD Development Branches
+ FreeBSD Development Branches
-
+
Bumping up the Version Number
@@ -311,19 +311,19 @@
src/release/Makefile
-
+
src/release/doc/en_US.ISO8859-1/share/sgml/release.dsl
-
+
src/release/doc/share/examples/Makefile.relnotesng
-
+
src/release/doc/share/sgml/release.ent
-
+
src/share/examples/cvsup/standard-supfile
@@ -331,15 +331,15 @@
src/sys/conf/newvers.sh
-
+
src/sys/sys/param.h
-
+
src/usr.sbin/pkg_install/add/main.c
-
+
www/en/docs.sgml
@@ -353,26 +353,26 @@
-
+
The release notes and errata files also need to be adjusted for the
- new release (on the release branch) and truncated appropriately
+ new release (on the release branch) and truncated appropriately
(on the stable/current branch):
-
+
src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml
-
+
src/release/doc/en_US.ISO8859-1/errata/article.sgml
- Sysinstall should be updated to note
+ Sysinstall should be updated to note
the number of available ports and the amount of disk space required
- for the Ports Collection. This information is currently kept in
+ for the Ports Collection. This information is currently kept in
src/release/sysinstall/dist.c.After the release has been built, a number of file should
@@ -402,22 +402,22 @@
-
+
Creating Release TagsWhen the final release is ready, the following command
will create the RELENG_4_8_0_RELEASE
tag.
-
+
/usr/src&prompt.root; cvs rtag -rRELENG_4_8 RELENG_4_8_0_RELEASE src
-
+
The Documentation and Ports managers are responsible for
tagging the respective trees with the RELEASE_4_8_0
tag.
-
+
Occasionally, a last minute fix may be required
after the final tags have been created.
In practice this isn't a problem, since CVS
@@ -453,7 +453,7 @@
CDROM, installation floppies, and an FTP install directory. This
command is aptly named make
release.
-
+
make release
@@ -464,29 +464,29 @@
buildworld. The release
target requires several variables be set properly to build a
release:
-
+
CHROOTDIR - The directory to be used as the
chroot environment for the entire release build.
-
+
BUILDNAME - The name of the release to be
built.
-
+
CVSROOT - The location of a CVS Repository.
-
+
RELEASETAG - The CVS tag corresponding to the
release you would like to build.
-
+
-
+
If you do not already have access to a local CVS
repository, then you may mirror one with CVSup.
@@ -505,7 +505,7 @@
top of src/release/Makefile. The exact
command used to build the official FreeBSD 4.7 (x86) release
was:
-
+
make release CHROOTDIR=/local3/release \
BUILDNAME=4.7-RELEASE \
CVSROOT=/host/cvs/usr/home/ncvs \
@@ -515,81 +515,81 @@
The release Makefile can be broken down into several distinct
steps.
-
+
- Creation of a sanitized system environment in a separate
- directory hierarchy with make
+ Creation of a sanitized system environment in a separate
+ directory hierarchy with make
installworld.
-
+
- Checkout from CVS of a clean version of the system source,
+ Checkout from CVS of a clean version of the system source,
documentation, and ports into the release build hierarchy.
-
+
- Population of /etc and
+ Population of /etc and
/dev in the chrooted
environment.
-
+
- chroot into the release build hierarchy, to make it harder for
+ chroot into the release build hierarchy, to make it harder for
the outside environment to taint this build.
-
+
make world
in the chrooted environment.
-
+
Build of Kerberos-related binaries.
-
+
Build GENERIC kernel.
-
+
- Creation of a staging directory tree where the binary
+ Creation of a staging directory tree where the binary
distributions will be built and packaged.
-
+
- Build and installation of the documentation toolchain needed to
- convert the documentation source (SGML) into HTML and text documents
+ Build and installation of the documentation toolchain needed to
+ convert the documentation source (SGML) into HTML and text documents
that will accompany the release.
-
+
- Build and installation of the actual documentation
- (user manuals, tutorials, release notes, hardware compatibility lists,
+ Build and installation of the actual documentation
+ (user manuals, tutorials, release notes, hardware compatibility lists,
and so on.)
-
+
- Build of the crunched binaries used for
+ Build of the crunched binaries used for
installation floppies.
-
+
Package up distribution tarballs of the binaries and sources.
-
+
Create the boot media and a fixit floppy.
-
+
Create FTP installation hierarchy.
-
+
- (optionally) Create ISO images for
+ (optionally) Create ISO images for
CDROM/DVD media.
@@ -598,7 +598,7 @@
please see &man.release.7;.
-
+
Building XFree86
@@ -625,7 +625,7 @@
be unwise to distribute binaries that were built on a system
with CPUTYPE set to a specific
processor.
-
+
@@ -644,7 +644,7 @@
in depth.
-
+
Release ISOs
@@ -660,11 +660,11 @@
provides a manifest for the disc. This
manifest can be created with a simple
command:
-
+
/stage/cdrom&prompt.root; find . -type f | sed -e 's/^\.\///' | sort > filename.txt
-
+
The specific requirements of each CD are outlined below.
-
+
Disc 1
@@ -679,7 +679,7 @@
installation floppies from other operating systems. This disc
should be made bootable so that users of modern PCs do not
need to create installation floppy disks.
-
+
If an alternate version of XFree86 is to be provided, then
&man.sysinstall.8; must be updated to reflect the new location
and installation instructions. The relevant code is contained
@@ -689,7 +689,7 @@
menus.c, and
config.c will need to be updated.
-
+
Disc 2
@@ -702,7 +702,7 @@
commercial software demos in the commerce
directory.
-
+
Discs 3 and 4
@@ -807,7 +807,7 @@
certainly encourage innovation in the form of advanced
installation and administration tools, for example, but we can't
be expected to answer questions about it.
-
+
Creating Customized Boot floppies
@@ -816,46 +816,46 @@
installation floppies. The quick and dirty way
to accomplish this would be to modify the staging directory of
an existing make release build hierarchy:
-
+
Apply patches or add additional files inside the chroot
release build directory.
-
+
- rm
+ rm
${CHROOTDIR}/usr/obj/usr/src/release/release.[59]
-
+
rebuild &man.sysinstall.8;, the kernel, or whatever
parts of the system your change affected.
-
+
chroot ${CHROOTDIR} ./mk floppies
-
+
-
+
New release floppies will be located in
${CHROOTDIR}/R/stage/floppies.
-
+
Alternatively, the
boot.flp make
target can be called, or the filesystem
creating script,
src/release/scripts/doFS.sh, may be invoked
directly.
-
+
Local patches may also be supplied to the release build by
defining the LOCAL_PATCH variable in make
release.
-
+
Scripting sysinstall
@@ -884,7 +884,7 @@
found in the earlier release candidates. A total of over
500 emails were sent to the &a.re; in
little over a month.
-
+
Our user community has made it very clear that the security
and stability of a FreeBSD release should not be sacrificed for
any self-imposed deadlines or target release dates. The FreeBSD
@@ -902,7 +902,7 @@
scale with our growing userbase. Along these lines we are working
very hard to document the procedures involved in producing FreeBSD
releases.
-
+
Parallelism - Certain portions of the
@@ -918,19 +918,19 @@
RAID solution (hardware or software) can
significantly decrease the overall build time.
-
+
Cross-building releases - Building
IA-64 or Alpha release on x86 hardware? make
TARGET=ia64 release.
-
+
Regression Testing - We need better
automated correctness testing for FreeBSD.
-
+
Installation Tools - Our installation
program has long since outlived its intended life span.
@@ -940,7 +940,7 @@
package framework and GUI installation program.
-
+
@@ -964,53 +964,53 @@
References
- [1] CVS - Concurrent Versions System
+ [1] CVS - Concurrent Versions System
-
+
[2] CVSup - The CVS-Optimized General Purpose Network File Distribution
System
-
+
[3]
-
- [4] FreeBSD Ports Collection
+
+ [4] FreeBSD Ports Collection
-
- [5] The libh Project
+
+ [5] The libh Project
-
- [6] FreeBSD Committers [6] FreeBSD Committers
-
- [7] FreeBSD Core-Team
+
+ [7] FreeBSD Core-Team
-
- [8] FreeBSD Handbook
+
+ [8] FreeBSD Handbook
-
+
[9] GNATS: The GNU Bug Tracking System
-
+
[10] FreeBSD PR Statistics
-
- [11] NetBSD Developer Documentation: Release Engineering
+
+ [11] NetBSD Developer Documentation: Release Engineering
-
- [12] John Baldwin's FreeBSD Release Engineering Proposal
+
+ [12] John Baldwin's FreeBSD Release Engineering Proposal
-
- [13] PXE Jumpstart Guide
- [13] PXE Jumpstart Guide
+
-
- [14] Marshall Kirk McKusick, Michael J. Karels, and Keith Bostic:
+
+ [14] Marshall Kirk McKusick, Michael J. Karels, and Keith Bostic:
The Release Engineering of 4.3BSD
Index: en_US.ISO8859-1/articles//serial-uart/article.sgml
===================================================================
RCS file: /u/cvs/cvs/doc/en_US.ISO8859-1/articles/serial-uart/article.sgml,v
retrieving revision 1.7
diff -u -r1.7 article.sgml
--- en_US.ISO8859-1/articles//serial-uart/article.sgml 2 Dec 2002 21:11:54 -0000 1.7
+++ en_US.ISO8859-1/articles//serial-uart/article.sgml 14 Jun 2003 12:37:31 -0000
@@ -8,25 +8,25 @@
Serial and UART Tutorial
-
+
FrankDurda
-
+
uhclem@FreeBSD.org
-
+
$FreeBSD: doc/en_US.ISO8859-1/articles/serial-uart/article.sgml,v 1.7 2002/12/02 21:11:54 blackend Exp $
-
+
This article talks about using serial hardware with FreeBSD.
-
+
The UART: What it is and how it works
@@ -39,11 +39,11 @@
transmits the individual bits in a sequential fashion. At the
destination, a second UART re-assembles the bits into complete
bytes.
-
+
Serial transmission is commonly used with modems and for
non-networked communication between computers, terminals and
other devices.
-
+
There are two primary forms of serial transmission:
Synchronous and Asynchronous. Depending on the modes that are
supported by the hardware, the name of the communication
@@ -51,13 +51,13 @@
supports Asynchronous communications, and a
S if it supports Synchronous
communications. Both forms are described below.
-
+
Some common acronyms are:
-
+
UART Universal Asynchronous Receiver/Transmitter
-
+
USART Universal Synchronous-Asynchronous
Receiver/Transmitter
@@ -65,7 +65,7 @@
Synchronous Serial Transmission
-
+
Synchronous serial transmission requires that the sender
and receiver share a clock with one another, or that the
sender provide a strobe or other timing signal so that the
@@ -79,7 +79,7 @@
synchronous communication can be more costly if extra wiring
and circuits are required to share a clock signal between
the sender and receiver.
-
+
A form of Synchronous transmission is used with printers
and fixed disk devices in that the data is sent on one set
of wires while a clock or strobe is sent on a different
@@ -88,7 +88,7 @@
send an entire word of data for each clock or strobe signal
by using a separate wire for each bit of the word. In the
PC industry, these are known as Parallel devices.
-
+
The standard serial communications hardware in the PC
does not support Synchronous operations. This mode is
described here for comparison purposes only.
@@ -96,14 +96,14 @@
Asynchronous Serial Transmission
-
+
Asynchronous transmission allows data to be transmitted
without the sender having to send a clock signal to the
receiver. Instead, the sender and receiver must agree on
timing parameters in advance and special bits are added to
each word which are used to synchronize the sending and
receiving units.
-
+
When a word is given to the UART for Asynchronous
transmissions, a bit called the "Start Bit" is added to the
beginning of each word that is to be transmitted. The Start
@@ -115,7 +115,7 @@
the remaining bits in the word. (This requirement was set
in the days of mechanical teleprinters and is easily met by
modern electronic equipment.)
-
+
After the Start Bit, the individual bits of the word of
data are sent, with the Least Significant Bit (LSB) being
sent first. Each bit in the transmission is transmitted for
@@ -129,18 +129,18 @@
0 after one second has passed, then it
will wait two seconds and then examine the value of the next
bit, and so on.
-
+
The sender does not know when the receiver has
looked at the value of the bit. The sender
only knows when the clock says to begin transmitting the
next bit of the word.
-
+
When the entire data word has been sent, the transmitter
may add a Parity Bit that the transmitter generates. The
Parity Bit may be used by the receiver to perform simple
error checking. Then at least one Stop Bit is sent by the
transmitter.
-
+
When the receiver has received all of the bits in the
data word, it may check for the Parity Bits (both sender and
receiver must agree on whether a Parity Bit is to be used),
@@ -151,16 +151,16 @@
usual cause of a Framing Error is that the sender and
receiver clocks were not running at the same speed, or that
the signal was interrupted.
-
+
Regardless of whether the data was received correctly or
not, the UART automatically discards the Start, Parity and
Stop bits. If the sender and receiver are configured
identically, these bits are not passed to the host.
-
+
If another word is ready for transmission, the Start Bit
for the new word can be sent as soon as the Stop Bit for the
previous word has been sent.
-
+
Because asynchronous data is self
synchronizing, if there is no data to transmit, the
transmission line can be idle.
@@ -168,7 +168,7 @@
Other UART Functions
-
+
In addition to the basic job of converting data from
parallel to serial for transmission and from serial to
parallel on reception, a UART will usually provide
@@ -186,23 +186,23 @@
The RS232-C and V.24 Standards
-
+
In most computer systems, the UART is connected to
circuitry that generates signals that comply with the EIA
RS232-C specification. There is also a CCITT standard named
V.24 that mirrors the specifications included in
RS232-C.
-
+
RS232-C Bit Assignments (Marks and Spaces)
-
+
In RS232-C, a value of 1 is called
a Mark and a value of
0 is called a Space.
When a communication line is idle, the line is said to be
Marking, or transmitting continuous
1 values.
-
+
The Start bit always has a value of
0 (a Space). The Stop Bit always has a
value of 1 (a Mark). This means that
@@ -212,12 +212,12 @@
sender and receiver can resynchronize their clocks
regardless of the content of the data bits that are being
transmitted.
-
+
The idle time between Stop and Start bits does not
have to be an exact multiple (including zero) of the bit
rate of the communication link, but most UARTs are
designed this way for simplicity.
-
+
In RS232-C, the "Marking" signal (a
1) is represented by a voltage between
-2 VDC and -12 VDC, and a "Spacing" signal (a
@@ -230,24 +230,24 @@
acceptable to a RS232-C receiver, provided that the cable
lengths are short.
-
+
RS232-C Break Signal
-
+
RS232-C also specifies a signal called a
Break, which is caused by sending
continuous Spacing values (no Start or Stop bits). When
there is no electricity present on the data circuit, the
line is considered to be sending
Break.
-
+
The Break signal must be of a
duration longer than the time it takes to send a complete
byte plus Start, Stop and Parity bits. Most UARTs can
distinguish between a Framing Error and a Break, but if
the UART cannot do this, the Framing Error detection can
be used to identify Breaks.
-
+
In the days of teleprinters, when numerous printers
around the country were wired in series (such as news
services), any unit could cause a Break
@@ -255,7 +255,7 @@
current flowed. This was used to allow a location with
urgent news to interrupt some other location that was
currently sending information.
-
+
In modern systems there are two types of Break
signals. If the Break is longer than 1.6 seconds, it is
considered a "Modem Break", and some modems can be
@@ -267,7 +267,7 @@
is used as an Attention or Interrupt signal and sometimes
is accepted as a substitute for the ASCII CONTROL-C
character.
-
+
Marks and Spaces are also equivalent to
Holes and No Holes in paper
tape systems.
@@ -280,10 +280,10 @@
a special command from the host processor.