Chris Timmons
d76c045abb
DPADD repairs suggested by Bruce Evans <bde@zeta.org.au>
1997-12-17 15:18:54 +00:00
Bruce Evans
53d0e9f018
Fixed DPADD.
1997-12-16 17:43:33 +00:00
Bruce Evans
4adbaec366
Fixed DPADD.
...
Don't override the (correct) default for SRCS or MAN1.
Replaced bogus Lite1 (?) Id by $Id$. The key server files were
mis-imported so it is hard to tell where they came from, but at
least in Lite2 they don't have useful Makefiles, and I rewrote
most of the Makefile.
1997-12-16 17:37:23 +00:00
Bruce Evans
c724b81f25
Fixed DPADD. ${LIBGCC} must be added explicitly since the default
...
linkage rule is overridden. The -L option must be in ${DPADD} so that
`make checkdpadd' works. Actually use ${DPADD}.
FIxed missing dependencies for doscmd. Use ${LIBCRT0} instead of a
hard-coded path in the rule for doscmd.
Added comments about the kludges used to build 2 binaries and 2 data
files in one directory. It shouldn't be done this way. The dependencies
on sources took extra work to get right, and the dependencies on objects
are still broken (one set is missing and the other has the wrong libs).
Fixed some style bugs while I'm here:
- don't override the (correct) default for MAN1.
- use `beforeinstall', not `afterinstall' to install auxiliary files.
`afterinstall' is for fixing messes made by `install'.
1997-12-16 16:36:43 +00:00
Bruce Evans
a791a060f3
Fixed missing DPADD.
...
Fixed some style bugs while I'm here (don't override the (correct)
default for MAN1).
1997-12-16 14:42:08 +00:00
Andrey A. Chernov
ff07b87482
One more ctype cast
1997-12-16 08:58:15 +00:00
Andrey A. Chernov
8e6f104bf2
Add more (unsigned char) casts to ctype macros
1997-12-16 08:22:37 +00:00
Andrey A. Chernov
244bf2805f
Add (unsigned char) cast to ctype macro
1997-12-16 08:17:26 +00:00
Chris Timmons
72cb1a30ed
I'd swore I added this on my prior mega-commit. Any chance adds aren't
...
processed during the recursive swoop?
Makefile for global's private library, complete with null install rule
to keep this private.
1997-12-15 23:40:54 +00:00
Chris Timmons
3f1c262fff
Add lib/Makefile and adjust as necessary to build global 2.2.1 from contrib sources.
1997-12-15 23:34:57 +00:00
Wolfgang Helbig
e84b212f83
Remove cal, add ncal.
1997-12-15 20:52:24 +00:00
Wolfgang Helbig
0cb2e609d9
Add new command ncal.
1997-12-15 20:35:22 +00:00
Paul Traina
b62081305a
Sync with NetBSD v1.3.
...
Keep I8N1 and quarantine port code. Replace our security fix with NetBSD's
(their idea was better).
1997-12-13 20:38:21 +00:00
Sean Eric Fagan
0a2043520a
Allow TMPDIR to be set and actually *used*; if it not set, it defaults
...
to /tmp.
1997-12-13 18:18:12 +00:00
Bruce Evans
30723f90ca
Fixed .PATH statement so that minigzip.c can be found when
...
${.OBJDIR} != ${.CURDIR}.
1997-12-13 15:57:55 +00:00
Mike Smith
cae80f25d3
Add minigzip
1997-12-13 09:59:32 +00:00
Mike Smith
85e55f7ab8
This framework builds the 'minigzip' sample program supplied with
...
libz. It is a non-GPL-polluted minimal implementation of the 'gzip'
command, yielding a 12k executable (vs ~100k for gzip).
1997-12-13 09:57:48 +00:00
Daniel O'Callaghan
749f6a2934
Submitted by: Peter Hawkins <peter@clari.net.au>
...
Spelling police.
1997-12-13 06:34:47 +00:00
Sean Eric Fagan
d7b7dcba41
Change the ioctls for procfs around a bit; in particular, whever possible,
...
change from
ioctl(fd, PIOC<foo>, &i);
to
ioctl(fd, PIOC<foo>, i);
This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and
truss must be in synch for it all to work (not doing so will get errors about
inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :).
1997-12-13 03:13:49 +00:00
Andrey A. Chernov
156b574b56
Change select(0, NULL, ...) to usleep()
1997-12-12 11:47:28 +00:00
Wolfgang Helbig
5eb8e42f3e
Eleven days were eliminated by the Gregorian Reformation in 1752, not ten.
...
Submittee by:
1997-12-12 10:25:19 +00:00
Ollivier Robert
af65141672
Mention pftp as an alternative command to enable passive mode.
1997-12-08 22:09:44 +00:00
Gary Jennejohn
e0572d523f
change `ingored'' to
`ignored'' in two places. I noticed this typo
...
when I ran tconv to test APE (A Programmer's Editor).
1997-12-08 21:36:25 +00:00
Peter Wemm
f8d795fb89
s/ps/truss/
1997-12-07 08:19:13 +00:00
Sean Eric Fagan
20fa828fac
Use the new PF_LINGER flag -- when this is set in a process' proc structure,
...
said process will not have its event mask cleared (and be restarted) on
the last close of a procfs/mem file for that pid. This reduces the chance
that a truss-monitored process will be left hanging with these bits set
and nobody looking for it.
This is the least-tested change of all of these, I'm afraid.
1997-12-07 04:08:48 +00:00
Wolfram Schneider
4be1354301
Delete truss manpage link. We have now a real truss command.
1997-12-06 23:40:13 +00:00
Sean Eric Fagan
ad9e02601c
Complain about empty command lines.
1997-12-06 17:13:54 +00:00
Peter Wemm
e09a8fd173
err(3) already includes strerror(errno) and a trailing \n
1997-12-06 14:42:58 +00:00
Peter Wemm
8789393452
recognize "FreeBSD ELF" as an executable type
...
close() takes a fd, not a char * :-)
1997-12-06 14:41:41 +00:00
Peter Wemm
95c4ef653b
#include <unistd.h> to get it to compile
...
Submitted by: Andreas Klemm <andreas@klemm.gtn.com>
1997-12-06 14:39:30 +00:00
Sean Eric Fagan
fe41f30547
Set the close-on-exec flag in the child; otherwise, it eats up a
...
file descriptor that it shouldn't.
1997-12-06 08:01:00 +00:00
Sean Eric Fagan
970649f9c9
First cut at printing out ioctl names intelligently. Note that this doesn't
...
handle linux ioctls (yet?). This uses the mkioctl script from kdump,
bless its little heart.
Reviewed by: Mike Smith
1997-12-06 06:51:14 +00:00
Sean Eric Fagan
b4a363e523
Add truss to the list of subdirectories.
1997-12-06 05:23:59 +00:00
Sean Eric Fagan
bbeaf6c0c9
Truss program. Requires procfs.
1997-12-06 05:23:12 +00:00
Bruce Evans
188da0efe1
Const poisoning from ks_shortdesc.
1997-12-05 19:28:28 +00:00
Steve Price
794313942d
Use 'proto <tcp|udp|all>' to select the protocol to display
...
in netstat-mode to avoid a conflict with tcp-mode. Also
while documenting this new feature in the manpage, fix a
minor display nit.
PR: 5159
Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
1997-12-04 03:44:46 +00:00
John Polstra
873954b327
In the "ldd -v" output, display the N_AUX information for each
...
symbol. It indicates whether the symbol refers to a function or a
data object.
1997-11-28 19:34:27 +00:00
Steve Price
5a5b7fdd83
Sort option list so that -amin works.
...
PR: 5171
Submitted by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
1997-11-28 15:48:08 +00:00
Philippe Charnier
397e68b2a4
Use .Nm ktrace instead of .Nm in SYNOPSIS section: otherwise, a newline is
...
missing.
1997-11-24 07:23:59 +00:00
James Raynard
cb0830ae3f
Cleanup: fix a few typos, fit ASCII output onto an 80-column terminal
...
and use a fixed font which actually exists.
1997-11-23 02:02:39 +00:00
Bill Fenner
18d1eb6776
Suggest using "-b" or "-t" if the connection is reset (typical symptom
...
of broken TCP stack).
1997-11-22 01:00:42 +00:00
Guido van Rooij
87eeff2e41
Style fix.
...
Complaint by: Bruce
1997-11-19 18:57:49 +00:00
John Polstra
b0c9a86d12
Back out revision 1.10. It broke the build of sh, which compiles
...
this file with warnx() defined as a macro.
1997-11-18 15:23:23 +00:00
John Polstra
abe6c636d0
Fix: too many arguments for format in call to sprintf().
1997-11-18 05:53:03 +00:00
John Polstra
c8a2e15007
Fix: too many arguments for format string in 4 calls to warnx().
1997-11-18 05:45:19 +00:00
John Polstra
8f10c09860
Add missing argument detected by "-Wformat". Make messages more
...
consistent.
1997-11-18 03:50:25 +00:00
John Polstra
a5bd62c599
Add missing arguments detected by "-Wformat".
1997-11-18 03:27:34 +00:00
Guido van Rooij
2d404628d8
Make sure you do not get unexpected surprises whena remote file starts with '|'.
...
Reviewed by: Joerg Wunsch
1997-11-17 19:29:16 +00:00
Steve Price
a58620d52c
Note in manpage how extraneous output in initialization scripts
...
can cause rdist to fail.
PR: bin/4954
Reviewed by: wollman
Submitted by: jhs
1997-11-16 13:26:03 +00:00
David E. O'Brien
e3f8c97942
style-police got me. :-)
...
Also fixed some "didn't make the most sense" problems.
Submitted by: bde
1997-11-12 04:39:33 +00:00
Steve Price
b6866d0749
Correct some anomalies in the man page.
...
PR: 3808
Parially submitted by: Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
1997-11-11 05:00:59 +00:00
Andrey A. Chernov
881377bc7d
Add (unsigned) cast to prevent overflow in %
...
Submitted by: "Alex G. Bulushev" <bag@demos.su>
1997-11-10 08:03:36 +00:00
David E. O'Brien
c3855cb0e3
Document the ``-o 3'' option.
...
The Man award to: Jo"rg
1997-11-09 16:08:11 +00:00
David E. O'Brien
8f31d7ef70
Need to skip argv[0] when we are named "sum".
1997-11-09 05:47:55 +00:00
David E. O'Brien
d40fea8c06
When called "sum", it is not documented as accepting any arguments.
1997-11-09 05:35:26 +00:00
David E. O'Brien
e4b172e407
If "-l" is given, make sure the target of the link exist.
1997-11-08 22:15:55 +00:00
Andrey A. Chernov
6f0f590fa6
Add Slovene link
1997-11-07 15:40:55 +00:00
Andrey A. Chernov
b20b4fc61c
Add link to Polish locale
1997-11-07 15:27:12 +00:00
Andrey A. Chernov
258880d607
Add Polish link
...
Submitted by: Andrzej Bialecki <abial@warman.org.pl>
1997-11-07 15:18:11 +00:00
Joerg Wunsch
dc6393aa53
Make window(1) honor the LC_CTYPE setting.
...
While i was at it, don't export \E[OA style cursor key strings into the
TERMCAP variable since window's emulation doesn't support it. Instead,
convert to \E[[A etc.
1997-11-05 20:20:17 +00:00
Andrey A. Chernov
de34792f07
Localize it
1997-11-04 05:33:15 +00:00
Steve Price
298c00f5f9
/etc/magic -> /usr/share/misc/magic
...
PR: docs/4872
1997-11-04 03:56:56 +00:00
Philippe Charnier
9737357a95
Add const to copyright string. Hide sccsid string.
1997-11-03 07:51:05 +00:00
Philippe Charnier
b5f40e43c3
Convert to mdoc.
1997-11-03 07:48:26 +00:00
Philippe Charnier
d078aa135c
Mdoc'ify man page.
1997-11-03 07:45:33 +00:00
Philippe Charnier
e21108a205
Use err(3). Silent -Wall.
1997-11-03 07:44:25 +00:00
Wolfram Schneider
6d880b8210
Typo.
...
PR: docs/4911
Submitted by: Vasim Valejev <vasim@uddias.diaspro.com>
1997-11-01 15:06:40 +00:00
Andrey A. Chernov
9e8930055e
Change diags to see what part of url actually parsed, see
...
previous change about #? parms
1997-11-01 05:47:41 +00:00
James Raynard
f3456b7e34
Balance parentheses around command abbreviations.
...
PR: 4888
Submitted by: h-nokubi@nmit.tmg.nec.co.jp
1997-11-01 00:56:15 +00:00
Andrey A. Chernov
4ad97ec183
Don't search for ':' port in ?# params part
...
Require to correctly parse http://...cgi?http:// ...
1997-10-31 23:33:44 +00:00
Guido van Rooij
098eef7a15
I wonder how I managed to get the krb.h include wrong. Anyway: correct it.
1997-10-28 21:20:21 +00:00
Andrey A. Chernov
2d9c794b58
1) Create intermediate directories with 755, not 777
...
2) Exit with error diagnostic if file exists but not a directory (-d)
3) Do chmod independently of chown (-d)
1997-10-28 14:20:10 +00:00
Andrey A. Chernov
cf57a56c94
1) Ignore -C with -d, not fail (for $(INSTALL) macro from /etc/make.conf)
...
2) When uid/gid not specified, not try to set 0:0 owner, just do nothing.
It makes possible to use install -d by users without setting
their uid:gid each time.
3) Be more specific where install_dir fails
1997-10-27 22:53:33 +00:00
Guido van Rooij
7a853dfffc
Add -c option that allows root to specify a login_class.
1997-10-27 22:05:12 +00:00
Steve Price
f6e4fb22cf
Better wording explaining that all single character options
...
are extensions along with the previous list of primaries.
Suggested by: bde
1997-10-27 14:25:54 +00:00
Steve Price
fcda3c86e1
Offending statement removed from STANDARDS section. From what I
...
can gather from the Posix spec that I have (which is very old)
all one character options are extensions to Posix.
PR: docs/4701
1997-10-27 04:22:13 +00:00
Steve Price
fbf8628c08
Typo fix.
...
PR: docs/4579
Submitted by: Stephen J. Roznowski <sjr@home.net>
1997-10-27 03:31:57 +00:00
Wolfram Schneider
93a590c71d
typo.
1997-10-26 12:51:30 +00:00
Wolfram Schneider
2cd9b8b252
Use croation week day name. This avoid a name clash
...
between `Subota' and `Sunday'.
^^ ^^
Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
1997-10-26 12:48:50 +00:00
Tim Vanderhoek
5b9513b266
Change defaults to match reality.
...
PR: docs/3817
1997-10-24 04:13:41 +00:00
Joerg Wunsch
f87ea4059a
Fix a fatal typo.
...
PR: bin/4801
Submitted by: mishania@demos.su (Mikhail A. Sokolov)
1997-10-19 09:34:06 +00:00
Wolfram Schneider
3f5223f84a
Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find.
1997-10-13 21:06:22 +00:00
Andrey A. Chernov
9d8c91b749
If uptime < 1 min print in in secs otherwise we got confusing message
...
"up 1 user"
1997-10-13 15:17:03 +00:00
Wolfgang Helbig
69bd8767a9
Submitted by: Joachim Kuebart, thanks.
...
Add -u option to force unbuffered output
1997-10-12 09:52:49 +00:00
Poul-Henning Kamp
ee7b3b0639
Fix a misleading comment. Rename a variable to make more sense.
...
Pointed out by by: bde
1997-10-11 07:32:43 +00:00
Poul-Henning Kamp
8c85509d0a
struct kmemstats was renamed.
1997-10-10 18:19:48 +00:00
Poul-Henning Kamp
327af1899a
Make vmstat understand the dynamic malloc stuff. There are a number
...
of ugly hardcoded constants in there.
1997-10-10 14:08:07 +00:00
Jordan K. Hubbard
39573938db
Make sure lfp is non-NULL before closing it.
...
PR: 4652
1997-10-09 14:11:19 +00:00
Bill Fenner
21d466b21a
Interpret multiple slashes as a single slash in ftp: URL's. This
...
is contrary to RFC1738, which specifies that empty elements between
slashes really mean to send a CWD command with an empty argument.
Most FTP servers consider this an error, so strict RFC compliance
is advisable in this case.
1997-10-08 18:43:53 +00:00
Dima Ruban
fed746a535
Be more specific about -f/-t options (they're not yet implemented),
...
not just exit with 0 status.
This definitely should go to 2.2.5.
If i won't have any objections - I'll commit it tonight.
1997-10-06 18:52:16 +00:00
Bill Fenner
a5cd8a3572
Use the RFC1738 interpretation of ftp: URL's, i.e. CWD to each
...
slash-seperated element of the URL and then RETR the last element.
PR: bin/4670
Reviewed by: wollman
1997-10-06 01:09:56 +00:00
Steve Passe
cb52d9ccc5
For SMP, add a space between the state name and the CPU#.
...
Everything following bumps right 1 character.
1997-10-05 21:20:56 +00:00
Wolfgang Helbig
ff0894cf3c
Added -D_ANSI_SOURCE as discussed with bde,
...
removed bogus -trigraph (pointed out by bde),
included check of operands (suggested by joerg)
1997-10-05 18:44:37 +00:00
Jordan K. Hubbard
97fe7f477f
Changes to support full make parallelism (-j<n>) in the world
...
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
Andrey A. Chernov
b7536ed531
Check for invalid lower controls to not claim binary data with chars < 128 as
...
ASCII _text_
Cleanup names detection code
1997-10-04 01:03:28 +00:00
Jonathan Lemon
daf3ece326
Add support for EMS emulation to doscmd. This requires changing the
...
interface for callbacks to doscmd from DOS, obsoleting the instbsdi
redirector. (redir.com replaces it)
A temporary hack is in place so the instbsdi program will (hopefully) work
in the short term.
Submitted by: Helmut F. Wirth <hfwirth@ping.at>
1997-09-30 22:04:06 +00:00
Joerg Wunsch
456ad1e5b4
Ooops, the Makefile was not supposed to be changed. Unspam this.
1997-09-30 19:42:55 +00:00
Joerg Wunsch
9c61e1111e
Fix a number of fixed-size buffers etc.
...
PR: bin/4520
Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
1997-09-30 19:42:05 +00:00
Wolfram Schneider
bf5cbf3551
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
Warner Losh
ce2d5f5fa6
Add #include <stdlib.h> to pick up prototypes for getenv and friends.
1997-09-29 03:53:53 +00:00