Tim Vanderhoek
b0ab44a317
Really delete -# option.
1998-07-25 05:58:04 +00:00
Tim Vanderhoek
42580a0726
Nuke obsolote and broken -# option.
...
Order options.
PR: bin/5996
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-07-25 05:56:49 +00:00
Tim Vanderhoek
b3841c3bd9
Keep "-c" (top_scroll) through viewing help.
...
PR: bin/5996
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-07-25 05:28:32 +00:00
Poul-Henning Kamp
03a2224899
By default, /usr/bin/time writes its output to stderr. Two options
...
have been added to time(1) to write output to an alternative destination.
Option "-f filename" will write to filename, and filename can be - to
write to stdout. Option "-a filename" will append the output to filename.
Time(1) man page has been updated to reflect the change.
PR: 7368
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:19:29 +00:00
Poul-Henning Kamp
24db6e216f
During compilation of a Fortran program f2c/f77 will spew the
...
name of entry points, functions, subroutines, and program to
stderr error. The enclosed patches do 3 things:
(1) Silenced the output to stderr.
(2) Added a -v option to f2c and f77. This will turn on a verbose
mode, and dumps quite a bit of stuff to stderr.
(3) Updated the f2c man page.
PR: 7369
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:13:57 +00:00
Poul-Henning Kamp
a623ec03f3
A bit of PR7278 which belongs here.
...
PR: 7278
Reviewed by: phk
Submitted by: Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
John Polstra
79bdd98bf7
Fix a couple of little bugs that prevented login.c from compiling
...
if LOGIN_CAP_AUTH was defined. This is kind of silly, because
LOGIN_CAP_AUTH doesn't work anyway, is not defined currently,
probably will never be defined, and IMHO should not be defined.
But I'm sure you'll sleep better tonight, knowing that these bugs
are gone.
1998-07-22 04:33:12 +00:00
Jean-Marc Zucconi
d90d7b04ab
'remaining' must be declared off_t instead of int to avoid FPE when the size of
...
the file to transfer is very large (577985293894855484 bytes in the case I
encountered, but this was a buggy ftp server :-))
1998-07-19 00:01:24 +00:00
Warner Losh
1b1101e52f
o for unknown int21 functions, set the CY bit to indicate failure
...
o When reporting a int21 function we don't know about yet, report
AH as the major and AL as the minor, as opposed to reporting AL
as the major.
o Add support for 21:44:7: ioctl check output status. We
optimistically say that output is always ready.
o Add half support for 21:23: get file size. We always now return
failure. This function isn't supported, according to the interrupt
list, by the DOS box in windows, so I don't feel too bad.
1998-07-17 00:18:52 +00:00
Warner Losh
10f1d28ac1
o remove -f from doscmd man page, as it is not implemented.
...
o Remove init printf
o Don't set optind from return value for do_args. getopt has already
done this.
o Bump EMS memory from 1M to 10M (this really should be a command line
option).
o Open /dev/null when requested to open emmxxxx0 to allow many programs
checking to see if EMS is installed to find it.
o Route int67 to ems_entry to allow EMS to be used when DOS is emulated
as well as when DOS is booted. This may obviate the need for the
driver doing anything at all in a really booted situation and won't
hurt that case.
I can now run the DOS program I'm interested in running with enough
EMS memory that its "advanced" functions are enabled and working.
1998-07-16 23:54:26 +00:00
Guy Helmer
9629cc1275
Revert "POSIX saved uids change". seteuid(2) is not POSIX, and
...
FreeBSD does not have _POSIX_SAVED_IDS enabled. Thanks to Warner Losh
and Ollivier Robert for pointing this out, and Bruce Evans for explaining
the role of _POSIX_SAVED_IDS.
1998-07-14 19:07:30 +00:00
Stefan Eßer
cc522880b4
Fix proxy authorization code:
...
- failed to use authorization parameters passed in the environment, if
/dev/tty could not be opened (i.e. if running from cron)
- mixed use of /dev/tty and stdin for prompt and reading of the result
1998-07-12 09:07:36 +00:00
Dag-Erling Smørgrav
b9dd99f2f5
Recognize long month names in addition to short ones.
...
PR: bin/7228
Submitted by: Archie Cobbs <archie@whistle.com>
1998-07-09 22:51:59 +00:00
Guy Helmer
932634cdff
Security and minor functionality changes based on OpenBSD msgs.c:
...
tmp file (mktemp changed to mkstemp), saved POSIX uids, buffer overflow,
and use PAGER environment variable if set.
Obtained from: OpenBSD
1998-07-09 14:06:54 +00:00
John Polstra
2f278eac1f
Add a "-k" option, to specify that the lock file should be kept
...
rather than removed.
Submitted by: Nick Barnes <Nick.Barnes@pobox.com>
1998-07-08 05:29:05 +00:00
Bruce Evans
42ff1492ee
Use the installed version of mklocale for `make all'. It is now
...
bootstrapped by `make world'. The version just built in ".."
normally won't work if the target system is not binary compatible.
Don't build or install anything if _BUILD_TOOLS is defined. Then
we only want to build and install the mklocale binary, but the layout
of the mklocale tree forces recursing to mklocale/data for at least
the obj target even when _BUILD_TOOLS is defined.
1998-07-07 23:05:59 +00:00
Bruce Evans
563030afa1
Use the installed version of colldef for `make all'. It is now
...
bootstrapped by `make world'. The version just built in ".."
normally won't work if the target system is not binary compatible.
Don't build or install anything if _BUILD_TOOLS is defined. Then
we only want to build and install the colldef binary, but the layout
of the colldef tree forces recursing to colldef/data for at least
the obj target even when _BUILD_TOOLS is defined.
1998-07-07 23:04:25 +00:00
Jordan K. Hubbard
df1da01e0e
Previous fix didn't make it past the Bruce filter. Clean up
...
non-KNF indentation and use err() properly.
1998-07-07 22:20:50 +00:00
Jordan K. Hubbard
0b1778905f
msgs -p (and maybe other flags, too) gives misleading error messages,
...
especially on a new install, where /var/msgs/bounds doesn't exist. I
moved my bounds file out of the way to create this before and after
on a quick 'n' dirty hack, which is probably the 23rd best way to do it,
but it works:
PR: 6963
Submitted by: Matthew Fuller <fullermd@mortis.futuresouth.com>
1998-07-07 12:02:59 +00:00
Bruce Evans
81a4459b5f
Fixed type mismatches which were fatal when sizeof(long) > sizeof(int).
1998-07-06 22:08:00 +00:00
Bruce Evans
29415d80c2
Fixed classic sign extension bug `-(long)sizeof(foo)'.
...
Fixed the type of the string table size variable to match its use
(assuming that int32_t is 4 bytes and other unportable things).
bfd uses `unsigned char string_chars[BYTES_IN_WORD]', where
BYTES_IN_WORD can be 4, 8, or perhaps even 2 or 3, but it is
assumed to be precisely 4 bytes here.
Fixed printf format errors (don't assume that n_value in struct
n_list has type u_long, since it should have size BYTES_IN_WORD
and longs may be longer than words).
1998-07-06 21:45:12 +00:00
Bruce Evans
22694ebad5
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
Bruce Evans
b45d09e830
Fixed type mismatches and style bugs in rev.1.30.
1998-07-06 20:52:08 +00:00
Tim Vanderhoek
7b31132c01
Fix bug from last commit: don't SEGV when reading as part of a pipe.
1998-07-04 01:22:07 +00:00
Tim Vanderhoek
2c4d94647c
Use '-e' when viewing helpfile.
1998-07-03 23:01:33 +00:00
Tim Vanderhoek
36c29707b7
Prevent recursive help)elp)elping.
1998-07-03 17:12:10 +00:00
Søren Schmidt
66fa510625
Add missing ')'..
...
Doesn't anybody TEST code before committing....
This is the X'th time these laste couble of days...
1998-07-02 14:07:31 +00:00
Warner Losh
50e040d480
o Be more careful about using sprintf and strcpy.
1998-07-02 05:23:55 +00:00
Warner Losh
f15b742fdd
o typo: will -> with
1998-07-02 05:21:36 +00:00
Warner Losh
cf0ad320e4
o fix bug in conversion of DOS 32-bit signed number to FreeBSD's 64-bit
...
off_t.
This fixed the primitive 'copy protection' that the program I'm using.
1998-07-02 05:12:53 +00:00
Warner Losh
e1603e453d
Kill printf accidentally committed
1998-07-01 23:31:53 +00:00
Warner Losh
39a1ad8654
Make sourcer's main program execute in X mode.
...
o Make the dos emulation treat c: and C: the same way. Sourcer was doing
a chdir("c:\\") rather than a chdir("C:\\");
o use drlton() in all places where we used to use -'A' so that we're always
case independent.
o use drntol() in all places where we used to use + 'A' for similar reasons
1998-07-01 19:56:17 +00:00
Warner Losh
4e47f901f9
Implement int 2f ax=1600, which is, according to the Interrupt List,
...
used to check to see if windows 3.x if running. We always return 0,
which means that neither Windows 3.x nor Windows/386 2.x is running. It
also means, btw, that XMS version 1 isn't installed, which is true since
we don't implement that either.
1998-06-30 22:23:06 +00:00
Bruce Evans
a8c09dabbd
Don't assume that time_t is long.
1998-06-29 17:25:46 +00:00
Bruce Evans
375557fcad
Don't assume that time_t is long.
1998-06-29 17:06:00 +00:00
Bruce Evans
39470616b1
Don't assume that time_t is long.
1998-06-29 15:52:49 +00:00
Steve Price
d79e6e1601
Fix a few typos.
...
PR: 7092
Submitted by: Kauzo Horikawa <h-horik@yk.rim.or.jp>
1998-06-27 20:32:41 +00:00
Robert Nordier
d41e2bb8a1
Correct typo: loosing --> losing
1998-06-26 14:25:18 +00:00
Guy Helmer
a57a22d25f
Update vmstat portion of man page to reflect the statistics currently
...
shown by systat's vmstat display.
PR: docs/3764
1998-06-25 22:04:48 +00:00
Peter Wemm
7288c50357
Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth)
1998-06-23 21:58:41 +00:00
Guy Helmer
e063c51e70
Minor grammar and punctuation cleanup.
...
Reference /etc/periodic/daily instead of /etc/crontab.
1998-06-23 16:52:59 +00:00
Dmitrij Tejblum
8fbaa58a29
Make value of SIZE accurate.
...
Obtained from: ps(1)
1998-06-21 18:00:34 +00:00
Wolfram Schneider
a2f2188044
Create a save TMPDIR using `mktemp -d'.
1998-06-18 09:26:22 +00:00
Joseph Koshy
a3e5bc4fb5
Remove compile time dependency on ARG_MAX.
...
This fix only removes the dependency on compile time constants. The code
has other (old) problems that need to be addressed.
PR: 1791
Reviewed-by: bde, tegge
1998-06-17 12:58:43 +00:00
Steve Price
a84507eabd
sprintf -> snprintf to avoid potential buffer overflow.
...
PR: 6907
Submitted by: Archie Cobbs <archie@whistle.com>
1998-06-14 16:03:40 +00:00
Steve Price
a05ac887c5
Correct the description of the last four fields.
...
PR: 6926
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-13 19:14:14 +00:00
Peter Wemm
b9305a0668
Make -V expand it's arguments. This means that instead of 'make -V OBJS'
...
printing something useless (to a shell) like: ${SRCS:N*.h:R:S/$/.o/g}
it will instead print the actual ${OBJS} value.
1998-06-13 11:55:57 +00:00
Peter Wemm
0cb730b0dc
"./strip maybe_stripped" doesn't work too well if maybe_stripped is an
...
elf executable..
1998-06-12 16:22:25 +00:00
Peter Wemm
5307b90005
The doscmd build process and doscmd.kernel loader is very a.out specific
...
and doesn't fly too well on in an elf enviroment yet.
1998-06-12 16:18:27 +00:00
Peter Wemm
9ec49abd00
#include <arpa/inet.h>
1998-06-12 14:18:33 +00:00
Peter Wemm
932d41914f
Add -DFREEBSD_AOUT to CFLAGS to ensure we get the correct definitions
...
from <link.h>
1998-06-12 14:11:15 +00:00
Peter Wemm
28faa5304b
#include <arpa/inet.h>
...
Also, use real struct in_addr rather than u_long.
1998-06-12 13:04:59 +00:00
Peter Wemm
a60c62a3c0
#include <arpa/inet.h>
1998-06-12 12:55:46 +00:00
Peter Wemm
2180733f75
#include <arpa/inet.h>
1998-06-12 12:37:15 +00:00
Andrey A. Chernov
abf0f067cf
Local filesystems are ufs not ffs
...
Submitted by: "D. Rock" <rock@cs.uni-sb.de>
1998-06-11 03:47:29 +00:00
Peter Hawkins
a1fca66a0b
Submitted by: Peter Hawkins thepish@freebsd.org
...
Small man page fix (missing ']' in [:alpha:] example)
1998-06-11 02:14:58 +00:00
Poul-Henning Kamp
1499abeef4
Spelling fixes.
...
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-10 12:34:27 +00:00
Peter Wemm
30035fd505
fchflags(8) -> fchflags(2)
...
Submitted by: Kenneth Merry <ken@plutotech.com>
Also, while here, mention that other FS's don't do flags.
1998-06-10 07:17:59 +00:00
Warner Losh
5dbf068b1e
sizeof(foo - 1) isn't the same as sizeof(foo) - 1.
...
Pointed out by: Theo De Raadt.
1998-06-09 14:51:05 +00:00
Warner Losh
fd67e2c50e
Remove unused strvisx.
1998-06-09 04:35:20 +00:00
Warner Losh
a716ad6693
Don't assume that hp->h_lenght == 4. Be conservative in its use.
...
Submitted by: J. Assange a long time ago.
1998-06-09 04:31:02 +00:00
Warner Losh
f34c49eb54
o Use snprintf rather than sprintf.
...
o Revert gid to caller before a shell so we can run setgid.
o minor style nits to make bruce happy :-)
o use strncpy correctly.
1998-06-09 04:28:05 +00:00
Warner Losh
fae4b464e3
Use mkstemp rather than mktemp for yacc's temp files. This change was made
...
to OpenBSD a long time ago and to my tree shortly thereafter. I think theo
made this change, or one similar to it, but I could be wrong.
1998-06-09 04:20:51 +00:00
Warner Losh
448b84a0e4
o Use snprintf rather than sprintf
...
o Add more checks for buffer overflows
o Use snprintf rather than strcat/cpy and have better checks for max
length exceeded.
Most of these changes are not exploitable buffer overruns, but it never
hurts to be safe.
Inspired by and obtained from: OpenBSD
1998-06-09 04:17:29 +00:00
Warner Losh
9a1f6729af
o Use snprintf over sprintf.
...
o Use strncpy correctly.
o Use enough buffer for line.
Inspired by or Obtained from: Similar changes in OpenBSD
1998-06-09 04:13:03 +00:00
Warner Losh
c788c9b224
Make sure we pass the length - 1 to readlink, since it adds its own
...
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt
1998-06-09 04:10:08 +00:00
Warner Losh
205a8ea824
$@ is deprecated, use ${.TARGET} instead. Ditto for other single character
...
$n.
PR: conf/3273
1998-06-09 04:07:23 +00:00
Joseph Koshy
5a41edb419
Reword to remove confusion between su(1)'s "-c" option and that of the shell
...
being invoked. Add example that clarifies usage of "-c".
PR: 6859
1998-06-08 05:29:51 +00:00
Peter Hawkins
504986d33e
PR: docs/5628
...
Submitted by: MITSUNAGA Noriaki mitchy@er.ams.eng.osaka-u.ac.jp
Correct formatting error in display of the "-i size" option description section.
1998-06-06 15:16:02 +00:00
Steve Price
32c2131395
Fix a bunch of spelling errors.
...
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
Bruce Evans
822aa079ec
Don't forget to pretend that `make -n -jN' makes the targets that it
...
says it pretends to make.
This bug was apparently harmless except for normal cases involving
.ORDER statements when it made debugging of -jN using -n very
confusing. E.g., for:
.ORDER: beforedepend .depend
depend: beforedepend .depend
where beforedepend depends on something so that it is not initially
up to date, `make [-n] -j2 depend' causes `make' to wait for itself
to make beforedepend. This works fine without -n. The job to make
beforedepend has normally been started, and beforedepend is marked
as made when the job completes. However, with -n, the pseudo-job
for making beforedepend has normally completed, and in any case
there was no chance of beforedepend being marked as made. `make'
actually exited almost immediately with status 0 instead of waiting
forever.
1998-06-04 05:48:57 +00:00
Joseph Koshy
9595a75afa
Spelling corrections.
...
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
Peter Hawkins
968d4e7fe2
PR: bin/6828
...
Submitted by: njs3@doc.ic.ac.uk
Obtained from: NetBSD
Implement embedded variable expansion
1998-06-02 13:11:04 +00:00
Peter Wemm
defff80956
Treat an EOPNOTSUPP from fchflags() as a non-fatal case. Only warn about
...
it if flags were explicitly specified on the command line. Do not warn
if we were merely trying to preserve flags or remove UF_NODUMP. NFS does
not support flags.
I'm not sure that this is ideal, but it should do for now. Installing
a plain file onto a NFS server must work, we used to silently ignore the
attempt. Doing a binary install looses the flags anyway since cpio
doens't preserve them with the cdrom/network images.
XXX make world should not use flags or chown/chgrp in the obj/tmp area.
This is based on a suggestion from Ken Merry <ken@plutotech.com>.
1998-06-02 12:00:08 +00:00
John Hay
a39b117f80
Look for kzhead.o and kztail.o in /usr/lib/aout.
1998-06-01 18:34:19 +00:00
Peter Wemm
89ccd25417
SUBDIR += ldd
1998-06-01 14:30:58 +00:00
Peter Wemm
a7ef806899
ldd standalone build, after repository copy.
1998-06-01 13:55:12 +00:00
Atsushi Murai
89caae2932
Trim a domain part for wtmp as same as showed by "netstat -r".
...
Here is a some example for avoiding a confusion.
It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.
1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama
2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2
3) specgw.spec.co.jp : 202.32.13.1 -> specgw
Submitted by: Atsushi Murai <amurai@spec.co.jp>
1998-06-01 08:47:04 +00:00
Bruce Evans
67b780b03b
Fixed double slashes in pathnames.
1998-05-31 11:32:38 +00:00
John Birrell
218a1b63d6
objformat is part of the i386 mid life identity crisis. On alpha, things
...
are in their normal places, so objformat isn't required.
1998-05-31 10:48:06 +00:00
Poul-Henning Kamp
e796e00de3
Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
...
Clean up (or if antipodic: down) some of the msgbuf stuff.
Use an inline function rather than a macro for timecounter delta.
Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.
Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()
This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.
WARNING: Programs which muck about with struct proc in userland
will have to be fixed.
Reviewed, but found imperfect by: bde
1998-05-28 09:30:28 +00:00
Daniel O'Callaghan
e72acbba84
Reviewed by: Peter Hawkins <thepish@FreeBSD.org>
...
Add s and w flags to show duration in or with seconds.
1998-05-28 00:58:29 +00:00
John Hay
73cdb7fd38
Correctly display the interrupt counts.
...
Reviewed with optimizations by: Tor Egge <tegge>
1998-05-27 21:01:37 +00:00
Peter Wemm
e27b6961ff
Convert to more canonical format.. It seems that both Soren and I were
...
working on this in parallel.. :-(
1998-05-27 15:43:24 +00:00
Søren Schmidt
dfd93f4d1d
Compile & use objformat as it was intended to, I have no idea why
...
that failed for me before :(
1998-05-27 07:59:37 +00:00
Søren Schmidt
cabb97dcbf
ELF preparation step 2:
...
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.
This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.
We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
Søren Schmidt
bcd26b5b67
Get owner/group/modes right
1998-05-26 12:27:37 +00:00
Søren Schmidt
8d46441ba4
Oops, remember CFLAGS...
...
Also compile directly to the target on install.
1998-05-26 06:51:28 +00:00
Daniel O'Callaghan
c6a24f8623
PR: 1904
...
Abort if given uname is > MAXLOGNAME-1
1998-05-26 06:39:08 +00:00
Steve Price
423bac3e47
"EOF of file..." is written to stderr and not stdout.
...
PR: 6756
1998-05-26 00:39:12 +00:00
Søren Schmidt
77dfb966d9
ELF preparation step 1:
...
Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.
This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.
Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...
1998-05-25 17:34:42 +00:00
Søren Schmidt
e793c690a0
Only compile on install.
1998-05-25 15:00:49 +00:00
Søren Schmidt
8d2cfc044c
Make objformat DTRT when in the make world environment.
1998-05-25 14:42:22 +00:00
Dag-Erling Smørgrav
7ac237e80f
Back out Steve's fix, as this was already fixed by me in revision 1.6
1998-05-25 12:04:47 +00:00
Steve Price
af2bbadbe0
Only allow 'who' and 'who am i' as valid usages.
...
PR: 6294
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-25 07:19:07 +00:00
Steve Price
c2fd2f2c1b
Allow spaces in the filename to be decoded to.
...
PR: 4882
Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
1998-05-25 06:27:09 +00:00
Steve Price
37253803e6
Allow a user in group 0 to su(1) to root if their primary
...
group is 0 in /etc/passwd even if they aren't listed
as a member in /etc/group. This is more inline with
what the group manpage says.
PR: 6696
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-05-25 03:34:52 +00:00
Steve Price
fe6fb5d439
Add a graceful jumping off point with a new .error directive.
...
PR: 6720
Submitted by: Niall Smart <njs3@doc.ic.ac.uk>
1998-05-25 03:28:37 +00:00
Joseph Koshy
6a34c72516
Sort SEE ALSO section alphabetically.
1998-05-22 11:09:01 +00:00
Joseph Koshy
a88d7a8297
Cosmetic fix. Compute header field widths from UT_{HOST,LINE,NAME}SIZE
...
instead of hardcoding header line.
PR: 6325
1998-05-21 08:46:48 +00:00
Robert Nordier
c70772eab9
Support integer constant unsigned-suffix and long-long-suffix.
1998-05-19 20:41:20 +00:00
Pierre Beyssac
958d6f7fc3
Make "netstat -s" display stats on fast-forwarded packets.
...
Obtained from: NetBSD code
1998-05-19 16:00:55 +00:00
Joseph Koshy
49ca483aa1
Use the correct name of the login.conf(5) capability (`passwordperiod' ->
...
`passwordtime').
1998-05-19 03:48:07 +00:00
Mark Murray
3492514dfd
Include correct header to get definition of struct sockaddr_un.
1998-05-16 21:35:37 +00:00
Garrett Wollman
8ad9b1a36b
Fix rev. 1.7: get offsetof from the correct header file.
1998-05-16 18:04:00 +00:00
Andrey A. Chernov
bc6ee716d5
Fix broken sun_len usage: it is not sun_path length but bigger
1998-05-16 08:31:49 +00:00
Garrett Wollman
4f81ef5056
mbuf, inet, and unix modules no longer read kvm.
1998-05-15 20:19:21 +00:00
John Birrell
4d47d82d5f
More programs are now broken on alpha due to the libbind changes
...
that prevent the programs from being linked static (duplicated
symbols).
Other programs depend on kernel internals. These will have to wait
for a custom alpha kernel. For now, let's just make the build safe.
1998-05-15 12:33:56 +00:00
John Birrell
17ce12487f
Change variable from long to time_t where they are passed by reference
...
to time().
1998-05-15 12:28:43 +00:00
Joseph Koshy
41cbb62401
Add cross references for find(1), locate(1), whereis(1) and which(1).
...
Submitted by: Josh Gillam <josh@quick.net>
PR: docs/6642
1998-05-15 11:22:42 +00:00
John Birrell
429f4d134c
Change the name of a variable from _start to s_start. On alpha there
...
must be a library function called _start.
1998-05-15 09:26:28 +00:00
Joseph Koshy
bc53c0a6b2
Allow `w' to treat a corrupted "utmp" as a non fatal error.
...
PR: bin/2832
1998-05-14 10:13:24 +00:00
Poul-Henning Kamp
84717b42e8
.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
...
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
John Birrell
c021a0a9d0
Fix broken (at least on alpha, but probably on i386 too) code which
...
is supposed to walk an arry of character pointers, not an array of
characters.
1998-05-13 05:50:42 +00:00
Wolfram Schneider
43721e3d1d
Some commands are shell builtins. Execute the builtins by the shell
...
and not directly by make(1).
PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
1998-05-12 11:54:12 +00:00
Bruce Evans
330698829e
Fixed missing dependencies on headers generated by rpcgen, as usual.
...
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00
Garrett Wollman
cffe96c903
Fix my last change: the .Fx macro doesn't do anything useful without an
...
argument, so use `.Tn FreeBSD' instead.
1998-05-09 21:39:49 +00:00
Garrett Wollman
eeed58d824
Documentation fix: delete references to T/TCP as they are not relevant
...
to the case in question. (Said case being quite clearly defined by
the basic TCP specification, RFC 792.)
1998-05-09 20:50:37 +00:00
Dag-Erling Smørgrav
49778f39ac
Arrggghhhh... forgot to strip the / after outputting %2f
1998-05-09 08:56:07 +00:00
Dag-Erling Smørgrav
757c6582c1
Map a leading / in -c argument to %2f instead of dropping it silently.
...
PR: bin/6558
1998-05-09 08:41:23 +00:00
Bill Fenner
5e92200712
Describe absolute paths in FTP URL's. This patch has been sitting
...
around uncommitted for 2 months =(
1998-05-09 07:33:09 +00:00
Masafumi Max NAKANE
c58bc017e8
In the SEE ALSO section, {get,set}rlimit are said to be in the section
...
3 which are actually in the section 2.
Pointed out by: Brian Reichert <reichert@numachi.com>
PR: 6480
1998-05-08 14:46:23 +00:00
Bruce Evans
de1d4a81ee
Added y.tab.h to SRCS. This should have been used to get dependencies
...
on y.tab.h generated. It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.
1998-05-05 13:16:35 +00:00
Bruce Evans
8d4a858381
Put y.tab.h back in SRCS. This used to be the best way to get
...
dependencies on y.tab.h generated. It will soon be used to tell
bsd.dep.mk that y.tab.h itself needs to be generated.
1998-05-05 13:00:26 +00:00
Philippe Charnier
d4eaae7abd
Add usage() and rcsid. Remove unused #include. -Wall.
1998-05-05 06:13:47 +00:00
Alexander Langer
1dbfc421b6
Permit double digit year values to be used in the next millenium.
1998-05-05 01:53:15 +00:00
Robert Nordier
1879eba7ea
Make compatible with standard what command:
...
Implement -s option
Keep going if a file is not found
Append ':' to printed filenames
Include backslash in terminal characters
Make exit status dependent on a match having been found
Revise manpage accordingly
1998-05-04 22:26:56 +00:00
Bruce Evans
b681d90662
Fixed races in `make -jN' using new yacc rules.
1998-05-04 20:09:06 +00:00
Bruce Evans
42c5ca4ad6
Simplified by using new yacc rules and by not generating y.tab.h.
1998-05-04 19:25:41 +00:00
Bruce Evans
1b1ddfa527
Simplified by using new yacc rules. The new lex rules can't be used
...
here, at least without ifdefs for the bootstrap.
1998-05-04 19:10:20 +00:00
Bruce Evans
2cf0660cea
Simplified using new yacc rules and by not generating y.tab.h. The
...
lex source is still handled bogusly.
1998-05-04 18:40:18 +00:00
Steve Price
e1f4275a7c
Be picky about the format of the commandline and cleanup
...
a warning related to qsort.
PR: 6420
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-03 23:22:37 +00:00
Steve Price
7c50fe7bb0
Add the year to the 'wtmp begins...' line.
...
PR: 6421
Submitted by: phk
1998-05-03 23:19:15 +00:00
Steve Price
b2ab9053e3
Remove (now) invalid .Xr trsp 8
...
PR: 6494
Submitted by: Don Morrison <dmorrisn@u.washington.edu>
1998-05-03 21:34:34 +00:00
Peter Wemm
f0b57f8b59
Update for bind-8
1998-05-03 05:16:58 +00:00
Doug Rabson
c474c6d309
Add ELF support.
1998-05-01 08:40:11 +00:00
Peter Wemm
c8ff18082f
*blush*, typo during last minute editing..
1998-04-30 16:50:07 +00:00
Peter Wemm
159da44105
Change euid while reading the user's .login_cap file in case the homedir
...
is on a NFS partion without root read access. Also, flip euid again for
the duration of the chdir() to the homedir for the same reason.
PR: 5145
Submitted by: Joel.Faedi@esial.u-nancy.fr
Also tested by: A Joseph Koshy <koshy@india.hp.com>
1998-04-30 16:48:20 +00:00
Andrey A. Chernov
3ccb32a975
Use NL_CAT_LOCALE to activate LC_MESSAGES
1998-04-30 12:49:11 +00:00
Andrey A. Chernov
d95038c45e
Add (unsigned char) cast to ctype macros
1998-04-30 10:31:38 +00:00
Andrey A. Chernov
3492193d0e
Make 'y' command 8bit clean
...
PR: 6458
1998-04-29 21:58:36 +00:00
Warner Losh
3a42f937f1
Use historically correct error message in some cases, optionally.
1998-04-28 05:08:10 +00:00
Dag-Erling Smørgrav
574a97f5ce
Check that user really typed "who am {I,i}", and that no stray
...
arguments are given.
Note that usage() and the manpage disagree...
PR: bin/6294
Suggested by: Ruslan Ermilov and Bruce Evans
Submitted by: Ruslan Ermilov (partly)
1998-04-26 19:10:51 +00:00
Bruce Evans
22450dd8c1
Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
...
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first). Sorted sources lists.
1998-04-26 16:31:14 +00:00
Poul-Henning Kamp
64400b18cc
When all transformation rules to or from a suffix disappeared, make tries
...
to free the suffix. I think, it is a very strange idea. (Or, maybe, it is a
POSIX requirement?) And it is done incorrectly. Apparently, it even don't
update the list of known suffixes (but it is an other bug).
PR: 4254, 4692, 4783
Reviewed by: phk
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-04-26 09:44:48 +00:00
Poul-Henning Kamp
f24a941b31
fix ncal.1 grammar
...
PR: 6394
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-04-26 06:21:29 +00:00
David Greenman
ca67f4589b
Output mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters
...
sysctl variable (previously committed).
1998-04-24 04:30:27 +00:00
Poul-Henning Kamp
384606eb2c
netstat truncates info in sockaddr* between kgetsa and p_sockaddr
...
by dereferencing pointer to smaller structure
PR: 5256
Reviewed by: phk
Submitted by: Gregory D. Moncreaff <moncrg@bt340707.res.ray.com>
1998-04-22 06:54:31 +00:00
Eivind Eklund
7b206e114e
Add a forgotten 'static'.
1998-04-21 02:44:12 +00:00
Eivind Eklund
e3e9c8eed9
Make brandelf test for known brands, and introduce a '-f' option to
...
bypass the testing.
Partially submitted by: Brian Feldman <green@feldman.dyn.ml.org>
1998-04-21 02:31:09 +00:00
Joerg Wunsch
6738ac4ff3
Define '\t' as a printable character, so it can be displayed on the
...
screen. isprint(3) doesn't do this, but isprt() apparently expected
this to be the case.
1998-04-20 13:37:29 +00:00
Philippe Charnier
5f03edf130
Correctly operate on hardlink when source and destination are not on the same
...
device.
PR: bin/3158 (part 2)
1998-04-20 06:20:24 +00:00
Poul-Henning Kamp
3d65e4d1f8
Like most Unices FreeBSD should have a larger tty field at least
...
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?
(We should probably report the tty/cua prefix then as well ? /phk)
PR: 4187
Reviewed by: phk
Submitted by: Jorge M. Goncalves <ee96199@tom.fe.up.pt>
1998-04-19 18:32:01 +00:00
Poul-Henning Kamp
c5d1ef4169
The current version of netstat does not print the interface
...
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR: 4182
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
Poul-Henning Kamp
d459926593
Ctags write to buffer beyond the end of it when the source file
...
doesn't end with '\n'. It brings segmentation fault.
PR: 4812
Reviewed by: phk
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
1998-04-19 18:00:49 +00:00
Poul-Henning Kamp
f934279d20
mt should report the compression status.
...
PR: 5276
Reviewed by: phk
Submitted by: Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
Daniel O'Callaghan
7e3662b819
PR: 4866
...
Submitted by: fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
Peter Wemm
46fec6d189
Add mktemp directory
1998-04-14 07:40:47 +00:00
Peter Wemm
4ca332d5bf
Bring in an old faithful tool I've been using for just over 4 years now
...
(originally on a different OS without mkstemp()), albeit somewhat
bashed and hacked into something that doesn't look too much like
the original any more. It should be upwardly compatable with
OpenBSD's mktemp(1) but does a couple of extra things.
I've taken OpenBSD's mktemp.1 man page and adapted it to suit.
1998-04-14 07:39:57 +00:00
Poul-Henning Kamp
acf1dcdc9c
Better SYNOPSIS
...
PR: 6294
Reviewed by: bde, phk
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 06:42:18 +00:00
Poul-Henning Kamp
651cabf8b3
add strings(1) to what(1) "SEE ALSO"
...
PR: 6289
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-04-14 06:31:23 +00:00
Steve Price
2d5be945b8
Document the use of sendmail options on the commandline.
...
PR: 4778
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
Steve Price
2a453c238f
Don't let secs variable wrap if <= 2.
...
PR: 6290
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
Peter Wemm
eb1c943900
Add a new -F flag which is a superset of -f. It will cause tail to
...
stat() the file being followed and do a close/reopen if the file has been
renamed and/or rotated. This is damn useful for leaving running on files
in /var/log when newsyslog(8) rotates them.
1998-04-06 16:13:49 +00:00
Philippe Charnier
52e8a120a3
Prevent rdist from dumping core: do not free() pointer before using it.
...
Add rcsid. Document -D flag (debug mode). Remove unused includes.
PR:bin/3158 (part 1)
1998-04-06 06:18:32 +00:00
Daniel O'Callaghan
5c1bad3122
PR: bin/6193
...
Submitted by: Max Euston <meuston@jmrodgers.com>
Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
1998-04-01 21:34:10 +00:00
Mark Murray
9de765d73b
Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
...
case.
1998-03-26 19:43:06 +00:00
Mark Murray
42873e5755
Quite a while back KTH (who are the good folks who wrote our KerberosIV)
...
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
1998-03-26 18:03:41 +00:00
Mark Murray
17515961ec
Remove unneeded crud.
1998-03-26 17:55:27 +00:00
Eivind Eklund
bd41cae5e3
Remove special global tags support; we don't do it that way anymore.
1998-03-26 16:12:14 +00:00
John Birrell
df93fef29b
Ouch, that nm is aout which is not alpha-friendly. Make it i386
...
specific.
1998-03-24 01:43:45 +00:00
Bruce Evans
8faed1b0dc
Ifdefed conditionally-unused variables.
1998-03-23 14:14:24 +00:00
Philippe Charnier
306005e78c
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
Philippe Charnier
a31bd3d64c
Add rcsid. Sort #includes.
1998-03-23 07:47:31 +00:00
Philippe Charnier
3508975f96
Add const to rcsid.
1998-03-23 07:46:23 +00:00
Philippe Charnier
6363467d81
.Nm nice -> .Nm.
1998-03-23 07:45:40 +00:00
Philippe Charnier
522571b32e
Add rcsid. Correct -Wall warning.
1998-03-23 07:41:49 +00:00
Steve Price
a76f172954
Reword using who.1 as a good example of where to start.
...
Submitted by: bde
1998-03-22 17:39:08 +00:00
John Birrell
1b31c7dd49
Remove a bunch of unsupported machines, and the 'other' case where
...
some subdirs were only processed for install and clean (which caused
builds to fail on alpha). Install and clean should always follow
SUBDIRS.
1998-03-22 08:55:28 +00:00
Peter Wemm
01c855ca0a
merge ppp-2.3.3 changes onto mainline
1998-03-21 20:47:53 +00:00
Bruce Evans
7eda6c03ce
Honour -static in LDFLAGS.
...
Install using ${INSTALL}, not `install'. Install generated files using
${COPY}, not -c. Install using a single command when this is easy.
1998-03-21 12:51:44 +00:00
Bruce Evans
e1d3476a8e
Don't use beforedepend to break things. The usual fix of putting
...
generated sources in SRCS breaks because compile_et uses an evil
include of one .c file in another. Use a worse fix. Perhaps
DPSRCS is useful after all.
Don't put *.y in SRCS. Put the generated file in SRCS instead.
This fixes incomplete dependencies (mkdep can't work on *.y).
Don't override the default .l.c rule. Just use LFLAGS.
Fixed some style bugs.
1998-03-20 16:21:39 +00:00
Bruce Evans
861999b4c1
Updated MISSING list.
1998-03-20 12:34:21 +00:00
John Birrell
5c931089a9
Some things only work on i386.
1998-03-13 19:41:06 +00:00
Peter Wemm
6593044822
Import intial version of an a.out/elf tool wrapper/selector. It is
...
not active yet, just a work-in-progress.
1998-03-10 05:20:58 +00:00
John Birrell
4933ffaed9
cksum does a 32-bit checksum, so it needs to use u_int32_t variables,
...
not u_long. With this change, cksum stops core dumping on alpha (not
a good sign!) and actually computes the same values as it does on i386.
1998-03-10 05:03:49 +00:00
Andrey A. Chernov
0c312497c7
Localize it
1998-03-08 20:56:43 +00:00
Wolfram Schneider
8b91ab6a61
Change default temporary directory (TMPDIR) from /tmp to /var/tmp.
...
Mosts users seems to have a larger /var/tmp partition
than /tmp - IMHO silly but who cares?
1998-03-08 16:09:31 +00:00
Wolfram Schneider
a294b5d81b
Improve shell variable substitution.
1998-03-08 15:28:37 +00:00
Peter Wemm
e8eb82a81c
Rewrite script as a select loop rather than as a twin reader/write process.
...
This allows simple logging of keys sent to a session (turned on with -k).
Also allow specifying the script file flush interval.
1998-03-08 14:19:18 +00:00
Wolfgang Helbig
2c7dad3eea
Replaced by ncal
1998-03-08 09:19:48 +00:00
John Dyson
4d5459f794
Support a couple of new "-s" stats.
1998-03-07 23:40:23 +00:00
Andrey A. Chernov
9b0c02c058
Prevent passwd locking database forever waiting for user input
...
Submitted by: Antti Kaipila <anttik@iki.fi>
1998-03-07 21:42:07 +00:00
John Birrell
36dbb7ddef
Fix a #ifndef that became a #ifdef and changed the default
...
behaviour of rpcgen.
Noticed by: bde
1998-03-07 05:43:59 +00:00
Bruce Evans
99c91e5acc
Fixed `make -jN' for large N. Just put the generated file y.tab.h in
...
SRCS and add a dummy rule to create it. This and cleaning of yacc
output files should all be handled by bsd.prog.mk.
1998-03-06 14:25:45 +00:00
Bruce Evans
8408ce6f64
Fixed `make -jN' for large N, as usual.
1998-03-06 14:02:04 +00:00
Bruce Evans
10b2c6839a
Fixed `make -jN' for large N. Just put all generated headers in SRCS.
1998-03-06 13:51:18 +00:00
Steve Price
0ad8c69ad4
Fix a few minor typos and style nits.
...
PR: 5883
Submitted by: hnokubi@yyy.or.jp
1998-03-01 18:58:03 +00:00
Alexander Langer
098fd386f6
Use .Nm rdist for second .Nm occurrence in synopsis.
1998-03-01 00:18:25 +00:00
Alexander Langer
cb72607e75
Use .Nm id' instead of
.Nm' for the synopsis lines.
...
PR: 5876
1998-02-28 21:37:54 +00:00
James Raynard
09831267df
Don't assume sigset_t and int are equivalent.
1998-02-28 16:02:24 +00:00
Mike Smith
fce0b07815
Don't claim XMS isn't implemented (it is).
...
Attempt to explain the "X11 support not compiled in" diagnostic.
Submitted by: philip@rmit.edu.au (Philip Musumeci)
1998-02-26 07:53:02 +00:00
Bruce Evans
03ceff03f6
Added a prototype for a qsort comparision function and fixed the usual
...
type mismatch uncovered by this.
1998-02-25 02:29:58 +00:00
Bruce Evans
3cb5ecc8c2
Fixed the usual type mismatch for a qsort comparison function.
1998-02-25 02:25:50 +00:00
Bruce Evans
92ddd8c652
Fixed the usual type mismatch for a signal handling function.
1998-02-25 02:24:04 +00:00
Steve Price
7db98de957
Add a -p option which is the same as the -m option but provided
...
for SVR4 compatibility.
PR: 5826
1998-02-24 16:57:49 +00:00
Mike Smith
86740c3409
Add Back-Tab functionality. (Ie. shift-tab)
...
Submitted by: Randall Hopper <rhh@ct.picker.com>
1998-02-22 23:36:54 +00:00
John Birrell
f2af83ab9e
Change a (defaulted) int arg to a long so that a cast from a pointer
...
doesn't throw anything away. I don't want to re-code the app, just
port it!
1998-02-20 19:59:59 +00:00
John Birrell
9ddaa53328
Add #include <string.h> to get prototypes. Note that this program
...
also has a local "string.h" which is included too.
1998-02-20 19:56:01 +00:00
John Birrell
e4fcd28b7f
Add #include <string.h> to get prototypes.
1998-02-20 19:53:12 +00:00
John Birrell
58a76373c2
Add #include <stdlib.h> to get prototypes.
1998-02-20 19:50:10 +00:00
Bruce Evans
e5eb0d8db1
Don't create an unused obj directory.
1998-02-20 11:18:57 +00:00
John Birrell
5362bb64c5
gcc wants to see long long variables passed to %q printf formats, so
...
cast to that instead of quad_t.
1998-02-20 05:11:42 +00:00
John Birrell
2ffc763234
time() needs a pointer to a time_t, but tv_sec in a timeval is a
...
long (yuk). So give time() what it wants and let the compiler
promote the variable when it is assigned to tv_sec.
1998-02-20 05:08:53 +00:00
John Birrell
56d73492e1
localtime() needs a pointer to time_t which is not necessarily a long.
...
So use a time_t in the chdr structure so that no casts are required.
1998-02-20 05:01:05 +00:00
John Birrell
ae25b713c6
Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead.
1998-02-20 04:57:33 +00:00
John Birrell
2a0373c39a
Add #include <string.h> to get prototypes.
1998-02-20 04:54:00 +00:00
John Birrell
b212561dcb
Initialise variable that gcc lies awake at night worrying about.
1998-02-20 04:50:50 +00:00
John Birrell
32744e40cd
Add #include <string.h> to get prototypes.
1998-02-20 04:48:37 +00:00
John Birrell
a8b1e5be58
Replace incomplete malloc prototype with #include <stdlib.h>
...
to get the proper one.
1998-02-20 04:38:20 +00:00
John Birrell
9c26f2aeaf
Add #include <stdlib.h> to get prototype for malloc().
1998-02-20 04:34:08 +00:00
John Birrell
5b116430fc
Add #include <string.h> to get prototypes.
1998-02-20 04:33:03 +00:00
John Birrell
c93bd87aba
Add #include <stdlib.h> to get prototype for malloc(). Without this,
...
the compiler assumes an int return. On alpha this is enough to ruin
ya day.
1998-02-20 04:21:46 +00:00
John Birrell
6216c30a1c
Add #include <string.h> to get prototypes for functions that gcc
...
has builtin (and wants to know that the prototypes match).
1998-02-20 04:13:29 +00:00
Garrett Wollman
a00fe97d5a
Make it more convenient to query NICs other than InterNIC. Explain in the
...
man page what each database contains.
1998-02-19 19:07:50 +00:00
Steve Price
a81b76b3e8
Missing newline when euid != ruid.
...
PR: 5778
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
1998-02-18 17:35:16 +00:00
John Birrell
1ecfd4575d
Add #include <string.h> to get prototype for memcpy().
1998-02-15 04:15:47 +00:00
John Birrell
90836d4e24
gcc on alpha complains about nested comments. A comment in this
...
file referred to a path ending in "/*" which was reasonable to me,
but gcc wasn't so sure. So now the comment refers to a path ending in
"*".
1998-02-15 04:09:48 +00:00
Steve Price
3eb7ce85b1
Cleanup code so that long lines to be quoted don't get truncated.
...
PR: 5679
Reviewed by: Bruce Evans <bde@zeta.org.au>
1998-02-14 15:38:29 +00:00
Peter Wemm
373e363e34
Fix top sorting of idle processes. top used p_cpticks as a tie-breaker
...
but that isn't suitable (it gets zeroed each second apparently).
PR: bin/4957
Submitted-by: Dan Nelson <dnelson@emsphone.com>
1998-02-14 13:34:59 +00:00
Andrey A. Chernov
c8b701a4af
Fix very rare but dangerous bug:
...
for some DES passwords
crypt(real_password, salt)
is equal to
crypt("", salt);
It means that this user (and not only he) can login without
entering password at all, just pressing Return.
So if empty password entered and crypted password is not empty,
invalidate any crypt result by assigning ":"
1998-02-13 21:02:53 +00:00
Bruce Evans
5f61dae347
Fixed a comment. The module size is (unfortunately) in K, but it is not
...
in pages.
1998-02-12 23:58:54 +00:00
Steve Price
8583a41b1e
Update to reflect the current Jewish calendar.
...
PR: 5683
Submitted by: jgrosch@MooseRiver.com
1998-02-08 22:57:59 +00:00
Alexander Langer
c32bb532e4
locate(1) is no longer started by /etc/weekly.
1998-02-07 05:30:14 +00:00
Guido van Rooij
e28be89140
Reset SGINT and SIGQUIT handling to default when asking for passwords.
...
Otherwise, when pressing the INT ke at the password prompt, the password
will be displayed. Now login will be killed.
Probably the same will have to be done for the LOGIN_CAP_AUTH case.
I have not done that.
Reviewed by: Joerg Wunsch
1998-02-05 18:37:02 +00:00
Philippe Charnier
fb9d8a6886
Convert to mdoc. Move Id to the top.
1998-02-04 07:29:20 +00:00
Paul Traina
5099706acd
Don't print garbage when user enters EOF at name prompt.
...
PR: 5565
Submitted by: Jens Schweikhardt
1998-02-03 20:53:25 +00:00
Chris Timmons
2801a0cd47
PR: bin/5529
...
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
Do not misinterpret file names with a digit in the 2nd column as
a tab stop specification.
1998-02-02 07:10:59 +00:00
Philippe Charnier
be6eb0fb17
Convert to mdoc format. Header -> Id.
1998-02-02 07:09:36 +00:00
Wolfgang Helbig
8927843705
Search for proper executables, ignore directories
1998-02-01 20:01:29 +00:00
Steve Price
e258cf49b3
ulimit does not have its own manpage as it is a shell builtin.
...
PR: 5582
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-02-01 06:19:56 +00:00
Philippe Charnier
76cd8d66fe
Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page to
...
mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
1998-01-28 07:36:25 +00:00
Wolfram Schneider
dfe64147d2
Add two new options:
...
-i Do not overwrite files.
-s Do not strip output pathname to base filename. By default uuencode
deletes any prefix ending with the last slash '/' for security
purpose.
1998-01-25 19:26:05 +00:00
Steve Price
9e7a1d01b0
Use -literal to make for a more pleasing list.
...
PR: 5547
Submitted by: Matthew Hunt <mph@pobox.com>
1998-01-25 16:38:42 +00:00
John Birrell
b0ed821446
Add a sysmk -> /dev/null definition ready for a coming change to
...
makesyscalls.sh.
1998-01-25 09:09:48 +00:00
Steve Price
86fb910326
Random data is no longer based on the time of day, rather the random
...
number device. Also clearly state that sequential data is the default.
PR: 5553
Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca>
1998-01-24 03:32:33 +00:00
Mike Smith
f5d7bf3c0b
Printers under FreeBSD are /dev/lpt*
1998-01-22 02:44:54 +00:00
Jonathan Lemon
462232c223
Fix DOS keyboard handling to use standard pointer addresses instead of
...
an index into a private array.
Submitted by: Randall Hopper <rhh@ct.picker.com>
1998-01-21 21:37:02 +00:00
Bruce Evans
8339e4f43d
Converted to Lite2 mount interface - don't use numeric filesystem
...
types. The NetBSD compatibility cruft was more correct for -current
than FreeBSD's own code. It just used NetBSD #defines instead of
string literals for the filesystem names. NetBSD's MOUNT_UFS is
"ffs", so using a literal "ufs" gives wrong results, but this is
unimportant, especially for bootstrapping.
Fixed style bugs in trymmap().
Fixed some disordered declarations.
1998-01-20 13:52:32 +00:00
Bruce Evans
d63b9ba46a
Converted to Lite2 mount interface - decide filesystem types by name
...
instead of by number.
1998-01-20 12:53:43 +00:00
Bruce Evans
eae79dd1c0
Merged from Lite2. This was mostly already done, mostly indirectly
...
via wollman's changes in rev.1.2 being adopted by Lite2 and the
nfsv3 changes in rev.1.3 being adopted by both FreeBSD and Lite2.
We were only missing lookup of the type number for nfs (MOUNT_NFS
doesn't exist in Lite2).
1998-01-20 12:27:38 +00:00
Bruce Evans
87f01287d2
Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
...
the default.
1998-01-20 10:40:18 +00:00
Bruce Evans
10abc80013
Started getting rid of the compatibility cruft for the Lite1 mount()
...
and the pre-Lite2 vfsconf interfaces.
For lsvfs, use the new interface for getvfsbyname(), and use the
old interface for getvfsent() explicitly instead of depending on
macro hacks in <sys/mount.h>. This is an intermediate step.
1998-01-17 16:24:27 +00:00
Wolfgang Helbig
630d15bbf9
Handle option -j correctly.
...
Synchronize usage message with man page.
PR: bin/5488
1998-01-15 10:23:34 +00:00
John Birrell
02de434c29
Add #ifdefs for __NetBSD__ in the rest of the places where __FreeBSD__
...
is defined so that this program behaves the same when built with
either set of tools. The only difference is where the pre-processor
is found. And that is a bug - it should check the CPP environment
variable and the path before just assuming that the compiled in
path is OK. I guess we should be using -Y ${WORLDPATH}/usr/bin/cpp
during a bootstrap build.
1998-01-15 08:46:58 +00:00
Philippe Charnier
20868061ee
Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
...
add usage().
1998-01-14 07:21:14 +00:00
Philippe Charnier
8659113475
Add rcsid, remove unused #includes, change exit(-1).
1998-01-14 07:14:11 +00:00
Alexander Langer
01b67e0e07
Change MAP_FAILED to type void *.
...
Typo fix.
1998-01-13 02:12:43 +00:00
Philippe Charnier
029cde2cd7
Change message 103, trailing \n is not needed when using errx(3).
1998-01-12 07:53:17 +00:00
Philippe Charnier
20f99d2a62
Use Id instead of Header. Change message 103, trailing \n is not needed
...
when using errx(3).
1998-01-12 07:52:15 +00:00
Philippe Charnier
8e64a8bfed
Use Id instead of Header. Sort #includes. Use err(3) and change exit(-1).
1998-01-12 07:51:07 +00:00
David E. O'Brien
81b199e2f1
changed 1st appeared in clause -- about to import into -stable
1998-01-12 05:02:57 +00:00
Steve Price
fa15c4ed1b
Update for new common calendar.
...
Submitted by: Josef Grosch <jgrosch@superior.mooseriver.com>
1998-01-12 03:31:17 +00:00
Steve Price
de48a0f797
Reword the synopsis line so that it makes sense.
1998-01-12 00:47:52 +00:00
Peter Wemm
ff8962446b
Add an option (-M) to install to disable use of mmap(2). This is kinda
...
handy at the moment with -current's mmap+unlink interactions.. The
problems seem worst when using INSTALL="install -C" in /etc/make.conf.
This could well come in handy in the future too.
1998-01-11 11:43:36 +00:00
John Birrell
94aacc4fb8
A partial frontal lobotomy for find if using the NetBSD libc which
...
doesn't know about getvfsbyname() and the vfsconf structure. This
disables the -fstype option if compiled with a pre-processor that
defines __NetBSD__. With the FreeBSD built pre-processor, find can only
be built with the FreeBSD libc. So when running with a NetBSD kernel,
FreeBSD's libc will have to return ENOSYS for things that NetBSD
doesn't support. That's life in a hybrid world.
1998-01-10 21:36:34 +00:00
Mike Smith
51151497c8
Revert to previous behaviour, only generate NLST for explicit "nlist"
...
command.
Submitted by: wollman
1998-01-09 13:45:11 +00:00
Sean Eric Fagan
e46b99366d
Revert the changes yet again, after some email from Bruce. Sorry.
1998-01-09 09:31:42 +00:00
John Birrell
d7c089b7a9
Add __NetBSD__ in a couple of places to allow this program to
...
compile under NetBSD, but behave like FreeBSD. For the time being,
look for NetBSD's cpp in /usr/bin.
1998-01-09 06:32:54 +00:00
John Birrell
d9b8124d7d
Allow install to build from FreeBSD source using NetBSD tools and
...
headers during the port of FreeBSD to a NetBSD supported architecture.
FreeBSD needs to be able to install itself from very early on.
1998-01-09 06:05:13 +00:00
Sean Eric Fagan
19db2a3c0b
Proper way to do the previous mis-commit. Still not quite right, because
...
some header files (e.g., <err.h>) include <machine/something.h>, and this
will not pick up the right header files, so it may be removed eventually
anyway. But some people who are not willing to build the right way
apparantly want this, so this is for them.
1998-01-09 00:39:10 +00:00
Sean Eric Fagan
41ccb63223
Get rid of the bogus include -- it is incomplete (as it doesn't handle
...
anything other than <sys/*.h>), and unnecessary in most cases. (The
situations where it is necesary can be dealt with by manually-made symlinks,
which is acceptable since they should only occur during testing. Remember:
the tree does not compile well if you do not have matching header files
installed. Half-baked -I directives don't cover enough of the cases.)
1998-01-09 00:22:50 +00:00
David E. O'Brien
0cd829f2f9
Mention S/key and the skey /etc files.
1998-01-07 10:42:57 +00:00
Philippe Charnier
a99e456443
Sync usage and synopsis. Add rcsid.
1998-01-07 07:46:33 +00:00
Philippe Charnier
8e59a4734d
Something important happened last year. And this file was last updated
...
in 82.
PR: misc/5416
1998-01-07 07:40:54 +00:00
John-Mark Gurney
ad6af66e58
include sys so it builds on 2.2.x
...
also, fix misspelling of -1 (as EOF for getopt)
1998-01-07 06:19:50 +00:00
Warner Losh
545b0f4db7
Wait for job to finish and exit if exec fails.
...
Obtained from: OpenBSD (Theo de Raadt)
1998-01-07 00:05:20 +00:00
Wolfgang Helbig
2d3b8b64a8
1. Don't reject 0145 if started at 22XX.
...
Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with
some stylistic changes. Thanks.
2. #include <sys/time.h> -> #include <time.h>
3. Removed #include <sys/param.h>
4. Use setlocale(3) and strftime(3) instead of ctime(3).
5. Clean up -Wall warnings.
6. Make sure, time to leave are integral minutes if the argument
is absolute. (i. e. without "+"). If started at 10:10:55 with
argument "1020" it computed time to leave as 10:20:55 instead of
10:20:00.
PR: 5395
1998-01-06 17:27:09 +00:00
Wolfgang Helbig
f8a0edba2c
1. Don't be confused if the first day of a month is dropped due to
...
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
http://www.pip.dknet.dk/~c-t/calendar.html ,
That is Claus Tondering's Calendar FAQ.
1998-01-06 00:46:11 +00:00
Philippe Charnier
3cf51049e0
Sort Xrefs. Use err(3). Remove uneeded #include.
...
Correct usage: one of {-p pid, command} is required.
Open output file when command line is fully analyzed: incorrect `truss -o f'
command does not create an empty file anymore.
1998-01-05 07:30:26 +00:00
Philippe Charnier
d3173ea71c
Add SEE ALSO section including ref to gzip. Add .An.
1998-01-05 07:14:54 +00:00
Joerg Wunsch
57392071e8
Fix a style bug, and a real bug (&& vs. & misused).
...
Submitted by: bde
1998-01-04 10:08:26 +00:00
Steve Price
5f2833ea5e
Type fix: when -> with
...
PR: 5420
Submitted by: Jonathan Hanna <jh@pc-21490.bc.rogers.wave.ca>
1998-01-03 19:14:02 +00:00
Wolfgang Helbig
cde26ed2a0
Use locale to guess the switch date.
...
Localize formatting of date of easter.
Suggested by: ache
1998-01-03 15:10:11 +00:00
Joerg Wunsch
99bd6601d7
Teach boring old mail(1) about the use of the REPLYTO environment
...
variable which is de-facto standard for MUAs.
Teach bomail to generate an in-reply-to header so threading MUAs and
mail->news gateways won't lose context.
While i was at it, removed two gratuitous standard violations for
functions starting with an underscore.
1998-01-02 16:44:13 +00:00
Wolfgang Helbig
9fe1b8ebb8
Don't ignore empty components of $PATH, i. e. colon at the beginning,
...
the end or two successive colons.
Reviewed and improved by wosch.
1998-01-02 13:46:25 +00:00
Wolfram Schneider
069db8db47
Re-order the for loop for multiple procnames. This decrease the
...
system load and makes a
killall ppp rlogin ftp ssh ping traceroute telnet
a lot faster.
Remove duplicated pid's before killing (killall lynx lynx).
1998-01-01 17:24:43 +00:00
Alexander Langer
914e5c17bc
Typo fix.
1998-01-01 02:34:14 +00:00
Wolfgang Helbig
a4264dce8c
Ensure 2 letter abbreviations of weekdays (even if LANG=C
...
and invoked as "cal").
1997-12-31 15:55:08 +00:00
Peter Wemm
0e604e984a
Fix typo while copying patch from the 2.2 system that it came from
...
Use execvp rather than execv so that full paths are not needed.
1997-12-30 01:20:08 +00:00
Jordan K. Hubbard
1aa8a0a95b
* add a -c option which displays the grand total of all files
...
counted.
* re-word parts of the man page which I felt were badly worded
or ambiguous.
* change the behaviour of argument processing so that when more
than one of the -P, -H and -L options are specified it will
print an error message, rather than choosing the last option
specified, this behaviour is more logical and consistent with
other utilities.
* change the behaviour of argument processing so that negative
arguments to the -d option are not allowed.
PR: 5388
Submitted by: Niall Smart <rotel@indigo.ie>
1997-12-29 20:56:21 +00:00
Peter Wemm
51afb8df2c
script(1) has annoyed me with it's inflexable command argument parsing
...
since I first saw it. I finally needed to pass arguments through to
the spawned command badly enough (and urgently) that I threw this together.
1997-12-29 13:31:46 +00:00
Alexander Langer
d7d1005304
-Wall cleanup.
1997-12-29 00:09:06 +00:00
Alexander Langer
8109e672e4
-Wall cleanup.
1997-12-28 17:50:10 +00:00
Steve Price
37544815b9
Fix some minor formatting nits.
...
PR: 5373
Submitted by: Matthew Hunt <mph@pobox.com>
1997-12-27 18:58:27 +00:00
Tim Vanderhoek
dfb9495b2a
Use consistent spelling,
...
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize
Merry Christmas! :)
1997-12-25 09:36:42 +00:00
Andrey A. Chernov
0832039284
Fix sysctl path /usr/sbin->/sbin
1997-12-22 19:11:28 +00:00
Chris Timmons
50f69900e8
Remove private install rule in favor of INTERNALLIB and
...
INTERNALSTATICLIB.
Suggested by: bde
1997-12-21 08:31:50 +00:00
Sean Eric Fagan
09d64da3a4
Add some copyright and license terms, at Jordan's request. Note that
...
syscall.h just refers to another file for the copyright notice.
1997-12-20 18:40:43 +00:00
Wolfgang Helbig
cb0f03a1a8
Use '.\' and not '/* */' for troff-comments.
1997-12-19 21:41:21 +00:00
Bruce Evans
9b67968db9
Removed extra (non-trailing) arg in a call to warnx().
1997-12-18 15:27:43 +00:00
Bruce Evans
043e1b65d9
<bsd.prog.mk> has always included ../Makefile.inc, and there are no
...
complications involving .PATH or dependencies, so don't include it here.
1997-12-17 19:49:09 +00:00
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
Martin Cracauer
3e27c094e4
fetch(3) doesn't get asctime(3) format, wrong length assumed
...
PR: bin/4625
Submitted by: "Timo J. Rinne" <tri@pooh.tky.hut.fi>
Obtained from:bin/4625
1997-09-28 11:25:59 +00:00
Mark Murray
9cac174188
Changes for KTH KerberosIV.
1997-09-28 09:14:41 +00:00
Mark Murray
301afdb85c
Changes for KTH KerberosIV.
...
Quieten -Wall a bit.
From Joe Traister:
The previous patch did not propogate the KRBTKFILE environment variable
into the new environment when -l is given to su, making it impossible
for kdestroy to find the ticket file. This patch corrects that problem
as well as the original segfault problem.
(Fixes PR 3903)
1997-09-28 09:02:16 +00:00
Mark Murray
7f80a02080
Changes for KTH KerberosIV.
...
Also quieten -Wall a bit.
1997-09-28 08:57:24 +00:00
Mark Murray
f714a88adc
Quieten -Wall.
1997-09-28 08:46:12 +00:00
Peter Wemm
e5aff02f68
YAMF22: (rev 1.3.2.2) Display realtime and idle priorities appropriately.
1997-09-28 00:59:04 +00:00
Wolfram Schneider
c17bb1fa34
Translated too much of it.
...
Submitted by: Andrzej Bialecki <abial@korin.warman.org.pl>
1997-09-27 10:31:27 +00:00
Garrett Wollman
630fa006b9
Having done ICMP, UDP, and IP, could a TCP display be far behind?
1997-09-27 00:44:55 +00:00
Poul-Henning Kamp
68d8bb3893
Add canonical 32bit crc as alorithm 3.
...
PR: 4615
Reviewed by: phk
Submitted by: Mike Meyer <mwm@shiva.the-park.com>
1997-09-26 08:02:18 +00:00
Peter Wemm
39253d4c87
Show size of vnode pool in vmstat mode.
1997-09-25 01:14:25 +00:00
Garrett Wollman
2938fb783c
Emboldened by the success of yesterday's ICMP statistics display,
...
I've now added one that does IP (and also UDP) statistics.
1997-09-25 00:37:32 +00:00
Julian Elischer
16f76e6f06
Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
...
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)
1997-09-24 20:38:12 +00:00
Julian Elischer
9f1630189e
put in the link for the dummy collation module for Shift-JIS
1997-09-24 20:06:53 +00:00
Garrett Wollman
03e00a72c6
Add a mode to display ICMP statistics.
...
Inspired by: IRIX netstat -C
1997-09-24 02:43:45 +00:00
Wolfram Schneider
81aa4713b1
Float overflow in statistic function for large databases
...
(>100MB characters).
1997-09-23 12:47:47 +00:00
Wolfram Schneider
eb00d48411
Polish message catalogs for vi.
...
Submitted by: abial@warman.org.pl
PR: 4522
1997-09-22 23:14:37 +00:00
Wolfram Schneider
f83e64814e
Polish message catalogs for ee.
...
Still buggy. Help messages and command names are not in sync,
eg. 'quit' <-> 'KONIEC'.
Submitted by: abial@warman.org.pl
PR: 4522
1997-09-22 20:20:28 +00:00
Wolfram Schneider
f2b7396852
Add ypwhich(1) and yppoll(8) manual pages.
...
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
Dima Ruban
d8ccfba46b
Fix argument string for getopt.
...
Submitted by: dillon@best.net
1997-09-18 23:16:17 +00:00
Joerg Wunsch
16c9de07f6
Use -ansi -pedantic -trigraphs, as suggested by Bruce.
...
Enforce that only Posix-spec'ed options are being used, so people could
use this as a Posixificator of some kind.
Document the Posix usage in the man page, so to make it clear what's
the difference between Posix c89, and gcc.
1997-09-18 20:55:50 +00:00
Poul-Henning Kamp
d030d2d2ae
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
Joerg Wunsch
7b10af512a
Activate c89(1).
1997-09-17 20:46:58 +00:00
Joerg Wunsch
bb17ac54b9
c89 is the Posix.2 name for a C compiler that accepts ANSI/ISO C source
...
code. Basically a shortcut to cc -ansi -trigraphs.
1997-09-17 20:44:54 +00:00
Jordan K. Hubbard
d03802742b
revert: The warning was supposed to irritate someone into fixing this.
1997-09-15 11:02:10 +00:00
Jordan K. Hubbard
65de42dc08
Proper casting for clnt_broadcast() args.
1997-09-15 09:47:16 +00:00
Jordan K. Hubbard
9e55697463
Silence a warning with a cast.
1997-09-15 09:46:42 +00:00
Jordan K. Hubbard
0a214d26c9
unsigned char -> caddr_t for mmap's return value.
1997-09-15 08:31:20 +00:00
Poul-Henning Kamp
97bc6e857c
Fix a comment.
...
Submitted by: Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-15 08:20:27 +00:00
Andrey A. Chernov
580117026e
Change manual declarations of some functions to proper includes
...
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
Andrey A. Chernov
fe38e2f8f4
Allow backspace too
1997-09-15 00:42:04 +00:00
Andrey A. Chernov
07484d1f24
Oops, fix upper controls test
1997-09-15 00:17:38 +00:00
Andrey A. Chernov
77caf2118f
Localize it. High controls disabled in any case.
...
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
Wolfram Schneider
634a86ba38
Install gencat.1 manpage.
...
Obtained from: OpenBSD.
1997-09-14 20:23:02 +00:00
Poul-Henning Kamp
a3dd501081
In these days, waiting one full second for more to appear is far too long.
...
Let's try 250ms.
1997-09-14 19:02:13 +00:00
Peter Wemm
387dcb61ff
When calling strip, temporarily close the file, call strip and then
...
reopen it after strip has finished. This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
1997-09-14 08:21:44 +00:00
Wolfram Schneider
fab8812d17
PR: docs/4383
...
su manpage ambiguous regarding command prompt
Submitted by: sheldonh@iafrica.com
1997-09-13 17:44:20 +00:00
Wolfram Schneider
f6b31571f6
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
Wolfram Schneider
dab372ae6e
Add manpage links ypchpass.1, ypchfn.1, ypchsh.1
1997-09-13 12:21:25 +00:00
Andrey A. Chernov
7860b557b8
Document newly added -d option and fix usage string
1997-09-12 02:26:12 +00:00
Andrey A. Chernov
1bb32253c5
The "-d" option dumps out the entire process list on a per controlling
...
tty basis, instead of just the top level process.
Submitted by: terry
1997-09-12 02:22:21 +00:00
Joerg Wunsch
2ca7dc1598
Teach comm(1) and uniq(1) about an option for case-insensitive work.
...
PR: 3042
Submitted by: graphix@iastate.edu (Kent Vander Velden)
1997-09-07 15:09:22 +00:00
Nate Williams
b82359df88
"lmd" -> "-lmd"
...
Submitted by: Vincent Poy <vince@venus.gaianet.net>
1997-09-05 18:15:29 +00:00
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