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