Commit Graph

138152 Commits

Author SHA1 Message Date
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
nonaka f3987f5dbb remove EMODE support code.
- EMODE support doesn't work fine yet.
- This code is broken for dreamcast.
  dramcast call sh4_icache_sync_all() before sh4_cache_config().
  (at locore.S)
2005-06-30 15:14:46 +00:00
perry 7d6a4e53d1 note deroff, spell, ching 2005-06-30 14:04:26 +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 77f5872e78 add ching(6) 2005-06-30 13:41:19 +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
mishka 420d00d481 Add myself to NetBSD developers list.
Approved by symka@
2005-06-30 13:13:50 +00:00
tron b1be36cfb8 Don't use a static buffer in SHA1Transform() because it might cause
various problems including sporadic IPSec authentification failures
if this code is used by multiple instances in parallel.
2005-06-30 13:08:46 +00:00
perry 03c94431fb add /usr/libexec/ching 2005-06-30 12:40:22 +00:00
drochner 5597e3b8c5 add some (long long) casts to printf() arguments to avoid
gcc warnings
2005-06-30 12:18:16 +00:00
macallan 754d79402b Allow sparc64-style attachment of mouse and keyboard via zstty, needed for
wscons support.
Reviewed by uwe.
2005-06-30 12:07:51 +00:00
tron b2d2e5d059 Fix typo in comment. Patch supplied by Nicolas Joly in PR xsrc/30639. 2005-06-30 09:48:47 +00:00
simonb 8c9f710db0 We don't need a.out loadfile support for evbppc - this port has only
ever been ELF.
2005-06-30 07:47:29 +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
christos a85b0c68e0 Normalize our PAWS code with Free and Open, as mentioned in tech-security. 2005-06-30 02:58:28 +00:00
perry 2ed22179cd UCB copyrights are supposed to be three clause these days 2005-06-30 02:36:35 +00:00
perry d77d66d4bf Add Caldera acknowledgement. 2005-06-30 02:32:06 +00:00
dyoung 380ab420c3 Fix $FreeBSD$ RCS IDs, which gave me a real shock when their revision
numbers moved backwards.
2005-06-30 00:52:56 +00:00
perry 1a79ca20cc add deroff and spell 2005-06-29 21:38:58 +00:00
perry 8f8d9c94bf add deroff and spell 2005-06-29 21:20:15 +00:00
perry fcc96823f6 spell(1), from OpenBSD.
This code came originally from v7/32v and thence from 4.4BSD. It was
freed by Caldera. Todd Miller cleaned up and ANSIfied the code, and
then changed it to use the mmap/binary search algorithm for looking up
words in the dictionary that look(1) uses, replacing the hash based
lookups which were faster but broken by the size of the current
dictionary.

I've done a teeny bit of additional cleanup and replaced Todd's ksh
spell(1) script with a /bin/sh script, and re-structured the code to
follow the bsd makefile way, with one executable per directory.

I also added a TODO list recommending a bunch of kinds of cleanup.

The code is, frankly, awful. It was fine in the 1970s, a time of much
more limited resources and tastes, but the world has moved on a bunch
since then. The reason for pulling this in at all is that it will make
it much easier to check in-tree documentation for spelling errors
automatically.
2005-06-29 21:06:12 +00:00
perry cd4e76b8f7 deroff, from OpenBSD. Needed for spell(1) which I'll be pulling in shortly.
The code came from 32v and then 4.4BSD.  After the code was freed by
Caldera, it was cleaned up and ANSIfied by Todd Miller for OpenBSD.

I've added a TODO with several items on it, basically code cleanup and
adding support for mdoc. As it stands, this won't yet pass WARNS=1.
2005-06-29 20:58:50 +00:00
wiz 895a553b28 Add setprogname call. 2005-06-29 20:35:48 +00:00
wiz 05da4551bd de-__P(), ansify, use {g,s}etprogname. 2005-06-29 20:34:48 +00:00
christos b775b6932a Don't apply .DEFAULT commands to special targets (.BEGIN, .END, .INTERRUPT). 2005-06-29 19:59:42 +00:00
junyoung c95e3281de KNF. 2005-06-29 19:08:04 +00:00
junyoung f10ef234b8 Massive renames for consistency:
biosdiskreset -> biosdisk_reset
 biosread -> biosdisk_read
 get_diskinfo -> biosdisk_getinfo
 int13_extension -> biosdisk_int13ext
 biosextread -> biosdisk_extread
 int13_getextinfo -> biosdisk_getextinfo
 struct biosdisk_ext13info -> biosdisk_extinfo
 BIOSDISK_EXT13 -> BIOSDISK_INT13EXT
 BIOSDISK_EXT13INFO_V{2,3} -> BIOSDISK_EXTINFO_V{2,3}
 EXT13_* -> EXTINFO_*
2005-06-29 18:50:38 +00:00
junyoung beeb6c877c get_diskinfo():
Return status code in bits [31:24] of %eax. 0 for success, otherwise failure.
2005-06-29 18:02:52 +00:00
christos d3f92bb5dc additions from nonaka's landisk port. 2005-06-29 16:56:58 +00:00
christos 63fcf30b44 more additions from nonaka's landisk port. 2005-06-29 16:51:20 +00:00
christos 104d75eb91 more info for sh4 from nonaka's landisk port. 2005-06-29 16:31:51 +00:00
christos 5caa083144 more register definitions, from nonaka's landisk port. 2005-06-29 16:25:58 +00:00
christos 1c0b7f1f92 Need 2ms delay (from nonaka's landisk port). 2005-06-29 16:23:45 +00:00
kent 920709a3ed add:
acphy acpi acpiacad acpibat acpibut acpiec acpilid acpitz agp
ahd amhphy artsata ataraid ath bge bmtphy brgphy cec ciphy cms
cs80bus esiop gentbi geodeide glxtphy gphyter gpib gsip hcide
iavc ipw iteide iwi iwic makphy mpt nsclpcsio pdcsata pxg
satalink ste stge sti tfb txp ubsa ubsec udav
2005-06-29 14:57:22 +00:00
simonb 2c43674831 Remove fips_standalone_sha1.c - fixes problem mentioned by Hubert Feyrer
on current-users.

OK'd by christos.
2005-06-29 14:41:16 +00:00
ragge 13b4a4e8ea Print manufacturing plant information at boot, from Johnny Billquist. 2005-06-29 14:02:54 +00:00
peter bf1e9b32e2 Remove the distribution files of spamd. Future imports of pf will not
include spamd anymore.
2005-06-29 09:55:22 +00:00
christos b771909d19 forgot to remove the file pointer from the macro. 2005-06-29 05:00:30 +00:00
christos b232679f19 Add NO_USAGE and NO_DEBUG so that we can fit in the floppies again. 2005-06-29 02:31:19 +00:00
christos d7df71ba0e Don't compile in cpio usage, if we are SMALL. 2005-06-29 02:21:27 +00:00
hubertf 390553bef2 cleanup: preserve errno. Needed so err() functions ran after running
cleanup(0) print the correct error message.
2005-06-29 01:40:42 +00:00
christos f824681018 People might need MFS for /dev or for restoring to /tmp. 2005-06-29 01:40:17 +00:00
hubertf 9a9bdaa985 Fix 'pkg_add -R' handling - not registering really means not touching
the pkgdb too - useful for pkg_add as non-root!
2005-06-29 01:39:37 +00:00
christos 316b5f711e Make this fit:
1. remove MFS, not useful during installation.
2. remove extra ethernet drivers, some of them cannot be used without firmware.
3. remove pty multiplexor
4. remove ddb history
5. remove a.out support
6. trim down maxusers to 2
7. remove the beep device driver
8. remove nfsv3 support

One more commit to /usr/bin/ftp and everything will build again...
2005-06-28 22:57:19 +00:00
junyoung e63501d234 #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h" 2005-06-28 21:00:41 +00:00
junyoung efdde612c9 - ANSI & KNF.
- #include <lib/libsa/stand.h> rather than <stand.h>.
2005-06-28 20:55:55 +00:00
macallan c3d39ccf44 deal with more than one cgsix, make sure to get things right even when none
of them is the console.
2005-06-28 20:55:21 +00:00
junyoung 886a08c247 - ANSIfy, remove trailing spaces.
- Put /* FALLTHROUGH */ to make lint happy.
2005-06-28 20:51:19 +00:00
junyoung 9cc4222d48 Cosmetic changes, notably drop trailing spaces. 2005-06-28 20:44:49 +00:00