Commit Graph

138167 Commits

Author SHA1 Message Date
snj 4bb24023a0 Add ching.0 and ching.6. 2005-07-01 03:32:49 +00:00
mellon 3323a8aa52 Add a -o flag that causes the client to exit once it's bound a lease. 2005-07-01 01:19:02 +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
sekiya 13e5f23389 Fix up interrupt line when line == 0. Discussed with christos@ 2005-06-30 22:28:03 +00:00
snj 23b31bb2ee Use more macros and sort xrefs. 2005-06-30 21:36:34 +00:00
christos 66276ec095 There is an error when we return -1, not < 1. 2005-06-30 19:31:53 +00:00
elad 78efb764e3 Sync with code. Partly based on the OpenBSD manpage. 2005-06-30 18:45:51 +00:00
rpaulo aafff09728 Add ptyfs to the file-system types ignored by the find_core check.
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-30 18:23:26 +00:00
elad 5e01283b99 Use gid_t for stra_setegid. 2005-06-30 18:20:24 +00:00
drochner 996c273eda adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes 2005-06-30 17:03:51 +00:00
christos fdfc4891f9 Patch from Jeremy Reed to describe how MFS /dev works. Thanks! 2005-06-30 16:38:06 +00:00
christos 97ccbe263d WARNS=3 2005-06-30 16:23:29 +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
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