Commit Graph

1218 Commits

Author SHA1 Message Date
perry 995abc5571 Sulfur|Sulphur -> Sul[f|ph]ur 2005-08-14 21:19:35 +00:00
perry 2b5ff6359d Sulfur -> Sulfur | Sulphur 2005-08-14 21:17:37 +00:00
perry 5b7baeda3b er, forgot the C{a}esium change in the last 2005-08-14 20:31:34 +00:00
perry 0874287eda 1) Update atomic weights.
The weights here are taken from
     http://www.iupac.org/publications/pac/2003/7508/7508x1107.html
   and have been rounded to four significant figures in all cases.
   In the case of elements that have no isotopes stable enough for
   reasonable measurement, numbers have been updated from Zumdahl,
   "Chemistry", Fifth edition and are presented (as before) in parentheses.
2) Cesium is now C{a}esium
3) A number of new elements have been added at the end of the periodic
   table.
2005-08-14 20:28:25 +00:00
perry a2a84a1ed5 Aluminum -> Alumin{i}um
Aluminium is really the official name, but doing it this way allows
entry of either answer.
2005-08-14 19:34:50 +00:00
perry 4156b28f30 Sulphur -> Sulfur
Although the traditional spelling in commonwealth countries is
"Sulphur", the official IUPAC name of the element is "Sulfur", and
even the Royal Society of Chemistry now spells it "Sulfur".
2005-08-14 17:45:17 +00:00
rpaulo 07b524b43f Added a missing '-' in score list output. 2005-08-10 19:21:21 +00:00
rpaulo b0282a1ea0 Pass lint(1). 2005-08-10 17:53:28 +00:00
rpaulo 16a8e8c2e7 Enable WARNS=3. 2005-08-10 17:52:56 +00:00
rpaulo 279b6fba65 Fixed an output bug where a new-line was added due the usage of puts(3). 2005-08-10 16:10:51 +00:00
rpaulo e58060915c Pass lint(1). 2005-08-10 14:02:26 +00:00
rpaulo 2c43d92fd8 Enable WARNS=3. 2005-08-10 14:02:10 +00:00
christos e31432ec85 add a new style cast to memcpy. 2005-08-09 15:17:41 +00:00
rpaulo dc2f26bcaa Enable WARNS=3 and pass lint(1).
ok christos@
2005-08-09 09:15:23 +00:00
christos 56c9d385d3 Pass WARNS=3 2005-08-09 02:38:32 +00:00
cjs 24b202fa43 Comment from Al. 2005-07-23 08:01:38 +00:00
rillig 80af4a9fa0 Aligned the usage message from the program with the one mentioned in the
man page.
2005-07-22 11:56:50 +00:00
rillig d590f7d069 - caesar(6) is not a SETGIDGAME, so we don't need to revoke any privileges.
- replaced direct POSIX read/write with stdio, which made the code simpler.
- added even more error checking.
- restructured the code to make each function fit on one screen
  (well, except one).
- now the code reflects the intended purpose of the program.
- return 0 instead of EXIT_FAILURE on success.
2005-07-22 11:52:23 +00:00
wiz a2b9f45e1c Quote macro. 2005-07-05 08:48:47 +00:00
jdc 5ffaff9f39 Tidy up curses state when we quit, instead of just doing exit(). 2005-07-02 15:48:03 +00:00
wiz 0dab3b253e Sort sections. Use mdoc macros. Reformat. 2005-07-02 10:46:21 +00:00
wiz 2f511b7404 Removing trailing spaces. 2005-07-02 10:40:50 +00:00
jmc 4f50e1e42e KNF conversion 2005-07-02 08:35:29 +00:00
jmc 1f90022eca KNF and WARNS=3 2005-07-02 08:32:32 +00:00
jmc 52d1fdd324 KNF and WARNS=3 2005-07-01 16:50:55 +00:00
jmc ed65ee1672 KNF and WARNS=3 2005-07-01 16:38:24 +00:00
peter 900682383e Remove the -t flag from the usage. 2005-07-01 14:21:49 +00:00
jmc bd6068f403 KNF and WARNS=3 2005-07-01 06:04:46 +00:00
jmc 86a7383a37 Whitespace fix 2005-07-01 01:13:05 +00:00
jmc fcb317ee49 KNF and WARNS=3 fixes 2005-07-01 01:12:39 +00:00
jmc 4931378a78 KNF and WARNS=3 fixes 2005-07-01 00:48:34 +00:00
jmc 243d04ef01 KNF and WARNS=3 2005-07-01 00:03:36 +00:00
perry 4acb374aa2 add ching, and also break up the SUBDIR line a bit more to make future
additions easier.

now if we could only get "dungeon"...
2005-06-30 15:35:17 +00:00
martin 844e014ade Initialize lnum and unum to avoid a "might be used uninitialized"
warning.
2005-06-30 13:44:48 +00:00
perry 2442385313 missing paragraph break from the original 2005-06-30 13:34:29 +00:00
perry 5175ead765 ching(6) -- The Book of Changes, not seen in BSD since 4.4BSD.
The C code is a complete rewrite done by Guy Harris for 4.4BSD and is
not the original from v7 at all. Unfortunately, the data file itself,
without which the rest isn't useful, was not freed until Caldera
released all of 32v a few years ago, so it was not in 4.4lite.

The data file, the ching nroff macros, and the driver script are under
Caldera or Caldera+Berkeley copyright.

I've partially redone the driver script from 4.4 (there was no point
in using a temporary file for the hexagram), which was already
partially redone from 32v. (As an aside, it is nutty that the script
needs a copyright so many times longer than the code.)

I've renamed "cno" to "castching", "phx" to "printching", (the
traditional names were opaque), and put them in /usr/libexec/ching
instead of the v7 /usr/games/ching.d. The data file and nroff macros
are in /usr/share/games/ching
2005-06-30 13:30:33 +00:00
symka 944ff7f105 Fixed error on a nonexistent mail spool file, when countmail can't find it\n\nCloses PR misc/29526\n\n\(Code submitted in PR misc/29526 by Andreas Eder) 2005-06-30 06:08:56 +00:00
rillig 1a815e1f74 Fixed a comment that said the factors in the output would be strictly
ascending.
2005-06-27 20:49:31 +00:00
rillig 556489aa53 Changed the type of data_table to be unsigned char[] instead of char[],
because it is initialized with values >= SCHAR_MAX. Also removed two
unnecessary bit mask operations. These changes do not affect the actual
behavior. Also replaced an "#ifdef notdef" with "#if 0". All these
changes are mainly for reducing lint(1) warnings.
2005-06-27 20:32:07 +00:00
rillig 45a38dbbe7 Fixed buffer overflow with long command line arguments. 2005-06-27 19:49:20 +00:00
wiz ac79bd4dc2 Drop trailing space. 2005-06-26 10:07:23 +00:00
hubertf e5a0b604a9 * Change program logic to not nest needlessly
* Search all acronyms databases, and don't force the user to
   know in which category to look (-t is gone)
 * If an acronym is not found in the database or by whatis(1),
   also check pkg_info(1). Per PR bin/30539 by Geert Hendrickx
   (geert.hendrickx@ua.ac.be)

OK'd by Julio M. Merino Vidal <jmmv>
2005-06-22 20:11:03 +00:00
tron bd52bf6180 Change marker from "pmppc" to "powerpc" because a NetBSD-macppc build
is also affected.
2005-06-09 12:20:12 +00:00
he 1ce7c753b3 Add an initialization to placate -Wuninitialized.
Marked with XXXGCC for pmppc (found while compiling for it).
2005-06-09 09:36:19 +00:00
rillig 5abe8eb023 Raised WARNS to 4. 2005-05-23 23:08:06 +00:00
rillig 8a7b93ff10 * fixed <ctype> bugs
* removed ASCII dependency
* added input data validation
* added bounds checking
* added error checking
* handle short reads (from pipes or sockets) correctly
  when trying to decode an encoded stream
* added lint(1) directives
2005-05-23 23:02:30 +00:00
kleink e039a7f675 Otto Von Bismarck -> Otto von Bismarck. 2005-05-10 18:41:53 +00:00
bad b09ec2a25b It is Bismarck not Bismark. 2005-05-10 17:47:33 +00:00
jwise 3b4f381581 Sort list, and add Nunavut, which has been a Canadian province since 1999. 2005-05-02 15:48:58 +00:00
jwise 245f508216 Cyprus is part of Europe, not Asia. Turkey is currently listed in both
Europe and Asia, I'm leaving it that way.
2005-05-02 15:39:27 +00:00