Ruslan Ermilov
1f389209a6
Removed -h option.
2001-06-14 14:21:11 +00:00
Ruslan Ermilov
00c5403e09
Really delete the -h option.
...
CSRG revision 5.33 deleted -h option from getopt(), but not
from usage(). Revision 8.3 restored it in getopt().
2001-06-14 14:15:41 +00:00
Dima Dorfman
92b401e824
Silence warnings and minor style fixes. Mostly constify and don't
...
assume that time_t is a long. Clamp down with WARNS=2.
Not objected to by: -audit
2001-06-14 04:55:26 +00:00
Peter Wemm
9488e5f340
Part 2 of gensetdefs de-orbit burn. linker sets are now self contained
...
for ELF, see src/sys/linker_set.h log.
2001-06-14 01:35:23 +00:00
Mike Heffner
59c3f4f7ee
Respect REPLYTO in mailrc.
...
PR: bin/8322
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
MFC after: 2 weeks
2001-06-14 01:08:30 +00:00
Jens Schweikhardt
67d9fd5ac4
Avoid the avm field joining the w field when avm is > 9.999.999 pages
...
which is slightly less than 4GB. To use a quote from someone who shall
remain nameless "No one will ever need more than 4 GB" :-) But FreeBSD
is prepared if we one day will.
Requested by: Eugene Aleynikov <eugenea@infospace.com>
2001-06-13 18:43:28 +00:00
Peter Pentchev
4bb69e3542
Add '-I mask' cmdline flag to ignore/skip files and subdirectories
...
matching a specified shell-glob mask.
Reviewed by: no serious objections on -arch and -audit over
the last few months
MFC after: 1 month
2001-06-13 06:38:58 +00:00
Jens Schweikhardt
b1494cf05a
Increase field width by one for 'fre' to accomodate today's memory sizes.
...
PR: 25267
Submitted by: Eugene Aleynikov <eugene@infospace.com>
Reviewed by: joerg
MFC after: 2 weeks
2001-06-12 19:47:40 +00:00
David E. O'Brien
0d1b691ed7
Allow -u to work with UID's also.
...
Submitted by: Seth Kingsley <seth.kingsley@windriver.com>
2001-06-12 15:58:31 +00:00
Ruslan Ermilov
d57e0246d1
Fixed printing of netatalk statistics WRT the -s flag.
...
PR: bin/6994
Submitted by: Zahemszky Gabor <zgabor@zg.CoDe.hu>
MFC after: 1 week
2001-06-12 14:00:39 +00:00
Dima Dorfman
d4906adb59
ANSI C prohibits text after #endif.
...
Reviewed by: md5(1)
2001-06-12 03:44:35 +00:00
Hajimu UMEMOTO
74cf6cfebf
Mention about -rl behavior change. Now, MTU is printed.
2001-06-11 17:34:25 +00:00
Hajimu UMEMOTO
7165726d0d
Add missing column for Mtu in header when -rl is specified.
2001-06-11 17:32:53 +00:00
Hajimu UMEMOTO
3384154590
Sync with recent KAME.
...
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.
TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.
Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks
2001-06-11 12:39:29 +00:00
Andrey A. Chernov
ee84c5b19d
ISO_ -> ISO
2001-06-11 04:24:43 +00:00
Andrey A. Chernov
21ff62e236
ISO_ -> ISO
2001-06-11 03:45:33 +00:00
Andrey A. Chernov
5cbf767700
ISO_ -> ISO
2001-06-11 03:08:46 +00:00
Andrey A. Chernov
b04359b9b7
ISO_ -> ISO
2001-06-11 02:59:46 +00:00
Andrey A. Chernov
1c593a0d69
Handle ASCII and US-ASCII aliases
2001-06-10 23:26:47 +00:00
Andrey A. Chernov
064484f9b3
Install additional en_US links
2001-06-10 22:40:39 +00:00
Andrey A. Chernov
c052429fde
Remove "SU" - not valid country code
...
Fix locale comparison with "C", add "POSIX"
2001-06-10 21:06:01 +00:00
Andrey A. Chernov
0503c005e0
Add more *.US-ASCII entries
2001-06-10 20:53:18 +00:00
Andrey A. Chernov
4d44677783
Add Latin15 entries
2001-06-10 20:42:46 +00:00
Andrey A. Chernov
3f5975dca5
Add new and Latin15 names
2001-06-10 18:03:53 +00:00
Andrey A. Chernov
092b7f296c
Understand new locale names and Latin15
2001-06-10 17:26:35 +00:00
Ruslan Ermilov
54f6369da3
Always print at least 2 bytes for IN_CLASSB_NET networks.
...
Always print at least 3 bytes for IN_CLASSC_NET networks.
The standard 193.0.0 class C network for example, will now
be displayed as "193.0.0" as opposed to the confusing 193.
PR: bin/21546
MFC after: 1 week
2001-06-08 15:44:17 +00:00
Poul-Henning Kamp
d2bd52c4e1
The date for Australia day in
...
src/usr.bin/caldendar/calenders/calendar.holiday
is incorrect.
From looking through webcvs it seems like the error is in Open/NetBSD also.
PR: 27960
Submitted by: Harley Anderson <Warragul@selcon.com.au>
2001-06-08 11:53:58 +00:00
Maxim Sobolev
8657581bfd
Correct cross-reference:
...
portmap.8 --> rpcbind.8
Submitted by: .Xr testing script
2001-06-07 16:59:19 +00:00
Jonathan Lemon
889b293a21
Null terminate buffer.
...
PR: 23150
Submitted by: Dan Nelson <dnelson@emsphone.com>
MFC in: 1 week
2001-06-07 05:26:26 +00:00
Dima Dorfman
41ff7633ea
Silence the remaining warnings and clamp down with WARNS=2.
...
Not objected to by: -audit
2001-06-07 02:57:58 +00:00
Jonathan Lemon
a8fb4e2810
o If the file being tailed is moved back to the original location,
...
resume using kqueue to monitor it, if possible.
o auto-clear the read filter on EOF; this is needed when tailing a FIFO.
2001-06-06 17:47:13 +00:00
Ruslan Ermilov
1438aefc25
fmt(1) rewrite by Gareth McCaughan.
...
PR: bin/5901, bin/12242, bin/19071
Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
Obtained from: OpenBSD + ctype(3), WARNS=2, and manpage cleanup
MFC after: 2 weeks
2001-06-06 10:17:05 +00:00
Poul-Henning Kamp
c689eed5f3
There is no reason for logname to call getopt(3), it doesn't take
...
any options.
PR: 26689
Submitted by: Félix-Antoine Paradis <reel@sympatico.ca>
2001-06-05 21:04:42 +00:00
Maxim Sobolev
54bb9f535c
- Optimise current cursor position displaying routines, to avoid unnecessary
...
cursor movements;
- minor cleanups in cursor position displaying routines;
- properly resent "file modified" flag when editing several files.
MFC after: 1 week
2001-06-03 12:42:19 +00:00
Mike Heffner
db72da7b83
Use S_IXUSR instead of hardcoded values.
...
Reviewed by: md5
2001-06-02 03:10:07 +00:00
Ruslan Ermilov
f66c1ecf8f
Don't treat the pipe symbol in capabilities as an alternate
...
record name indicator; this causes a spurious warning:
$ cat x
record:\
:capability=|value:
$ cap_mkdb x
cap_mkdb: ignored duplicate: record
Spotted by: dcs
2001-06-01 14:45:00 +00:00
Hajimu UMEMOTO
2c5958aa51
Do retry next entry in addrinfo during connect.
...
MFC after: 1 week
2001-06-01 13:43:20 +00:00
Thomas Moestl
d62de5c4bb
Replace a use of the hw.nintr sysctl as it has just gone away, cast
...
size_t variables when passing them to a printf-like function, and some
minor cleanups.
2001-06-01 13:29:19 +00:00
Dag-Erling Smørgrav
1a4a063934
Don't try to print a completion percentage for zero-size files.
...
PR: 27780
Submitted by: Craig Leres <leres@ee.lbl.gov>
2001-06-01 10:24:58 +00:00
Dima Dorfman
6b0b1ebfc5
Correct a typo.
...
PR: 22885
Submitted by: Rene de Vries <rene@tunix.nl>
2001-06-01 02:53:32 +00:00
Dima Dorfman
6ab55b23e2
Correct some typos.
...
PR: 27251
Submitted by: Pekka Savola <pekkas@netcore.fi>
2001-06-01 02:28:15 +00:00
Dima Dorfman
0444aaa030
Don't install setgid kmem.
2001-06-01 01:14:28 +00:00
Thomas Moestl
e0038fe587
Cast size_t variables before printing them to cope with the case of
...
sizeof(size_t) != sizeof(int).
2001-05-31 22:36:51 +00:00
Dima Dorfman
b15abefff0
Convert to use the sysctl interface to obtain the data when operating
...
on a running system. Using kvm is still supported, primarily for
postmortem analysis.
Reviewed by: tmm
2001-05-31 22:30:39 +00:00
Ruslan Ermilov
18fbb861ab
Display -tcp w/o load average so that all statistics fits on a 80x25 screen.
2001-05-31 07:14:52 +00:00
Ruslan Ermilov
7bbf75ec4f
Show TCP checksum failures with -tcp display.
...
PR: bin/27786
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
2001-05-31 07:08:49 +00:00
Ruslan Ermilov
b4ad2d5f3f
Note that the default behavior has changed to copy files.
...
Also, fix markup in the SYNOPSIS.
Submitted by: dougb
2001-05-30 09:45:47 +00:00
Ruslan Ermilov
fcbb2c69df
Backout rev. 1.42 (relaxing the check for -d plus other flags).
...
Instead, issue a warning for now if -d and -C options are used
together. This will be turned into an error before 4.5-RELEASE.
Reviewed by: imp
2001-05-30 07:08:49 +00:00
Dima Dorfman
c1a7db888d
Mention how env(1) can be used with the "#!" construct.
...
PR: 27690
Submitted by: Mike Meyer <mwm@mired.org>
2001-05-30 03:15:39 +00:00
Dima Dorfman
dd512c47f1
Don't claim to ignore interrupts.
...
PR: 27747
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
2001-05-30 02:39:53 +00:00
Dima Dorfman
9b1fd3272e
Remove home-grown prototypes of time() and localtime().
...
Reviewed by: md5(1)
2001-05-30 02:38:10 +00:00
Dima Dorfman
f878e83f9d
Replace the cast I removed in rev. 1.16 with a slightly less evil one
...
(well, at least one that gcc doesn't complain about). This fixes -r,
which rev. 1.16 broke.
Submitted by: bde
2001-05-29 23:35:18 +00:00
Poul-Henning Kamp
753d49786e
Remove MFS
2001-05-29 20:39:47 +00:00
Warner Losh
4c48c580ec
Use use ${INSTALL} -d in our build process. If INSTALL is set to
...
"install -C" then things will fail due to new checks. Relax the
checks so that install -C -d works again.
2001-05-29 18:41:16 +00:00
Gregory Neil Shapiro
1d3ebaf302
Make sure the len() builtin always returns an answer. Previously,
...
len(`') didn't return an answer. Now it returns 0.
PR: bin/12942
MFC after: 5 days
2001-05-29 03:32:38 +00:00
Poul-Henning Kamp
861c52f1c4
Direct queries for IP numbers to ARIN. It would be nice if we could
...
send them to APNIC/RIPE intelligently, but we can't at this time so
fallback to ARIN and depend on them telling the user where to look.
Maybe we need a .whoisrc file...
PR: 24707
Submitted by: Mike Barcroft mike@q9media.com
MFC after: 1 week
2001-05-28 21:37:29 +00:00
Poul-Henning Kamp
c59c7f97ad
Call kvm_close() before exit for consistency.
...
PR: 24654
Submitted by: Daniel Hemmerich zartik@yahoo.com
2001-05-28 21:30:31 +00:00
Ruslan Ermilov
f120c88cca
Many new features and optimization improvements:
...
o New flags: -b and -B (backup)
o New flag: -S (safe copy; aka "atomic" install)
o The -c flag is now the default.
o The -D flag was withdrawn.
Reviewed by: bde (up to some point)
Obtained from: OpenBSD but heavily modified
MFC after: 1 month
2001-05-28 16:41:53 +00:00
Ruslan Ermilov
8e46d9c279
Follow symbolic links named as command line arguments if run without -R.
...
This is required by symlink(7), ``Commands not traversing a file tree''
subsection, third paragraph:
: It is important to realize that this rule includes commands which may
: optionally traverse file trees, e.g. the command ``chown file'' is
: included in this rule, while the command ``chown -R file'' is not.
For chown(8) and chgrp(1), this is also is compliance with the latest
POSIX 1003.1-200x draft.
MFC after: 1 week
2001-05-28 12:58:10 +00:00
Ruslan Ermilov
f82078861c
The last(1) choked if there were two successive "login" marks
...
found in wtmp(5) for the same TTY without in-between "logout"
mark.
This may be demonstrated by executing login(1), logging in and
out, and watching the last(1) output on this TTY:
: # last -tv7 -w
: ru ttyv7 Mon May 28 12:46 - 12:46 (00:00:01)
: ru ttyv7 Mon May 28 12:45 still logged in
The fix merely takes the second "login" mark as the "logout" for
the first "login" mark, if there were no "logout" mark in-between.
This restores the behavior of last.c,v 1.2:
: # last -tv7 -w
: ru ttyv7 Mon May 28 12:46 - 12:46 (00:00:01)
: ru ttyv7 Mon May 28 12:45 - 12:46 (00:00:25)
Silence from: -arch, dg
2001-05-28 09:57:19 +00:00
Dima Dorfman
da3082d4a9
Silence warnings (most about constness) and clamp down with WARNS=2.
...
Tested on i386 and alpha.
2001-05-28 06:14:48 +00:00
Mike Heffner
f332550d02
Fix overflowing on nul character.
...
PR: bin/16926
MFC after: 1 week
2001-05-28 03:49:23 +00:00
Dima Dorfman
8a24285612
Implement snapshots. The new -d option allows the user to find out
...
who was logged in at a certain time and date.
Obtained from: OpenBSD
2001-05-28 01:22:37 +00:00
Dima Dorfman
edd7b2674d
Silence warnings and compile with WARNS=2 on i386 and alpha.
2001-05-28 00:55:50 +00:00
Dima Dorfman
15ba0427d3
Miscellaneous cleanups; sync to OpenBSD as much as feasible.
...
Noteworthy changes include:
* Use getopt(3).
* Fix overflows in -b and -w options.
* Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and
sprintf(3), respectively. Also check return values of the former
two.
* Fix lots of other gratuitous differences with OpenBSD.
Obtained from: OpenBSD
2001-05-27 21:08:19 +00:00
Mike Heffner
9ce73e9018
Cleanup mail(1)'s varying styles by converting to using style(9).
...
Also take a stab at cleaning up BDECFLAGS and convert all uses of
NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to
get diffs somewhat closer to OpenBSD/NetBSD.
There are no functional changes however.
Reviewed by: nra (visual inspection)
2001-05-27 20:26:22 +00:00
Dag-Erling Smørgrav
5ef824ed2b
Damn. Fix typo in previous commit.
2001-05-27 10:46:19 +00:00
Kris Kennaway
83b65cc9cb
Fix a trivial warning and clamp down with WARNS=2
...
MFC after: 1 week
2001-05-26 22:47:58 +00:00
Kris Kennaway
50d6b258b2
Fix a trivial warning and clamp down with WARNS=2
...
MFC after: 1 week
2001-05-26 22:45:14 +00:00
Kris Kennaway
16dd925f16
Fix some trivial warnings and clamp down with WARNS=2
...
MFC after: 1 week
2001-05-26 22:39:33 +00:00
Kris Kennaway
5f0e809ac0
Fix WARNS=2 warnings on alpha and i386 and clamp it down
2001-05-26 21:49:29 +00:00
Dag-Erling Smørgrav
0d60c7099d
When running on a tty, install an authentication callback.
2001-05-26 19:51:05 +00:00
Mark Murray
5b3771f13c
Deconvolute the authentication mess, and hand total responsiblity
...
for authentication to PAM. This meens that WHEELSU-type logic can
now be effected in the pam.conf "su" configuration stack. While here,
clean up the mess that the code had assumed over years of hacking by
folks using different styles. ANSIfy.
There is more policy in here that can be handed over to PAM. This will
be revisited.
2001-05-26 09:52:36 +00:00
Thomas Moestl
af943f55f7
Fix the error buffer passed to kvm_openfiles to have a correct length
...
of _POSIX2_LINE_MAX.
MFC after: 1 week
2001-05-26 00:02:13 +00:00
Thomas Moestl
9c9f2eefc8
Fix the error buffer passed to kvm_openfiles to have a correct length
...
of _POSIX2_LINE_MAX.
MFC after: 3 days
2001-05-25 23:36:09 +00:00
Kris Kennaway
096c40e3f3
Mark error() as __printflike() and fix a non-exploitable format string
...
error.
MFC after: 1 week
2001-05-25 23:15:05 +00:00
Thomas Moestl
5a3c3d039a
Fix the error buffer passed to kvm_openfiles to have a length of
...
_POSIX2_LINE_MAX as required.
While being there, wrap an overly long line.
MFC after: 3 days
2001-05-25 23:10:27 +00:00
Ruslan Ermilov
1166fb516b
- sys/msdosfs moved to sys/fs/msdosfs
...
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Ruslan Ermilov
95a09b0557
Make it clear that -P is the default.
...
PR: docs/27629
2001-05-25 07:32:58 +00:00
Poul-Henning Kamp
62f9fae610
If the user exists abruptly, tip's "tipout" child can hang around
...
forever. Since the lock file doesn't get cleaned up, this prevents
other users from accessing the target device.
(phk adds: Man, this has been bugging me for YEARS!)
PR: 12528
Submitted by: Craig Leres leres@ee.lbl.gov
MFC after: 1 week
2001-05-24 09:27:02 +00:00
Ruslan Ermilov
5e4440632e
Backout rev. 1.22 as the change that caused problems was also backed out.
2001-05-24 08:47:57 +00:00
Poul-Henning Kamp
11529d1a19
define _KERNEL before including <sys/conf.h>
2001-05-23 23:03:00 +00:00
Poul-Henning Kamp
719bfad4aa
We don't need to include <sys/conf.h>
2001-05-23 23:01:37 +00:00
Matthew Dillon
a4cc82665c
A feature to allow one to telnet to a unix domain socket.
...
Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2001-05-23 22:47:16 +00:00
David E. O'Brien
f23466b9fd
Note that sys.mk is read before any other file (even Makefile)
2001-05-23 18:21:36 +00:00
Jim Pirzyk
4450124805
Changed 'blocks' to 'usage' because we may not be getting quotas from
...
a ufs filesystem and it may be reporting in K instead of 512b blocks.
This is true when using a vxfs filesystem (on a solaris box) for instance.
PR: bin/14545
Submitted by: Jim Pirzyk
Reviewed by: jkh
MFC after: 1 week
2001-05-23 17:12:09 +00:00
Thomas Gellekum
539fbbccc4
Update BIOS time.
...
Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
2001-05-22 11:33:38 +00:00
Thomas Gellekum
55426b7d9e
Beautify debugging output.
2001-05-22 11:33:17 +00:00
Thomas Gellekum
d0cd0e62b4
Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID.
2001-05-22 11:32:38 +00:00
Thomas Gellekum
72a9cf5eb8
Silence some debugging output when installing Borland's Turbo C.
2001-05-22 11:32:15 +00:00
Thomas Gellekum
02cefb1b5c
Fix boot order (really try A:, then C:, unless the `boot' option is
...
specified in .doscmdrc).
2001-05-22 11:31:39 +00:00
Thomas Gellekum
8784582c8a
Implement file truncation (DOS function 0x21, sub 0x40).
...
PR: 20925
Submitted by: Tatsuya Kudoh <cdr@cosmonet.org>
2001-05-22 11:31:08 +00:00
Thomas Gellekum
989884fab9
Correct typo to get DOS function 0x51 (get PSP) to work.
...
PR: 15547
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:30:22 +00:00
Thomas Gellekum
3bcc9f9ef8
DOS function 0x0a (buffered keyboard input) returned immediately.
...
PR: 15531
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:29:31 +00:00
Thomas Gellekum
ee17481fbe
Fix DOS function 4c (exit with return code).
...
PR: 15528
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:28:28 +00:00
Ruslan Ermilov
03773b9a81
mdoc(7) police: fix markup.
...
Submitted by: roam, ru
2001-05-22 07:05:39 +00:00
Eric Melville
a37b5e8e4c
Remove an accidentaly added extra blank line.
...
Approved by: murray
2001-05-22 06:20:27 +00:00
Guido van Rooij
5345e89b9d
Disable SIGHUP while getting the login name.
...
Reviewed by: security-officer
2001-05-21 20:19:59 +00:00
Ruslan Ermilov
a6882bcc15
Work around the side effect of src/include/Makefile,v 1.137 changes.
...
(The proper fix is to add missing #include directives.)
2001-05-21 17:06:26 +00:00
Dima Dorfman
387acdd9ff
Print commas in the group list in user(). current() already did this.
...
Reviewed by: ru, sheldonh
Inspired by: OpenBSD, NetBSD
2001-05-20 20:32:13 +00:00
Kris Kennaway
bfa27aef55
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 06:21:12 +00:00
Kris Kennaway
8d5c7b843f
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 06:18:37 +00:00
Kris Kennaway
81d50432af
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 06:16:53 +00:00
Kris Kennaway
1a93d71ebc
This passes WARNS=2 on alpha and i386
2001-05-20 06:15:09 +00:00
Maxim Sobolev
d02ca551d3
Move scrshot(1) functionality into vidcontrol(1).
...
Suggested by: many
Not objected to by: nik (scrshot co-author)
2001-05-19 06:47:36 +00:00
Gregory Neil Shapiro
4ba4d3873a
String operations could silently truncate long strings, leaving the output
...
corrupted. Mark's patch fixes this be removing the MAXTOK limitation on
substring operations and allowing the putback buffer size to be the limiting
factor. If the putback buffer size if reached, m4 gives an error instead of
silently truncating the string.
PR: bin/26619
Submitted by: Mark Peek <mark-ml@whistle.com>
MFC after: 5 days
2001-05-18 18:35:34 +00:00
Nik Clayton
34da77aac7
I appear to be badly out of practice. Remember to flush the output stream
...
when mixing printf and write.
2001-05-18 14:07:51 +00:00
Ruslan Ermilov
3ab9a9d0e0
Removed -I${.CURDIR}/.../sys from CFLAGS.
2001-05-18 13:41:42 +00:00
Ruslan Ermilov
2862006272
Remove GCC-ism (-Wall).
2001-05-18 10:40:34 +00:00
Ruslan Ermilov
8275cc7fb1
mdoc(7) police: Fix markup and spelling.
2001-05-18 10:39:41 +00:00
Ruslan Ermilov
94ccf5741c
Don't leak memory when compiling text following the a',
c' or `i' command.
...
Testcase:
echo FOO | sed "/FOO/c\\
`jot -b 'aaaa\' 500`"
Submitted by: Max Khon <fjoe@newst.net>
2001-05-18 09:48:17 +00:00
Nik Clayton
952e162265
Add scrshot to the i386 specific section. If someone can test this on the
...
Alpha I'd appreciate it.
2001-05-18 09:06:00 +00:00
Maxim Sobolev
6649ab78e1
By default build make(1) as a static binary. It costs only 100k of additional
...
disk space, buf provides measureable speed increase for make-intensive
operations, such as pkg_version(1), `make world' and so on.
MFC after: 1 week
2001-05-18 09:05:56 +00:00
Nik Clayton
882e875ed2
New scrshot utility, using the CONS_SCRSHOT ioctl. Usage is
...
scrshot /dev/ttyv0 > shot.scr
See the shot2{txt,png} utilities (soon to be) in the ports collection.
Reviewed by: -arch
2001-05-18 09:00:51 +00:00
David E. O'Brien
5de20e57b2
Missed a few things.
2001-05-18 05:46:40 +00:00
David E. O'Brien
91a72a92d6
In a word -- style(9).
2001-05-18 05:33:42 +00:00
David E. O'Brien
078ae588ab
Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,
...
which makes lgoin more like getty in its ability to be configured.
Submitted by: tlambert (code only)
2001-05-18 04:55:16 +00:00
David E. O'Brien
2f8b721157
Fix the rcsid's.
2001-05-17 09:38:49 +00:00
Eric Melville
40c65ba9c7
Check for the expiration of an account and its password in the proper
...
order.
Reviewed by: -audit (silence)
Approved by: murray
Obtained from: OpenBSD
MFC after: 5 days
2001-05-17 03:10:04 +00:00
Ruslan Ermilov
bfd1220842
mdoc(7) police: fix markup.
2001-05-16 13:53:19 +00:00
Poul-Henning Kamp
49a4598b61
Fix an array which was too small.
...
PR: 27380
Submitted by: Samuel Greear <sgreear@vsni.com>
2001-05-16 11:13:16 +00:00
Ruslan Ermilov
7fa247d086
mdoc(7) police: fix markup (demonstrates new -xwidth modifier).
2001-05-16 10:18:20 +00:00
Dima Dorfman
8d904f1537
Add a -J replstr option that allows the user to tell xargs to insert
...
the data read from standard input at a specific point in the command
line arguments rather than at the end.
Submitted by: dd, gad
Reviewed by: gad, brian
2001-05-15 00:31:19 +00:00
Eric Melville
e0ce2384ac
Add some gravitational values.
...
Approved by: murray
2001-05-12 21:21:38 +00:00
Dima Dorfman
43d665c0d1
Document the -h option.
2001-05-11 23:53:46 +00:00
Mike Heffner
afa3a100e9
Allow mail(1) to be able to read Eudora mailboxes by transforming
...
lines that end in <CR><LF> to just <LF>.
Reviewed by: imp
Obtained from: OpenBSD
2001-05-11 03:07:11 +00:00
Sheldon Hearn
0a39318247
Handle sbsize as a size, not a number.
...
Submitted by: Paul Herman <pherman@frenchfries.net>
2001-05-10 17:15:06 +00:00
David E. O'Brien
af32b80c65
Tell the user what group they must be in to su to root.
...
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
2001-05-10 07:37:25 +00:00
Ruslan Ermilov
f12d6e12ec
mdoc(7) police: fix markup.
2001-05-10 07:29:35 +00:00
Jens Schweikhardt
9478bbeae3
Here comes the forgotten C source, oopsy.
...
Turned the shell script into a binary fixing several minor buglets.
Mention _POSIX_SOURCE feature test macro in man page.
PR: bin/19337
Submitted by: schweikh
Reviewed by: joerg, bde
MFC after: 2 weeks
2001-05-08 20:27:14 +00:00
Jens Schweikhardt
3f16089799
Turned the shell script into a binary fixing several minor buglets.
...
Mention _POSIX_SOURCE feature test macro in man page.
PR: bin/19337
Submitted by: myself way back when I was a nobody :-) (schweikh)
Reviewed by: joerg, bde
MFC after: 2 weeks
2001-05-08 19:47:01 +00:00
Kris Kennaway
a47f98edb4
When opening the file to broadcast, do it with the user's gid, not the
...
egid (tty).
Obtained from: OpenBSD
Submitted by: Maxime Henrion <mux@qualys.com>
Reviewed by: imp
2001-05-08 11:11:42 +00:00
Ruslan Ermilov
b940897514
Restore printing of routes cloned from a RTF_CLONING parent
...
(e.g., ARP table entries) with the default routing display.
PR: bin/26970
Reviewed by: wollman
MFC after: 3 days
2001-05-07 12:29:36 +00:00
Brian Somers
1e207e46d7
Fix markup
...
Spotted by: Jens Schweikhardt <schweikh@schweikhardt.net>
2001-05-05 09:02:24 +00:00
Brian Somers
f21559815d
Add nl(1)
...
PR: 27078
Obtained from: NetBSD
2001-05-04 17:25:23 +00:00
Poul-Henning Kamp
ea92232a82
They add the following commands:
...
-anewer
-cnewer
-mnewer
-okdir
-newer[acm][acmt]
With it, you can form queries like
find . -newerct '1 minute ago' -print
As an extra bonus, the program is ANSI-fied - the original version
relies on some obscure features of K&R C.
(This PR was submitted in 1999, and the submittor has kept the patch
updated ever since, hats off for him guys, and how about you close a PR ??)
PR: 9374
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
2001-05-03 18:05:35 +00:00
David E. O'Brien
88c80dc7ef
Fix minor style issue from previous commit.
2001-05-03 00:35:53 +00:00
David E. O'Brien
31255c78c7
Fix $FreeBSD$ style.
2001-05-02 23:57:49 +00:00
David E. O'Brien
5e6220d9d0
* include/elf.h has been repo copied to include/elf-hints.h, and it no
...
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.
This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-02 23:56:21 +00:00
Dima Dorfman
a9bc34c882
Alphabetize command-line options in the synopsis.
2001-05-02 06:41:46 +00:00
Mark Murray
31a651fa98
Clean out some cruft that has been put in a better (central) place.
2001-05-01 10:30:08 +00:00
Mark Murray
6e547eabb8
Compensate for header dethreading.
2001-05-01 08:46:02 +00:00
Dima Dorfman
f238e04f6f
mdoc(7) police: remove hard sentence breaks.
2001-04-30 23:20:43 +00:00
Peter Wemm
c8c08ef0e5
Disable llib. The previous commit does not go anywhere near far enough
...
to enable this.
1: it was running xlint out of the object directory, which is not
safe (ie: run a 5.x binary on a 4.x world - no libc.so.5, or run an
alpha binary on x86).
2: lint has /usr/libexec/lint1 and /usr/libexec/lint2 hard coded in.
This is the same as problem 1.
3: lint has got /usr/bin/cc hard coded in as well. Also, see problem 1.
There are probably more problems, but these are enough of a showstopper.
2001-04-29 03:19:58 +00:00
Greg Lehey
60fb0ce365
Revert consequences of changes to mount.h, part 2.
...
Requested by: bde
2001-04-29 02:45:39 +00:00
Mark Murray
42792ad958
Dike out Kerberos(IV) support on the grounds that better kerberos
...
support can be gotten via PAM.
2001-04-28 13:44:14 +00:00
Mark Murray
1351464cc7
Dike out the Kerberos(IV) support on the grounds that better kerberos
...
support can be already obtained via PAM.
2001-04-28 13:40:52 +00:00
Mark Murray
289ef82e3c
Enable (optional) static linking.
2001-04-28 08:06:33 +00:00
Andrey A. Chernov
68bfc19537
Fix wrong (char) cast (instead of unsigned char) causing highlighting of all
...
8bit characters due to famous sign extension bug.
2001-04-27 22:35:44 +00:00
John Baldwin
2522796e9d
Check the new kern.smp.active sysctl rather than the non-existent
...
smp.smp_active sysctl to determine if we are running on an SMP machine.
2001-04-27 19:33:50 +00:00