diff --git a/en_US.ISO8859-1/articles/explaining-bsd/article.sgml b/en_US.ISO8859-1/articles/explaining-bsd/article.sgml
index 4213168cdc..f578f16562 100644
--- a/en_US.ISO8859-1/articles/explaining-bsd/article.sgml
+++ b/en_US.ISO8859-1/articles/explaining-bsd/article.sgml
@@ -1,553 +1,565 @@
%man;
%freebsd;
+
+%trademarks;
]>
Explaining BSDGregLeheygrog@FreeBSD.org
+
+ &tm-attrib.freebsd;
+ &tm-attrib.apple;
+ &tm-attrib.linux;
+ &tm-attrib.opengroup;
+ &tm-attrib.sun;
+ &tm-attrib.xfree86;
+ &tm-attrib.general;
+
+
In the open source world, the word Linux is almost
synonymous with Operating System, but it is not the only
open source &unix; operating system. According
to the Internet
Operating System Counter, as of April 1999 31.3% of the
- world's network connected machines run Linux. 14.6% run BSD UNIX.
+ world's network connected machines run Linux. 14.6% run BSD &unix;.
Some of the world's largest web operations, such as Yahoo!, run BSD. The world's
busiest FTP server, ftp.cdrom.com, uses BSD to
transfer 1.4 TB of data a day. Clearly this is not a niche
market: BSD is a well-kept secret.So what is the secret? Why is BSD not better known? This white
paper addresses these and other questions.Throughout this paper, differences between BSD and Linux will be
noted like this.What is BSD?BSD stands for Berkeley Software Distribution. It is
the name of distributions of source code from the University of
California, Berkeley, which were originally extensions to AT&T's
Research &unix; operating system. Several open source operating system
projects are based on a release of this source code known as
4.4BSD-Lite. In addition, they comprise a number of packages from other
Open Source projects, including notably the GNU project. The overall
operating system comprises:The BSD kernel, which handles process scheduling, memory
management, symmetric multi-processing (SMP), device drivers,
etc.Unlike the Linux kernel, there are several different
BSD kernels with differing capabilities.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.The X Window system, which handles graphical display.The X Window system used in most versions of BSD is maintained
by a separate project, the
- XFree86 project.
+ &xfree86; project.
This is the same code as Linux uses. BSD does not normally
specify a graphical desktop such as GNOME or KDE,
though these are available.Many other programs and utilities.
- 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
- the ancestor of the modern UNIX System V. This may surprise you. How
+ derivatives of AT&T's Research &unix; operating system, which is also
+ the ancestor of the modern &unix; System V. This may surprise you. How
could that happen when AT&T has never released its code as open
source?
- It is true that AT&T UNIX is not open source, and in a copyright
- sense BSD is very definitely not UNIX, but on the
+ It is true that AT&T &unix; is not open source, and in a copyright
+ sense BSD is very definitely not &unix;, but on the
other hand, AT&T has imported sources from other projects,
noticeably the Computer Sciences Research Group of the University of
California in Berkeley, CA. Starting in 1976, the CSRG started
releasing tapes of their software, calling them Berkeley
Software Distribution or BSD.Initial BSD releases consisted mainly of user programs, but that
changed dramatically when the CSRG landed a contract with the Defense
Advanced Projects Research Agency (DARPA) to upgrade the communications
protocols on their network, ARPANET. The new protocols were known as
the Internet Protocols, later
TCP/IP after the most important protocols. The
first widely distributed implementation was part of 4.2BSD, in
1982.In the course of the 1980s, a number of new workstation companies
- sprang up. Many preferred to license UNIX rather than developing
+ sprang up. Many preferred to license &unix; rather than developing
operating systems for themselves. In particular, Sun Microsystems
- licensed UNIX and implemented a version of 4.2BSD, which they called
- SunOS. When AT&T themselves were allowed to sell UNIX commercially,
+ licensed &unix; and implemented a version of 4.2BSD, which they called
+ &sunos;. When AT&T themselves were allowed to sell &unix; commercially,
they started with a somewhat bare-bones implementation called System
III, to be quickly followed by System V. The System V code base did not
include networking, so all implementations included additional software
from the BSD, including the TCP/IP software, but also utilities such as
the csh shell and the vi
editor. Collectively, these enhancements were known as the
Berkeley Extensions.The BSD tapes contained AT&T source code and thus required a
- UNIX source license. By 1990, the CSRG's funding was running out, and
+ &unix; source license. By 1990, the CSRG's funding was running out, and
it faced closure. Some members of the group decided to release the BSD
code, which was Open Source, without the AT&T proprietary code.
This finally happened with the Networking Tape 2,
usually known as Net/2. Net/2 was not a complete
operating system: about 20% of the kernel code was missing. One of the
CSRG members, William F. Jolitz, wrote the remaining code and released
it in early 1992 as 386BSD. At the same time,
another group of ex-CSRG members formed a commercial company called
Berkeley Software Design Inc.
and released a beta version of an operating system called
BSD/386, which was based on
the same sources. The name of the operating system has since changed
to BSD/OS.386BSD never became a stable operating system. Instead, two other
projects split off from it in 1993:
NetBSD and
FreeBSD. The two projects
originally diverged due to differences in patience waiting for
improvements to 386BSD: the NetBSD people started early in the year,
and the first version of FreeBSD was not ready until the end of the
year. In the meantime, the code base had diverged sufficiently to
make it difficult to merge. In addition, the projects had different
aims, as we will see below. In 1996, a further project,
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
code than marketing it.Much of Linux's popularity is due to factors external to the
Linux projects, such as the press, and to companies formed to
provide Linux services. Until recently, the open source BSDs had no
such proponents.BSD developers tend to be more experienced than Linux
developers, and have less interest in making the system easy to use.
Newcomers tend to feel more comfortable with Linux.In 1992, AT&T sued
BSDI,
the vendor of BSD/386, alleging that the product contained
AT&T-copyrighted code. The case was settled out of court in
1994, but the spectre of the litigation continues to haunt people.
As recently as March 2000 an article published on the web claimed
that the court case had been recently settled.One detail that the lawsuit did clarify is the naming: in the
- 1980s, BSD was known as BSD UNIX. With the
+ 1980s, BSD was known as BSD &unix;. With the
elimination of the last vestige of AT&T code from BSD, it
- also lost the right to the name UNIX. Thus you will see
- references in book titles to the 4.3BSD UNIX operating
+ also lost the right to the name &unix;. Thus you will see
+ references in book titles to the 4.3BSD &unix; operating
system and the 4.4BSD operating
system.There is a perception that the BSD projects are fragmented and
belligerent. The
Wall Street
Journal spoke of balkanization of the
BSD projects. Like the law suit, this perception bases mainly
on ancient history.Comparing BSD and LinuxSo what is really the difference between, say, Debian Linux and
FreeBSD? For the average user, the difference is surprisingly small:
- Both are UNIX-like operating systems. Both are developed by
+ Both are &unix; like operating systems. Both are developed by
non-commercial projects (this does not apply to many other Linux
distributions, of course). In the following section, we will look at BSD
and compare it to Linux. The description applies most closely to
FreeBSD, which accounts for an estimated 80% of the BSD installations,
but the differences from NetBSD and OpenBSD are small.Who owns BSD?No one person or corporation owns BSD. It is created and
distributed by a community of highly technical and committed
contributors all over the world. Some of the components of BSD are
Open Source projects managed by a different project maintainer.How is BSD developed and updated?The BSD kernels are developed and updated following the Open
Source development model. Each project maintains a publicly
accessible source tree under the
Concurrent Versions
System (CVS), which contains all source files for the
project, including documentation and other incidental files. CVS
allows users to check out (in other words, to
extract a copy of) any desired version of the system.A large number of developers worldwide contribute to improvements
to BSD. They are divided into three kinds:Contributors write code or documentation.
They are not permitted to commit (add code) directly to the source
tree. In order for their code to be included in the system, it
must be reviewed and checked in by a registered developer, known
as a committer.Committers are developers with write
access to the source tree. In order to become a committer, an
individual must show ability in the area in which he is
active.
It is at the individual committer's discretion whether he should
obtain authority before committing changes to the source tree. In
general, an experienced committer may make changes which are
obviously correct without obtaining consensus. For example, a
documentation project committer may correct typographical or
grammatical errors without review. On the other hand, developers
making far-reaching or complicated changes are expected to submit
their changes for review before committing them. In extreme
cases, a core team member with a function such as Principal
Architect may order that changes be removed from the tree, a
process known as backing out. All committers
receive mail describing each individual commit, so it is not
possible to commit secretly.The Core team. FreeBSD and
NetBSD each have a core team which manages the project. The
core teams developed in the course of the projects, and their role
is not always well-defined. It is not necessary to be a developer
in order to be a core team member, though it is normal. The rules
for the core team vary from one project to the other, but in
general they have more say in the direction of the project than
non-core team members have.This arrangement differs from Linux in a number of ways:No one person controls the content of the system. In
practice, this difference is overrated, since the Chief Architect
can require that code be backed out, and even in the Linux project
several people are permitted to make changes.On the other hand, there is a central
repository, a single place where you can find the entire operating
system sources, including all older versions.BSD projects maintain the entire Operating
System, not only the kernel. This distinction is only
marginally useful: neither BSD nor Linux is useful without
applications. The applications used under BSD are frequently the
same as the applications used under Linux.As a result of the formalized maintenance of a single CVS
source tree, BSD development is clear, and it is possible to
access any version of the system by release number or by date.
CVS also allows incremental updates to the system: for example,
the FreeBSD repository is updated about 100 times a day. Most of
these changes are small.BSD releasesEach BSD project provides the system in three different
releases. As with Linux, releases are assigned a
number such as 1.4.1 or 3.5. In addition, the version number has a
suffix indicating its purpose:The development version of the system is called
CURRENT. FreeBSD assigns a number to
CURRENT, for example FreeBSD 5.0-CURRENT. NetBSD uses a slightly
different naming scheme and appends a single-letter suffix which
indicates changes in the internal interfaces, for example NetBSD
1.4.3G. OpenBSD does not assign a number ("OpenBSD-current").
All new development on the system goes into this branch.At regular intervals, between two and four times a year, the
projects bring out a RELEASE version of the
system, which is available on CD-ROM and for free download from
FTP sites, for example OpenBSD 2.6-RELEASE or NetBSD 1.4-RELEASE.
The RELEASE version is intended for end users and is the normal
version of the system. NetBSD also provides patch
releases with a third digit, for example NetBSD
1.4.2.As bugs are found in a RELEASE version, they are fixed, and
the fixes are added to the CVS tree. In FreeBSD, the resultant
version is called the STABLE version, while in NetBSD and OpenBSD
it continues to be called the RELEASE version. Smaller new
features can also be added to this branch after a period of test
in the CURRENT branch.By contrast, Linux maintains two separate code trees:
the stable version and the development version. Stable versions
have an even minor version number, such as 2.0, 2.2 or 2.4.
Development versions have an odd minor version number, such as 2.1,
2.3 or 2.5. In each case, the number is followed by a further
number designating the exact release. In addition, each vendor adds
their own userland programs and utilities, so the name of the
distribution is also important. Each distribution vendor also
assigns version numbers to the distribution, so a complete
description might be something like TurboLinux 6.0 with kernel
2.2.14What versions of BSD are available?In contrast to the numerous Linux distributions, there are only
three open source BSDs. Each BSD project maintains its own source
tree and its own kernel. In practice, though, there appear to be
fewer divergences between the userland code of the projects than there
is in Linux.It is difficult to categorize the goals of each project: the
differences are very subjective. Basically,FreeBSD aims for high performance and ease of use by
end users, and is a favourite of web content providers. It runs
on PCs and Compaq's Alpha processors. The FreeBSD project has
significantly more users than the other projects.NetBSD aims for maximum portability: of course it runs
NetBSD. It runs on machines from palmtops to large
servers, and has even been used on NASA space missions. It is a
particularly good choice for running on old non-Intel
hardware.OpenBSD aims for security and code purity: it uses a
combination of the open source concept and rigorous code reviews
to create a system which is demonstrably correct, making it the
choice of security-conscious organizations such as banks, stock
exchanges and US Government departments. Like NetBSD, it runs on
a number of platforms.
- There are also two additional BSD operating systems which are not
- open source, BSD/OS and Apple's Mac OS X:
+ There are also two additional BSD &unix; operating systems which are not
+ open source, BSD/OS and Apple's &macos; X:BSD/OS is the oldest of the 4.4BSD derivatives. It
is not open source, though source code licenses are available at
relatively low cost. It resembles FreeBSD in many ways.
- Mac OS
+ &macos;
X is the latest version of the operating system for
Apple Computer Inc.'s
- Macintosh line. The BSD Unix core of this operating
+ &macintosh; line. The BSD core of this operating
system, Darwin,
is available as a fully functional open source operating
system for x86 and PPC computers. The Aqua/Quartz
graphics system and many other proprietary aspects of
- Mac OS X remain closed-source, however. Several Darwin
+ &macos; X remain closed-source, however. Several Darwin
developers are also FreeBSD committers, and
vice-versa.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
source software. In particular, any derivative work of a product
released under the GPL must also be supplied with source code if
requested. By contrast, the
BSD
license is less restrictive: binary-only distributions are
allowed. This is particularly attractive for embedded
applications.What else should I know?Since fewer applications are available for BSD than Linux, the BSD
developers created a Linux compatibility package, which allows Linux
programs to run under BSD. The package includes both kernel
modifications, in order to correctly perform Linux system calls, and
Linux compatibility files such as the C library. There is no
noticeable difference in execution speed between a Linux application
running on a Linux machine and a Linux application running on a BSD
machine of the same speed.The all from one supplier nature of BSD means that
upgrades are much easier to handle than is frequently the case with
Linux. BSD handles library version upgrades by providing
compatibility modules for earlier library versions, so it is possible
to run binaries which are several years old with no problems.Which should I use, BSD or Linux?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
cases, there is little or no difference in performance. In some
cases, Linux may perform better than FreeBSD.In general, BSD systems have a better reputation for
reliability, mainly as a result of the more mature code
base.The BSD license may be more attractive than the GPL.BSD can execute Linux code, while Linux can not execute BSD
code. As a result, more software is available for BSD than for
Linux.Who provides support, service, and training for BSD?BSDi have always supported BSD/OS, and they have recently
announced support contracts for FreeBSD.In addition, each of the projects has a list of consultants for
hire:
FreeBSD,
NetBSD,
and OpenBSD.
diff --git a/en_US.ISO8859-1/articles/freebsd-questions/article.sgml b/en_US.ISO8859-1/articles/freebsd-questions/article.sgml
index ce27a56f3d..d1f43de000 100644
--- a/en_US.ISO8859-1/articles/freebsd-questions/article.sgml
+++ b/en_US.ISO8859-1/articles/freebsd-questions/article.sgml
@@ -1,614 +1,625 @@
%man;
%mailing-lists;
%freebsd;
+
+%trademarks;
]>
How to get best results from the FreeBSD-questions mailing
listGregLeheygrog@FreeBSD.org$FreeBSD$
+
+ &tm-attrib.freebsd;
+ &tm-attrib.microsoft;
+ &tm-attrib.netscape;
+ &tm-attrib.opengroup;
+ &tm-attrib.qualcomm;
+ &tm-attrib.general;
+
+
This document provides useful information for people looking to
prepare an e-mail to the FreeBSD-questions mailing list. Advice and
hints are given that will maximise the chance that the reader will
receive useful replies.This document is regularly posted to the FreeBSD-questions mailing
list.IntroductionFreeBSD-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,
discusses more advanced questions such as future development
work.The term hacker has nothing to do with breaking
into other people's computers. The correct term for the latter
activity is cracker, but the popular press has not found
out yet. The FreeBSD hackers disapprove strongly of cracking
security, and have nothing to do with it. For a longer description of
hackers, see Eric Raymond's How To Become
A HackerThis 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).Inevitably there is some friction, which stems from the different
viewpoints of the two groups. The newcomers accuse the hackers of being
arrogant, stuck-up, and unhelpful, while the hackers accuse the
newcomers of being stupid, unable to read plain English, and expecting
everything to be handed to them on a silver platter. Of course, there is
an element of truth in both these claims, but for the most part these
viewpoints come from a sense of frustration.In this document, I would like to do something to relieve this
frustration and help everybody get better results from
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-questionsFreeBSD-questions is a mailing list, so you need mail access. Send
a mail message to &a.majordomo; with the single line:subscribe FreeBSD-questionsmajordomo 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-questionsWhen you subscribed to FreeBSD-questions, you got a welcome message
from Majordomo@FreeBSD.ORG. In this message, amongst
other things, it told you how to unsubscribe. Here is a typical
message:Welcome to the freebsd-questions mailing list!
If you ever want to remove yourself from this mailing list, you can send
mail to "Majordomo@FreeBSD.ORG" with the following command in the body
of your email message:
unsubscribe freebsd-questions Greg Lehey <grog@lemis.de>
Here's the general information for the list you've subscribed to,
in case you don't already have it:
FREEBSD-QUESTIONS User questions
This is the mailing list for questions about FreeBSD.
You should not send "how to" questions to the technical lists unless
you consider the question to be pretty technical.Normally, unsubscribing is even simpler than the message suggests:
you do not need to specify your mail ID unless it is different from the
one which you specified when you subscribed.If Majordomo replies and tells you (incorrectly) that you are not on
the list, this may mean one of two things:You have changed your mail ID since you subscribed. That is
where keeping the original message from majordomo
comes in handy. For example, the sample message above shows my mail
ID as grog@lemis.de. Since then, I have changed
it to grog@lemis.com. If I were to try to remove
grog@lemis.com from the list, it would fail: I
would have to specify the name with which I joined.You are subscribed to a mailing list which is subscribed to
FreeBSD-questions. If that is the case, you will
have to figure out which one it is and get your name taken off that
one. If you are not sure which one it might be, check the headers of
the messages you receive from freebsd-questions: maybe there is a
clue there.If you have done all this, and you still can not figure out what is going
on, send a message to Postmaster@FreeBSD.org, and he will
sort things out for you. Do not send a message to
FreeBSD-questions: they can not help you.Should I ask -questions or
-hackers?Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and
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
FreeBSD-questions. Examples might be questions
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
pinpoint the place in the code where it happens, and you maybe have
a fix), then send the message to
FreeBSD-hackers.If the question relates to enhancements to FreeBSD, and you
can make suggestions about how to implement them, then send the
message to FreeBSD-hackers.There are also a number of other specialized mailing lists, for
example FreeBSD-isp, which caters to the interests of
ISPs (Internet Service Providers) who run FreeBSD. If you happen to be
an ISP, this does not mean you should automatically send your questions
to FreeBSD-isp. The criteria above still apply, and
it is in your interest to stick to them, since you are more likely to get
good results that way.Before submitting a questionYou can (and should) do some things yourself before asking a question
on one of the mailing lists:Try solving the problem on your own. If you post a question which
shows that you have tried to solve the problem, your question will
generally attract more positive attention from people reading it.
Trying to solve the problem yourself will also enhance your understanding
of FreeBSD, and will eventually let you use your knowledge to help others
by answering questions posted to the mailing lists.
Read the manual pages, and the FreeBSD documentation (either
installed in /usr/doc or accessible via WWW at
), especially the
handbook
and the FAQ.
Browse and/or search the archives for the mailing list, to see if your
question or a similar one has been asked (and possibly answered) on the
list. You can browse and/or search the mailing list archives
at
and
respectively. This can be done at other WWW sites as well, for example
at .
Use a search engine such as Google
or Yahoo to find answers to your question.
Google even has a BSD-specific search interface.
How to submit a questionWhen submitting a question to FreeBSD-questions, consider the
following points:Remember that nobody gets paid for answering a FreeBSD
question. They do it of their own free will. You can influence this
free will positively by submitting a well-formulated question
supplying as much relevant information as possible. You can
influence this free will negatively by submitting an incomplete,
illegible, or rude question. It is perfectly possible to send a
message to FreeBSD-questions and not get an answer even if you
follow these rules. It is much more possible to not get an answer if
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.
Clearly, it is in your interest to specify a subject. FreeBSD
problem or Help are not enough. If you provide no subject at
all, many people will not bother reading it. If your subject is not
specific enough, the people who can answer it may not read
it.Format your message so that it is legible, and
PLEASE DO NOT SHOUT!!!!!. We appreciate that a lot of people do not
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
formatted, one line per paragraph, badly spelt, or full of
errors, it will give people a poor impression of you.A lot of badly formatted messages come from
bad mailers or badly
configured mailers. The following mailers are known to
send out badly formatted messages without you finding out about
them:cc:Mail
- Eudora
+ &eudora;exmh
- Microsoft Exchange
+ µsoft; Exchange
- Microsoft Internet Mail
+ µsoft; Internet Mail
- Microsoft Outlook
+ µsoft; &outlook;
- Netscape
+ &netscape;As you can see, the mailers in the Microsoft world are frequent
- offenders. If at all possible, use a UNIX mailer. If you must use a
+ offenders. If at all possible, use a &unix; mailer. If you must use a
mailer under Microsoft environments, make sure it is set up
correctly. Try not to use MIME: a lot of people
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
of the people you are trying to reach get several hundred messages a
day. They frequently sort the incoming messages by subject and by
date, and if your message does not come before the first answer, they
may assume they missed it and not bother to look.Do not include unrelated questions in the same message. Firstly,
a long message tends to scare people off, and secondly, it is more
difficult to get all the people who can answer all the questions to
read the message.Specify as much information as possible. This is a difficult
area, and we need to expand on what information you need to submit,
but here is a start:In nearly every case, it is important to know the version of
FreeBSD you are running. This is particularly the case for
FreeBSD-CURRENT, where you should also specify the date of the
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
CPU are you using? How fast? What motherboard? How much
memory? What peripherals?There is a judgement call here, of course, but the output of
the &man.dmesg.8; command can frequently be very useful, since it
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
message 'No route to host'.If your system panics, do not say My system
panicked, say (for example) my system panicked
with the message 'free vnode isn't'.If you have difficulty installing FreeBSD, please tell us
what hardware you have. In particular, it is important to know
the IRQs and I/O addresses of the boards installed in your
machine.If you have difficulty getting PPP to run, describe the
configuration. Which version of PPP do you use? What kind of
authentication do you have? Do you have a static or dynamic IP
address? What kind of messages do you get in the log
file?A lot of the information you need to supply is the output of
programs, such as &man.dmesg.8;, or console messages, which usually
appear in /var/log/messages. Do not try to copy
this information by typing it in again; it is a real pain, and you are
bound to make a mistake. To send log file contents, either make a
copy of the file and use an editor to trim the information to what
is relevant, or cut and paste into your message. For the output of
programs like &man.dmesg.8;, redirect the output to a file and
include that. For example,&prompt.user; dmesg > /tmp/dmesg.outThis 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
that nobody knows the answer, or the person who does know the answer
was offline. If you do not get an answer after, say, a week, it
might help to re-send the message. If you do not get an answer to
your second message, though, you are probably not going to get one
from this forum. Resending the same message again and again will
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
answer:Message 1Subject: HELP!!?!??
I just can't get hits damn silly FereBSD system to
workd, and Im really good at this tsuff, but I have never seen
anythign sho difficult to install, it jst wont work whatever I try
so why don't you guys tell me what I doing wrong.Message 2Subject: Problems installing FreeBSD
I've just got the FreeBSD 2.1.5 CDROM from Walnut Creek, and I'm having a lot
of difficulty installing it. I have a 66 MHz 486 with 16 MB of
memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball
disk and a Toshiba 3501XA CDROM drive. The installation works just
fine, but when I try to reboot the system, I get the message
Missing Operating System.How to follow up to a questionOften you will want to send in additional information to a question
you have already sent. The best way to do this is to reply to your
original message. This has three advantages:You include the original message text, so people will know what
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
subject. This helps group messages together.The message reference numbers in the header will refer to the
previous message. Some mailers, such as
mutt, can
thread messages, showing the exact
relationships between the messages.How to answer a questionBefore you answer a question to FreeBSD-questions, consider:A lot of the points on submitting questions also apply to
answering questions. Read them.Has somebody already answered the question? The easiest way to
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.Do you have something to contribute beyond what has already been
said? In general, Yeah, me too answers do not help
much, although there are exceptions, like when somebody is
describing a problem he is having, and he does not know whether it is
his fault or whether there is something wrong with the hardware or
software. If you do send a me too answer, you should
also include any further relevant information.Are you sure you understand the question? Very frequently, the
person who asks the question is confused or does not express himself
very well. Even with the best understanding of the system, it is
easy to send a reply which does not answer the question. This
does not help: you will leave the person who submitted the question
more frustrated or confused than ever. If nobody else answers, and
you are not too sure either, you can always ask for more
information.Are you sure your answer is correct?
If not, wait a day or so. If nobody else comes up with a
better answer, you can still reply and say, for example, I
do not know if this is correct, but since nobody else has
replied, why don't you try replacing your ATAPI CDROM with
a frog?.Unless there is a good reason to do otherwise, reply to the
sender and to FreeBSD-questions. Many people on the
FreeBSD-questions are lurkers: they learn by reading
messages sent and replied to by others. If you take a message which
is of general interest off the list, you are depriving these people
of their information. Be careful with group replies; lots of people
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
> to the original message
works best. Leaving white space after the
> and leave empty lines
between your text and the original text both make the result more
readable.Put your response in the correct place (after the text to which
it replies). It is very difficult to read a thread of responses
where each reply comes before the text to which it replies.Most mailers change the subject line on a reply by prepending a
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
it. In the case of an incorrect subject line (such as
HELP!!??), change the subject line to (say)
Re: Difficulties with sync PPP (was: HELP!!??). That
way other people trying to follow the thread will have less
difficulty following it.In such cases, it is appropriate to say what you did and why you
did it, but try not to be rude. If you find you can not answer
without being rude, do not answer.If you just want to reply to a message because of its bad
format, just reply to the submitter, not to the list. You can just
send him this message in reply, if you like.
diff --git a/en_US.ISO8859-1/articles/ipsec-must/article.sgml b/en_US.ISO8859-1/articles/ipsec-must/article.sgml
index 60b74112d8..1733a96260 100644
--- a/en_US.ISO8859-1/articles/ipsec-must/article.sgml
+++ b/en_US.ISO8859-1/articles/ipsec-must/article.sgml
@@ -1,338 +1,347 @@
%man;
+
+
+%trademarks;
]>
Independent Verification of IPsec Functionality in FreeBSDDavidHonighonig@sprynet.com3 May 1999
+
+ &tm-attrib.freebsd;
+ &tm-attrib.opengroup;
+ &tm-attrib.general;
+
+
You installed IPsec and it seems to be working. How do you
know? I describe a method for experimentally verifying that IPsec is
working.The ProblemFirst, let's assume you have
installed IPsec. How do you know
it is working? Sure, your
connection will not work if it is misconfigured, and it will work
when you finally get it right. &man.netstat.1; will list it.
But can you independently confirm it?The SolutionFirst, some crypto-relevant info theory:encrypted data is uniformly distributed, i.e., has maximal
entropy per symbol;raw, uncompressed data is typically redundant, i.e., has
sub-maximal entropy.Suppose you could measure the entropy of the data to- and
from- your network interface. Then you could see the difference
between unencrypted data and encrypted data. This would be true
even if some of the data in encrypted mode was
not encrypted---as the outermost IP header must be, if the
packet is to be routable.MUSTUeli Maurer's Universal Statistical Test for Random
Bit Generators(
MUST) quickly measures the entropy
of a sample. It uses a compression-like algorithm. The code is given below for a variant
which measures successive (~quarter megabyte) chunks of a
file.TcpdumpWe also need a way to capture the raw network data. A
program called &man.tcpdump.1; lets you do this, if you have
enabled the Berkeley Packet Filter
interface in your kernel's config
file.The commandtcpdump -c 4000 -s 10000 -w dumpfile.binwill capture 4000 raw packets to
dumpfile.bin. Up to 10,000 bytes per
packet will be captured in this example.The ExperimentHere is the experiment:Open a window to an IPsec host and another window to an
insecure host.Now start capturing
packets.
- In the secure window, run the Unix
+ In the secure window, run the &unix;
command &man.yes.1;, which will stream the y
character. After a while, stop this. Switch to the
insecure window, and repeat. After a while, stop.Now run MUST on the
captured packets. You should see something like the
following. The important thing to note is that the secure
connection has 93% (6.7) of the expected value (7.18), and
the normal connection has 29% (2.1) of the
expected value.&prompt.user; tcpdump -c 4000 -s 10000 -w ipsecdemo.bin
&prompt.user; uliscan ipsecdemo.bin
Uliscan 21 Dec 98
L=8 256 258560
Measuring file ipsecdemo.bin
Init done
Expected value for L=8 is 7.1836656
6.9396 --------------------------------------------------------
6.6177 -----------------------------------------------------
6.4100 ---------------------------------------------------
2.1101 -----------------
2.0838 -----------------
2.0983 -----------------CaveatThis experiment shows that IPsec does
seem to be distributing the payload data
uniformly, as encryption should. However,
the experiment described here cannot
detect many possible flaws in a system (none of which do I have
any evidence for). These include poor key generation or
exchange, data or keys being visible to others, use of weak
algorithms, kernel subversion, etc. Study the source; know the
code.IPsec---DefinitionInternet Protocol security extensions to IPv4; required for
IPv6. A protocol for negotiating encryption and authentication
at the IP (host-to-host) level. SSL secures only one application
socket; SSH secures only a login;
PGP secures only a specified file or
message. IPsec encrypts everything between two hosts.Installing IPsecMost of the modern versions of FreeBSD have IPsec support
in their base source. So you will probably will need to include
option in your kernel config and, after
kernel rebuild and reinstall, configure IPsec connections using
&man.setkey.8; command.A comprehensive guide on running IPsec on FreeBSD is
provided in FreeBSD
Handbook.src/sys/i386/conf/KERNELNAMEThis needs to be present in the kernel config file in order
to be able to capture network data with &man.tcpdump.1;. Be sure
to run &man.config.8; after adding this, and rebuild and
reinstall.device bpfMaurer's Universal Statistical Test (for block size=8
bits)You can find the same code at
this link./*
ULISCAN.c ---blocksize of 8
1 Oct 98
1 Dec 98
21 Dec 98 uliscan.c derived from ueli8.c
This version has // comments removed for Sun cc
This implements Ueli M Maurer's "Universal Statistical Test for Random
Bit Generators" using L=8
Accepts a filename on the command line; writes its results, with other
info, to stdout.
Handles input file exhaustion gracefully.
Ref: J. Cryptology v 5 no 2, 1992 pp 89-105
also on the web somewhere, which is where I found it.
-David Honig
honig@sprynet.com
Usage:
ULISCAN filename
outputs to stdout
*/
#define L 8
#define V (1<<L)
#define Q (10*V)
#define K (100 *Q)
#define MAXSAMP (Q + K)
#include <stdio.h>
#include <math.h>
int main(argc, argv)
int argc;
char **argv;
{
FILE *fptr;
int i,j;
int b, c;
int table[V];
double sum = 0.0;
int iproduct = 1;
int run;
extern double log(/* double x */);
printf("Uliscan 21 Dec 98 \nL=%d %d %d \n", L, V, MAXSAMP);
if (argc < 2) {
printf("Usage: Uliscan filename\n");
exit(-1);
} else {
printf("Measuring file %s\n", argv[1]);
}
fptr = fopen(argv[1],"rb");
if (fptr == NULL) {
printf("Can't find %s\n", argv[1]);
exit(-1);
}
for (i = 0; i < V; i++) {
table[i] = 0;
}
for (i = 0; i < Q; i++) {
b = fgetc(fptr);
table[b] = i;
}
printf("Init done\n");
printf("Expected value for L=8 is 7.1836656\n");
run = 1;
while (run) {
sum = 0.0;
iproduct = 1;
if (run)
for (i = Q; run && i < Q + K; i++) {
j = i;
b = fgetc(fptr);
if (b < 0)
run = 0;
if (run) {
if (table[b] > j)
j += K;
sum += log((double)(j-table[b]));
table[b] = i;
}
}
if (!run)
printf("Premature end of file; read %d blocks.\n", i - Q);
sum = (sum/((double)(i - Q))) / log(2.0);
printf("%4.4f ", sum);
for (i = 0; i < (int)(sum*8.0 + 0.50); i++)
printf("-");
printf("\n");
/* refill initial table */
if (0) {
for (i = 0; i < Q; i++) {
b = fgetc(fptr);
if (b < 0) {
run = 0;
} else {
table[b] = i;
}
}
}
}
}
diff --git a/en_US.ISO8859-1/articles/java-tomcat/article.sgml b/en_US.ISO8859-1/articles/java-tomcat/article.sgml
index 0eb5adec95..c6e57bfcfe 100644
--- a/en_US.ISO8859-1/articles/java-tomcat/article.sgml
+++ b/en_US.ISO8859-1/articles/java-tomcat/article.sgml
@@ -1,625 +1,636 @@
+
+%trademarks;
+
%man;
]>
- Java and Jakarta Tomcat on FreeBSD
+ &java; and Jakarta Tomcat on FreeBSDVictoriaChanvkchan@kendryl.netHitenPandyahiten@uk.FreeBSD.org2002Victoria ChanHiten Pandya$FreeBSD$
+
+ &tm-attrib.freebsd;
+ &tm-attrib.linux;
+ &tm-attrib.microsoft;
+ &tm-attrib.sun;
+ &tm-attrib.general;
+
+
This document is presented in hopes of making it easier for
- anyone that needs to get Java up and running on FreeBSD, with the
+ anyone that needs to get &java; up and running on FreeBSD, with the
least amount of aggravation. Plan on spending a whole day on such
a project as it will take time to assemble all the pieces and
compile them individually, and then as a whole. It also shows how
- to install the famous Jakarta Tomcat Servlet and JSP container on
+ to install the famous Jakarta Tomcat Servlet and &jsp; container on
the FreeBSD operating system.Introduction
- The Java programming language was birthed on May 23rd
- 1995. One would expect that after all this time, Java
+ The &java; programming language was birthed on May 23rd
+ 1995. One would expect that after all this time, &java;
applications would be easy to install and ready to run from a single
package, or port on FreeBSD, thus making it available for the
masses. This is not the case, unfortunately, as
- the Java distribution is held very closely by Sun Microsystems,
- and prohibits re-distribution. All Java Applets must be compiled
- from source code, together with the Java Development Kit from Sun
+ the &java; distribution is held very closely by Sun Microsystems,
+ and prohibits re-distribution. All &java; Applets must be compiled
+ from source code, together with the &java; Development Kit from Sun
Microsystems. All these ingredients must be blended together in
the right order, assembled, and compiled by the end user. With
such distribution philosophies at heart, it is my opinion that
- Java will always be developer or hacker use only. I certainly
+ &java; will always be developer or hacker use only. I certainly
found this to be true when I needed to serve up some
.jsp pages for a client on my web server,
and needed to get www/jakarta-tomcat to work with
www/apache13 on my FreeBSD
system.The Tomcat portion of the install is very straight forward, but
- the difficulty I had was getting Java Development Kit up and
+ the difficulty I had was getting &java; Development Kit up and
running for FreeBSD 4.X, as Sun Microsystems only supplies
- Binaries for Linux, Solaris, and Windows NT. This means that I
- had to compile my own JDK for FreeBSD. I began by searching for
+ Binaries for Linux, &solaris;, and &windowsnt;. This means that I
+ had to compile my own &jdk; for FreeBSD. I began by searching for
documentation on the Internet. I quickly found that there is more
source code than I need along with patches to the source code, but
very little documentation of what to do after obtaining
everything.
- In this article, you will find how to install the Java
+ 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.
- The Java Environment
+ The &java; EnvironmentEnsure that you have the current ports collection as
make it will fail if it attempts to build older
source. You can upgrade your entire ports collection by using
CVSup. See
for more information. You can also download the ports you need
manually from to
get you going.You will need the Linux Emulation
(Linux-ABI) enabled in your kernel configuration. Simply add
the following option to your kernel configuration file and
recompile it. Instructions for building a kernel can be found
in the
FreeBSD Handbook.options COMPAT_LINUXThe above option will add Linux-ABI support to your
kernel, when it is recompiled.The list of dependencies below, are required to be installed
manually in a certain order. Dependencies that are automatically
downloaded are not listed here.java/jdk13java/linux-jdk13archivers/gtararchivers/bzip2archivers/unziparchivers/zipYou will need to get the following:Download bsd-jdk131-patches-5.tar.gz
from
and place it under /usr/ports/distfiles.Next get out your web browser and head on over to
and find SDK downloads. Click on the continue
button below GNUZIP Tar Shell Script. Be sure
you read every word of the license page before you click on
the Accept button! You will be brought to a
page titled Download Java(TM) 2 SDK, Standard Edition
1.3.1_02. Scroll to the bottom and click on the
HTTP download button. When the File
Download box comes up, be sure to click on the
Open button rather than the Save
button. You will be presented with another File
Download box - this time choose Save
and you will be able to save j2sdk-1_3_1_02-linux-i386.bin.
Place it in /usr/ports/distfiles.Go to .
In the table under Produce Description,
named Java 2 SDK 1.3.1, go to the
right-hand cell and click download. You will
be taken to the Sign On page, where you must
sign in if you already have an account, or register for
access. Once you have signed on, you will be taken to the
Legal page, where you must accept the license
agreement; scroll down (reading the license) and click on the
Continue button. Next page, is the
Receipt page. This is where you will save your
order number. You will be able to choose the location that is
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.It is very important for you to read the License Agreement
which has been issued by Sun Microsystems Corp. There are
- several restrictions in place on the use of Java, which you must
+ 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.Now that you have assembled all the source files and ports,
you need to start by building java/linux-jdk13:&prompt.root; cd /usr/ports/archivers/gtar; make all install clean
&prompt.root; cd /usr/ports/archivers/unzip; make all install clean
&prompt.root; cd /usr/ports/archivers/zip; make all install cleanAnd finally:&prompt.root; cd /usr/ports/java/linux-jdk13
&prompt.root; make all install cleanOnce you have built java/linux-jdk13, you need to test it, to
make sure it works as intended. To do that:&prompt.root; cd /usr/local/linux-jdk1.3.1/bin
&prompt.root; ./java -versionThe output of the above command should be as follows:java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Classic VM (build 1.3.1_02-b02, green threads, nojit)If you did not get the correct response, you need to:&prompt.root; cd /usr/ports/java/linux-jdk13
&prompt.root; make deinstallAnd make sure that /usr/local does not
contain a linux-jdk1.3.1 directory. If you
find a fragment of the directory, delete it. Repeat the
build and install process for java/linux-jdk13.To make the native Java Development Kit
1.3.1 for FreeBSD, do the following:Make sure you have the
j2sdk-1_3_1-src.tar.gz file in your
/usr/ports/distfiles. This file is needed
for applying the patch-sets discussed below.You will need to download the patch set
for building the port. The patch-set file is called
bsd-jdk131-patches-6.tar.gz. You should
also make sure the integrity of the files by matching it with
the following MD5 checksum.
MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9The patch-set is available from: The last procedure discussed above (building the native
- jdk) will take some time.
+ &jdk;) will take some time.
Jakarta Tomcat SetupOverview
- Java is becoming an even more popular for making diverse
+ &java; is becoming an even more popular for making diverse
and scalable platform independent solutions. One of the most
- growing needs of Java is in the ASP (Application
- Service Provider) market. Java serves as the perfect
+ growing needs of &java; is in the ASP (Application
+ Service Provider) market. &java; serves as the perfect
solution for these types of markets, with the following
advantages:Platform IndependenceIndustry Wide CommitmentScalabilityReliable PerformanceDistributed, Multi-threaded, Secure etc.A very important and growing technology which has emerged
- from Java is JSP (JavaServer Pages).
+ from &java; is &jsp; (&javaserver.pages;).
- JSP (JavaServer Pages) is a server-side
+ &jsp; (&javaserver.pages;) is a server-side
technology introduced by Sun Microsystems
Corp., which provides a quick simple way to generate
dynamic content from within HTML pages. It
- uses XML tags along with Java scriptlets to
+ uses XML tags along with &java; scriptlets to
encapsulate and separate the logic from the design and display.
- When a JSP page is invoked, it is dynamically
+ When a &jsp; page is invoked, it is dynamically
converted into a Servlet and processed by the server to produce
the resulting HTML/XML page for the client.
- When JSP is used in conjunction with
+ When &jsp; is used in conjunction with
JavaBeans, it is possible to produce very diverse and scalable
applications, which may be combined with the strength and
performance of FreeBSD.Tomcat is an open-source
- implementation of the Java Servlets and JavaServer Pages
+ implementation of the &java; Servlets and &javaserver.pages;
technologies, developed under the Jakarta project at the Apache
Software Foundation. Tomcat implements a new Servlet framework
(called Catalina) that is based on completely new architecture
- with the Servlet 2.3 and JSP 1.2
+ with the Servlet 2.3 and &jsp; 1.2
specifications. It includes many additional features that make
it a useful platform for developing and deploying web
applications and web services. In a nutshell, Tomcat is an
- application server written in 100% Pure Java.
+ application server written in 100% Pure &java;.Tomcat is used for many purposes, and is not limited to
Application Servers. It provides an open platform to develop
extensible web and content management services. When Tomcat is
used with an optimized FreeBSD system, it can provide highly
reliable and fast pacing services.Please refer to the section for more
- information on Tomcat and JSP. The next
+ information on Tomcat and &jsp;. The next
section will demonstrate how to build the Tomcat
Environment for FreeBSD. The version of Tomcat used in
this guide is 4.0.3. This version contains
major bug fixes, and the following updates/changes:JSP 1.2 SpecificationJava Servlet 2.3 SpecificationFull backward compatibility with the Java Servlet
2.2 and JSP 1.1 SpecificationThe Tomcat environment for FreeBSDIt is very simple to install Tomcat on a FreeBSD machine,
- after setting up the necessary Java environment, which we have
+ after setting up the necessary &java; environment, which we have
previously completed.In-order to setup Tomcat on FreeBSD, follow the below
procedure:
- Follow the above steps to setup the necessary Java
+ Follow the above steps to setup the necessary &java;
environment.Set an environment variable JAVA_HOME
which, points to the directory where you have installed the
- JDK (the examples below point to a native build of the
- JDK). If you are using &man.sh.1; as your shell, you can set
+ &jdk; (the examples below point to a native build of the
+ &jdk;). If you are using &man.sh.1; as your shell, you can set
JAVA_HOME with:&prompt.root; export JAVA_HOME="/usr/local/jdk1.3.1"Those who use &man.csh.1; or a compatible shell, must use a
slightly different command:&prompt.root; setenv JAVA_HOME /usr/local/jdk1.3.1This environment variable should be made permanent by
adding it into either .profile or
.cshrc, depending on the shell you are
using. This variable is very crucial for the functioning of
- all the Java based programs, including Tomcat itself.
+ all the &java; based programs, including Tomcat itself.
Download the Tomcat binary distribution
from the Jakarta website, which is located at
. The
file to download is called
jakarta-tomcat-4.0.3.tar.gz.The compressed and archived file we downloaded in the
previous step uses special GNU Extensions.
In-order to untar and uncompress the file, we will need to
install GNU Tar (archivers/gtar), by
doing the following:&prompt.root; cd /usr/ports/archivers/gtar && make all install cleanUn-tar and Un-compress the
jakarta-tomcat-4.0.3.tar.gz file into
the /usr/local directory and rename the
directory to tomcat-4.0 for ease of
reference:&prompt.root; cd /usr/local
&prompt.root; gtar zxvf jakarta-tomcat-4.0.3.tar.gz
&prompt.root; ls jakarta*
jakarta-tomcat-4.0.3
&prompt.root; mv jakarta-tomcat-4.0.3 tomcat-4.0You can remove the
jakarta-tomcat-4.0.3.tar.gz at your
preference.Installation by using the source code is currently
out of scope for this document. Please refer to the following
files for addition information on building from source,
available from your Tomcat distribution
directory:/usr/local/tomcat-4.0/README.txt/usr/local/tomcat-4.0/BUILDING.txtOperating Tomcat - BasicsNow that we have finished installing Tomcat. The following
example shows how to start the Tomcat server:&prompt.root; cd /usr/local/tomcat-4.0/bin
&prompt.root; ./startup.sh (for starting Tomcat)You can test if your Tomcat server has started by visiting
the following URL: http://127.0.0.1:8080 or
http://localhost:8080. To stop
Tomcat:&prompt.root; cd /usr/local/tomcat-4.0/bin
&prompt.root; ./shutdown.sh(for stopping Tomcat)The startup.sh and
shutdown.sh are frontends to the
catalina.sh executable script in the same
directory; if you would like to start Tomcat automatically at
boot-time run:&prompt.root; cd /usr/local/etc/rc.d
&prompt.root; ln -s /usr/local/tomcat-4.0/bin/catalina.shEdit the catalina.sh, and add the
following at the beginning of the file (after the comment
box):JAVA_HOME=/usr/local/jdk1.3.1If your port 8080 is occupied by some other
service, you can change it by editing the
server.xml in your Tomcat's
conf/ directory. In the example below, the
port will be changed to 80, assuming there is no service running
on that port.&prompt.root; cd /usr/local/tomcat-4.0/conf
&prompt.root; fgrep -n 8080 server.xml
~65: By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
~89: port="8080" minProcessors="5" maxProcessors="75"
&prompt.root; cat server.xml | sed s/8080/80/ > server.xml.new
&prompt.root; mv server.xml.new server.xmlReference
- The FreeBSD Java Project
+ The FreeBSD &java; Project
- JavaSoft. Home of Java
+ JavaSoft. Home of &java;The
- Sun Community Source Licensing for Java
+ Sun Community Source Licensing for &java;
Jakarta Tomcat HomepageJ2SE
Documentation
- FreeBSD Ports - Java
+ FreeBSD Ports - &java;
SectionConclusionFinally, we are at the end of the article and have a working
version of Tomcat. We hope that you have learned the basics of
- installing and building the Java Development Kit on FreeBSD,
+ installing and building the &java; Development Kit on FreeBSD,
along with installation of the Tomcat binary distribution
application server released by the Apache Software Foundation.
The section contains pointers to additional
resources on this topic, some which are in print, some which are
on the World Wide Web, or both.The most important thing is drive space. I suggest having
700MB or more free space in
/usr. I hope this article has helped you
in some small way. For questions, comments, compliments, or
rants, please direct them to Victoria Chan.
diff --git a/en_US.ISO8859-1/articles/laptop/article.sgml b/en_US.ISO8859-1/articles/laptop/article.sgml
index c50fb1b49d..c2b2d7bd96 100644
--- a/en_US.ISO8859-1/articles/laptop/article.sgml
+++ b/en_US.ISO8859-1/articles/laptop/article.sgml
@@ -1,305 +1,316 @@
%man;
%freebsd;
%authors;
%mailing-lists;
+
+
+%trademarks;
]>
FreeBSD on Laptops$FreeBSD$FreeBSD works fine on most laptops, with a few caveats.
Some issues specific to running FreeBSD on laptops, relating
to different hardware requirements from desktops, are
discussed below.
+
+
+ &tm-attrib.freebsd;
+ &tm-attrib.linux;
+ &tm-attrib.microsoft;
+ &tm-attrib.xfree86;
+ &tm-attrib.general;
+ FreeBSD is often thought of as a server operating system, but
it works just fine on the desktop, and if you want to use it on
your laptop you can enjoy all the usual benefits: systematic
layout, easy administration and upgrading, the ports/packages
system for adding software, and so on. (Its other benefits,
such as stability, network performance, and performance under
a heavy load, may not be obvious on a laptop, of course.)
However, installing it on laptops often involves problems which
are not encountered on desktop machines and are not commonly
discussed (laptops, even more than desktops, are fine-tuned for
- Microsoft Windows). This article aims to discuss some of these
+ µsoft.windows;). This article aims to discuss some of these
issues. Several people have also documented their experiences
with &os; on specific laptop models on webpages which are not
part of the &os; documentation. You might very well find some
information if you type the name of your laptop model and the
word &os; into a search engine of your
choice. Additionally there is a &os;-specific online database
which aims to give information on hardware issues with laptops,
The &os;
Laptop Compatibility List.For communications with other &os; laptop users, check out
the &a.mobile.name; list.
- XFree86
+ &xfree86;
- Recent versions of XFree86 work with most display adapters
+ Recent versions of &xfree86; work with most display adapters
available on laptops these days. Acceleration may not be
supported, but a generic SVGA configuration should work.Check your laptop documentation for which card you have,
- and check in the XFree86 documentation or
+ and check in the &xfree86; documentation or
the Driver Status for
- XFree86 page
+ &xfree86; page
to see whether it is specifically supported. If it is not, use
a generic device (do not go for a name which just looks
- similar). In XFree86 version 4, you can try your luck
+ similar). In &xfree86; version 4, you can try your luck
with the command XFree86 -configure
which auto-detects a lot of configurations.The problem often is configuring the monitor. Common
- resources for XFree86 focus on CRT monitors; getting a
+ resources for &xfree86; focus on CRT monitors; getting a
suitable modeline for an LCD display may be tricky. You may
be lucky and not need to specify a modeline, or just need to
specify suitable HorizSync and VertRefresh ranges. If that
does not work, the best option is to check web resources
devoted to configuring X on laptops (these are often
- linux-oriented sites but it does not matter because both systems
- use XFree86) and copy a modeline posted by someone for similar
+ Linux oriented sites but it does not matter because both systems
+ use &xfree86;) and copy a modeline posted by someone for similar
hardware.Most laptops come with two buttons on their pointing
devices, which is rather problematic in X (since the middle
button is commonly used to paste text); you can map a
simultaneous left-right click in your X configuration to
a middle button click with the line
Option "Emulate3Buttons"
in the XF86Config file in the InputDevice
- section (for XFree86 version 4; for version 3, put just the line
+ section (for &xfree86; version 4; for version 3, put just the line
Emulate3Buttons, without the quotes, in the
Pointer section.)Modems
Laptops usually come with internal (on-board) modems.
Unfortunately, this almost always means they are
winmodems whose
- functionality is implemented in software, for which only windows
+ functionality is implemented in software, for which only &windows;
drivers are normally available (though a few drivers are beginning
to show up for other operating systems; for example, if your modem has a Lucent LT chipset it might be supported by the comms/ltmdm port). If that is the case, you
need to buy an external modem: the most compact option is
probably a PC Card (PCMCIA) modem, discussed below, but
serial or USB modems may be cheaper. Generally, regular
modems (non-winmodems) should work fine.
PCMCIA (PC Card) devices Most laptops come with PCMCIA (also called PC Card)
slots; these are supported fine under FreeBSD. Look through
your boot-up messages (using &man.dmesg.8;) and see whether these were
detected correctly (they should appear as
pccard0,
pccard1 etc on devices like
pcic0).&os; 4.X supports 16-bit PCMCIA cards, and
&os; 5.X supports both 16-bit and
32-bit (CardBus) cards. A database of supported
cards is in the file /etc/defaults/pccard.conf.
Look through it, and preferably buy cards listed there. Cards not
listed may also work as generic devices: in
particular most modems (16-bit) should work fine, provided they
are not winmodems (these do exist even as PC Cards, so watch out).
If your card is recognised as a generic modem, note that the
default pccard.conf file specifies a delay time of 10 seconds
(to avoid freezes on certain modems); this may well be
over-cautious for your modem, so you may want to play with it,
reducing it or removing it totally.Some parts of pccard.conf may need
editing. Check the irq line, and be sure to remove any number
already being used: in particular, if you have an on board sound
card, remove irq 5 (otherwise you may experience hangs when you
insert a card). Check also the available memory slots; if your
card is not being detected, try changing it to one of the other
allowed values (listed in the manual page &man.pccardc.8;).
If it is not running already, start the &man.pccardd.8; daemon.
(To enable it at boot time, add
pccard_enable="YES" to
/etc/rc.conf.) Now your cards should be
detected when you insert and remove them, and you should get
log messages about new devices being enabled.There have been major changes to the pccard code
(including ISA routing of interrupts, for machines where
&os; is not able to use the PCI BIOS) before the &os; 4.4
release. If you have problems, try upgrading your system.Power managementUnfortunately, this is not very reliably supported under
FreeBSD. If you are lucky, some functions may work reliably;
or they may not work at all.To make things a little more complex, there are two existing
standards for power management: APM and ACPI, the latter
superseding the former and including more features, but also
introducing more problems.Some laptops support both APM and ACPI (to a certain
degree), others just support one of them, so chances are that
you have to experiment with both of them to have reliable power
management on your laptop.You cannot have APM and ACPI enabled at the same time,
even if your laptop has support for both of them.APMThe APM (Advanced Power Management) BIOS provides support
for various power management features like standby, suspend,
hibernation, CPU clock slow down etc. and is available
under &os; 4.X and &os; 5.X.To enable APM support, you can compile a kernel with power
management support (device apm0 on
&os; 4.X and device apm on
&os; 5.X). A kernel module for APM is available under
&os; 5.X, to simply load the APM kernel module at boot
add the line apm_load="YES" to
/boot/loader.conf.On &os; 5.X, you also have to set
hint.apm.0.disabled="0" in
/boot/device.hints.You can start APM at boot time by having
apm_enable="YES" in
/etc/rc.conf. You may also want start
the &man.apmd.8; daemon by adding
apmd_enable="YES" to
/etc/rc.conf, which takes care of
various APM events that are posted to the BIOS, so you can
have your laptop suspend/resume by pressing some function
key on the keyboard or by closing/opening the lid.The APM commands are listed in the &man.apm.8; manual page.
For instance, apm -b gives you battery
status (or 255 if not supported), apm -Z
puts the laptop on standby, apm -z (or
zzz) suspends it. To shutdown and power
off the machine, use shutdown -p. Again,
some or all of these functions may not work very well or at
all.You may find that laptop suspension/standby works in
console mode but not under X (that is, the screen does not
come on again); if you are running &os; 5.X, one solution
for this might be to put options
SC_NO_SUSPEND_VTYSWITCH
in your kernel configuration file and recompile your kernel.
Another workaround is to switch to a virtual console (using
CtrlAltF1
or another function key) and then execute &man.apm.8;.
You can automate this with &man.vidcontrol.1;, if you are
running &man.apmd.8;. Simply edit
/etc/apmd.conf and change it to
this:apm_event SUSPENDREQ {
exec "vidcontrol -s 1 < /dev/console";
exec "/etc/rc.suspend";
}
apm_event USERSUSPENDREQ {
exec "vidcontrol -s 1 < /dev/console";
exec "sync && sync && sync";
exec "sleep 1";
exec "apm -z";
}
apm_event NORMRESUME, STANDBYRESUME {
exec "/etc/rc.resume";
exec "vidcontrol -s 9 < /dev/console";
}ACPIACPI (Advanced Configuration and Power Management
Interface) provides not only power management but also
platform hardware discovery (superseding PnP and PCI BIOS).
ACPI is only available under &os; 5.X and is enabled by
default, so you do not have to do anything special to get it
running. You can control ACPI behaviour with
&man.acpiconf.8;.Unfortunately, vendors often ship their laptops with
broken ACPI implementations, thus having ACPI enabled
sometimes causes more problems than being useful, up to the
point that you cannot even boot &os; on some machines with
ACPI enabled.If ACPI is causing problems, you might check if your
laptop vendor has released a new BIOS version that fixes some
bugs. Since the &os; ACPI implementation is still very
evolving code, you might also want to upgrade your system;
chances are that your problems are fixed.If you want to disable ACPI simply add
hint.acpi.0.disabled="1" to
/boot/device.hints. You can disable
ACPI temporarily at the boot loader prompt by issueing
unset acpi_load if you are having problems
booting an ACPI enabled machine. &os; 5.1-RELEASE and
later come with a boot-time menu that controls how &os; is
booted. One of the proposed options is to turn off ACPI. So
to disable ACPI just select 2. Boot &os; with ACPI
disabled in the menu.Display Power Management
- The X window system (XFree86) also includes display power
+ The X window system (&xfree86;) also includes display power
management (look at the &man.xset.1; manual page, and search for
dpms there). You may want to investigate this. However, this,
too, works inconsistently on laptops: it
often turns off the display but does not turn off the
backlight.
diff --git a/en_US.ISO8859-1/articles/mh/article.sgml b/en_US.ISO8859-1/articles/mh/article.sgml
index 889597b6a9..d73862c431 100644
--- a/en_US.ISO8859-1/articles/mh/article.sgml
+++ b/en_US.ISO8859-1/articles/mh/article.sgml
@@ -1,765 +1,778 @@
-
+
+%freebsd;
+
+
+%trademarks;
+]>
An MH PrimerMattMidboematt@garply.comv1.0, 16 January 1996
+
+ &tm-attrib.freebsd;
+ &tm-attrib.opengroup;
+ &tm-attrib.general;
+
+
This document contains an introduction to using MH on
FreeBSDIntroductionMH started back in 1977 at the RAND Corporation, where the
initial philosophies behind MH were developed. MH is not so much
a monolithic email program but a philosophy about how best to
develop tools for reading email. The MH developers have done a
great job adhering to the KISS principle: Keep It
Simple Stupid. Rather than have one large program for reading,
sending and handling email they have written specialized
programs for each part of your email life. One might liken MH to
the specialization that one finds in insects and nature. Each
tool in MH does one thing, and does it very well.Beyond just the various tools that one uses to handle their
email MH has done an excellent job keeping the configuration of
each of these tools consistent and uniform. In fact, if you are
not quite sure how something is supposed to work or what the
arguments for some command are supposed to be, then you can
generally guess and be right. Each MH command is consistent
about how it handles reading the configuration files and how it
takes arguments on the command line. One useful thing to
remember is that you can always add a to
the command to have it display the options for that
command.The first thing that you need to do is to make sure that you
have installed the MH package on your FreeBSD machine. If you
installed from CDROM you should be able to execute the following
to load mh:
&prompt.root; pkg_add /cdrom/packages/mh-6.8.3.tgz
You will notice that it created a /usr/local/lib/mh
directory for you as well as adding several binaries to the
/usr/local/bin directory. If you would prefer to
compile it yourself then you can anonymous ftp it from ftp.ics.uci.edu or louie.udel.edu.This primer is not a full comprehensive explanation of how
MH works. This is just intended to get you started on the road
to happier, faster mail reading. You should read the manual pages
for the various commands. You might also want to read the comp.mail.mh newsgroup. Also
you can read the FAQ for MH.
The best resource for MH is Jerry Peek's MH &
nmh: Email for Users & Programmers.Reading MailThis section covers how to use inc,
show, scan, next,
prev, rmm, rmf, and
msgchk. One of the best things about MH is the
consistent interface between programs. One thing to keep in
mind when using these commands is how to specify message lists.
In the case of inc this does not really make any
sense but with commands like show it is useful to
know. A message list can consist of something like 23
20 16 which will act on messages 23, 20 and 16. This is
fairly simple but you can do more useful things like
23-30 which will act on all the messages between
23 and 30. You can also specify something like
cur:10 which will act on the current message and
the next 9 messages. The cur, last,
and first messages are special messages that refer
to the current, last or first message in the folder.inc, msgchk—read in your
new email or check itIf you just type in inc and hit
return you will be well on your way to getting
started with MH. The first time you run inc it
will setup your account to use all the MH defaults and ask you
about creating a Mail directory under your HOME directory. If you have mail waiting to
be downloaded you will see something that looks like: 29 01/15 Doug White Re: Another Failed to boot problem<<On Mon, 15 J
30 01/16 "Jordan K. Hubbar Re: FBSD 2.1<<> Do you want a library instead of
31 01/16 Bruce Evans Re: location of bad144 table<<>> >It would appea
32 01/16 "Jordan K. Hubbar Re: video is up<<> Anyway, mrouted won't run, ev
33 01/16 Michael Smith Re: FBSD 2.1<<Nate Williams stands accused of saThis is the same thing you will see from a
scan (see ). If you just run
inc with no arguments it will look on your
computer for email that is supposed to be coming to
you.A lot of people like to use POP for grabbing their email.
MH can do POP to grab your email. You will need to give
inc a few command line arguments.&prompt.user; inc -host mail.pop.org -user username -norpopThat tells inc to go to
mail.pop.org to download your email, and that
your username on their system is username. The
option tells inc to use
plain POP3 for downloading your email. MH has support for a
few different dialects of POP. More than likely you will never
ever need to use them though. While you can do more complex
things with inc such as audit files and scan format files this
will get you going.The msgchk command is used to get information
on whether or not you have new email. msgchk takes
the same and
options that inc takes.show, next and
prev—displaying and moving through
emailshow is to show a letter in your current
folder. Like inc, show is a fairly
straightforward command. If you just type show
and hit return then it displays the current
message. You can also give specific message numbers to
show:&prompt.user; show 32 45 56This would display message numbers 32, 45 and 56 right
after each other. Unless you change the default behavior
show basically just does a more on the
email message.next is used to move onto the next message and
prev will go to the previous message. Both
commands have an implied show command so that when
you go to the next message it automatically displays
it.scan—shows you a scan of your
messagesscan will display a brief listing of the
messages in your current folder. This is an example of what
the scan command will give you. 30+ 01/16 Jordan K. Hubbar Re: FBSD 2.1<<> Do you want a library instead of
31 01/16 Bruce Evans Re: location of bad144 table<<>> >It would appea
32 01/16 Jordan K. Hubbar Re: video is up<<> Anyway, mrouted won't run, ev
33 01/16 Michael Smith Re: FBSD 2.1<<Nate Williams stands accused of saLike just about everything in MH this display is very
configurable. This is the typical default display. It gives
you the message number, the date on the email, the sender, the
subject line, and a sentence fragment from the very beginning
of the email if it can fit it. The + means that
message is the current message, so if you do a
show it will display that message.One useful option for scan is the
option. This will list your messages
with the highest message number first and lowest message
number last. Another useful option with scan is to
have it read from a file. If you want to scan your incoming
mailbox on FreeBSD without having to inc it you
can do scan -file
/var/mail/username. This can be used
with any file that is in the mbox format.rmm and rmf—remove the
current message or folderrmm is used to remove a mail message. The
default is typically to not actually remove the message but to
rename the file to one that is ignored by the MH commands. You
will periodically need to go through and physically delete the
removed messages.The rmf command is used to remove folders.
This does not just rename the files but actually removes the
from the hard drive so you should be careful when you use this
command.A typical session of reading with MHThe first thing that you will want to do is
inc your new mail. So at a shell prompt just type
in inc and hit return.&prompt.user; inc
Incorporating new mail into inbox...
36+ 01/19 Stephen L. Lange Request...<<Please remove me as contact for pind
37 01/19 Matt Thomas Re: kern/950: Two PCI bridge chips fail (multipl
38 01/19 Amancio Hasty Jr Re: FreeBSD and VAT<<>>> Bill Fenner said: > In
&prompt.user;This shows you the new email that has been added to your
mailbox. So the next thing to do is show the email
and move around.&prompt.user; show
Received: by sashimi.wwa.com (Smail3.1.29.1 #2)
id m0tdMZ2-001W2UC; Fri, 19 Jan 96 13:33 CST
Date: Fri, 19 Jan 1996 13:33:31 -0600 (CST)
From: "Stephen L. Lange" <stvlange@wwa.com>
To: matt@garply.com
Subject: Request...
Message-Id: <Pine.BSD.3.91.960119133211.824A-100000@sashimi.wwa.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Please remove me as contact for pindat.com
&prompt.user; rmm
&prompt.user; next
Received: from localhost (localhost [127.0.0.1]) by whydos.lkg.dec.com (8.6.11/8
.6.9) with SMTP id RAA24416; Fri, 19 Jan 1996 17:56:48 GMT
Message-Id: <199601191756.RAA24416@whydos.lkg.dec.com>
X-Authentication-Warning: whydos.lkg.dec.com: Host localhost didn't use HELO pro
tocol
To: hsu@clinet.fi
Cc: hackers@FreeBSD.org
Subject: Re: kern/950: Two PCI bridge chips fail (multiple multiport ethernet
boards)
In-Reply-To: Your message of "Fri, 19 Jan 1996 00:18:36 +0100."
<199601182318.AA11772@Sysiphos>
X-Mailer: exmh version 1.5omega 10/6/94
Date: Fri, 19 Jan 1996 17:56:40 +0000
From: Matt Thomas <matt@lkg.dec.com>
Sender: owner-hackers@FreeBSD.org
Precedence: bulk
This is due to a typo in pcireg.h (to
which I am probably the guilty party).The rmm removed the current message and the
next command moved me on to the next message. Now
if I wanted to look at ten most recent messages so I could
read one of them here is what I would do:&prompt.user; scan last:10
26 01/16 maddy Re: Testing some stuff<<yeah, well, Trinity has
27 01/17 Automatic digest NET-HAPPENINGS Digest - 16 Jan 1996 to 17 Jan 19
28 01/17 Evans A Criswell Re: Hey dude<<>From matt@tempest.garply.com Tue
29 01/16 Karl Heuer need configure/make volunteers<<The FSF is looki
30 01/18 Paul Stephanouk Re: [alt.religion.scientology] Raw Meat (humor)<
31 01/18 Bill Lenherr Re: Linux NIS Solaris<<--- On Thu, 18 Jan 1996 1
34 01/19 John Fieber Re: Stuff for the email section?<<On Fri, 19 Jan
35 01/19 support@foo.garpl [garply.com #1138] parlor<<Hello. This is the Ne
37+ 01/19 Matt Thomas Re: kern/950: Two PCI bridge chips fail (multipl
38 01/19 Amancio Hasty Jr Re: FreeBSD and VAT<<>>> Bill Fenner said: > In
&prompt.user;Then if I wanted to read message number 27 I would do a
show 27 and it would be displayed. As you can
probably tell from this sample session MH is pretty easy to
use and looking through emails and displaying them is fairly
intuitive and easy.Folders and Mail SearchingAnybody who gets lots of email definitely wants to be able
to prioritize, stamp, brief, de-brief, and number their emails
in a variety of different ways. MH can do this better than just
about anything. One thing that we have not really talked about is
the concept of folders. You have undoubtedly come across the
folders concept using other email programs. MH has folders too.
MH can even do sub-folders of a folder. One thing you should
keep in mind with MH is that when you ran inc for
the first time and it asked you if it could create a
Mail directory it began storing everything in that
directory. If you look at that directory you will find a
directory named inbox. The inbox
directory houses all of your incoming mail that has not been
thrown anywhere else.Whenever you create a new folder a new directory is going to
be created underneath your MH Mail directory, and
messages in that folder are going to be stored in that
directory. When a new email message comes, it is thrown
into your inbox directory with a file name that is
equivalent to the message number. So even if you did not have
any of the MH tools to read your email you could still use
- standard Unix commands to munge around in those directories and
+ standard &unix; commands to munge around in those directories and
just more your files. It is this simplicity that really gives you
a lot of power with what you can do with your email.Just as you can use message lists like 23 16
42 with most MH commands there is a folder option you can
specify with just about every MH command. If you do a
scan +freebsd it will scan your freebsd
folder, and your current folder will be changed to
freebsd. If you do a show +freebsd 23 16
42, show is going to switch to your
freebsd folder and display messages 23, 16 and 42.
So remember that syntax. You
will need to make sure you use it to make commands process
different folders. Remember you default folder for mail is
inbox so doing a folder +inbox should
always get you back to your mail. Of course, in MH's infinite
flexibility this can be changed but most places have probably
left it as inbox.pick—search email that matches certain
criteriapick is one of the more complex commands in
the MH system. So you might want to read the
pick1 man
page for a more thorough understanding. At its simplest level
you can do something like&prompt.user; pick -search pci
15
42
55
56
57This will tell pick to look through every
single line in every message in your current folder and tell
you which message numbers it found the word pci
in. You can then show those messages and read them
if you wish or rmm them. You would have to specify
something like show 15 42 55-57 to display them
though. A slightly more useful thing to do is this:&prompt.user; pick -search pci -seq pick
5 hits
&prompt.user; show pickThis will show you the same messages you just did not have
to work as hard to do it. The option is
really an abbreviation of and
pick is just a sequence which contains the message
numbers that matched. You can use sequences with just about
any MH command. So you could have done an rmm pick
and all those messages would be removed instead. You sequence
can be named anything. If you run pick again it will overwrite
the old sequence if you use the same name.Doing a pick -search can be a bit more
time consuming than just searching for message from someone,
or to someone. So pick allows you to use the
following predefined search criteria:search based upon who the message is tosearch based on who is in the Cc: listsearch for who sent the messagesearch for emails with this subjectfind emails with a matching datesearch for any other component in the header. (i.e.
to find all emails with a certain
reply-to in the header)This allows you to do things like
&prompt.user; pick -to freebsd-hackers@FreeBSD.org -seq hackers
to get a list of all the email send to the FreeBSD hackers
mailing list. pick also allows you to group these
criteria in different ways using the following options:… …… … … …
These commands allow you to do things like&prompt.user; pick -to freebsd-hackers -or -cc freebsd-hackersThat will grab all the email in your inbox that was sent
to freebsd-hackers or cc'd to that list. The brace options
allow you to group search criteria together. This is sometimes
very necessary as in the following example&prompt.user; pick -lbrace -to freebsd-hackers -and
-not -cc freebsd-questions -rbrace -and -subject pciBasically this says pick (to freebsd-hackers and
not cc'd on freebsd-questions) and the subject is
pci. It should look through your folder and find
all messages sent to the freebsd-hackers list that are not cc'd
to the freebsd-questions list and contain pci in
the subject line. Ordinarily you might have to worry about
something called operator precedence. Remember in math how you
evaluate from left to right and you do multiplication and
division first and addition and subtraction second? MH has the
same type of rules for pick. It is fairly complex
so you might want to study the manual page. This document is just
to help you get acquainted with MH.folder, folders,
refile—three useful programs for folder
maintenanceThere are three programs which are primarily just for
manipulating your folders. The folder program is
used to switch between folders, pack them, and list them. At
its simplest level you can do a folder
+newfolder and you will be switched into
newfolder. From there on out all your MH
commands like comp, repl,
scan, and show will act on that
newfolder folder.Sometimes when you are reading and deleting messages you
will develop holes in your folders. If you do a
scan you might just see messages 34, 35, 36, 43,
55, 56, 57, 80. If you do a folder -pack
this will renumber all your messages so that there are no
holes. It does not actually delete any messages though. So you
may need to periodically go through and physically delete
rmm'd messages.If you need statistics on your folders you can do a
folders or folder -all to list
all your folders, how many messages they have, what the
current message is in each one and so on. This line of stats
it displays for all your folders is the same one you get when
you change to a folder with folder +foldername. A
folders command looks like this: Folder # of messages ( range ); cur msg (other files)
announce has 1 message ( 1- 1).
drafts has no messages.
f-hackers has 43 messages ( 1- 43).
f-questions has 16 messages ( 1- 16).
inbox+ has 35 messages ( 1- 38); cur= 37.
lists has 8 messages ( 1- 8).
netfuture has 1 message ( 1- 1).
out has 31 messages ( 1- 31).
personal has 6 messages ( 1- 6).
todo has 58 messages ( 1- 58); cur= 1.
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
into the netfuture folder. You could also do
something like refile 23 +netfuture/latest which
would put message number 23 in a subfolder called
latest under the netfuture folder.
If you want to keep a message in the current folder and link
it you can do a refile -link 23 +netfuture
which would keep 23 in your current inbox but
also list in your netfuture folder. You are
probably beginning to realize some of the really powerful
things you can do with MH.Sending MailEmail is a two way street for most people so you want to be
able to send something back. The way MH handles sending mail can
be a bit difficult to follow at first, but it allows for
incredible flexibility. The first thing MH does is to copy a
components file into your outgoing email. A components file is
basically a skeleton email letter with stuff like the To: and
Subject: headers already in it. You are then sent into your
editor where you fill in the header information and then type
the body of your message below the dashed lines in the message.
When you leave the editor, the whatnow program is run. When you are at the
What now? prompt you can tell it to
send, list, edit,
push, and quit. Most
of these commands are self-explanatory. So the message sending
process involves copying a component file, editing your email,
and then telling the whatnow program what to do with
your email.comp, forw,
reply—compose, forward or reply to a message
to someoneThe comp program has a few useful command line
options. The most important one to know right now is the
option. When MH is installed the
default editor is usually a program called
prompter which comes with MH. It is not a very
exciting editor and basically just gets the job done. So when
you go to compose a message to someone you might want to use
comp -editor /usr/bin/vi or comp -editor
/usr/local/bin/pico instead. Once you have run
comp you are in your editor and you see
something that looks like this:To:
cc:
Subject:
--------You need to put the person you are sending the mail to
after the To: line. It works the same way for the
other headers also, so you would need to put your subject
after the Subject: line. Then you would just put
the body of your message after the dashed lines. It may seem a
bit simplistic since a lot of email programs have special
requesters that ask you for this information but there really
is no point to that. Plus this really gives you excellent
flexibility.To:freebsd-rave@FreeBSD.org
cc:
Subject:And on the 8th day God created the FreeBSD core team
--------
Wow this is an amazing operating system. Thanks!You can now save this message and exit your editor. You
will see the What now? prompt and you can type in
send or s and hit
return. Then the FreeBSD core team will receive
their just rewards. As I mentioned earlier, you can also use
other commands at the What now? prompt.
For example you can use quit, if you do not want
to send the message.The forw command is stunningly similar. The
big difference being that the message you are forwarding is
automatically included in the outgoing message. When you run
forw it will forward your current message. You can
always tell it to forward something else by doing something
like forw 23 and then message number 23 will be
put in your outgoing message instead of the current message.
Beyond those small differences forw functions
exactly the same as comp. You go through the exact
same message sending process.The repl command will reply to the
current message, unless you give it a different message to
reply to. repl will do its best to go ahead and
fill in some of the email headers already. So you will notice
that the To: header already has the address of the
recipient in there. Also the Subject: line will
already be filled in. You then go about the normal message
composition process and you are done. One useful command line
option to know here is the option. You
can use all, to, cc,
me after the option to have
repl automatically add the various addresses to
the Cc: list in the message. You have probably noticed that the
original message is not included. This is because most MH
setups are configured to do this from the start.components, and
replcomps—components files for
comp and replThe components file is usually in
/usr/local/lib/mh. You can copy that file
into your MH Mail directory and edit to contain what you want
it to contain. It is a fairly basic file. You have various
email headers at the top, a dashed line and then nothing. The
comp command just copies this
components file and then edits it. You can add
any kind of valid RFC822 header you want. For instance you
could have something like this in your components
file:To:
Fcc: out
Subject:
X-Mailer: MH 6.8.3
X-Home-Page: http://www.FreeBSD.org/
-------MH would then copy this components file and throw you into
your editor. The components file is fairly
simple. If you wanted to have a signature on those messages
you would just put your signature in that
components file.The replcomps file is a bit more complex. The
default replcomps looks like this:%(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
%<(nonnull)%(void(width))%(putaddr cc: )\n%>\
%<{fcc}Fcc: %{fcc}\n%>\
%<{subject}Subject: Re: %{subject}\n%>\
%<{date}In-reply-to: Your message of "\
%<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id}
%{message-id}%>\n%>\
--------It is in the same basic format as the
components file but it contains quite a few extra
formatting codes. The %(lit) command makes room
for the address. The %(formataddr is a function
that returns a proper email address. The next part is
%< which means if and the
{reply-to} means the reply-to field in the
original message. So that might be translated this way:%<if {reply-to} the original message has a reply-to
then give that to formataddr, %? else {from} take the
from address, %? else {sender} take the sender address, %?
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
strings is in the MH-Format manual page. The really nice thing is
that once you have built your customized
replcomps file you will not need to touch it again.
No other email program really gives you the power and
flexibility that MH gives you.
diff --git a/share/sgml/trademarks.ent b/share/sgml/trademarks.ent
index 73a05de10f..573e98906e 100644
--- a/share/sgml/trademarks.ent
+++ b/share/sgml/trademarks.ent
@@ -1,320 +1,329 @@
3Com and HomeConnect are registered
trademarks of 3Com Corporation.">
3Com">
3ware and Escalade are registered
trademarks of 3ware Inc.">
3ware">
Escalade">
Adobe, Acrobat, Acrobat Reader, and
PostScript are either registered trademarks or trademarks of Adobe
Systems Incorporated in the United States and/or other
countries.">
Adobe">
Acrobat">
Acrobat Reader">
PostScript">
Adaptec is a registered trademark of
Adaptec, Inc.">
Adaptec">
AMD, Am486, Am5X86, AMD Athlon, AMD
Duron, AMD Opteron AMD, AMD-K6, Élan, and PCnet are
trademarks of Advanced Micro Devices, Inc.">
Am486">
Am5x86">
Élan">
AMD-K6">
AMD Athlon">
AMD Duron">
AMD Operon">
Apple, FireWire, Mac, Macintosh, Mac OS,
Quicktime, and TrueType are trademarks of Apple Computer, Inc.,
registered in the United States and other countries.">
FireWire">
Mac">
Macintosh">
Mac OS">
TrueType">
Quicktime">
ARM is a registered trademark of ARM
Limited.">
ARM">
The Bluetooth word mark is owned
by the Bluetooth SIG, Inc.">
Bluetooth">
+Broadcom is a registered trademark
+ of Broadcom Corporation and/or its subsidiaries.">
+Broadcom">
+
Check Point, Firewall-1, and
VPN-1 are trademarks of Check Point Software Technologies
Ltd..">
Corel and WordPerfect are trademarks
or registered trademarks of Corel Corporation and/or its
subsidiaries in Canada, the United States and/or other
countries.">
Sound Blaster is a trademark of
Creative Technology Ltd. in the United States and/or other
countries.">
SoundBlaster">
Dell, Dell Precision, Latitude,
Optiplex, PowerEdge are trademarks or registered trademarks of Dell
Computer Corporation">
Dell">
PowerEdge">
FreeBSD is a registered trademark of
Wind River Systems, Inc. This is expected to change soon.">
Heidelberg, Helvetica,
Palatino, and Times Roman are either registered trademarks or
trademarks of Heidelberger Druckmaschinen AG in the U.S. and other
countries.">
-IBM, AIX, OS/2, PowerPC, PS/2, and S/390 are
+IBM, AIX, EtherJet, Netfinity, OS/2, PowerPC, PS/2, S/390, and ThinkPad are
trademarks of International Business Machines Corporation in the
United States, other countries, or both.">
AIX">
+EtherJet">
+Netfinity">
OS/2">
PowerPC">
PS/2">
S/390">
+ThinkPad">
IEEE, POSIX, and 802 are registered
trademarks of Institute of Electrical and Electronics Engineers,
Inc. in the United States.">
POSIX">
Intel, Celeron, EtherExpress, i386,
i486, Itanium, Pentium, and Xeon are trademarks or registered
trademarks of Intel Corporation or its subsidiaries in the United
States and other countries.">
Celeron">
EtherExpress">
i386">
i486">
Intel">
Itanium">
Pentium">
Xeon">
Intuit and Quicken are registered
trademarks and/or registered service marks of Intuit Inc., or one of
its subsidiaries, in the United States and other countries.">
Iomega, Zip, and Jaz are either
registered trademarks or trademarks of Iomega Corporation in the
United States and/or other countries.">
Zip">
Jaz">
Linux is a registered trademark of
Linus Torvalds in the United States.">
LSI Logic, AcceleRAID, eXtremeRAID,
MegaRAID and Mylex are trademarks or registered trademarks of LSI
Logic Corp.">
AcceleRAID">
MegaRAID">
Mylex">
Macromedia, Flash, and Shockwave are
trademarks or registered trademarks of Macromedia, Inc. in the
United States and/or other countries.">
Flash">
Macromedia">
Shockwave">
Microsoft, FrontPage, MS-DOS,
Outlook, Windows, Windows Media, and Windows NT are either
registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.">
Microsoft">
MS-DOS">
Outlook">
Windows">
Windows Media">
Windows NT">
MIPS and R4000 are registered
trademarks of MIPS Technologies, Inc. in the United States and other
countries.">
MIPS">
M-Systems and DiskOnChip are
trademarks or registered trademarks of M-Systems Flash Disk
Pioneers, Ltd.">
DiskOnChip">
Netscape and the Netscape Navigator
are registered trademarks of Netscape Communications Corporation in
the U.S. and other countries.">
Netscape">
Netscape Navigator">
NetWare, NetWare Loadable Module, and
NLM are either registered trademarks or trademarks of Novell,
Inc. in the United States and other countries.">
Motif, OSF/1, and UNIX are
registered trademarks and IT DialTone and The Open Group are
trademarks of The Open Group in the United States and other
countries.">
UNIX">
Motif">
Oracle is a registered trademark is a
of Oracle Corporation.">
Oracle">
PowerQuest and PartitionMagic are
registered trademarks of PowerQuest Corporation in the United States
and/or other countries.">
PartitionMagic">
RealNetworks, RealPlayer, and
RealAudio are the registered trademarks of RealNetworks,
Inc.">
Red Hat, RPM, are trademarks or
registered trademarks of Red Hat, Inc. in the United States and
other countries.">
SAP, R/3, and mySAP are trademarks or
registered trademarks of SAP AG in Germany and in several other
countries all over the world.">
R/3">
SAP">
Silicon Graphics, SGI, and OpenGL are
registered trademarks of Silicon Graphics, Inc., in the United
States and/or other countries worldwide.">
OpenGL">
Sparc, Sparc64, SPARCEngine, and
UltraSPARC are trademarks of SPARC International, Inc in the United
States and other countries. Products bearing SPARC trademarks are
based upon architecture developed by Sun Microsystems, Inc.">
Sparc">
Sparc64">
UltraSPARC">
SPARCEngine">
-Sun, Sun Microsystems, Netra, StarOffice,
- Sun Blade, Sun Enterprise, Sun Fire, SunOS, Solaris, Ultra, and Java are trademarks or registered trademarks of
+Sun, Sun Microsystems, Java, Java Virtual Machine, JavaServer Pages, JDK, JSP, JVM, Netra, Solaris, StarOffice,
+ Sun Blade, Sun Enterprise, Sun Fire, SunOS, and Ultra are trademarks or registered trademarks of
Sun Microsystems, Inc. in the United States and other
countries.">
Java">
Java Virtual Machine">
+JavaServer Pages">
JDK">
+JSP">
JVM">
Netra">
StarOffice">
Solaris">
Sun Blade">
Sun Enterprise">
Sun Fire">
Ultra">
SunOS">
Symantec and Ghost are registered
trademarks of Symantec Corporation in the United States and other
countries.">
MATLAB is a registered trademark
of The MathWorks, Inc.">
MATLAB">
SpeedTouch is a trademark of
Thomson">
SpeedTouch">
Transmeta and Crusoe are either
trademarks or registered trademarks of Transmeta Corporation in the
United States and/or other countries.">
Crusoe">
Transmeta">
U.S. Robotics and Sportster are
registered trademarks of U.S. Robotics Corporation.">
Sportster">
U.S. Robotics">
VMware is a trademark of VMware,
Inc">
QUALCOMM and Eudora are registered
trademarks of QUALCOMM Incorporated.">
Eudora">
Waterloo Maple and Maple are
trademarks or registered trademarks of Waterloo Maple Inc.">
Maple">
Mathematica is a registered
trademark of Wolfram Research, Inc.">
Mathematica">
XFree86 is a trademark of The
XFree86 Project, Inc.">
XFree86">
Ogg Vorbis and Xiph.Org are trademarks
of Xiph.Org.">
Many of the designations used by
manufacturers and sellers to distinguish their products are claimed
as trademarks. Where those designations appear in this document,
and the FreeBSD Project was aware of the trademark claim, the
designations have been followed by the ™ or the
® symbol.">