Commit graph

3455 commits

Author SHA1 Message Date
Sheldon Hearn 2087b4533a Remove extraneous arguments to the Os (operating system) and Nm
(name) macros.

Do not terminate the cross-reference list in the SEE ALSO section
with a period.
2000-08-17 16:57:31 +00:00
Brian Somers 098c6e8747 Allow a /etc/finger.conf file that contains finger aliases
This allows people who's email address differs from their account name
to be fingerable.

Submitted by: Mark Knight <markk@knigma.org>
2000-08-17 10:59:17 +00:00
Brian Feldman c7322223b9 Allow use of the ${MAKE_SHELL} variable to specify alternate shells for
make(1) to use.  Setting it to "sh" and "ksh" are the only values which
work right ATM; I wouldn't expect "csh" to get you far ;)
2000-08-16 23:31:43 +00:00
Warner Losh 584b694b75 Remove unnecessary extern definition of strrchr. It is defined in
string.h, which already was included.
2000-08-16 16:39:42 +00:00
Warner Losh 3da0bb2e27 Add cross reference to the ast device.
Remove reference to the now defunct wt device.
2000-08-16 16:38:47 +00:00
Gregory Neil Shapiro 2216e2a2cd Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
Bruce Evans b10fc2ddef Fixed world breakage for the NOSHARED=yes case. Libraries were added to
LDFLAGS instead of to LDADD, so they ended up too early in the command
line.

Don't link to libcrypt.  It is unused for static linkage and unnecessary
and only apparently used for dynamic linkage (the dynamic libskey is
linked to libcrypt to support the crypt parts of libskey which aren't
used here).

Fixed some disorder.
2000-08-12 20:54:47 +00:00
Sheldon Hearn c47f9a08fc While we're in here:
Remove extraneous arguments to the Nm macro.
Mark up cross-references properly.
Use proper block displays (Bd).
Use proper mark-up for author names (An).
Remove the bogus ARGUMENTS section.
Raname EXAMPLE -> EXAMPLES.
Spell ``S/Key'' consistently.
2000-08-11 08:40:10 +00:00
Warner Losh b1dbe5c2bc Eliminate the only setuid perl script in the tree.
Original 'C' progam submitted by Juriy Goloveshkin.
A different 'C' program also submitted by dima.

I merged and rewrote them to include error handling, use getlogin for
user name and only the BSD boilerplate license remained from the
original code.  We also only allow root to get other user's keys.

Review, bikeshed and bdelint(1): myself, kris, dima, markm
2000-08-10 22:53:49 +00:00
Hajimu UMEMOTO d84a1df489 To make compilable without -DINET6.
PR:		bin/20407
Submitted by:	Patrick Bihan-Faou <patrick@mindstep.com>
2000-08-07 16:39:33 +00:00
Mark Ovens 54af9cb58f Document the ``-'' option and minor re-wording in EXAMPLES 2000-08-05 23:03:12 +00:00
Sheldon Hearn e62d73a2a1 Merge the truncate(1) utility onto the RELENG_4 branch and adjust
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
2000-08-04 08:05:52 +00:00
Ruslan Ermilov 61793a0c8b Do not display icmp(4) sockets as non-existent bridge(4) sockets. 2000-08-03 14:53:41 +00:00
Ruslan Ermilov 6bc4ee4976 Unbreak world build by adding the necessary <net/ethernet.h> include.
Submitted by:	Nickolay Dudorov <nnd@wint.itfs.nsk.su>
2000-08-02 07:37:44 +00:00
Ruslan Ermilov ed7cf099c6 Make auto-generated ioctl.c to be always considered out of date
since it could potentially depend on any ${DESTDIR}/usr/include
preprocessor file.  This fixes the broken -DNOCLEAN world build
I experienced yesterday.
2000-08-01 10:21:13 +00:00
Ruslan Ermilov a7e7621042 Fix an off-by-nine error when building a list of includes. 2000-08-01 08:15:06 +00:00
Maxim Sobolev 3bd77c5644 Add current position (line, column) display. 2000-07-31 14:02:51 +00:00
Kris Kennaway ffd044a699 Don't segv when trying to add a 0-length unit name.
Some string-related cleanups inspired by OpenBSD.

Reviewed by:	asmodai
2000-07-31 10:49:08 +00:00
Kris Kennaway 3890f2357a Don't coredump on long input lines. If anyone actually cares, this should
be fixed to actually process long lines instead of truncating them.

Obtained from:	OpenBSD
2000-07-31 10:14:06 +00:00
Eivind Eklund 1e2f8412e0 Make passing unknown fstypes to -fstype result in a warning instead of
an error.  As it was, which find command lines that would work (be
accepted at all) was dependent on the presently running kernel, making
script writing and porting hard.
2000-07-28 20:02:42 +00:00
Warner Losh 9ad6473aef Do include <unistd.h> for getopt interface.
Don't extern it.
2000-07-28 06:50:25 +00:00
John Polstra 3cfac2c58d Fix bug: "netstat -si" prints interface information, but the header
line is missing.  This apparently was broken in revision 1.31 of
"if.c".

Submitted by:	Maxime Henrion <mhenrion@cybercable.fr>
2000-07-28 04:05:04 +00:00
Jeroen Ruigrok van der Werven 6e5d42b9b0 Let wall report the local timezone as well on output.
PR:		17867
Submitted by:	Joel Ray Holveck <joelh@gnu.org>
Nagged by:	nrahlstr
2000-07-27 07:58:47 +00:00
Dag-Erling Smørgrav 9516ffa7c0 Restore the old semantics of deleting the output file when interrupted.
Some people liked this and some didn't, so POLA won.
2000-07-26 07:28:33 +00:00
Sheldon Hearn 1727cb4cae Fix a bug introduced in rev 1.8, where special files ended up
being treated like regular files because of missing braces.

PR:		20143
2000-07-25 13:01:34 +00:00
Sheldon Hearn 0b113423f2 Avoid the need to capitalize an extraneous argument to the Nm macro
and be more precise about the handling of command-line arguments.

Reviewed by:	ps
2000-07-24 21:53:04 +00:00
Sheldon Hearn b86e825a0c Simplify some conditionals. 2000-07-24 21:50:38 +00:00
Sheldon Hearn dee82c612a Shut an optimizing compiler up about possibly (but never) unused
variables.

Submitted by:	charnier
2000-07-24 21:46:12 +00:00
Paul Saab 176e822873 Typos and spelling fixes.
Submitted by:	charnier
2000-07-24 20:35:19 +00:00
Philippe Charnier 8ad08d33c1 Start enumerate option with `The following options are available' like
most of the utilities.
.Nm prog -> .Nm
Remove unused include
Make use of getopt() instead of parsing params by hand.
2000-07-24 20:22:49 +00:00
Sheldon Hearn 6b88e76b89 truncate.c:
Do not include unused header files.
	Add rcsid.
	Change copyright.

truncate.1:
	Add AUTHORS section.

Submitted by:	charnier
2000-07-24 08:56:42 +00:00
Sheldon Hearn 4d532a362e Close file descriptors after use so as not to abuse the descriptor
table when a long argument list is given. :-)

Reported by:	Sven Agnew <afterhours80@hotmail.com>
2000-07-23 13:24:01 +00:00
Chris Costello 4977617679 Revert to 1.8. I misread the sentence and its context. 2000-07-21 20:18:50 +00:00
Chris Costello c4619be2d5 Properly document %.0f behavior. 2000-07-21 20:04:58 +00:00
Dag-Erling Smørgrav 32190ef51f Don't print summary in quiet mode. 2000-07-21 14:21:29 +00:00
Sheldon Hearn 75bc7bff6e Add a STANDARDS section to discourage the use of this utility
in environments where portability is a concern.
2000-07-21 13:05:15 +00:00
Dag-Erling Smørgrav d939bf77d2 Don't display a running count in quiet mode.
Don't add the offset to the size; it's libfetch's job to report the correct
size of the requested file.
2000-07-21 11:08:03 +00:00
Hajimu UMEMOTO c847fdb1f9 Fix buffer size of ALIGNed buffer.
PR:		bin/20053
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-07-20 14:54:04 +00:00
Sheldon Hearn 144d39d4b8 Rename the `name'' argument to `item'' and mark it up as an argument.
Make use of the marked up argument to clarify the text in the DESCRIPTION
section.
Insert a missing word: ``the''.
Make the phrase in the BUGS section a full sentence.
Sort the cross-references in the SEE ALSO section correctly.
2000-07-20 11:39:14 +00:00
Dag-Erling Smørgrav 10e3b1c738 Fix two bugs related to resumed transfers:
- if the dates didn't match, fetch would append the received file to the
    existing file instead of replacing it.

  - if the local file was complete and up-to-date, fetch would miscalculate
    the expected size and report a failure instead of a success, because it
    had no way of knowing that the server was actually resending the entire
    file since the requested offset was invalid.
2000-07-19 23:56:45 +00:00
Dag-Erling Smørgrav a5e3ae21a5 Braino: don't use passive mode unless the user requests it.
PR:		bin/20025
Submitted by:	HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
2000-07-19 09:12:36 +00:00
Paul Saab 2333aeef12 Oops. fsync(8) should have been fsync(1). (repo-copied by peter)
Change reference from update(4) to syncer(4).
2000-07-19 08:44:26 +00:00
Paul Saab 4aeb1c05fb Add fsync(8). This becomes useful with the advent of MAP_NOSYNC etc.
Reviewed by:	peter
2000-07-19 08:38:18 +00:00
Ben Smithurst cf575052df * Remove description of obsolete -t option.
* Insert newline before "and" in ".Fl c and".

Approved by:	des
2000-07-18 21:05:11 +00:00
Jonathan Lemon 727a4ed619 Convert calls to match new kqueue API. 2000-07-18 19:38:38 +00:00
Nik Clayton 3d48b53ecf Correct the attribution for yes(1).
PR:		docs/19401
Submitted by:	s.c.sprong@student.utwente.nl
2000-07-18 18:32:08 +00:00
Sheldon Hearn 893d2b85cd Cross-reference mount_nfs(8) and showmount(8).
PR:		20008
Reported by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2000-07-18 17:34:23 +00:00
Sheldon Hearn edeb84a1b2 Import the new truncate(1) utility.
Approved by:	jdp
2000-07-18 17:03:58 +00:00
David Malone b0fe2da816 Allow logger to send messages directly to a remote syslog. (This
only does IPv4 as our syslogd only does IPv4. I dunno if the KAME
people have any plans for syslogd).

PR:		19821
Submitted by:	Nick Hilliard <nick@iol.ie>
Reviewed by:	sheldonh
2000-07-18 08:56:54 +00:00
Dag-Erling Smørgrav 38a616e49f The description of the semantics of -v and -q has long since been OBE. 2000-07-17 22:44:36 +00:00