Commit Graph

3311 Commits

Author SHA1 Message Date
phantom
db3639c852 . mdoc(7)'fy
. add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages
. sort Xrs in SEE ALSO sections

Patches based on PR:	docs/15680
Submitted by:		Christian Weisgerber <naddy@mips.rhein-neckar.de>
2000-01-07 13:14:32 +00:00
shin
b8e88750ca -permit protocol specific statistics at iflag,
only when either of sflag and "-f inet6" is specified.
-fix the indentation of default output

Specified by: Stephen McKay <syssgm@detir.qld.gov.au>

Reviewed and Confirmed by: Stephen McKay <syssgm@detir.qld.gov.au>
2000-01-07 05:17:09 +00:00
sheldonh
00f970ec43 Back out rev 1.11, about which bde had concerns, and instead implement
appropriate bounds-checking and typecasts based on our knowledge of
the desired conversion format specifier.

Simplify diagnostics and take care to print the correct conversion
format specifier when %l is involved.
2000-01-06 15:37:37 +00:00
shin
9b5932fc47 libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
bde
90aaf7aa83 Actually remove unrequired SRCS. 2000-01-05 19:22:10 +00:00
marcel
9d4189be2d Don't build with X support if DESTDIR is defined. This prevents
breaking a cross-build caused by taking the X libraries on the
build machine. In general this means that we never compile with
X support. The user has to manually compile doscmd for that.

Suggested by: bde, imp (among others)
2000-01-05 12:59:31 +00:00
grog
96120df22f Replace calendar with 2000 calendar.
Supplied-by:	Josef Grosch <jgrosch@MooseRiver.com>
PR:		docs/15429
2000-01-04 06:18:13 +00:00
obrien
b17f749ed0 Turn on a new /usr/bin/cpp that is a true binary rather than a shell script
wrapper.  /usr/bin/cpp knows about all the GCC predefined symbols and has
the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.
2000-01-04 03:48:08 +00:00
wes
24d00c85e4 Make brandelf explain itself a little better on error.
Also, at Boris' suggestion, add -l option to list known
ELF types.

PR:		bin/15285
Reviewed by:	bp
2000-01-04 02:33:54 +00:00
jkh
47cb278dcf Print mac addresses in standard byte:byte format rather than
byte.byte.  This makes it consistent with our other utilities
like arp(8) and ifconfig(8).

Submitted by:	Paul Vixie <paul@vix.com>
2000-01-03 17:48:36 +00:00
joe
9dba5b86f4 Added missing DPADD's. Removed unrequired SRCS's.
Obtained from:	bde
2000-01-01 15:44:11 +00:00
ru
be362cf42a Fix typos 1999-12-31 12:20:17 +00:00
joe
a381d987c4 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
1e1446b496 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
d53e4c1d80 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
msmith
d73a050489 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
hoek
9495b8cb30 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
hoek
5e2e694640 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
hoek
c96f8e891f Delete dead code and clean comments a little. 1999-12-28 03:01:20 +00:00
shin
8c2ccb59ca 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
hoek
83843a44a4 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
hoek
d09ff1ad4f Initialize unitialized variable from prev. commit. 1999-12-27 17:33:25 +00:00
hoek
e982393562 A missing verb to a sentence from last commit. 1999-12-26 04:41:29 +00:00
hoek
52fbf4821c 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
hoek
131789d30d Allow excessive backspacing to correctly abort an input (most significantly
a search string input).
1999-12-26 03:03:04 +00:00
hoek
0bf78e4bac Expand source comments a little -=> increased readability. 1999-12-26 02:39:26 +00:00
green
28208a284b 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
3fded87a9f Enable genassym. 1999-12-23 11:10:23 +00:00
marcel
ea6b5e2384 New command for creating assembler symbols from C. 1999-12-23 11:07:45 +00:00
kris
5960602b89 Say goodbye to some crufty old fortran code.
Reviewed by:	current
1999-12-22 14:30:42 +00:00
imp
cef06dff83 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
shin
1ce5be54c5 also, changed prototype of pr_rthdr(), as my previous fix
for netstat/route.c
1999-12-21 11:28:27 +00:00
shin
410c84c183 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
shin
c33c53ebdb 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
asmodai
c73ef6386e 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
roberto
58b687c462 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
d44e2d4226 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
cpiazza
edb45ae096 Remove duplicate entry 1999-12-18 01:26:38 +00:00
cpiazza
f846b34123 Spelling fixes. first change from openbsd second from netbsd 1999-12-18 01:13:18 +00:00
phantom
efae37a130 Document -e flag.
PR:		docs/14936
Submitted by:	Stephen J. Roznowski <sjr@home.com>
1999-12-17 14:43:33 +00:00
phantom
d58be655c4 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
bde
8fa948d7c0 Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
marcel
e32efbad28 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
obrien
b789ca1b9a Rev 1.9 did not follow style(9) in ordering. 1999-12-16 09:49:54 +00:00
obrien
c076680615 Options added in rev 1.14 were not documented in usage(). 1999-12-16 09:49:24 +00:00
shin
f3539c3f23 Enable INET6 by default.
This should be OK on non INET6 enabled kernel.
1999-12-15 05:13:22 +00:00
billf
8271c7a404 Fix grammar error. (missing verb) 1999-12-13 23:37:56 +00:00
guido
39eef9ac50 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
febbe0bdde Allow it to be compiled as cross-tool. 1999-12-12 21:16:46 +00:00
chris
645afe7387 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
17b5e08d07 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
ache
5ee94caf28 fix the same typo as in uniq 1999-12-10 13:27:02 +00:00
ache
91440b61a3 fix fatal typo 1999-12-10 13:06:53 +00:00
phk
33380017bb sys/dkbad.h is no more. 1999-12-08 19:47:08 +00:00
shin
70f0bdf681 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
joe
67afece3d6 Mention the '6' flag in the flags summary. (Forgotten in the last commit). 1999-12-06 21:49:07 +00:00
joe
a5c97eab80 Add braces ({}) to all the places that they're missing. 1999-12-06 21:18:32 +00:00
joe
54c92f8579 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
obrien
c4d3fc5932 Add "-v" to usage(). 1999-12-06 05:02:32 +00:00
obrien
ef7574daa0 Document the "-v" flag. [It was like that when I got here.. honestly.] 1999-12-06 05:01:14 +00:00
joe
d754df9726 Added a -6 option to lookup information using the whois.6bone.net
database.

PR:		misc/10803 misc/10804
1999-12-05 22:43:36 +00:00
charnier
f585d4fa84 Minimal use of .Ar and .Nm.
Add section number to .Xr reference.
Add DIAGNOSTICS section name.
Remove unused #includes.
Be consistant in the parsing of flags and add missing option in usage string.
Add rcsid.
1999-12-05 20:03:22 +00:00
charnier
c8780c9c32 Typo. Standard list of flag
Add ``c89: '' in front of error messages to be errx()-like.
1999-12-05 20:01:28 +00:00
charnier
345f916537 Correct use of .Nm, .Em, .Ev
Add rcsid. Use errx instead of fprintf + exit.
Various spelling fixes.
1999-12-05 19:57:14 +00:00
charnier
8b03354e30 Do not dot terminate errx() strings. Add rcsid.
Document -d flag. Rework SYNOPSIS section
1999-12-05 19:53:37 +00:00
cracauer
40718257bf Make '||' visible.
PR:		docs/15265
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
1999-12-05 12:23:03 +00:00
kris
ca7199ffd8 The -s option was broken (missing braces around an else clause).
Noticed by:	Thomas Stromberg <tstromberg@rtci.com>
Obtained from:	OpenBSD
1999-12-04 03:19:15 +00:00
kris
3e5c0ef8dc Fix off-by-one error leading to a segfault.
Noticed by:	Thomas Stromberg <tstromberg@rtci.com>
1999-12-04 02:19:33 +00:00
kris
885348587c Fix buffer overflow & add $FreeBSD$
Reviewed by:	imp
1999-12-04 02:11:51 +00:00
marcel
5d3899446e Fix for the new usage of mkioctls 1999-12-03 17:35:34 +00:00
ache
9f9ea4099c Change -i host to whois.networksolutions.com 1999-12-03 16:56:57 +00:00
marcel
c0a34be120 Avoid hardcoding any paths and variables. The include directory must
now be specified on the command line. Accept a '-s' option which
controls whether a switch-statement is to be used instead of a series
of if-statements.

Replace cpp with gcc -E.

Discussed with: bde
1999-12-03 12:50:02 +00:00
sheldonh
8d21f19e4e Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in
the environment.  This allows big ID warnings to be suppressed for
vipw and chpass as well.

Since the environment variable test is only performed for callers
of pw_scan() that do not set pw_big_ids_warning, the test can still
be overriden.  Currently, chpass and pwd_mkdb are the only users
of pw_scan() and neither of them overrides the environment variable
test.
1999-12-02 16:39:15 +00:00
marcel
945cd94ac2 Make sure DESTDIR is set in the environment of mkioctls. This fixes
the breakage people have encountered at certain times (for example
when the altq_*.h files were removed).

$FreeBSD$ tag added.
1999-12-02 13:47:17 +00:00
ache
f05bfcb43f Use %EF instead of hardcoded order for each country 1999-11-30 20:08:50 +00:00
ache
bcef948db2 %Ex -> %Ef 1999-11-30 19:44:33 +00:00
ache
6bb6d94196 Change meaning of newly introduced -L option - it helps lpr later 1999-11-30 15:09:26 +00:00
ache
5ff251c82d Localize it 1999-11-30 09:41:01 +00:00
peter
a466491b96 Reactivate bind and add dnskeygen. 1999-11-30 06:26:57 +00:00
peter
0270d2b8b3 New program in the bind suite. I'm not sure that it's worth much while
cylink/dnssafe is missing, but here it is anyway.
1999-11-30 06:26:14 +00:00
peter
dfcdee628b Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
peter
dc618593bd Move named and associated tools into a seperate makefile section and
disable them pending an import and cleanup of bind 8.2.2.p5.
1999-11-30 02:18:13 +00:00
kris
9aee982353 Fix a buffer overflow due to sending strings >1k in length. This is unlikely
to be a security problem, but it's not totally impossible. OpenBSD take note

Reviewed by:	imp
1999-11-25 07:28:54 +00:00
guido
0d47729503 Adjust man page: if command is specified, file name is mandatory 1999-11-24 15:47:45 +00:00
guido
02460f1397 Unbreak build world by readding the necessary ipfilter includes. 1999-11-24 15:38:35 +00:00
marcel
a96d7080dc Improve backward compatibility.
make(1) uses sysctlbyname() to find out if it is running on a PC98
machine. This check has been added on 1998/9/9. The MIB variable was
added on 1998/8/31. At that time __FreeBSD_version was 300003. So,
only perform the check *if* __FreeBSD_version is defined and if it's
greater than 300003.

For the record: sysctlbyname was added on 1997/5/30 so this change
automaticly handles that...
1999-11-23 10:35:24 +00:00
charnier
f3267b7b85 Make better use of .Ar. Use DIAGNOSTICS instead of incorrect section name.
Add rcsid. Remove unused #includes. Cosmetic in error messages.
1999-11-21 16:16:30 +00:00
charnier
d09776075b Correct use of .Nm. Add DIAGNOSTICS section. Add rcsid 1999-11-21 16:11:56 +00:00
dt
77bc1f2db8 Generate skel.c at build time. 1999-11-20 15:41:43 +00:00
phantom
135de032e4 mdoc(7)'fy
Mostly submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1999-11-18 16:04:53 +00:00
ache
28edb56949 purity change for name length checking code 1999-11-17 20:51:35 +00:00
ache
3620b449a5 Merge with OpenBSD whois (with bugfixes missed there)
New features are:
Automatic lookup using *.whois-servers.net
Recursive lookup using Registrar's name
Fallback to InterNIC for non-domains
-m for RADB database
-Q to turn recursion/fallback off

Obtained from:	OpenBSD
1999-11-17 19:11:51 +00:00
davidn
3d4886f969 Reduce max length of user names to 15 characters to reflect reality.
This also prevents the line-wrap and messed up display that occurs
when there happens to be one or more names with 15 chars.
1999-11-17 16:31:51 +00:00
peter
6bdffedcb9 Use the same technique as ps(1) to avoid the need for setgid. (ie: use
/dev/null as the default kernel and /dev/mem filenames, but still allow
the usual overrides)
1999-11-17 15:28:45 +00:00
bde
c1eced8210 Fixed sorting on time. On i386's, time differences of more than 2147
seconds caused overflow.  Use a type-safe but slightly slower comparison.
Comparisons for other fields are still fragile.

Fixed rounding of cputime (don't do extra work to get it slightly wrong
by first converting without rounding to milliseconds).

Removed dead code for setting cputime.

Fixed comments about cputime.
1999-11-17 03:25:54 +00:00
marcel
2d8cd2480b Remove CROSS_MAKE_FLAGS. 1999-11-15 17:07:45 +00:00
kris
3853bec4b5 Typo
Obtained from:	OpenBSD
1999-11-15 03:13:23 +00:00
marcel
17ed6e05da ${MACHINE} -> ${MACHINE_ARCH}
All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
	sys/boot/Makefile
	sys/boot/arc/loader/Makefile
	sys/kern/Makefile
	usr.bin/cpp/Makefile
	usr.bin/gcore/Makefile
	usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
	fixed typo: MACHINDE -> MACHINE_ARCH
1999-11-14 13:54:44 +00:00
bp
c9c6656d0f Add reference to the share/examples/nwclient directory. 1999-11-14 13:39:49 +00:00
green
846b75da6d Make fstat work with file arguments again after being broken by dev_t
changes.  Thanks, Mr. Edwards!

Submitted by:	Peter Edwards <peter.edwards@ireland.com>
1999-11-13 21:13:25 +00:00
marcel
dc10af68ca Fix the case where there's no path and doscmd defaults it to C:\ 1999-11-12 08:59:41 +00:00
dfr
802a7ce1af ioctlname() is actually passed a register_t.
Pointed out by: bde
1999-11-10 08:41:08 +00:00
davidn
eb0978086d Fix cosmetic bug in time display. Current day logins are now displayed
as plain time as originally intended, instead of displaying DayHH times
when the login time happens to be prior the GMT - TZ difference.
(Only noticable on systems operating east of GMT/UTC).
Local times are now used to determine the day.
1999-11-10 04:28:16 +00:00
dfr
dbc696f018 Fix a boatload of warnings in the generated code on the alpha. 1999-11-09 22:32:29 +00:00
dfr
6ab56498ca Fix the output of 'netstat -I de0 1' for the alpha. Fix a bunch of
warnings while I'm here.
1999-11-09 22:22:36 +00:00
ache
64b85dd45e Change default to whois.crsnic.net - new Central Shared Registry for domains
Move InterNIC to -i option
1999-11-09 09:01:38 +00:00
jhay
0b538034b3 Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.
Restore dos_makepath() functionality to pre r1.5 days.
1999-11-08 17:28:46 +00:00
jkoshy
8d9b08ce74 Document startup behaviour of mail(1).
PR:		docs/1577
Submitted by:	Joseph Koshy <koshy@india.hp.com>
1999-11-08 03:54:37 +00:00
charnier
b8313fcc34 add arguments 1999-11-02 21:23:38 +00:00
nik
cfcb584ddc Document that hosts for which no status report has been received for
4 days are considered to have LEFT_EARTH(), and will not be shown in
the list.

PR:             docs/14299
Submitted by:   Ben Smithurst <ben@scientia.demon.co.uk>
1999-11-01 19:42:02 +00:00
bp
64978e8834 Fix breakage for NOSHARED case.
Submitted by:	Bruce Evans
1999-11-01 02:44:09 +00:00
bp
5fbe2c72e9 Fix NOSHARED case.
Pointed by: Bruce Evans
1999-10-31 08:58:29 +00:00
bp
f66b8ba3d1 Add ncplogin/logout programs which allow manage connections
more precisely than mount_nwfs.

Obtained from:	ncplib-1.3.3
1999-10-31 02:14:59 +00:00
phantom
a17fafc521 mdoc(7)'fy 1999-10-30 15:12:25 +00:00
phantom
adfeaab86c uncomment FILES section (it look reasonable here)
mdoc(7)'fy
1999-10-30 14:35:22 +00:00
phantom
82943d6f15 .Ox is ``clever'' now. 1999-10-30 14:03:43 +00:00
roger
12f5be6150 Update PicoBSD so it does not need to patch the passwd Makefile. 1999-10-30 09:19:30 +00:00
phk
8e3c3eafed useracc() the prequel:
Merge the contents (less some trivial bordering the silly comments)
of <vm/vm_prot.h> and <vm/vm_inherit.h> into <vm/vm.h>.  This puts
the #defines for the vm_inherit_t and vm_prot_t types next to their
typedefs.

This paves the road for the commit to follow shortly: change
useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE}
as argument.
1999-10-29 18:09:36 +00:00
ache
25e78d8b60 toupper -> tolower to match changed behaviour of new grep case fold 1999-10-29 05:11:06 +00:00
obrien
811b0ef57d Make "YYPARSE_PARAM" and "YYPARSE_PARAM_TYPE" C++/ANSI-C clean. 1999-10-28 15:18:05 +00:00
obrien
27eaef25a3 Add more verbage explaining the "-I" option and its behavior.
Submitted by:	Archie Cobbs <archie@whistle.com>
1999-10-27 20:21:03 +00:00
obrien
3a2839fec9 Allow a user specified parameter to 'yyparse()', in a manner similar to
that used by bison.  The names are consistent with the bison implementation
but this one also allows the type of the parameter to be specified.

For a desired prototype of:

	int yyparse __P((struct yyresult *));

and compile like this:

	yacc -dv grammar.y
	cc -c -DYYPARSE_PARAM_TYPE="struct yyresult *" \
	      -DYYPARSE_PARAM="parm" y.tab.c

and use like this:

	${
	#include "usrtypes.h"
	#include "usrproto.h"
	}$

	%token NUMBER

	%%

	goal : NUMBER
		{
		parm->value = yylval;
		} ;

If YYPARSE_PARAM_TYPE isn't specified then "void *" is the default type.
If YYPARSE_PARAM is not specified then the generated code behaves exactly
as traditional byacc.

PR:		13562
Submitted by:	W Gerald Hicks <wghicks@bellsouth.net>
1999-10-27 17:51:37 +00:00
obrien
f7ea0f8cc3 Emit YYERRCODE into y.tab.h to help `lex' report scanning errors back to
Yacc.

PR:		13562
Submitted by:	W Gerald Hicks <wghicks@bellsouth.net>
1999-10-27 17:46:41 +00:00
obrien
8d7c2de91b After a proper import we now have both the original RCS tags + our own.
(also now clearer in ``cvs log'' that we are at version 2.5.4)
1999-10-27 07:56:49 +00:00
obrien
67209e7ee0 Add $FreeBSD$'s 1999-10-27 07:47:42 +00:00
dillon
3f308ed167 Add -c, -s, and -W options to nfsstat. Improve interval output and add
wide-format option to get client-side ops and cache statistics on a single
    line.

    Change client side ops to the number of attempted ops, whether cached or
    not, rather then just the number of rpc's that went through to the server.
    This brings nfsstat inline with systat -vm and vmstat and reduces
    confusion.  The combined cache percentage stats now available via
    'nfsstat -cW 1' becomes very useful.
1999-10-25 19:39:17 +00:00
ache
a9f235047c Cosmetique: use standard prototypes scheme
Back out prev change: toupper is more compatible with sort -f
1999-10-24 04:47:57 +00:00
ache
d8f93ede38 Cosmetique: use standard prototypes scheme
Back out prev. change: toupper is more compatible with sort -f
1999-10-24 04:41:31 +00:00
ache
c870ad3624 toupper->tolower to match what strcasecmp does 1999-10-24 04:21:42 +00:00
ache
9fbc2f9470 Use strcoll to provide the same results as sort and comm
Use LINE_MAX for max line size (as comm does)
1999-10-24 04:08:15 +00:00
ache
c594629213 Localize it
PR:		11221
Submitted by:	Grigoriy Strokin <grg@philol.msu.ru>
1999-10-24 03:42:35 +00:00
dillon
8c8443ab96 Put include <netgraph.h> back in - problem was due to a cvsup mess on
freefall.  There may also be a real problem w/ buildworld but the fix
    would go somewhere else, not here.
1999-10-24 02:58:39 +00:00
dillon
405fc1165a Cleanup missing includes, stale includes, and a few printf format
inconsistancies.
1999-10-23 17:45:11 +00:00
green
b6ebb73004 Add the -F option. This is for forcing restarts with -r by inhibiting
transmission of the If-Range HTTP header field.
1999-10-23 15:22:53 +00:00
julian
c5c63975d5 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00
julian
698af92f86 Cleanup towards -Wall 1999-10-21 07:08:56 +00:00
gallatin
d94d9af9ee fix a serious bug where, on alpha, due to a an int/long type mismatch,
the uid arg to use_yp() was getting clobbered by the call to my_yp_match().
This led to a problem where a NIS user could edit root's passwd information.
1999-10-20 15:20:00 +00:00
bp
f62abf8589 Add ncplist program. That makes minimal set of ncp
utilities to use NetWare volumes. Other functionality
(ncpsend, ncprint) will be added later.
1999-10-20 11:31:02 +00:00
ache
ca90f5632f For emacs key binding clearly describe ^t/^u as "begin of file"/"end of file"
Old description "start of text"/"end of text" is too confusing assuming
text currently visible on the screen
1999-10-18 16:30:35 +00:00
ache
3f6dceea18 Moved to share 1999-10-18 14:00:59 +00:00
ache
ac9aa13de2 moved to share 1999-10-18 13:47:02 +00:00
bp
c43de700de Allow suppress printing of lines with zero counts
for an IPX address family.

PR:		14168
1999-10-18 05:45:05 +00:00
ache
86e406641e Move data to share 1999-10-17 13:44:48 +00:00
jkh
3e05876c0f sync with earlier change removing broken locale. 1999-10-16 12:49:33 +00:00
jkh
cdedefff3d Remove one of the locales which is currently breaking the build. 1999-10-14 19:20:01 +00:00
imp
54845d7d91 Allow in/out to work in DOS programs.
Submitted by: Parag Patel
PR: bin/8486
1999-10-13 23:48:35 +00:00
imp
83dbf59942 Default to no backspace/delete swapping.
Add a title "DOS" to the X window.

Submitted by: Parag Patel <parag@cgt.com>
PR: bin/8486

Note: The pr was closed a long time ago when the original patch was
applied, rather than the amended one.
1999-10-13 23:40:49 +00:00
imp
7ec76e0019 Fix one (of the many) buffer overflows in doscmd. 1999-10-12 22:20:18 +00:00
nectar
56c61f7488 Fix a style bug that I introduced (both sys/param.h and sys/types.h
included).

Caught by:	sheldonh@freebsd.org
1999-10-12 13:53:30 +00:00
nectar
2f0b6d319c log root unlock attempts
PR:	bin/13932
1999-10-12 13:33:48 +00:00
peter
a284557f8b Ack, ip_mroute.h is not an ipfilter include. :-/
Submitted by:	Mike Heffner <spock@techfour.net>
1999-10-11 16:14:22 +00:00
julian
e65181e2d2 Fix the following:
It appears that make fails to read the global symbol table of the archive file,
making it think that the library needs to be rebuilt.

fix supplied in PR:

PR:		bin/14167
Submitted by:	Sebastian Lederer <lederer@bonn-online.com>
Reviewed by:	gallatin@FreeBSD.ORG
1999-10-10 20:39:36 +00:00
peter
20dc07bd66 Don't #include ipfilter includes that aren't there anymore. 1999-10-10 17:49:25 +00:00
green
14b89019c6 This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland.  Currently, it can be enforced by login and csh.  More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
charnier
05dfedeeef spelling 1999-10-08 21:34:16 +00:00
marcel
421cd96595 Fix the breakage of doscmd that was caused by the rebirth
of sigcontext and the change in mcontext_t.

Partial fix submitted by:
        Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>`
1999-10-08 09:02:39 +00:00
markm
a06abd1dbc Allow for a telnet in secure/ (SRA telnet).
Submitted by:	Nick Sayer
1999-10-07 20:06:22 +00:00
n_hibma
5d2d1c27b3 Remove the inclusion of device.h. It's no longer there. 1999-10-06 07:45:30 +00:00
ache
9573b06b74 sv_SE collate
add one missing dependance

PR:		13928
Submitted by:	Palle Girgensohn <girgen@partitur.se>
1999-10-03 02:13:26 +00:00
ache
8ced41e84a ISO8859-5 collate
Submitted by:	 Nikolai Saoukh <nms@ethereal.ru>
1999-10-03 01:22:22 +00:00
ache
6fad2be5dc allow comments in map files 1999-10-03 01:21:33 +00:00
ache
2eeb458098 ISO8859-5 locale
Submitted by:	 Nikolai Saoukh <nms@ethereal.ru>
1999-10-03 00:56:29 +00:00
marcel
221c15bec1 Reconnect doscmd. It's been fixed. 1999-09-29 20:13:34 +00:00
marcel
d4e7039177 Unbreak doscmd after the sigset_t change:
doscmd heavily depends on struct sigcontext which luckily is mostly passed
between functions as usion regcontext_t. By redefining union regcontext_t in
terms of mcontext_t almost all bases are covered.

It also seems to me that doscmd was in a transitional state. The redundant
definitions made it difficult to get a clear overview and could easily cause
oversight. To make sure my changes were ok, I went as far as to complete the
transition. It was not exactly necessary, but I expect to have to come back
here some more ("whistle" if I'm wrong :-).
1999-09-29 20:09:19 +00:00
marcel
5bf7ce284b sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
1999-09-29 15:18:46 +00:00
billf
f3e2a0e313 -Wall fixes.
Submitted by:	nrahlstr
1999-09-27 00:36:03 +00:00
chris
6f65528a75 Capitalization errors:
* Gcc -> gcc
* Gnu -> GNU
1999-09-25 21:47:27 +00:00
phantom
353c1a6746 Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
markm
d8bdd85855 Change edistribution to krb4 in preaparation for K5 1999-09-19 22:26:02 +00:00
markm
323c69d480 Fix for new Kerberos4. 1999-09-19 22:11:15 +00:00
green
09b47bdea7 "Disks" is more correct than "Disks" could be. 1999-09-19 18:04:54 +00:00
peter
9751ab22ae Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
hoek
86df52f412 Don't disallow null search patterns --- they are interpreted as being
identical to the previous pattern.

Noticed-by:	Jeroen Ruigrok/Asmodai
1999-09-14 21:20:58 +00:00
sheldonh
d003c4a860 Correct some hard sentence breaks. Only those surrounding the previous
commit and those which cause ugly nroff output have been fixed, since
the purpose of the style guideline which they contravene is to reduce
the sizes of deltas.

Reported by:	bde
1999-09-14 11:46:04 +00:00
ache
f882733396 use %OB for months names 1999-09-12 13:33:33 +00:00
ache
c597d9a1cb Redefine KEY_HOME as BOL like in pico, joe and lot of others and line edition
Add KEY_END as EOL
1999-09-12 10:08:18 +00:00
ache
b50a7124e7 Remove all \n from __COPYRIGHT(...) string - assembler can't parse them
in .ident and produce warning
1999-09-12 00:23:44 +00:00
hoek
94581eee51 s/with historical makefils//. Also, relocate and change the description
of VPATH to be a little sexier.  I'd say it looks a bit like Claudia
Schiffer now, which I consider a definate improvement.  We're also a little
more subtle about saying that VPATH is for backward(s) compatibility.

Submitted-by:	chris, bde, and myself
                [although none of their descriptions were as sexy
                 M(|is|r)s Schiffer, of course].
1999-09-11 15:11:56 +00:00
hoek
316ad4142e Remove the #include of sys/param.h. It was meant to improve portability
for BSD less than 4.4 where sys/cdefs.h DNE but can be simulated with
param.h.  Unfortunately, the additional include did little to actually
improve portability since we've lost portability in several other chunks
of make code (err(), sysctlbyname(), probable more).

Partly submitted by:	bde
1999-09-11 13:17:35 +00:00
hoek
506d7f351f Unduplicate IDs from comments, do $Id -> $FreeBSD$ (submitted-by: bde) 1999-09-11 13:08:02 +00:00
hoek
f95e7771ee Remove assertion of Shigio Yamaguchi's copyright, by request in bin/13607. 1999-09-10 23:40:39 +00:00
julian
be0f1c4ed2 Allow 'make' to check out elements within archive libraries.
"Make no longer properly parses archive files, so using archive members
      as make targets, as described in PSD:12 section 4.2, does not work."

Really should be merged into 3.3 before we ship if we can..
it's a trivial fix.

PR:		bin/13039, bin/10274
Submitted by:	Mikko Tyolajarvi mikko@dynas.se
1999-09-10 20:51:59 +00:00
ru
90cd63d0b3 Unbroke `make -s' case.
PR:		13676
Submitted by:	wollman
1999-09-10 07:39:25 +00:00
sheldonh
4000b20086 Improve shell documentation:
* Consistently misspell built-in as builtin.

* Add a builtin(1) manpage and create builtin(1) MLINKS for all shell
  builtin commands for which no standalone utility exists.  These MLINKS
  replace those that were created for csh(1).

* Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages,
  as well as to the manpages of standalone utilities which are supported
  as shell builtin commands in at least one of the shells. In such
  manpages, explain that similar functionality may be provided as a
  shell builtin command.

* Improve sh(1)'s description of the cd builtin command. Csh(1) already
  describes it adequately. Replace the cd(1) manpage with a builtin(1)
  MLINKS link.

* Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use
  Ic instead of Xr for shell builtin commands.

* Undo English contractions.

Reviewed by:	mpp, rgrimes
1999-09-08 15:40:46 +00:00
markm
1d1d38e057 Fix Common Error brokenness. 1999-09-06 20:22:47 +00:00
billf
3f6da772cd -Wall: remove unused variable, initialize variable to avoid gcc stupidity. 1999-09-06 20:21:19 +00:00
billf
05fb6e762f Don't depend on the fact that variables default to int. 1999-09-06 20:15:56 +00:00
billf
b6f5158016 Cast pw_change and pw_expire to long and fix the format specifier accordingly. 1999-09-06 20:07:12 +00:00
peter
cc8565d1c5 Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and
we have enough pseudo-options already.
1999-09-06 17:30:03 +00:00
sheldonh
a86e7e27bb Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
the sockstat.1 document title, which still remembers when sockstat was
called lsock.

Reviewed by:	mpp
1999-09-06 13:14:24 +00:00
peter
130a567e83 Zap $Locker$ 1999-09-06 11:25:35 +00:00
peter
4aca858082 Zap $Source$ 1999-09-06 07:34:27 +00:00
peter
f7fdcd93d4 $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
peter
73b5a006db Zap $Revision$ 1999-09-06 07:33:18 +00:00
peter
30861c2b1a Tidy up $Log$ debris 1999-09-06 07:32:15 +00:00
chris
1eef2252ef Remove unused variables. 1999-09-05 23:27:53 +00:00
peter
2ba0669ae5 $Id$ -> $FreeBSD$ 1999-09-05 19:13:04 +00:00
phantom
ba06c7bc7e mdoc(7) style fixes
PR:		docs/13409
Reviewed by:	mpp
1999-09-05 05:50:38 +00:00
markm
1f1e44eabe Perl support in vi is broken if perl has thread support built in.
Document this. Minor nitpick in other comments.
1999-09-04 10:27:12 +00:00
markm
3f27ca1140 Build this from contrib/ now. 1999-09-04 09:52:36 +00:00