Commit Graph

54291 Commits

Author SHA1 Message Date
hubertf
a71d955669 This patch converts worms(6) to use curses, thereby
simplifying the code and improving its portability.  It also adds a
delay option from OpenBSD, to allow reasonable speed display on fast
terminals, adds use of const, and fixes signal handling and use of
errx() where appropriate.

Patch supplied in PR 6661 by Joseph Myers <jsm28@cam.ac.uk>.
1999-07-30 02:23:27 +00:00
hubertf
1543eff804 This patch converts rain(6) to use curses, thereby
significantly simplifying the code and improving its portability.  It
also adds a delay option from OpenBSD to make the display go at a
useful speed on fast terminals, and fixes signal handling to make it
reliable.

Patch supplied by Joseph Myers <jsm28@cam.ac.uk> in PR 6659.
1999-07-30 02:14:56 +00:00
hubertf
7efd5195db Shell script implementation of "machine" by me.
I hereby place this into the public domain, the script contains
no copyright header to make it small. Replacing the binary
implementation saves 8k on /usr.

See also PRs 6614 and 361.
1999-07-30 02:07:15 +00:00
mycroft
ee0dfce003 Make this compile again in an ELF world. 1999-07-30 01:56:49 +00:00
mycroft
0900226864 Make one code path a bit clearer. 1999-07-30 01:55:38 +00:00
augustss
7874ddad19 Document USB_SET_SHORT_XFER ioctl(). 1999-07-30 01:32:05 +00:00
hubertf
4b53c6d85d If printing of a host's time is requested via the -d switch, condense
output so it doesn't exceed 80 columns.

Patch submitted in PR 5933 by Tim Rightnour <root@garbled.net>
1999-07-30 01:29:30 +00:00
itojun
656cf2dd52 allow "traceroute6 -q1 foo".
KAME PR: 135
1999-07-30 01:19:58 +00:00
hubertf
c684000231 Document csh's -m switch.
Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>
1999-07-30 01:08:12 +00:00
augustss
03fab70583 Mention COMPAT_14. 1999-07-30 00:49:15 +00:00
matt
944fb04a2e Fix the bss outside of PT_LOAD problem. (for non-paged executables,
the wrong variable (voff) was being substracted instead of the end
of the previous section.  therefore the alignment calculations were
all wrong for .bss (which for sparc is aligned 2**8)).
1999-07-30 00:39:11 +00:00
thorpej
76dcbfad36 Regen. 1999-07-29 20:58:19 +00:00
thorpej
8548b384f5 Add some Initio SCSI controller IDs. 1999-07-29 20:56:55 +00:00
hubertf
b0f5059f43 Don't ignore the return value of two unlink() commands, and print
some warnings instead, if unlinking fails.

Fixes PR 4634 by myself.
1999-07-29 20:08:59 +00:00
hubertf
d5df2197fb sprite.h is private to make, so #include it with "sprite.h",
not <sprite.h>.

Problem reported in PR 4381 bye Soren S. Jorvang <soren@t.dk>
1999-07-29 19:45:32 +00:00
augustss
f641c4b3b6 Make two wsmux pseudo devices and add mux locators. 1999-07-29 19:36:58 +00:00
augustss
0336dc8e2c Add mux 1 as a keyboard. 1999-07-29 19:26:08 +00:00
augustss
595da53663 Make wsmux devices. 1999-07-29 19:24:37 +00:00
augustss
3652732791 Add wsmux device.
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
hubertf
4d486ab67d Add "progress=1" switch to show a sign of life by printing a '.' for
every block written to the output file.
1999-07-29 19:03:31 +00:00
augustss
265b6769d5 Add mux locator to wsmouse and wskbd. 1999-07-29 18:25:53 +00:00
augustss
e7af5efe23 Make it possible to add a mux. 1999-07-29 18:24:09 +00:00
augustss
3d3f77c49e Add the wsmux pseudo device. 1999-07-29 18:20:02 +00:00
thorpej
d7f9efdafc In nfs_create(), make sure error is reset to 0 if we restart the operation. 1999-07-29 17:01:21 +00:00
itojun
76a67357f0 fix alignment problem of SIOCGIFCONF, on 64bit arch. 1999-07-29 15:40:48 +00:00
augustss
7b3035544b Sync with reality. 1999-07-29 14:20:32 +00:00
sommerfeld
3267e5e87d Probable fix for PR7943: lookups fail spuriously over NFS.
The problem was due to an interaction between the doomed unmounts done by
amd and getnewvnode.
I convinced myself that it's ok for getnewvnode() to do a sleeping vfs_busy().

Tested with multiple builds running while another process attempted to unmount
/usr once a second.
1999-07-29 13:31:45 +00:00
augustss
a7cd454b1d It's time to be COMPAT_14. 1999-07-29 10:37:12 +00:00
bouyer
a81c366fed Bump MAX_START to 256, so that the ncr driver can work with more than 5
devices on the same bus. See PR kern/6347 for details.
1999-07-29 10:00:34 +00:00
itojun
47a0fd892a sync with recent KAME.
- warn if net.inet6.ip6.accept_rtadv=0 (the command has no use in this case)
- conformance to RFC2461: obey declared timing constants more strictly
1999-07-29 09:57:58 +00:00
mycroft
3e780a5eb1 From the egcs development tree:
Fix problems with autoincrement/autodecrement caused by changes to the way
memcpy() calls are generated between egcs 1.1.1 and 1.1.2.
1999-07-29 09:09:18 +00:00
mycroft
648d6d9529 Only squeeze a short key/value pair onto a page with other complete key/value
pairs, not onto a page containing the end of a big pair.
1999-07-29 08:58:46 +00:00
itohy
5d4686cb63 Fix typo in comment. 1999-07-29 08:19:55 +00:00
jdolecek
053ce167b6 ntfs_statfs(): correct previous: only use mp->mnt_op->vfs_name on NetBSD,
FreeBSD does it differently
1999-07-29 07:55:23 +00:00
mycroft
72a2509e35 When deleting a big key, the offset of an empty page should be bsize, not
bsize-1; otherwise an insertion into the empty page will cause the new key to
be elongated by 1 byte.
1999-07-29 07:48:03 +00:00
mycroft
3bf07e90f3 Fix a condition where the hole would be inserted in the wrong place during a
split.
1999-07-29 04:07:27 +00:00
enami
095b98a6ab call clearerr for the right file pointer. 1999-07-29 01:53:26 +00:00
mycroft
462e381edd Previous bug fix was slightly wrong. In this case, the data must start on a
new page, or we will mistakenly think the first page is the end of the data.
1999-07-29 01:12:57 +00:00
mycroft
8458b947ac Document EFBIG as a valid error. 1999-07-29 00:22:29 +00:00
mycroft
343c90058f Return a useful errno value in the overflow case.
Also, print a message to stderr in one more case.
1999-07-29 00:19:43 +00:00
lukem
101ccd31ba group is used by getgrent(3) not getpwent(3).
noticed by Johnny C. Lam <lamj@stat.cmu.edu>
1999-07-29 00:11:28 +00:00
thorpej
0f0a99bb48 Make sure that pmap == pmap_kernel() when skipping pager mappings. 1999-07-28 23:23:46 +00:00
hubertf
ef49c17e92 This patch fixes adventure(6) to use `extern' on declarations of
objects in its header file, and to add corresponding definitions to
init.c accordingly.  (See the C standard - relying on linker commons
where there are multiple uninitialised declarations of an object in
the program traditionally works on Unix, but is not standard C.)

The patch also removes a bit-rotten code fragment under #ifdef
OLDSTUFF.

Patch submitted in PR 8105 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28 23:23:39 +00:00
hubertf
c26f3e09fd This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.
Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28 23:15:51 +00:00
hubertf
18ee317315 This patch makes worm(6) keep the cursor on the head of the worm.
Submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8103.
1999-07-28 23:09:45 +00:00
hubertf
303b1c7490 This patch adds references to the main punched card, paper tape and
Morse code standards to the bcd(6) manpage (which also serves as the
manpages ppt(6) and morse(6)).

(The only one of these standards I have read is the ECMA-10 paper tape
standard, which is also probably the least readily available, since
ECMA don't supply copies of obsolete standards, though they will
supply printed copies of any or all of their current standards at no
charge.)

Patch submitted in PR 8102 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28 23:01:59 +00:00
soren
7220690fb8 Regen. 1999-07-28 22:38:00 +00:00
soren
4341d92cb3 Correct Acard device names.
Add and update a few IBM devices.
Add Toshiba and NEC devices in Portege 3K's.
1999-07-28 22:36:10 +00:00
jdolecek
251052b682 ntfs_statfs(): don't forget to copy the fs name into struct statfs buffer
on NetBSD
ntfs_vgetex(): make compilable with NTFS_DEBUG defined (should be ok
	for both Free&NetBSD)
1999-07-28 20:42:54 +00:00
jdolecek
6ec5efc535 ntfs_strategy(): make compilable with NTFS_DEBUG 1999-07-28 20:36:46 +00:00