Commit Graph

3098 Commits

Author SHA1 Message Date
Josef Karthauser
cd2a718f1e Added missing DPADD's. Removed unrequired SRCS's.
Obtained from:	bde
2000-01-01 15:44:11 +00:00
Ruslan Ermilov
0b225c8128 Fix typos 1999-12-31 12:20:17 +00:00
Josef Karthauser
edc2844c9f Moved flags_to_string and string_to_flags into libutil. It's used in
many places nowadays.
1999-12-30 13:15:15 +00:00
Steve Price
9edc38efd7 Escape the ':' so that is actually makes it into the double quotes.
PR:		15775
Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
1999-12-29 22:22:32 +00:00
Peter Wemm
c447342094 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
Mike Smith
8266cbec26 Add display of maximum allowed mbuf count to match mbuf cluster count.
Submitted by:	Bosko Milekic <bmilekic@dsuper.net>
1999-12-28 06:38:37 +00:00
Tim Vanderhoek
aa52177fb5 Dedocument one of the BUGS listed in the last commit. The bug (needless
calculation of line numbers) never existed and the two bugs that made me
think it existed have been fixed (see recent commits about this date to
linenum.c:r.1.3 and ch.c:r.1.8 fixing broken line-number buffering and
braindead algorithms respectively).
1999-12-28 05:56:33 +00:00
Tim Vanderhoek
e965d6a895 Rather than use an LRU-ordered circular list to store buffered data,
simply keep an index into the last access on the circular list and begin
searches at that point.  An LRU list is inappropriate here since the
vast majority of accesses will occur in the same order that the list
is created in.  The only case where an LRU is remotely useful here is when
reading from a file and the user is jumping to randomish positions and
constantly returning to some central position.  Even for this case it is
such a small optimization as not to be noticed in an interactive program
such as more(1).

This change results in a _tremendously_ noticable speed-up when reading long
files through a pipe (where long = ~200k, machine = ~2.5h single-disk
worldstone).
1999-12-28 05:47:24 +00:00
Tim Vanderhoek
427db879c9 Delete dead code and clean comments a little. 1999-12-28 03:01:20 +00:00
Yoshinobu Inoue
7d56d3747c Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
Tim Vanderhoek
79bf951d43 Correctly maintain state when manipulating linked lists. This fixes a
bug that prevented the line-number buffer from working correctly.  AFAIK
the bug is still present in other derivatives of more(1).
1999-12-27 20:53:35 +00:00
Tim Vanderhoek
defd7401e5 Initialize unitialized variable from prev. commit. 1999-12-27 17:33:25 +00:00
Tim Vanderhoek
83d9b479e2 A missing verb to a sentence from last commit. 1999-12-26 04:41:29 +00:00
Tim Vanderhoek
3fc3b10351 For some reason the HOME key wasn't documented. Document it. Expand
the docs on a couple other keys.  While I'm here, document another ~3 bugs
that have been around for all eternity in the hope that I'll someday bother
to fix them.
1999-12-26 04:17:27 +00:00
Tim Vanderhoek
db0d7f4131 Allow excessive backspacing to correctly abort an input (most significantly
a search string input).
1999-12-26 03:03:04 +00:00
Tim Vanderhoek
9a49dca0b1 Expand source comments a little -=> increased readability. 1999-12-26 02:39:26 +00:00
Brian Feldman
9e5900ee43 Since we build and install gasp(1) in /usr/libexec/${OBJFORMAT}/,
and it is a user-run utility, it should be in objformat, so gasp
is in the ${PATH} :)
1999-12-24 15:18:19 +00:00
Marcel Moolenaar
e202332cc4 Enable genassym. 1999-12-23 11:10:23 +00:00
Marcel Moolenaar
00dcf020d6 New command for creating assembler symbols from C. 1999-12-23 11:07:45 +00:00
Kris Kennaway
f972508889 Say goodbye to some crufty old fortran code.
Reviewed by:	current
1999-12-22 14:30:42 +00:00
Warner Losh
a83c5014b1 Extra sanity checks in information from file edited by user. This
precludes using chfn, et al, to generate a divot in /etc.

Submitted by: Lukasz Luzar
Forgotten about for months by: imp
1999-12-21 19:30:09 +00:00
Yoshinobu Inoue
f7503444cf also, changed prototype of pr_rthdr(), as my previous fix
for netstat/route.c
1999-12-21 11:28:27 +00:00
Yoshinobu Inoue
49302f437a Added missing declaration for argment specification at pr_rthdr(),
caused by my previous patch, sorry.
Also, changed its var name from 'af' to 'wid_af', to avoid confusion with
global var 'af'.
1999-12-21 11:25:30 +00:00
Yoshinobu Inoue
c64893b10c define WID_DST6 and WID_GW6 and use them only for IPv6, to keep IPv4 related
information in 80 columns.

TODO: IPv6 related information is not likely to be kept in 80 columns, anyway.
      Some more print modes could be added,
      but what is the priority between those modes?
	-print out all information even if they don't fit into 80 columns
	-strip off some information to fit them into 80 columns

Reviewed by: markm
1999-12-21 09:31:14 +00:00
Jeroen Ruigrok van der Werven
59bb94b300 Small typo fix.
PR:		docs/15579
Submitted by:	Noriaki Mitsunaga <mitchy@er.ams.eng.osaka-u.ac.jp>
1999-12-20 09:35:12 +00:00
Ollivier Robert
567664c4a7 Second part of bin/3648: add -flags to search for specific flags.
I added $FreeBSD$ whicle I was here. The patch wasn't usable anymore
due to its age so I adapted it.

PR:		bin/3648
Submitted by:	Martin Birgmeier <mbirg@austria.ds.philips.com>
1999-12-19 15:43:19 +00:00
Peter Wemm
6e2578e4c4 Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
1999-12-18 13:55:17 +00:00
Chris Piazza
5703faa226 Remove duplicate entry 1999-12-18 01:26:38 +00:00
Chris Piazza
9dccad4a1c Spelling fixes. first change from openbsd second from netbsd 1999-12-18 01:13:18 +00:00
Alexey Zelkin
2e15fcdf53 Document -e flag.
PR:		docs/14936
Submitted by:	Stephen J. Roznowski <sjr@home.com>
1999-12-17 14:43:33 +00:00
Alexey Zelkin
db7fa4b8d5 Document -d and -o flags
Remove selfreference item from SEE ALSO section
Add reference to colldef(1) to SEE ALSO section
1999-12-17 14:34:02 +00:00
Bruce Evans
58de7a0d92 Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
Marcel Moolenaar
7c99ddf2cc Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
1999-12-16 10:55:45 +00:00
David E. O'Brien
eb12e836d2 Rev 1.9 did not follow style(9) in ordering. 1999-12-16 09:49:54 +00:00
David E. O'Brien
6e0442dee9 Options added in rev 1.14 were not documented in usage(). 1999-12-16 09:49:24 +00:00
Yoshinobu Inoue
57a40e9ee7 Enable INET6 by default.
This should be OK on non INET6 enabled kernel.
1999-12-15 05:13:22 +00:00
Bill Fumerola
128a149b6a Fix grammar error. (missing verb) 1999-12-13 23:37:56 +00:00
Guido van Rooij
ac55add06c Add new option, -L that will listen the various listen queue lengths.
Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
		Clive Lin <clive@GnatS.CirX.ORG>
1999-12-13 20:08:44 +00:00
Marcel Moolenaar
3666ebdc3d Allow it to be compiled as cross-tool. 1999-12-12 21:16:46 +00:00
Chris Costello
3d0da07c1e Finally give mk_cmds(1) a man page.
PR:		docs/4691
Submitted by:	Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
1999-12-12 02:43:07 +00:00
Kris Kennaway
f1b5e7b750 Retire error(1). This is no longer useful as it applies only to the 4.xBSD
toolchain.

Reviewed by:	current@freebsd.org
Axe kindly supplied by:	Institute of Danish Surgeons
1999-12-11 03:33:33 +00:00
Andrey A. Chernov
6604897c78 fix the same typo as in uniq 1999-12-10 13:27:02 +00:00
Andrey A. Chernov
579f26f4a8 fix fatal typo 1999-12-10 13:06:53 +00:00
Poul-Henning Kamp
b1637716a8 sys/dkbad.h is no more. 1999-12-08 19:47:08 +00:00
Yoshinobu Inoue
cfa1ca9dfa udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-07 17:39:16 +00:00
Josef Karthauser
72672ddc27 Mention the '6' flag in the flags summary. (Forgotten in the last commit). 1999-12-06 21:49:07 +00:00
Josef Karthauser
4fb3772628 Add braces ({}) to all the places that they're missing. 1999-12-06 21:18:32 +00:00
Josef Karthauser
300df8f1a9 Rewrite of the manual page to make it clear that NSI and InterNIC
are no longer the same organisation.

Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
1999-12-06 19:58:57 +00:00
David E. O'Brien
402dcc8d51 Add "-v" to usage(). 1999-12-06 05:02:32 +00:00
David E. O'Brien
522f2bf89b Document the "-v" flag. [It was like that when I got here.. honestly.] 1999-12-06 05:01:14 +00:00