Commit Graph

3775 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
2d090923d6 Invoke netstat(1) and fstat(1) with full path. 2000-08-30 09:18:20 +00:00
Brian Feldman
9fa4c1703e Get rid of the old version. 2000-08-29 23:38:12 +00:00
Brian Feldman
cc70d84c4a Use a C version of which(1).
Submitted by:	Dan Papasian <bugg@bugg.strangled.net>
Reviewed by:	jhb
2000-08-29 23:30:52 +00:00
Peter Wemm
8750ed5f77 After positive feedback from a few folks, activate a switchover to
using killall.c instead of the perl version that depends on procfs.
The C version uses sysctl().  The program is based on a hack that was
originally written about 6 years ago and has evolved somewhat since then.
(which is why it is a superset of killall.pl, rather than being a clone.)

With apologies to: wosch
2000-08-28 22:09:38 +00:00
Bill Fumerola
4dd97a3440 Add 'shot', using the definition used by bars and shotglasses. 2000-08-27 22:02:42 +00:00
Peter Wemm
e1669132dc Try and fix up some bogus indentation leftovers from emacs several
years ago.
2000-08-27 02:12:29 +00:00
Peter Wemm
a03884671d Sigh, today is not my day. Convert a verbose while() .. loop into a for()
loop.

Submitted by:	billf
2000-08-27 01:17:11 +00:00
Peter Wemm
a6b474b6c1 *blush*. I was *sure* I compiled this after the last change..
Add the missing )

Shamed by:	billf
2000-08-27 01:10:55 +00:00
Peter Wemm
1198f21caf killall.c is meant to be a superset replacement of killall.pl, the
main difference is that it uses sysctl to get the process lists rather
than /proc - thereby reducing the dependency on /proc by one more tool.
2000-08-27 00:46:25 +00:00
Brian Feldman
0debe874a0 Fix a premature freeing bug found with malloc debugging courtesy John Hay.
Submitted by:	jhay
2000-08-26 03:42:51 +00:00
Brian Somers
78be7a111a Finger.conf first appeared in 4.2 (now that it's been MFCd) 2000-08-25 22:22:04 +00:00
Brian Somers
475f25ebaf Fix the -m option - broken by the last commit.
Submitted by:	Mark Knight <markk@knigma.org>
2000-08-25 18:28:43 +00:00
Sheldon Hearn
909aa0d5b9 Add a missing comma. 2000-08-25 08:29:28 +00:00
Brian Somers
040864ac7a Allow finger.conf to contain aliases for files that will be displayed
when fingered.

Submitted by: Mark Knight <markk@knigma.org>
2000-08-25 01:01:07 +00:00
Peter Wemm
540bc8d6e1 Quick Fix: swap.c doesn't appear to actually need <sys/conf.h>, so remove
it to try and get world building again.  (sys/conf.h now depends on
sys/types.h)
2000-08-24 20:22:44 +00:00
Alexey Zelkin
86bbb70c13 Install Ukrainian message catalog. 2000-08-22 22:00:57 +00:00
Brian Feldman
04c9749ff0 Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now.  In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by:	peter
2000-08-22 02:15:54 +00:00
Maxim Sobolev
40b0b5bfa5 Fix a bug introduced by my own previous commit (addition of the current
line/column display).

I overlooked that ee(1) doesn't maintain proper line numbering when
adding/removing lines, so after those operations linenumber displayed may not
match the reality. Also use proper variable for current column diaplay, because
the one used previously reflects the offset of current char, which doesn't
equial screen position when tabs present.

Reviewed by:	bp
2000-08-21 10:21:28 +00:00
David Malone
a5c4836d39 Replace the mbuf external reference counting code with something
that should be better.

The old code counted references to mbuf clusters by using the offset
of the cluster from the start of memory allocated for mbufs and
clusters as an index into an array of chars, which did the reference
counting. If the external storage was not a cluster then reference
counting had to be done by the code using that external storage.

NetBSD's system of linked lists of mbufs was cosidered, but Alfred
felt it would have locking issues when the kernel was made more
SMP friendly.

The system implimented uses a pool of unions to track external
storage. The union contains an int for counting the references and
a pointer for forming a free list. The reference counts are
incremented and decremented atomically and so should be SMP friendly.
This system can track reference counts for any sort of external
storage.

Access to the reference counting stuff is now through macros defined
in mbuf.h, so it should be easier to make changes to the system in
the future.

The possibility of storing the reference count in one of the
referencing mbufs was considered, but was rejected 'cos it would
often leave extra mbufs allocated. Storing the reference count in
the cluster was also considered, but because the external storage
may not be a cluster this isn't an option.

The size of the pool of reference counters is available in the
stats provided by "netstat -m".

PR:		19866
Submitted by:	Bosko Milekic <bmilekic@dsuper.net>
Reviewed by:	alfred (glanced at by others on -net)
2000-08-19 08:32:59 +00:00
Ruslan Ermilov
c2a62388b7 Remove gratuitous free() call when we use special .SHELL target. 2000-08-18 10:41:37 +00:00
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
Dag-Erling Smørgrav
45b22b2a87 While I'm at it, break a line that was too long, remove a pointless diagnostic
and adjust the verbosity level of another.
2000-07-17 22:44:00 +00:00
Dag-Erling Smørgrav
c0b0d54e10 Document the fact that -r and -m are mutually exclusive. 2000-07-17 21:51:48 +00:00
Dag-Erling Smørgrav
e9a039c2cb Rearrange / rewrite large portions of fetch() to take advantage of new
libfetch features (fetchRestartCalls, fetchXGet()).

Since it doesn't make much sense to have m_flag and r_flag set at the same
time, and it can actually cause trouble in some cases, die if they're both
set.

Set the SA_RESETHAND flag for SIGINT so that when we've caught one, we can
kill ourselves with a second SIGINT (thus notifying our parent of our tragic
fate) instead of just exiting.

These changes fix several problems that would show up when fetching ports,
as well as speeding up HTTP transfers quite a bit (at least for relatively
small files).

Most of these changes were prompted by an interaction problem with an HTTP
server called SWS-1.0, which exhibited two bugs, the first of which prevented
fetch from working around the second (the first was not sending content-type
in reply to HEAD requests, the second was sending garbage after the end of
the requested file).
2000-07-17 21:49:01 +00:00
Sheldon Hearn
4198af2bff Use pwd instead of cwd in backticks. cwd in backticks doesn't do
anything useful in a Bourne shell.

PR:		19980
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-07-17 17:31:59 +00:00
Dag-Erling Smørgrav
78394463ee Better signal handling.
Submitted by:   green
2000-07-16 00:47:00 +00:00
Andrey A. Chernov
38d3d2d67c Fix octal numbers parsing
PR:		19950
Submitted by:	Alexey Klimov <klim@unique.kiev.ua>
2000-07-15 17:17:33 +00:00
Alfred Perlstein
2873654a65 Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing a
structure member that doesn't exist anymore.
Use getsysctlbyname for kern.ipc.mbstat instead of sysctl.
Use netstat's method of displaying values from mtnames.

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Missed by PR: 19809
2000-07-15 16:24:21 +00:00
Alfred Perlstein
af0e6bcdf0 Make mbstat.m_mtypes seperate and viewable via sysctl, also
expand the size from short to ulong

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
PR: kern/19809
2000-07-15 06:02:48 +00:00
Brian Somers
3e6902efc8 Add the -z flag to check file sizes first
Correct the cmp.1 usage message
Correct the -l/-s incompatibility message

Submitted by: Mark Knight <markk@knigma.org>
2000-07-14 16:54:59 +00:00
Andrey A. Chernov
59efcec109 ncurses -> termcap 2000-07-14 16:17:42 +00:00
Paul Saab
d4673883f0 Upgrade to less v358. 2000-07-14 09:59:37 +00:00
Dag-Erling Smørgrav
b3c141fd2e Fix a bug in the stats display that showed up when resuming aborted transfers.
Submitted by:	green
2000-07-13 08:37:39 +00:00
Dag-Erling Smørgrav
49e62d8f8e Rework the stats code for the nth time. Much cleaner now.
Always display the completion percentage if stderr is a tty.
Drop the char-by-char transfer mode, it was based on an incorrect assumption
regarding the semantics of fread().
Finally (I hope) straighten out the business of setting the mtime, as well as
when to remove the output file and when not to.
Thanks are owed to the many who have provided nearly instantaneous and
highly constructive feedback and suggestions about these matters.
2000-07-12 20:53:07 +00:00
Ben Smithurst
f2d93b7d1d "ls" is note the same as "nlist", but it is the same as "dir". Correct
this, and add a bit to the descriptions of "dir" and "nlist" to emphasize
the difference.

PR:		15408
Submitted by:	Joe Smith <inwap@best.com>
2000-07-12 19:00:50 +00:00
Jun-ichiro itojun Hagino
a1eca46648 remove m_pulldown related statistics, it is not for production system
(it belongs to kame experiment).
2000-07-12 16:13:02 +00:00
Dag-Erling Smørgrav
ef50a72c92 Now that the HTTP code supports timeouts, we don't need to use alarm()
around the call to fetchStat().
Catch SIGINT, and rework the signal handling so it doesn't skimp on the
cleanup after a timeout or interrupt. Also, don't just bail out after a
timeout; there may be more files to fetch.
2000-07-12 11:02:01 +00:00
Jeroen Ruigrok van der Werven
d70eeca360 Backout previous commit.
(Mental note: don't forget -rRELENG_4 next time.)
2000-07-12 09:50:20 +00:00
Jeroen Ruigrok van der Werven
ae67045f8e MFC: fix some output cosmetics so that the finger -s output is properly
lined up
2000-07-12 08:50:09 +00:00
Dag-Erling Smørgrav
aa4b3574a8 Rework the stats code to avoid code duplication.
Fix a bug where the stats code would print the expected size instead of the
number of bytes received.
Fix the reading code so it'll support partial reads.
2000-07-12 08:29:52 +00:00
Daniel Harris
8099eaa823 Spelling (embedd to embed) fix and change a comma to a semicolon. 2000-07-11 22:52:12 +00:00
Jeroen Ruigrok van der Werven
28035b8ba8 Fix finger -s output on an user who never logged in.
This is purely a cosmetic patch.

PR:		9809
Submitted by:	se
Nagged about:	nrahlstr
2000-07-11 08:37:56 +00:00
Paul Saab
11128de973 Fix a bug when talking to non-freebsd machines where carriage return
was being interperated and displayed as ^M on the remote side.

Old curses used to change the behavior of the tty and how carriage
return was interperated via STDIN.  ncurses does this on a per-window
basis within the library rather than using the tty modes.  Since
talk is bypassing ncurses, it was missing the conversion.

Reviewed by:	peter
2000-07-11 01:31:39 +00:00
Stefan Eßer
62a721e79c Extend to deal with 64 bit numeric arguments. 2000-07-10 21:32:41 +00:00
Kris Kennaway
b7ffba17f8 Don't call warn() with no format string. 2000-07-10 09:18:19 +00:00
Kris Kennaway
0c4d24a78f Don't call err() with no format string. 2000-07-10 09:14:15 +00:00
Kris Kennaway
3d3f014fd4 Oops, missed another printf() invocation with no format string. 2000-07-10 09:07:04 +00:00
Kris Kennaway
32d9afb622 Don't call printf() with no format string. 2000-07-10 09:05:31 +00:00
Kris Kennaway
084c79f69e Don't call warn() with no format string. 2000-07-10 08:49:28 +00:00
Kris Kennaway
cf6e06f240 Don't call err() with no format string. 2000-07-10 08:42:58 +00:00
Kris Kennaway
612740bdcf Don't call printf with no format string. 2000-07-10 06:02:13 +00:00
Dag-Erling Smørgrav
ec850e74c0 Don't segfault if given an invalid URL (doh!)
Submitted by:		green
2000-07-09 10:14:22 +00:00
Andrey A. Chernov
39b31d1322 Fix assembler error messages - there is no \n allowed in __COPYRIGHT macro 2000-07-09 05:22:51 +00:00
Wilfredo Sanchez
023944f435 Use __RCSID() 2000-07-09 02:54:54 +00:00
Wilfredo Sanchez
480a6f5ceb Use __RCSID() 2000-07-09 00:08:47 +00:00
Wilfredo Sanchez
1ae30690d2 Initialize variable 2000-07-09 00:05:09 +00:00
Dag-Erling Smørgrav
0b474bc608 Clarify the meaning of -m and -n (thanks to bde). 2000-07-08 09:34:53 +00:00
Dag-Erling Smørgrav
bb11a878ea Straighten out the behvaiour of -m and -n (thanks to bde).
Check that stderr, not stdout, is a tty (thanks to green).
2000-07-08 09:34:33 +00:00
Peter Wemm
c87a63c10f Initial kenv(1) hack for dumping the kernel environment. This can be
used to extract modified boot hints to make loader(8)-time changes
"sticky".  It tries to use \ style quoting so that it can be used directly
with foo.conf files.  It can also extract specific variables.
2000-07-08 08:33:40 +00:00
Hajimu UMEMOTO
eea0015e6d One more EAI_NONAME -> EAI_NODATA issue. 2000-07-07 21:05:55 +00:00
Hajimu UMEMOTO
2aaae1eaf7 Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATA
change (getaddrinfo.c rev 1.12).
2000-07-07 20:46:37 +00:00
Kris Kennaway
ad59157a75 Enable whois queries over IPv6
Obtained from:	KAME
2000-07-07 07:52:21 +00:00
Kris Kennaway
08e61f6489 MFS: Don't allow printf directives in PAGER
Obtained from:	OpenBSD
2000-07-07 00:24:13 +00:00
Nick Hibma
09d308a828 Add the usbhidctl utility, from NetBSD, by Lennart Augusst 2000-07-05 17:43:33 +00:00
Dag-Erling Smørgrav
114c3c1ab8 Add MIT copyright 2000-07-05 12:04:31 +00:00
Jun-ichiro itojun Hagino
93709ddb08 simplify and correct name resolution in tn().
XXX what is the goal of af_switch()?  it seems to me it is not necessary
any more with getaddrinfo(3) fix for correct name-resolution ordering.
comments? >shin
2000-07-05 10:15:23 +00:00
Jun-ichiro itojun Hagino
3b8a8567a1 add pfkeystat. sync with kame 2000-07-05 02:02:54 +00:00
Jun-ichiro itojun Hagino
82b5a7cc73 more pre-requisite for new ipv6 ioctls 2000-07-04 16:26:47 +00:00
Jun-ichiro itojun Hagino
32cd1d9601 sync with latest kame netstat. basically, more statistics 2000-07-04 16:26:46 +00:00
Brian Feldman
dc5413843d Add the RealMedia file format. Also, add the $FreeBSD$. 2000-07-03 04:59:37 +00:00
Warner Losh
9fb5801442 fix fd leak by close(fd) at end of loop. 2000-07-02 03:34:08 +00:00
Brian Feldman
b4739f39af The SVR4 module calls itself ELFOSABI_SOLARIS, and who am I to disagree
if it runs my Solaris binaries?  Add the missing "Solaris" type here
so that binaries may be branded with it rather than the seemingly-
defunct ELFOSABI_SVR4.
2000-07-01 05:48:33 +00:00
Dag-Erling Smørgrav
047843dd61 Note that the -h, -c and -f options are deprecated, and remove note that
incorrectly stated that they were not implemented.
Document the -d option.
2000-06-29 10:35:24 +00:00
Dag-Erling Smørgrav
a8369cd91b Implement the -c option 2000-06-29 10:32:56 +00:00
Dag-Erling Smørgrav
df6f33d182 Don't forget to delete the output file if the request fails.
Don't delete the output file if -r was specified.
2000-06-29 08:39:29 +00:00
Dag-Erling Smørgrav
b39628e763 New libfetch-based fetch. 2000-06-28 16:55:15 +00:00
David E. O'Brien
bac7e45e00 Turn off GLOBAL. It is moving to Ports.
Approved by:	unanimous response on arch@freebsd.org
2000-06-28 00:39:18 +00:00
Ruslan Ermilov
00eea183e1 - Reflect `gateport' variable type change.
- Make it compile with -Wall.

PR:		18619
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
Reviewed by:	ru
2000-06-24 15:34:31 +00:00
Ruslan Ermilov
a02450722b Get rid of segfault in a `site %s' case.
Submitted by:	Max Khon <fjoe@iclub.nsu.ru>
2000-06-23 14:39:23 +00:00
Sheldon Hearn
ce1fc2b2df Fix problems introduced in the previous commit:
*	Do not use explicit paragraphing (Pp) to separate list items.
*	Do not use semi-colons to punctuate list items; the use or
	periods eases maintenance.
*	Do not mark up external shell commands as internal commands
	(Ic).
*	Do not introduce new hard sentence breaks.
2000-06-23 09:08:45 +00:00
Thomas Gellekum
96ba60ede2 Install a VGA font for the X11 mode. Use a line like
xset fp+ /usr/libdata/doscmd/fonts
in your .xsession to activate it.

Document X11_FONT option in .doscmdrc.

Open window if $DISPLAY is set.
2000-06-23 08:57:17 +00:00
Jonathan Lemon
ea9bd2df1d If the kevent() registration fails (probably due to the underlying
filesystem not being kq-aware), then fall back to using sleep.  This
allows tail to work with NFS filesystems again without chewing up CPU time.

When given the -F flag, resort to sleep/stat after the file was moved
or deleted.  This allows a window where the file being tailed does not
exist at all, which is typically the case during log rotation.  Switch
back to using kq (if possible) after the file is reopened.
2000-06-22 18:46:03 +00:00
Brian Feldman
84ad3d8fc4 Make cmp -s work properly if skip values are given. Also, exit(1)
is now exit(DIFF_EXIT).

PR:		18597
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
Committed at:	Usenix terminal room
2000-06-20 20:28:40 +00:00
Alexander Langer
532f29dc34 Fix typo(s) I overlooked in my last commit.
(This aid in pin pointing -> This aids in pinpointing).

Submitted by:	sheldonh
2000-06-20 15:40:50 +00:00
Stefan Eßer
8834b38862 Fix obvious cut-n-paste error.
Submitted by:	Thomas Ludwig <tludwig@urbanet.ch>
2000-06-20 15:36:38 +00:00
Josef Karthauser
141d77b8cb Switch over to using the new fflagstostr and strtofflags library calls. 2000-06-17 14:19:33 +00:00
Alexander Langer
98fae40bf0 /etc/weekly --> /etc/periodic/weekly/310.locate
PR:		19268
Submitted by:	Uwe Pierau <uwe.pierau@tu-clausthal.de>
Reviewed by:	asmodai
2000-06-14 17:41:31 +00:00
Hajimu UMEMOTO
bc67101b31 Make sure to use native IPv4 addrerss even if getaddrinfo()
returns IPv4 mapped IPv6 address.  FTP is nervous about address
family.
Submitted by itojun and slightly modified to fit our ftp(1).
2000-06-14 15:26:58 +00:00
Ollivier Robert
c4b8db0095 Make find -Wall -Wredundant-decls clean.
Submitted by:	nrahlstr
2000-06-14 07:43:52 +00:00
Alexander Langer
a709b8e635 mdoc improvements and better readability of the text.
PR:		18811
Submitted by:	Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Reviewed by:	asmodai
2000-06-13 12:25:20 +00:00
Hajimu UMEMOTO
6c62dafbff Mention about -4 and -6 options. 2000-06-12 18:30:16 +00:00
Ollivier Robert
c76bc8f3bf This patch adds the -mindepth and -maxdepth options to find(1), which
behave as in GNU find (and of course as described in the manual page
    diff included).  I think these options would be useful for some people.

    Some missing $FreeBSD$ tags are also added.

    The patch was slightly modified (send-pr mangling of TABS).

PR:		bin/18941
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-12 11:12:41 +00:00
Jeroen Ruigrok van der Werven
987170f752 Document SVR4 branding is supported.
PR:		19131
Submitted by:	Mike Barcroft <mike@q9media.com>
2000-06-12 11:12:19 +00:00
Ollivier Robert
9d2796c3ec The find -perm option currently supports an exact match,
or if the mode is preceded by a '-', it checks for a match
        in at least the bits specified on the command line.  It is
        often desirable to find things with any execute or setuid or
        setgid bits set.

PR:		bin/10169
Submitted by:	Monte Mitzelfelt <monte@gonefishing.org>
2000-06-12 10:36:52 +00:00
Guy Helmer
7111b0acef O_NONBLOCK was used as a command with a bogus arg to fcntl(2).
Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK.

PR:		bin/8681
Submitted by:	koyama takahiro <tah@d1.dion.ne.jp>
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-06-09 19:38:28 +00:00
David E. O'Brien
eaee96e94a Add links to "edit" to ease tech support's job. 2000-06-06 22:55:41 +00:00
Jeroen Ruigrok van der Werven
1b24d0eff5 Fix example.
PR:		18953
Submitted by:	Mark Ovens <mark@ukug.uk.freebsd.org>
2000-06-04 09:11:22 +00:00
Bruce Evans
81ae6b6341 Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated
and $< and $@ are even documented as deprecated.
2000-06-03 11:39:38 +00:00
Poul-Henning Kamp
fb7a8c91b8 Duh! get the scaling right. 2000-06-01 08:49:46 +00:00
Poul-Henning Kamp
0e5064d228 Rescale the IOstat bars, modern disks are faster than old disks. 2000-06-01 08:26:13 +00:00
Paul Saab
e02ce429fa Nuke more from the repository. 2000-05-29 13:31:51 +00:00
Kris Kennaway
72741b445a Silence warnings. 2000-05-27 22:38:03 +00:00
Jake Burkholder
e39756439c Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
Hajimu UMEMOTO
9ba97db25b Don't pass scope-id to EPRT command.
Reviewed by:	sumikawa
2000-05-25 15:27:31 +00:00
Jake Burkholder
740a1973a6 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
Paul Saab
2f20458059 Install a manpage for more. 2000-05-23 08:26:15 +00:00
Paul Saab
c586c5db07 Detach usr.bin/more and install a link from less. less will behave
like more if invoked as more.  The old more has not been removed.
2000-05-23 08:16:25 +00:00
Hajimu UMEMOTO
07da07565e Replace isurl() with isipv6addr().
Reported by:	Koji Kondo <koji@jp.above.net>
Obtained from:	NetBSD
2000-05-22 17:18:38 +00:00
Paul Saab
5b6a15c73d Dont use/install the formatted man file. 2000-05-22 10:43:56 +00:00
Paul Saab
6f7d2d90ce bmake glue for less.
Reviewed by:	peter
2000-05-22 10:00:00 +00:00
Brian Feldman
c8b1db2ed8 In the modern world, things are much faster than when more(1) was created.
Scrolling sideways is fast, and a "...skipping..." message making everything
blink does much more harm than good.
2000-05-21 18:35:28 +00:00
Kris Kennaway
6ad135868c fork() -> vfork()
This would have been commit #2 which was "Obtained from: BSD/OS" except
their code is buggy (they call err() if the execl() fails, which will
incorrectly call exit()), so instead this is:

Obtained from:	NetBSD
2000-05-19 09:42:53 +00:00
Tim Vanderhoek
b75cda591f Use different filenames.
Submitted by:   bin/16927, Mike Heffner
2000-05-17 22:46:47 +00:00
Tim Vanderhoek
1cdf1085c1 Catchup with the times:
- Avoid use of word that Americans don't know how to spell
 - Avoid use of capital letters when referring to command names
 - Bookmarks do span files
 - Use .Qq where appropriate.  I didn't use .Sq or .Dq where `' and ``''
   appear, since it's not clear to me what modern usage of those two
   macros is.
 - Say simply: ``See .Xr xxx 1'' rather than ``See the .Xr xxx 1 command''.
   This former style has undoubtedly increased in popularity due to
   html and hyperlinks, but it's always been around (esp. for manpage
   sections other than section 1).
 - Use .St
 - Dedocument use of `-' to mean that `more` should read from its
   standard input.  The modern preferred way to read from standard
   input is by specifying /dev/stdin.  This is not a prelude to changing
   more's behaviour within the short term (ie. at least 3-4 years).
2000-05-16 17:19:32 +00:00
Tim Vanderhoek
da94aa4ef2 From PR submitter:
compress uses setfile() to make flags, ownership and mode of the output
 the same as those of the original. However, if the filesystem holding the
 output file doesn't support these operations, compress prints a warning.
 This bites a bit with NFS directories, which always fail the chflags()
 operation. If the file system doesn't support the operation, then the
 flags data wasn't valid on the original file anyway, so the warning is
 spurious.

Submitted by:	bin/16981 (Peter Edwards <peter.edwards@ireland.com>)
2000-05-16 04:58:34 +00:00
Chris Piazza
3797b581a9 Remove addition of -g to CFLAGS 2000-05-16 04:23:54 +00:00
Tim Vanderhoek
9c854c8b44 I'm not sure what posessed me to initialize wraplines to FALSE in the prev
commit, but it's obviously supposed to be initialised to TRUE.
2000-05-15 16:39:58 +00:00
Poul-Henning Kamp
78cb0ab485 Oops, byte offset was as off_t. 2000-05-15 08:43:25 +00:00
Poul-Henning Kamp
e03983a32c Let cmp(1) grow in -x option to print differences in contemporarry hex
format rather than the mixed decimal/octal format of -l.
2000-05-15 08:30:43 +00:00
Will Andrews
f4180808d2 Update make(1) manpage to include information about the new loud
debugging facility I introduced earlier today.
2000-05-14 23:03:45 +00:00
Will Andrews
ea9b438956 Add loud debugging facility (-dl option) which allows programmers/developers
to override @-prefixed commands in Makefiles.  It is especially useful for
debugging ports and/or complex Makefiles in such a manner that is basically
a last resort, but is quite effective if the output is well-handled.

I'll update the manpage after dinner.  ;-)

Better patch submitted by:	steve
Reviewed by:			phk, steve, chuckr, obrien,
				Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2000-05-14 22:24:28 +00:00
David E. O'Brien
3c841ca5e3 Fix minor style nits. 2000-05-14 21:13:57 +00:00
David E. O'Brien
c0d2c03648 Install otp-md{4,5} bits.
PR:		14911
Submitted-by:	Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2000-05-14 21:13:10 +00:00
Tim Vanderhoek
d25d4bbea9 Allow bookmarks to cross files. 2000-05-14 03:30:59 +00:00
Tim Vanderhoek
4795f6d5cd Backout previous commit to this file: it dies in buildworld environment.
I probably forgot to put an ${.OBJDIR} somewhere.  I'll redo the change
later when I get a chance to test that thesis.
2000-05-12 18:10:17 +00:00
Tim Vanderhoek
d5a2fca477 Improve hack from previous commit to this file: exit if we get successive
EOFs from reading stderr (eg. not from argv[1]).
2000-05-12 04:04:27 +00:00
Tim Vanderhoek
b864402b12 Use termcap(5) function key sequences rather than hardcoding for syscons.
Now page-up/down work from xterms.
2000-05-12 04:02:13 +00:00
Tim Vanderhoek
9729c13eee Create magic variables that return termcap(5) strings for function keys. 2000-05-12 04:00:23 +00:00
Tim Vanderhoek
7914f69706 Fix an uncommon bug that would cause us to stop accepting input if the
user entered a command that filled exactly the remaining screen width.
2000-05-12 03:53:38 +00:00
Tim Vanderhoek
691009407a Only main.c depends on defrc.h 2000-05-12 03:52:03 +00:00
Nick Sayer
f6c7a9efb8 Small style fix '=' -> ' = ' 2000-05-11 20:15:16 +00:00
Nick Sayer
e6121e72f6 Fix compatibility issue in sed. Do so by explicitely adding a
newline to the end of any -e argument.

PR: bin/18474
2000-05-11 17:01:52 +00:00
Tim Vanderhoek
9f95308a73 Unwind state on malloc() failure more carefully: avoids memory leak. 2000-05-11 14:57:26 +00:00
Tim Vanderhoek
a4cbe387f3 Make the TAB key tab. Under syscons, shift-TAB also performs a backtab. 2000-05-11 00:56:55 +00:00
Tim Vanderhoek
a708cb4895 Fix a comment and actually expand \t the way the comment suggests. 2000-05-11 00:46:50 +00:00
Alexey Zelkin
b51a864598 Corractly use .Nm and .An/.Aq macros. Replace FreeBSD with .Fx macro
e.
2000-05-10 15:46:27 +00:00
Sheldon Hearn
befd5c23b2 The printenv(1) command is now a builtin(1) in csh(1). 2000-05-09 15:02:03 +00:00
Sheldon Hearn
f167d7fb3e Fix miscellaneous mdoc macro argument limit infringements.
PR:		18465
Reported by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Tim Vanderhoek
5bbd5cc8f4 Exit if we read two EOFs from the keyboard input stream. Why two and not
one?  Just 'cause.

PR:		misc/14932
2000-05-09 04:13:49 +00:00
Tim Vanderhoek
64e8edb884 Don't segv if viewing "#" and there is no prev-file (long-standing).
Staticize a variable that was meant to be static (broken in r.1.11).

PR:		bin/11370 Henry Whincup <henry@techiebod.com> (for the segv)
2000-05-09 03:53:13 +00:00
Kris Kennaway
4cc2c0e494 Oops, revert previous commit 2000-05-07 09:23:37 +00:00
Kris Kennaway
42bfb5ed40 Update device references. 2000-05-07 09:23:36 +00:00
David E. O'Brien
3ca52f354e Add $FreeBSD$ (and test remote commits after the Freefall upgrade) 2000-05-06 01:38:24 +00:00
Poul-Henning Kamp
30450ba43e Remove unneeded #include <sys/buf.h> 2000-05-05 16:07:10 +00:00
Poul-Henning Kamp
9df46d4a2a Don't include <sys/buf.h> 2000-05-05 15:41:22 +00:00
Alexey Zelkin
e0f9195db2 These files are located under usr.bin/calendar/calendars/ru_RU.KOI8-R now 2000-05-04 11:40:15 +00:00
Alexey Zelkin
f897bc64ea Rename calendars/ru_SU.KOI8-R to calendars/ru_RU.KOI8-R to reflect
locale name change (ru_SU.KOI8-R -> ru_RU.KOI8-R)

Not objected to by:	ache
2000-05-04 11:35:27 +00:00
Alexey Zelkin
69b13cd80e Correct comments and variable names left since repo-copy 2000-05-04 11:31:16 +00:00
Alexey Zelkin
2c21592792 Add missing $FreeBSD$ tags 2000-05-04 11:28:55 +00:00
David E. O'Brien
6ddf2502fe Restore this file.
Requested by:	bde
2000-05-02 21:53:52 +00:00
David E. O'Brien
d8b1bd85a3 Add descriptions of the nm(1aout) keywords and their meanings.
PR:		docs/17269
Submitted by:	Oscar Bonilla <obonilla@fisicc-ufm.edu>
2000-05-02 20:21:49 +00:00
David E. O'Brien
80d31da789 nm.1aout is used here now. 2000-05-02 20:17:01 +00:00
Tim Vanderhoek
c9644b462f Fix a long vs. int problem that was fatal on i386s with 64bit longs (but
not alphas with 64bit longs).

Submitted by:	bde (a while ago)
2000-05-02 02:36:03 +00:00
Peter Wemm
3627ad6c00 Remove the undocumented semconfig() system calls. These cause more trouble
than they are worth.
2000-05-01 10:49:41 +00:00
Nik Clayton
26927f3ca7 Remove reference to bsd2dos command, refer to fconv and similar.
PR:             docs/17101
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-04-30 22:45:13 +00:00
Nik Clayton
17ad18bb78 Add descriptions of the nm(1) keywords and their meanings.
PR:             docs/17269
Submitted by:   Oscar Bonilla <obonilla@fisicc-ufm.edu>
2000-04-30 22:44:05 +00:00
David E. O'Brien
8e7237d599 Default device not longer uses the "r" raw prefix. 2000-04-26 11:34:52 +00:00
Sheldon Hearn
69f2cf17a3 Add braces to avoid ambiguity in a nested conditional (silences a gcc
warning).
2000-04-26 10:38:19 +00:00
David E. O'Brien
b0c6f4cf7a Unbreak for the case where ``make obj'' was run first. 2000-04-26 07:00:46 +00:00
Garrett Wollman
8c6bd995f0 Hello, getconf. This is a slight reinvention of the
wheel^H^H^H^H^HPOSIX.2 and X/Open utility, and rather
more complicated than necessary.
2000-04-26 02:36:54 +00:00
Sheldon Hearn
508d9a5b59 Fix excessive use of parenthesis in previous commit.
Requested by:	bde
2000-04-25 08:59:51 +00:00
Mark Murray
097c3a616c Use Garrett's new (clearer) names. 2000-04-23 14:18:18 +00:00
Martin Cracauer
1ea7321b72 Remove redundat extern declaration 2000-04-20 09:31:54 +00:00
Jonathan Lemon
32462e82fb Change <event.h> --> <sys/event.h> 2000-04-18 16:56:55 +00:00
Joerg Wunsch
5a19405177 No such thing like `southamericarand' when Rand is the currency of ZA... 2000-04-18 16:37:43 +00:00
David E. O'Brien
b40ac1b54f * I goofed and didn't break sentances the right way.
* Make the option arguments format better
* Fix mispelling

Submitted by:	ru
2000-04-18 16:25:51 +00:00
David E. O'Brien
c815a20cb2 Change our ELF binary branding to something more acceptable to the Binutils
maintainers.

After we established our branding method of writing upto 8 characters of
the OS name into the ELF header in the padding; the Binutils maintainers
and/or SCO (as USL) decided that instead the ELF header should grow two new
fields -- EI_OSABI and EI_ABIVERSION.  Each of these are an 8-bit unsigned
integer.  SCO has assigned official values for the EI_OSABI field.  In
addition to this, the Binutils maintainers and NetBSD decided that a better
ELF branding method was to include ABI information in a ".note" ELF
section.

With this set of changes, we will now create ELF binaries branded using
both "official" methods.  Due to the complexity of adding a section to a
binary, binaries branded with ``brandelf'' will only brand using the
EI_OSABI method.  Also due to the complexity of pulling a section out of an
ELF file vs. poking around in the ELF header, our image activator only
looks at the EI_OSABI header field.

Note that a new kernel can still properly load old binaries except for
Linux static binaries branded in our old method.

  *
  * For a short period of time, ``ld'' will also brand ELF binaries
  * using our old method.  This is so people can still use kernel.old
  * with a new world.  This support will be removed before 5.0-RELEASE,
  * and may not last anywhere upto the actual release.  My expiration
  * time for this is about 6mo.
  *
2000-04-18 02:39:26 +00:00
Jonathan Lemon
b446630f2f Change tail to use kqueue/kevent to obtain a notification when
the file changes (when doing tail -{f|F}).
2000-04-16 19:04:49 +00:00
Jonathan Lemon
3132d967fa Do not pull in <sys/select.h>, it isn't required. 2000-04-16 17:34:33 +00:00
Warner Losh
0e7f0658ee #include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
Sheldon Hearn
1806a85c5a Do not issue a warning when chflags() fails with EOPNOTSUPP.
PR:		17875
Submitted by:	Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
2000-04-13 09:39:29 +00:00
Sheldon Hearn
b9efeafc84 Use an MD5 checksum to test for file changes; the previous method
of using file mtimes could result in chpasss(1) erroneously
detecting that no changes were made for non-interactive edits.

PR:		4238
Reported by:	Jens Schweikhardt <schweikh@noc.dfn.de>
Submitted by:	Daniel Hagan <dhagan@cs.vt.edu>
2000-04-12 08:49:14 +00:00
Brian Feldman
d0482be885 Add a new options: -m enables searching for memory-mapped files.
It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.

PR:		17555
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2000-04-05 05:45:40 +00:00
Bruce Evans
508424d139 Fixed prototype for setflags(). setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug.  The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.
2000-04-04 14:12:35 +00:00
John Polstra
ec9247d53e Document that the flags can be specified as an octal number. 2000-04-03 22:10:58 +00:00
Steve Price
b7ea7f1260 The FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64. 2000-04-02 20:22:04 +00:00
Brian S. Dean
599c73a35f Fix a bug in rsh that caused the remote process to hang waiting on
input even if the '-n' flag to rsh is used.  The write side of the
socket should be closed to allow the remote process to see EOF.

Submitted by:  Brad Chisholm <sasblc@unx.sas.com>
2000-04-01 00:14:50 +00:00
Jacques Vidrine
07aa6ef0c9 Instead of checking for a non-zero return value from kvm_read, check
whether we read as many bytes as we expected.
2000-03-31 15:02:10 +00:00
Sheldon Hearn
209e048477 While I'm in here, remove an unused variable.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-03-30 09:23:28 +00:00
Sheldon Hearn
9b75e14d30 Fix buffer overflow copying the ``kernel'' command-line argument into
buffers.  The buffers have been resized from the irrelevant BUFSIZ
to the more relevant MAXPATHLEN + 1.

Reported by:	Mike Heffner <spock@techfour.net>
2000-03-29 17:22:10 +00:00
Sheldon Hearn
35add0e9a7 Cross-reference ldd(1) in rtld(1) and vice versa. 2000-03-28 09:01:04 +00:00
Philippe Charnier
11458b9601 Get rid of hard sentence break
Asked by: Sheldon
2000-03-27 20:38:21 +00:00
Philippe Charnier
d3b7ea3d8c More rusers to .Nm convertion
Some of them found by: Sheldon
2000-03-27 20:36:55 +00:00
Philippe Charnier
ffa1b5c165 Quote with .Dq
Asked by: Sheldon
2000-03-27 20:33:32 +00:00
Bruce Evans
15d237484a Fixed misspelling of DPADD as DPADDA.
Fixed some misformattings.
2000-03-27 16:37:32 +00:00
Bruce Evans
1f82591eba Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in most
cases and broke the world in some cases.

Fixed style bugs for DPADD and LDADD (don't use += for variables defined
only once).
2000-03-27 15:02:59 +00:00
Sheldon Hearn
a6eb0df247 Do not overwrite files when the -i option is specified!
PR:		17476
Reported by:	Jonathan Chen <jon@spock.org>
2000-03-27 11:49:36 +00:00
Sheldon Hearn
a2554a04db Fix a mistakenly broken sentence. The mistake was made easy by the
confusing use of a comma to separate two sentences. :-)

Reported by:	bp
2000-03-27 10:50:54 +00:00
Sheldon Hearn
f4510294cb Y2K fix. at(1) would die with 'garbled time' when assign_date() was
pased a year > 99.  This change fixes the conversion of 2-digit years
into tm_year format.

This change is differs from the OpenBSD fix because of differences
in our assign_date().

PR:		15872
Reported by:	"Crist J. Clark" <cjclark@home.com>
Submitted by:	"Sergey N. Voronkov" <serg@dor.zaural.ru>
Obtained from:	OpenBSD
2000-03-27 09:32:23 +00:00
Philippe Charnier
fae643c579 Add DIAGNOSTICS section name. Spelling 2000-03-26 15:10:37 +00:00
Philippe Charnier
dbb9d8f826 Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
Philippe Charnier
5e8eb81aac Use .Xr 2000-03-26 15:05:40 +00:00
Philippe Charnier
110ab594ad Add usage(). 2000-03-26 15:04:35 +00:00
Philippe Charnier
f57cdd0f01 Do not dot terminate list of references 2000-03-26 14:56:52 +00:00
Philippe Charnier
846fef5834 remove unknown OPTIONS section name. Getopt returns -1. 2000-03-26 14:55:05 +00:00
Philippe Charnier
115a32af83 Add section number to .Xr references. Enumerate flags the standard way. 2000-03-26 14:54:01 +00:00
Philippe Charnier
7bb5b8a572 Put argument under .Ar. 2000-03-26 14:53:00 +00:00
Philippe Charnier
c66cf8837a Add section number to .Xr. Put arguments under .Ar. 2000-03-26 14:52:02 +00:00
Philippe Charnier
e88b3b4f9a Do not dot terminate err() string. Cross reference using .Xr 2000-03-26 14:50:56 +00:00
Philippe Charnier
742c75f3b7 Use .Pa 2000-03-26 14:49:49 +00:00
Philippe Charnier
b189011d7d Remove incorrect use of .Nm. Wrap long lines, Unwrap short lines
Options: -> The following options are available:
2000-03-26 14:48:46 +00:00
Philippe Charnier
4ed31d6609 Put flags under .Fl. Add DIAGNOSTICS section name 2000-03-26 14:47:43 +00:00
Philippe Charnier
34398e2d9b Sync SYNOPSIS and usage() string. 2000-03-26 14:46:41 +00:00
Philippe Charnier
e91b5c5294 Add missing dots 2000-03-26 14:45:38 +00:00
Philippe Charnier
a917a42da5 Move RCS tags after copyright
Add DIAGNOSTICS section name
2000-03-26 14:43:25 +00:00
Philippe Charnier
2e184158bf Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
Philippe Charnier
f71970dd4d .Nm changes 2000-03-26 14:41:07 +00:00
Philippe Charnier
83edb87b68 Add DIAGNOSTICS section name
Options: -> The following options are available:
2000-03-26 14:39:03 +00:00
Philippe Charnier
c097456602 Properly use .Nm, .Em, .Pa etc. Make usage() a simplier function. 2000-03-26 14:37:47 +00:00
Philippe Charnier
eb257e6ec5 Add -d and -t flags to usage. Add usage(). 2000-03-26 14:30:51 +00:00
Philippe Charnier
66f8a9c045 Typo 2000-03-26 14:29:45 +00:00
Philippe Charnier
a2995dd0f1 Use errx(), remove unused #include. Correct SYNOPSIS 2000-03-26 14:28:31 +00:00
Philippe Charnier
3bd17b58bc Add .Nm.
Options: -> The following options are available:
2000-03-26 14:27:19 +00:00
Philippe Charnier
f29410236f Add DIAGNOSTICS section name and section name to .Xr. 2000-03-26 14:25:51 +00:00
Philippe Charnier
540939b489 DIAGNOSTICS section name missing and .Nm changes 2000-03-26 14:24:40 +00:00
Philippe Charnier
a292105ac8 Use errx(). .Nm fixes 2000-03-26 14:23:23 +00:00
Philippe Charnier
884bd44c59 Use warnx(), -Wall cleaning and remove unused #include
Better use of .Nm and .Ar
2000-03-26 14:21:57 +00:00
Sheldon Hearn
464699d858 Correct grammar.
Rename and (where appropriate) re-order sections.
Put something useful in the BUGS section.
Clear the Os macro and add a HISTORY section.

Reviewed by:	bp
2000-03-24 07:37:02 +00:00
Michael Haro
b4448bd5d2 fix bug with du -hd
Submitted by: dcs
2000-03-24 06:25:32 +00:00
Mike Pritchard
b541ae06bd Change the usage of the .Nm macro in the NAME section to be
consistent with the rest of the system.
2000-03-24 00:30:30 +00:00
Sheldon Hearn
31eed39f9e Clear the Os macro and provide an HISTORY section instead. 2000-03-23 12:05:10 +00:00
Sheldon Hearn
51bef57540 Correct grammar.
Rename and (where appropriate) re-order sections:
        NOTES -> IMPLEMENTATION NOTES
        AUTHOR -> AUTHORS
Put something useful in the BUGS section.

Only the first gammar fix in the file comes was given in the
attributed PR.

PR:		17545
Submitted by:	Yoshihiro Ota <hiro@mail.advok.com>
2000-03-23 11:59:30 +00:00
Brian Feldman
d249b1750a Uncorrupt the SCCS id (s/ From: / /).
Put a tab before the comment for "rflags".

Submitted by:	bde
2000-03-20 21:31:30 +00:00
Guido van Rooij
9ef6ceee15 Add '-L' option to usage(). 2000-03-20 18:33:11 +00:00
Brian Feldman
0ef1d1f59c Fix a couple hard sentence breaks I inadvertently introduced. Also,
update a bit of English into something easier to read.

Prompted by:	sheldonh (thanks!)
2000-03-20 16:21:53 +00:00
Sheldon Hearn
7a3de7619d Revert the part of rev 1.5 that spammed rev 1.4; rev 1.4 correctly
removed an erroneous cross-reference to ld.so(1), which doesn't
exist in FreeBSD.

PR:		17468
Submitted by:	Randall Hopper <aa8vb@ipass.net>
2000-03-20 13:30:11 +00:00
Brian Feldman
175de1e677 Add a new flag: -E enables "extended" regular expressions. 2000-03-19 19:41:53 +00:00
Brian Feldman
ab853c5a6f Add $FreeBSD$. 2000-03-19 19:39:41 +00:00
Kris Kennaway
0a76f6e834 Add and document a NO_X knob to force disabling of X support in doscmd
Requested by:	sysop@silver.komanda.com.ua
2000-03-19 09:49:03 +00:00
Sean Eric Fagan
6cb533fe1c Change the output of truss to more closely resemble SysV's. (Yes, it
really is much nicer looking.)

Submitted by:	"Matthew N. Dodd" <winter@jurai.net>
2000-03-18 08:49:41 +00:00
Brian Feldman
06e88916ef Support more filesystems in fstat(1): now you can use fstat(1) to
find out if files on msdosfs and cd9660 filestores are open.
There was also a movement of some common things to a header, a
small cleanup.

PR:	bin/16364 bin/7043
Submitted by:	Peter Edwards <peter.edwards@openet-telecom.com>
2000-03-16 02:02:34 +00:00
Brian S. Dean
dcb3b3ca6b Resurrect the 'cdelay' and 'ldelay' features of /usr/bin/tip. 2000-03-15 15:01:04 +00:00
Archie Cobbs
6a469f6dc1 Identify timezone data files by their ``TZif'' magic number.
Add $FreeBSD$ tag.
2000-03-14 21:28:22 +00:00
Yoshinobu Inoue
b1d49ce7b6 Don't suppress Flags and Refs info for IPv4 entries.
(They need to be suppressed by default for IPv6 entries to keep the column
size of each entries in 80.)
2000-03-14 17:18:43 +00:00
Yoshinobu Inoue
5f2cd67530 Add a flag to the usage display.
There was a missing description for a new flags to netstat.
  I already added the fix to netstat man, but usage() change is
  also necessary.

Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
2000-03-11 20:14:08 +00:00
Yoshinobu Inoue
1c6d96a173 Add "-l" option description.
Noticed the necessity by Ben Smithurst <ben@scientia.demon.co.uk> message
on freebsd-current.
2000-03-11 14:33:13 +00:00
Yoshinobu Inoue
f3935df101 Prevent sockstat print out some empty entries related to IPv6.
Sockstat use netstat tcp/udp socket print, and fstat tcp/udp
  socket print, but it just specify all of IPPROTO_IP and
  IPPROTO_IPV6 sockets for fstat.
  Now IPv6 socket also use raw socket, but only netstat don't print it,
  so now they are printed as empty entries in sockstat output.

Approved by: jkh
2000-03-11 11:25:00 +00:00
Sheldon Hearn
4b25ed423f Fix whitepace in the arguments of two Xr macros. 2000-03-10 14:46:30 +00:00
Sheldon Hearn
27d805042a Mark up the optional -c option with the Op macro.
PR:		17271
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
2000-03-09 09:27:40 +00:00
Kris Kennaway
bb49f794f5 Buildworld fixes for NO_OPENSSH and NO_OPENSSL
Approved by:	jkh
2000-03-09 06:29:05 +00:00
Martin Cracauer
301cba219f Print a warning and exit with != 0 when at least one downloaded file
is shorter than previously announced by the server.

Tested by asami.

Approved by:	jkh
2000-03-08 13:02:11 +00:00
Nik Clayton
befd85d633 ftp(1)'s default pager is "more", not "less", as documented.
PR:             docs/17099
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-07 14:03:16 +00:00
Brian Feldman
2cb6b4ef51 Make a run-on sentence into two proper sentences, and clarify the meaning
a bit.
2000-03-06 23:06:11 +00:00
Sheldon Hearn
2ed2dc52a6 Remove more single-space hard sentence breaks. 2000-03-06 09:45:37 +00:00
Yoshinobu Inoue
7d0d8dc306 CMSG_XXX macros alignment fixes to follow RFC2292.
Approved by: jkh

Submitted by: Partly from tech@openbsd
Reviewed by: itojun
2000-03-03 11:13:12 +00:00
David E. O'Brien
ea6f1fa37f Tell people how to look up NIC handle information these days (for the two
cases I know about -- Netsol and ARIN).
2000-03-02 22:51:17 +00:00
Sheldon Hearn
4e86fcacf6 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
Sheldon Hearn
87faa07bec Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Nik Clayton
3615c24e18 Fix errors in .Xr usage.
PR:             docs/17057
Submitted by:   Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:48:35 +00:00
Nik Clayton
436aece8db s/curses/ncurses/
PR:             docs/17061
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:46:05 +00:00
Nik Clayton
19ca66af31 Remove reference to nwfsrc(8), replace with reference to
/usr/share/examples/nwclient/dot.nwfsrc.

PR:             docs/17059
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:43:11 +00:00
Gregory Sutter
9906a8ab7d underline "pattern" in the synopsis.
PR:		17042
Submitted by:	Edwin Groothuis <mavetju@chello.nl>
2000-02-28 21:23:27 +00:00
Yoshinobu Inoue
3fdf7be445 Previous fix was incomplete and has problem in reverse lookup failed dest,
so fix it.

Approved by: jkh

Submitted by: Ian West <ian@niw.com.au>
2000-02-28 18:37:07 +00:00
Andrey A. Chernov
5403e5e3f3 Fix diagnostic printing test condition (was always true)
Approved by:	jkh
2000-02-28 01:48:50 +00:00
Ruslan Ermilov
6861fa8643 Remove option's description that has gone with PAM. 2000-02-27 07:14:33 +00:00
Yoshinobu Inoue
482ca4274b Update sockstat to support INET6 socket printing.
Approved by: jkh

Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Reviewed by: des
2000-02-26 02:56:16 +00:00
Mark Murray
0ed9356caf Use libcrypto in place of libdes. 2000-02-24 21:06:22 +00:00
Yoshinobu Inoue
88a845c11d Correctly print out "Connected to" hostname.
Temporal buffer was used for the hostname and freed before actually used.

Specified by: ru
Approved by: jkh
2000-02-24 19:01:38 +00:00
Brian S. Dean
b75ebc058c Fix a 'tip' core dump caused by a null pointer dereference when
sending a file to the remote system.

PR:		bin/15660
Reviewed by:	jkh
Approved by:	jkh
2000-02-22 02:01:17 +00:00
Andrey A. Chernov
b2ca2dccc4 Fix several problems with EPSV (verbosity, one-per-session, missing place)
Approved by:	jkh
2000-02-21 18:18:41 +00:00
Yoshinobu Inoue
677e00c04e Fixed a little bit strange INET6 output.
Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
2000-02-19 21:46:45 +00:00
Yoshinobu Inoue
81edae92ed Use static buffer to save source route hostnames.
Approved by: jkh
2000-02-19 16:33:14 +00:00
Yoshinobu Inoue
a82a4df889 Print "Trying ..." for each host. Also cleanups for error printing.
Approved by: jkh

Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-02-19 16:17:41 +00:00
Yoshinobu Inoue
7f14aa9b8a Removed bogus line.
Specified by: ache
Approved by: jkh
2000-02-19 16:13:03 +00:00
Yoshinobu Inoue
6d939e82e0 Added IPv6 name resolving support for utmp logging.
Approved by: jkh
2000-02-19 15:57:52 +00:00
Yoshinobu Inoue
aeb2954d05 Don't try EPSV once it failed.
Specified by: Andrey A. Chernov" <ache@nagual.pp.ru>
Approved by: jkh
2000-02-18 07:02:48 +00:00
Sean Eric Fagan
05d5ca3587 Fix a leak. (Thanks Bruce, this was a bonehead mistake on my part :).)
Submitted by:	Bruce Evans
2000-02-15 20:25:47 +00:00
Yoshinobu Inoue
1d1ade86f0 Fix bugs in telnet.
Sorry there were still several bugs.
   -error retry at af missmatch was incomplete.
   -af matching for source addr option was wrong
   -socket was not freed at retry.

Approved by: jkh
2000-02-15 15:59:12 +00:00
Yoshinobu Inoue
1132b408c5 Add -4 and -6 options.
Current getaddrinfo() implemetation has a problem of too much resolving
 waiting time on INET6 enabled systems.
 -4 and -6 options can limit name resolving address family and is a possible
 workaround for the problem.

Approved by: jkh
2000-02-15 15:11:40 +00:00
Bill Swingle
1d2ed2f751 PR: 10850
Submitted by:	Scott Hazen Mueller <scott@zorch.sf-bay.org>
2000-02-15 03:00:47 +00:00
Chris Costello
111b70aa08 Remove the version information from `.Os FreeBSD' here. Not only
might it confuse people, but it causes a warning message with
nroff, and no version history mentions a 1.2 version of FreeBSD.

If anything, a ``HISTORY'' section should show which version this
appeared in.
2000-02-14 01:47:54 +00:00
Chris Costello
c139298856 Reduce the number of args to .%T to an acceptable number by
removing the `Nm' command from the line.  This means that %T
will actually work.
2000-02-14 01:21:13 +00:00
Yoshinobu Inoue
e7e960abeb Add more dual stack consideration.
-Should retry as much as possible when dest addr and
   source addr(specified with -s option) address family
   missmatch happend

Approved by: jkh
2000-02-12 17:59:06 +00:00
Yoshinobu Inoue
319c8e321c Fix parsing problems.
-"ftp hostname:/path" was not working.
 - IPv6 raw addr specification was not well supported, such as,
   "ftp http://\[1:2:3:4:5:6:7:8:\]/index.html"

Approved by: jkh
2000-02-12 15:16:59 +00:00
Yoshinobu Inoue
2bd54ee847 Fix several bogus bugs
-Some address resolving related structures were not freed after use.
 -Some error messages were not printed out correctly.

Approved by: jkh
2000-02-12 15:03:05 +00:00
Nik Clayton
b5edd6da96 Teach passwd about a new "mixpasswordcase" login.conf parameter. If this
parameter is missing, or specified as above, then passwd behaves as normal
when the user enters an all lower case password -- i.e., it prompts them
to use mixed case, and will only grudgingly accept an all lower case
password.

If you negate this entry in login.conf, with "mixpasswordcase@", then
passwd will allow all lower case passwords without complaining.

Approved by:  jkh
2000-02-11 14:08:44 +00:00
Nik Clayton
485343f5ff Teach passwd about a new "mixpasswordcase" login.conf parameter. If this
parameter is missing, or specified as above, then passwd behaves as normal
when the user enters an all lower case password -- i.e., it prompts them
to use mixed case, and will only grudgingly accept an all lower case
password.

If you negate this entry in login.conf, with "mixpasswordcase@", then
passwd will allow all lower case passwords without complaining.

Approved by:	jkh
2000-02-11 13:45:51 +00:00
Yoshinobu Inoue
960e15a70b Add more dual stack consideration.
-Should retry as much as possible when some of source
     routing intermediate hosts' address families missmatch
     happened.
     (such as when a host has only A record, and another host
     has each of A and AAAA record.)

    -Should retry as much as possible when dest addr and
     source addr(specified with -s option) address family
     missmatch happend

Approved by: jkh
2000-02-10 20:06:36 +00:00
Yoshinobu Inoue
d98d74772f Let ftp command use only PORT(no EPRT) for IPv4 destination.
Because if ftpd is invoked with -R option, and EPRT is used via firewal
  or NAT which don't understand EPRT, then the data connection from ftpd
  to ftp client will fail.

Reported By: ume@mahoroba.org
Approved by: jkh
2000-02-09 00:27:40 +00:00
David E. O'Brien
f506ed7467 There is a problem in that one cannot use ctype.h at the same time as parts
of the C++ stdlib.  Our ctype.h uses symbols of the form _<X> to denote the
various character classes.  Our ctype.h also extends the usual ctype.h
offering by adding the "_T" (special) class.  Problem is parts of the STL
also use the symbol "_T" as its parameterized type.  These two uses are
incompatible.

Thus change the form of the symbols used in ctype to something that fixes
the current problem and is less likely to cause conflicts in the future.

Requested by:	Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp>
Ok'ed by:	JKH
2000-02-08 07:43:26 +00:00
Yoshinobu Inoue
f306e0c85f Fix telnet core dump at invalid service name specified.
Added an error check to avoid it.

Approved by: jkh

Submitted by: Robert Muir <rmuir@gibralter.net>
2000-02-07 00:52:49 +00:00
David E. O'Brien
6eea92a408 Move brandelf from being i386 specific to the MI area -- Linux emulation
is comming to the Alpha.
2000-02-06 19:15:10 +00:00
Josef Karthauser
418d67b0d9 Revert part of the last commit, remove {g|s}etflags from the libc
interface, and statically link them to the programs using them.
These functions, upon reflection and discussion, are too generically
named for a library interface with such specific functionality.
Also the api that they use, whilst ok for private use, isn't good
enough for a libc function.

Additionally there were complications with the build/install-world
process.  It depends heavily upon xinstall, which got broken by
the change in api, and caused bootstrap problems and general mayhem.

There is work in progress to address future problems that may be
caused by changes in install-chain tools, and better names for
{g|s}etflags can be derived when some future program requires them.
For now the code has been left in src/lib/libc/gen (it started off
in src/bin/ls).

It's important to provide library functions for manipulating file
flag strings if we ever want this interface to be adopted outside
of the source tree, but now isn't necessarily the right moment
with 4.0-release just around the corner.

Approved:	jkh
2000-02-05 18:42:36 +00:00
Yoshinobu Inoue
0bd288cd6c Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,
getnameinfo() don't return error at name resolving failure.
But it is used at doaddrlookup(-N) case in telnet, error need to be
returned to correctly initialize hostname buffer.

Discovered at checking recent KAME repository change, noticed by itojun.
2000-01-29 18:21:05 +00:00
Yoshinobu Inoue
23111c4144 fix breakage of make release.
Confirmed by: German Tischler <tanis@gaspode.franken.de>
2000-01-29 13:45:44 +00:00
Jeroen Ruigrok van der Werven
a6324d7034 Fix typo's.
PR:		16430
Submitted by:	Adam.Kranzel@teru.dyndns.org (shade@dnai.com)
2000-01-28 20:20:28 +00:00
Yoshinobu Inoue
0fea3d5165 IPv6 multicast routing.
kernel IPv6 multicast routing support.
  pim6 dense mode daemon
  pim6 sparse mode daemon
  netstat support of IPv6 multicast routing statistics

  Merging to the current and testing with other existing multicast routers
  is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
  the base code in KAME distribution.

  Make world check and kernel build check was also successful.
2000-01-28 05:10:56 +00:00
Josef Karthauser
18c0eeddf7 Historically file flags (schg, uschg, etc) have been converted from
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'.  As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.

Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.

There are two already existing libc functions for manipulating file
modes:  setmode and getmode.  In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.

The manual page could probably be improved upon ;)
2000-01-27 21:17:01 +00:00
Michael Haro
d3e00c127b cleanup using suggestions from bde 2000-01-27 20:55:09 +00:00
Matt Jacob
623136a74f Style change and comment difference per bde.
Obtained from:bde@freebsd.org
Marionette by:mjacob@freebsd.org
2000-01-27 16:15:51 +00:00
Yoshinobu Inoue
4dd8b5ab79 another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
  also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project
2000-01-27 09:28:38 +00:00
David E. O'Brien
404d72b9f6 Fixes for my mandoc braindamage.
Submitted by:	sheldonh
2000-01-27 09:00:51 +00:00
Matt Jacob
e6d26e0a6f A cleaner fix to previous.
Obtained from:bde@freebsd.org
2000-01-27 07:58:27 +00:00
Matt Jacob
1445426340 Fix ctags from core dumping on alpha. Let the diffs out to review,
but I timed out. Added FreeBSD CVS header.
2000-01-27 05:46:58 +00:00
Michael Haro
54aa177193 Add human-readable output flag, -h
Reviewed by: obrien
2000-01-25 17:46:59 +00:00
Yoshinobu Inoue
0cac72f42c several tcp apps IPv6 update
-inetd
 -rshd
 -rlogind
 -telnetd
 -rsh
 -rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
Mike Pritchard
f3c2973db7 Fxi various man pages to stop abusing the .Bx macro to generate
the string "FreeBSD".  Use the .Fx macro instead.  Also did some
minor re-wording/formatting to work around a deficiency with
the .Fx macro when it comes to puncuation characters other than
periods and commas.
2000-01-23 01:48:16 +00:00
Sheldon Hearn
248368f60a Revert the change from memset() to bzero(), since bzero() is simply
a special case of memset and we already initialize all those
members of the struct tm which are required by mktime().

The memset() is only necessary for style conformity with the rest
of the file. :-)

Scenic route tour by:	bde
2000-01-20 09:41:31 +00:00
David E. O'Brien
012e166b55 Change the error message to be the FreeBSD one, not the OSF/1 one. 2000-01-19 18:36:01 +00:00
Ruslan Ermilov
810ce16d54 ${.MAKE} -> ${MAKE}
Reviewed by:	hoek
2000-01-19 10:44:28 +00:00
David E. O'Brien
bcbd27be2a Utility to control the printing of "Fixed up unaligned data access for pid
nnn at pc 0xADDR" and the fixup of the UA fault on the DEC Alpha when an
unaligned access fault happens.  Modeled after the OSF/1 utility of the
same name.

Submitted by:	gallatin
2000-01-19 09:47:19 +00:00