Commit Graph

1957 Commits

Author SHA1 Message Date
Peter Wemm
00974e2521 If elf, don't add libmd.a just because we link against libskey.so.
A
1997-09-05 12:04:31 +00:00
Peter Wemm
10da1efd82 If building elf, don't link in libmd.a just for libskey.so to use. Under
elf, libskey.so will not expose it's implementation on it's caller.
1997-09-05 12:00:01 +00:00
Nate Williams
b1bb7c6f43 - Changed default PAGER from 'less' to 'more', since we don't have less
in the base system.

PR:	bin/4471
Submitted by:	Dmitry Khrustalev <dima@xyzzy.machaon.ru>
1997-09-05 04:24:22 +00:00
Tor Egge
5ab88c4102 Added an replacement for callrpc that uses tcp as primary transport method.
This enables larger reply messages.
1997-09-04 21:21:56 +00:00
John Polstra
170fa4e888 Touch up the code that implements "ldd -v".
Bring the style of sods.c into better conformance.  Add code to
print the contents of each datum being relocated.  Correct the logic
that distinguishes between programs, shared libraries, and object
files.  Make the entire program "-Wall" clean.
1997-09-02 21:54:39 +00:00
Wolfram Schneider
9f2ba01444 Fix file names. 1997-08-31 21:33:27 +00:00
Alexander Langer
df8327e726 Display file size as an unsigned long. 1997-08-31 01:27:04 +00:00
John-Mark Gurney
46657c7e77 fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
John-Mark Gurney
ef67fb1c1b fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4428
1997-08-30 11:10:56 +00:00
Warner Losh
127d7563c4 Add -execdir which will execute the exec command in the dir of the file
in question.  This change and the fts changes should be merged into 2.2-stable
as soon as they are vetted in -current.  This should allow cleaning of files
in /tmp to be reneabled.
Obtained from: OpenBSD
1997-08-29 23:09:45 +00:00
Philippe Charnier
7008c93ddf Use err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
OpenBSD).
Obtained from: OpenBSD.
1997-08-29 11:56:51 +00:00
Philippe Charnier
3eff8361b9 Use err(3). Add Xreferences. Delay the compute of default domain.
Obtained from: OpenBSD
1997-08-29 11:52:52 +00:00
Philippe Charnier
c1f84cc129 Use err(3). Add references to others man pages. Wait for the user to
supply the domain before computing a default one.
Obtained from: OpenBSD
1997-08-29 11:48:50 +00:00
Wolfram Schneider
5d7128668c du(1) always exit with value zero.
$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0
1997-08-29 11:40:00 +00:00
Jun-ichiro itojun Hagino
de51002fc7 more sanity check before making output.
bark when sed fails.

Submitted by:	wosch@apfel.de
1997-08-29 00:44:34 +00:00
Jonathan Lemon
fac6290362 Make X11 support in doscmd dependent on the actual libX11.a library and
include directory, rather than X11BASE.  This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by:	A Joseph Koshy <koshy@india.hp.com>
1997-08-28 18:23:40 +00:00
Jun-ichiro itojun Hagino
53202ce57a To cope with shell archive file generated by GNU sharutils 4.2.
(it assumes that shar will bark if there's invalid argument specified)

Patch suggested by Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.

Reviewed by:	joerg_wunsch@uriah.heep.sax.de
1997-08-28 14:35:09 +00:00
Philippe Charnier
fca5180712 Use err(3). Rewrote man page in mdoc format. The user visible change is that
report of s/r and r/r conflicts is now printed in two separate lines beginning
by `yacc: '.
1997-08-28 06:33:53 +00:00
Philippe Charnier
7720a19d5d Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
Warner Losh
bd29c5f39b Stop parsing args before user supplied to argument in sendmail.
Submitted by:	Oliver Friedrichs <oliver@silence.secnet.com>
1997-08-28 04:40:51 +00:00
Jordan K. Hubbard
b1795946fd Don't preferentially execute Makefiles in ${OBJDIR} - it just causes
confusion and suffering.  Tested by "make world".
Submitted by:	gibbs
1997-08-27 06:31:27 +00:00
Philippe Charnier
7d85a3e836 Uncomment sccsid string and enclose it inside #if 0/#endif.
Cosmetic in man page.
1997-08-27 06:29:23 +00:00
Philippe Charnier
a51024e289 Use err(3) instead of local redefinition. 1997-08-27 06:26:23 +00:00
Peter Wemm
ed550569a2 Adapt to recent smp tree changes.. 1997-08-27 03:48:25 +00:00
Philippe Charnier
29909ffecc Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
Philippe Charnier
552f27d60f Cosmetic in usage string. 1997-08-26 11:17:16 +00:00
Philippe Charnier
741d304e2d Use err(3). 1997-08-26 11:16:08 +00:00
Philippe Charnier
0abcff762c Use err(3). Add usage(). 1997-08-26 11:14:57 +00:00
Philippe Charnier
93a354256b Cosmetic in usage string. Mdocify author section. 1997-08-26 11:13:39 +00:00
Philippe Charnier
014927909d Main() returns int. 1997-08-26 11:08:24 +00:00
Eivind Eklund
a8b28da029 Removed a buffer overflow in args().
While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.
1997-08-26 10:25:19 +00:00
Philippe Charnier
a3bfefd3be Just forgot a moment that mdoc macros are limited to 9 parameters.
Found by: Bruce.
1997-08-26 07:04:20 +00:00
Philippe Charnier
57bd99e61c Revert some casts I introduced.
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
Steve Passe
1ecd3f4585 Make explicit '-B' option propigate to submakes.
No one has said this would be a bad thing, so given the dearth of comments
I decided to add it, as its an important step towards getting "make world"
'parallel-ized'.

Reviewed by:	silence
Submitted by:	nnd@itfs.nsk.su
1997-08-25 21:35:44 +00:00
Garrett Wollman
4e00c309c0 Print out the two new fields in the ICMP stats. While we're at it, also
convert icmp_stats() to use sysctl(3) to retrieve the information
rather than kvm.  This makes it easy to also print whether ICMP address
mask responses are enabled, so do so.
1997-08-25 16:57:05 +00:00
Garrett Wollman
e4bb0b9a5b While I'm in here, fix address printing for `netstat -f unix' which has been
broken for a couple of weeks now...
1997-08-25 16:55:00 +00:00
Philippe Charnier
05c5fed8f5 Use err(3). 1997-08-25 06:49:45 +00:00
Philippe Charnier
8c85cce77a Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
Philippe Charnier
752d887a62 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
Philippe Charnier
90389da95b Typo in usage(). Err -> errx when testing allocations. 1997-08-25 06:42:19 +00:00
Philippe Charnier
495aecea76 Use err(3). Add some %d to %ld changes. 1997-08-25 06:40:05 +00:00
Philippe Charnier
d9be0ac773 Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
Philippe Charnier
3e7ae69f2a Use err(3). Nm vgrind -> Nm in man page. 1997-08-25 06:36:04 +00:00
Warner Losh
daca865092 Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
to avoid the NOFILE problem.  Back out NOFILE kludge.  Fix unexploitable
buffer overflow in tipout.c.
Reviewed by:	millert@openbsd.org (tipout.c)
Submitted by:	millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00
Steve Price
aeaa52dbdc Cleanup inconsistencies in the manpage.
PR:		docs/3709
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-08-23 21:42:46 +00:00
Steve Price
0c30eecaa0 Teach ctags(1) how to handle intermediate whitespace in macros
and function definitions.

PR:		misc/4128
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-08-23 16:13:45 +00:00
Joerg Wunsch
6fe3822809 Open the file r/o if looking only. Make the error message more useful.
PR:		bin/3283
Submitted by:	Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-08-23 15:51:14 +00:00
Joerg Wunsch
1b659bfe0b Fix the .Dd line.
PR:		docs/3275
1997-08-23 15:49:52 +00:00
Joerg Wunsch
84c2e30193 Prevent a NULL dereferencation when given a garbage command line.
PR:		bin/3206
Submitted by:	blank@fox.uni-trier.de
1997-08-23 14:09:36 +00:00
Warner Losh
29ae2e935b Fix buffer overflow. prompt didn't get a size for its buffer,
so it could overflow it.  Also made some filenames MAXPATHLEN long rather
than 80 long.
1997-08-22 22:14:16 +00:00
Peter Wemm
54c521fbd8 Cleanup and remove the not-too-useful examples. The current versions
should be in share/examples if anywhere.
1997-08-22 15:42:33 +00:00
Peter Wemm
3d793cf175 Merge ppp-2.3.1 changes onto mainline 1997-08-22 15:24:36 +00:00
John-Mark Gurney
e8a2a1c555 -I/sys converstion and Id line 1997-08-22 14:22:31 +00:00
John-Mark Gurney
defffb3fcc another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
Philippe Charnier
f296f8ebb4 Use err(3). 1997-08-22 06:53:00 +00:00
Philippe Charnier
474cc7fe23 Was limited to 200 users. New entry is now allocated as needed.
Add usage().
Obtained from:OpenBSD.
1997-08-22 06:50:33 +00:00
Philippe Charnier
76f2ca6559 Use err(3) instead of local redefinition. Add usage(). 1997-08-21 06:52:43 +00:00
Philippe Charnier
213915d456 Use err(3) instead of local redefinition. 1997-08-21 06:51:10 +00:00
Philippe Charnier
d4d0763a7d Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-21 06:49:33 +00:00
Joerg Wunsch
0ee7623d10 Implement "eod" as an alias for "eom". HP-UX uses this name, for
example.

Also cleaned up the man page a little.
1997-08-21 05:49:29 +00:00
Jonathan Lemon
dc3001cf35 Pre-allocate buffer to avoid core dump in corner cases.
PR:		2968
Submitted by:	Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
1997-08-21 03:41:41 +00:00
Philippe Charnier
cccb40360b Use err(3). Add usage(). Remove progname. 1997-08-20 11:07:53 +00:00
Philippe Charnier
56d8f922bf Use err(3) and add usage(). 1997-08-20 11:05:28 +00:00
Philippe Charnier
c7c16beb22 Nm uname -> Nm. 1997-08-20 11:03:54 +00:00
Philippe Charnier
575580b202 Use err(3), add usage() and prototypes.
Move setmode() to setnewmode() because of a conflict with setmode(2 or 3).
1997-08-20 11:01:59 +00:00
Steve Price
b2afcfe1fd Fix example to match ls(1)'s output.
PR:		docs/3681
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-20 02:05:29 +00:00
Jonathan Lemon
faba086be3 Require all compatability options to begin with '-'.
PR:		4145
1997-08-19 15:58:15 +00:00
Jonathan Lemon
1e17b9450c Permit hex/octal parameters to cmp, to match what the manual page says.
PR:		3850, 3855
1997-08-19 14:34:04 +00:00
Satoshi Asami
e5ed1f5994 Be consistent with other utilities in spelling "Kbytes". (Actually,
there even was one of them about ten lines above in the same file.)

Reminded by:	joerg's commit to usr.bin/ftp/ftp.c rev 1.9
1997-08-19 01:57:53 +00:00
Satoshi Asami
00411e3f12 Fix 1.17 properly by adding ${DESTDIR} in front. (I know this part is
not enabled now.)
1997-08-19 01:52:11 +00:00
Jonathan Lemon
ef2cea8123 divnum is no longer silently restricted to the range 0..9. (cf: 4098)
changequote(,) is now a synonym for changequote().	 	(cf: 803)

buffer size for translit() enlarged to handle a full string

PR:		803, 4098
1997-08-18 21:01:45 +00:00
Jonathan Lemon
6f86349ac3 Add doscmd. 1997-08-18 18:51:46 +00:00
Jonathan Lemon
1e9267fe2d Clean up Makefile, make compiling in X support dependent on ${X11BASE}. 1997-08-18 18:48:33 +00:00
Peter Wemm
1e6f3a5daf use -I${DESTDIR}/usr/include/tcl, not -I/usr/include/tcl 1997-08-18 11:39:19 +00:00
Philippe Charnier
759bde1062 Add usage(). 1997-08-18 07:30:15 +00:00
Philippe Charnier
0e879078f3 Nm tsort -> Nm. 1997-08-18 07:28:50 +00:00
Philippe Charnier
71346dd104 Use err(3) insteadof local redefinition. Sync usage string with man page. 1997-08-18 07:27:59 +00:00
Philippe Charnier
14aebc178d Nm true -> Nm. 1997-08-18 07:25:50 +00:00
Philippe Charnier
af647767ed Use err(3) instead of local redefinition. Cosmetic in usage(). 1997-08-18 07:24:58 +00:00
Philippe Charnier
aa736575ab Cosmetic. 1997-08-18 07:22:53 +00:00
Philippe Charnier
4e9b4d0568 Add usage. Use /usr/share/misc/map3270 instead of /etc/map3270. 1997-08-18 07:21:48 +00:00
Philippe Charnier
804d2dab87 Add prototypes, usage(). Use err(3). 1997-08-18 07:16:12 +00:00
Andreas Klemm
291cacf91a had to add CFLAGS+=-I/usr/include/tcl
otherwise it doesn't find tcl.h
1997-08-18 06:08:56 +00:00
Peter Wemm
92aa56df40 Drop the TCL hook for the time being until the tcl dust settles some more. 1997-08-18 05:25:14 +00:00
Andreas Klemm
4e0636b91d Fixed another make world stopper ;)
If TCLINTERP is defined, CFLAGS needs an additional include path:
	 -I/usr/include/tcl
Otherwise tcl.h can't be found during make world.
1997-08-17 21:33:39 +00:00
Peter Wemm
5cc5ba1dd3 Bandaid to make this compile.. These old mbuf types should probably be
ripped out.
1997-08-17 09:12:43 +00:00
Chris Timmons
0ed651bfae Retire v1.81 sources and build instead from src/contrib/global sources. Reviewed by: jdp 1997-08-16 04:42:45 +00:00
Jonathan Lemon
79566bc427 Enable the use of keypad cursor motion keys.
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1997-08-16 00:16:48 +00:00
Jonathan Lemon
d4e591ffcb Add support for XMS memory to doscmd.
Submitted by:	Helmut F. Wirth <hfwirth@ping.at>
1997-08-15 23:41:26 +00:00
Wolfram Schneider
e569836c71 make install should not install mail.rc in /etc 1997-08-15 21:50:02 +00:00
Steve Passe
6e0d2d5172 Better fix, as originally submitted by reporter.
Submitted by:	 N.Dudorov <nnd@itfs.nsk.su>
1997-08-14 19:24:11 +00:00
Philippe Charnier
80c486a414 Add usage() and use err(3). 1997-08-14 06:48:59 +00:00
Philippe Charnier
fd129a0245 Use err(3). 100 -> MAXHOSTNAMELEN from OpenBSD.
Obtained from: OpenBSD
1997-08-14 06:47:41 +00:00
Philippe Charnier
7a8dd9fee0 Hardcode progname in usage string. 1997-08-14 06:44:41 +00:00
Philippe Charnier
c10d7afbab Use err(3) instead of local redefinition. Add usage(). 1997-08-14 06:42:43 +00:00
Philippe Charnier
54d183e244 Use err(3). Correct usage string. Change default tape to /dev/rst0. 1997-08-14 06:41:00 +00:00
Steve Passe
74a19f1229 Fix PR bin/4291: /usr/bin/make - inconsistent -j<n> flag parsing.
Submitted by:	N.Dudorov <nnd@itfs.nsk.su>
1997-08-14 04:46:20 +00:00
Philippe Charnier
07de424e35 Cosmetic in usage(). Mdoc'ify man page. 1997-08-13 06:58:45 +00:00
Philippe Charnier
a27bb57a02 Nm talk -> Nm. 1997-08-13 06:48:56 +00:00
Philippe Charnier
ea7cc4954d Remove trailing \n in warn() string. 1997-08-13 06:46:57 +00:00