Commit Graph

4591 Commits

Author SHA1 Message Date
Greg Lehey
70ae2d62cb Remove duplicate entries. 2001-10-04 00:38:36 +00:00
Thomas Gellekum
1a63d7e08e - First shot at PIC emulation;
- better 8250 emulation;
- fake vertical retrace bit in Input Status #1 register
  (this was lost in the VGA emu rewrite).

Submitted by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-10-02 11:28:59 +00:00
Bill Fenner
8cd6778484 Allow "obsolete" (but commonly-used) command line style to be used
with -F, e.g. tail -1 -F /var/log/messages.

Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-10-02 06:22:01 +00:00
Ruslan Ermilov
32eef9aeb1 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
Ruslan Ermilov
6846c17488 mdoc(7) police: make double quotes in #include statement visible. 2001-10-01 15:01:57 +00:00
Ruslan Ermilov
0eebeb0071 mdoc(7) police: s/FreeBSD/.Fx/, bump document date. 2001-10-01 13:32:46 +00:00
David E. O'Brien
dbb3c034a4 Adjust to the libedit enhancements some functions now take more parameters.
Partially submitted by:	kris
2001-10-01 08:46:45 +00:00
Greg Lehey
24e7f58b03 Add description for calendar.freebsd. 2001-10-01 02:35:52 +00:00
Greg Lehey
c4035b4f35 Correct spelling of Labour Day in Australia, and clarify which states observe it.
Add Queen's Birthday in WA.
Expand unnecessary abbreviation.
Correct rules for German Buss-  und Betttag.
Disunite Ivory Coast and Panama.
2001-10-01 02:35:08 +00:00
Bosko Milekic
70a61707f6 Re-enable mbtypes statistics in the mbuf allocator. I disabled these
when I changed the allocator bits. This implements per-CPU mbtypes
stats by keeping net number of decrements/increments of a given mbtype
per-CPU and then summing all of the per-CPU mbtypes to produce the total
net number of allocated mbufs of the given mbtype.
Counters are carefully balanced to avoid/prevent underflows/overflows.

mbtypes stats are re-enabled with the idea that we may occasionally
(although very rarely) observe slight inconsistencies in the stat
reporting. Most of the time, we should be fine, though.

Also make appropriate modifications to netstat(1) and systat(1) to do
the necessary reporting.

Submitted by: Jiangyi Liu <jyliu@163.net>
2001-09-30 01:58:39 +00:00
Bill Fumerola
5b3f2c13a2 use openpty() instead of rolling a custom function (which didn't support
the full range of ptys anyways)
2001-09-28 22:46:13 +00:00
David E. O'Brien
3d0b614006 Clarify that -h implies -c. 2001-09-24 17:42:37 +00:00
Dag-Erling Smørgrav
dbcc198301 Don't print running stats unless we're the foreground process.
PR:		30764
2001-09-23 22:03:39 +00:00
Mike Heffner
28fb5d9a37 Don't add space after comma unless there was already one (prevents a
rare overflow). Optimize loop slightly. Don't exit if realloc can't
shrink a buffer (just continue and use the larger buffer).

Obtained from:	OpenBSD
MFC after:	2 weeks
2001-09-23 04:07:26 +00:00
David E. O'Brien
d39947fd41 blah, remove debugging code that crept in with last commit. 2001-09-23 00:11:48 +00:00
David E. O'Brien
842d1c6c96 Add the 'h' flag to operate on symlinks rather than what they point to. 2001-09-22 18:45:03 +00:00
Crist J. Clark
cfd848db6f Fixing a bug that causes very short uptimes (less than one minute) to
be 30 seconds off. (Thanks to Vladimir B.Grebenschikov
<vova@express.ru> for the PR and ru for a more elegant fix.)

PR:		bin/30680
Approved by:	ru
2001-09-22 09:33:00 +00:00
Ruslan Ermilov
db1909f7d2 mdoc(7) police: markup nits. 2001-09-21 07:04:47 +00:00
Garrett Wollman
3dbc6eb200 Cross-reference jot(1).
MFC after:	1 week
2001-09-21 03:05:16 +00:00
Garrett Wollman
bc14f117e1 Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used
to display text in columns even when the other formatting pr does is not
desired.)

MFC after:	1 week
2001-09-21 02:57:56 +00:00
Garrett Wollman
748dcfb055 Cross-reference between lam(1) and paste(1). Add a STANDARDS section to
lam(1) indicating that paste(1) is a standard way to do some of the same
things.

MFC after:	1 week
2001-09-21 02:51:07 +00:00
Peter Wemm
9119623471 Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
Greg Lehey
e3c822c968 Fix multiple uses of commas to separate countries. This construct is
commonly used in the United States of America to represent a
hierarchical relationship between city and state or country
("Evacuation Day in Suffolk County, Massachusetts"), but it was also
being abused to enumerate unrelated places ("Independence Day in
Albania, Mauritania").

Remove the list of countries observing All Souls' Day.  This is a
widely observed holiday, and the list only included South American
contries.

There's more to do here; the list is rather patchy.
2001-09-17 21:19:28 +00:00
Ruslan Ermilov
e08effdafa When bootstrapping install(1), libc may not have the strtofflags(3) support. 2001-09-17 11:58:14 +00:00
Greg Lehey
fe3e98753e Correct spelling of PNG.
Make it clear that 16 September is the national day both in Mexico and PNG.
2001-09-15 23:55:07 +00:00
Robert Watson
2c19b38f62 o Modify NFS rights comment to note that the early credential changes
to test for a home directory don't set up the additional groups, and
  as such may limit users conservatively.  This does not affect the
  eventual credentials selected.
2001-09-15 17:09:39 +00:00
Ruslan Ermilov
4bf12cb91e Fold groups(1) and whoami(1) into id(1). 2001-09-14 14:04:08 +00:00
Ruslan Ermilov
631a876574 Simplify f_Xtime(). 2001-09-14 13:42:26 +00:00
Ruslan Ermilov
adff4fca3d Bloat find(1) even more, and introduce the concept
of time units to be used with -[acm]time primaries.

Based on patch from Nils M Holm <nmh@t3x.org>.

PR:		bin/29165, bin/30309
2001-09-14 12:47:13 +00:00
Ruslan Ermilov
7b24b50458 Now that we have it, replace `afterinstall' target with SCRIPTS. 2001-09-13 14:26:31 +00:00
Ruslan Ermilov
fa8baa7a9e Fixed the BINGRP handling mess.
EXEGRP and EXEMODE are used to install DOS (EXE format) binaries.
doscmd(1) can optionally be installed as ``setgid kmem''.
Hence the assignment operator for EXEGRP.

PR:		bin/30538
2001-09-13 07:20:51 +00:00
Ruslan Ermilov
cda2a9b2f0 Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
2001-09-13 06:48:18 +00:00
Mark Murray
69ebfe3495 Reinstate complete (and now correctly functioning) WARNS=2. 2001-09-12 19:15:02 +00:00
Ruslan Ermilov
9de6241784 Fixed some of style bugs. 2001-09-12 10:04:42 +00:00
Julian Elischer
b40ce4165d KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after:    ha ha ha ha
2001-09-12 08:38:13 +00:00
Greg Lehey
f1422f2ebc Correct the entry for Sudetenland. It also has nothing to do with the south.
Corrected by:	joerg
Pointy hat to:	grog
2001-09-12 07:22:38 +00:00
Greg Lehey
49113adb7a Correct the invasion of Südetenland. Any involvement of ducks was insignificant. 2001-09-12 00:13:02 +00:00
Ruslan Ermilov
d44ddba96c Implement the ``-f address_family'' filter for -i.
Prodded by:	Igor Podlesny <poige@morning.ru>
2001-09-11 17:14:33 +00:00
Ruslan Ermilov
1cb467b1b3 Update usage() to match reality. 2001-09-11 15:21:36 +00:00
Ruslan Ermilov
6658f7a13b mdoc(7) police: Fixed the .Ex calls in manpages that describe more
than one utility.

PR:		docs/30437
Submitted by:	SUZUKI Koichi <koich@cac.co.jp>
2001-09-11 12:27:15 +00:00
Mike Barcroft
1c93d61fcc Add a cast to silence a warning (error because of WARNS=2) on Alpha.
Discussed with:	des
2001-09-10 17:23:57 +00:00
Ruslan Ermilov
1cdc4a5318 Do not overrun entry array when printing output tables.
Cleanup storage allocation for entries.

Obtained from:	NetBSD
2001-09-10 15:09:12 +00:00
Ruslan Ermilov
db8b9c344e Fixed SIGFPE (divide by zero) if column's width exceeds display width (-w).
Obtained from:	OpenBSD
2001-09-10 11:56:07 +00:00
Ruslan Ermilov
c4c981072b Fixed the -z option handling:
-Wuninitialized if used without -t.

PR:		bin/30467

Null pointer dereference if used with -t.

Maximum column width computation was wrong.
2001-09-10 11:43:40 +00:00
Dima Dorfman
728d043e5b - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd
also use this, and they shouldn't have to have their own prototypes.

- Silence warnings about constness and signedness in ttymsg().  This
  includes changing the return value to a `const char *', and changing
  the types of `left' and `wret' (both byte counts) to ssize_t.

Reviewed by:	bde
2001-09-09 14:23:31 +00:00
Brian Somers
8b0bff44c7 Iron out an identity crisis. I'm Irish, not English. 2001-09-09 08:33:40 +00:00
Matthew Dillon
ea079e4650 Make sure that all non-root-owned binaries in standard system
paths are chflaged 'schg' to prevent exploit vectors when run
by cron, by a root user, or by a user other then the one owning the
binary.  This applies to most of the uucp binaries, cu, tip, and
man (man was already installed properly).

MFC will occur when approved.
2001-09-09 04:54:10 +00:00
Mike Barcroft
0caf2ae89d Remove a bogus cast and lockdown users(1) with WARNS?=2
Submitted by:	David Hill <david@phobia.ms>
Reviewed by:	-audit
MFC after:	1 week
2001-09-09 00:40:04 +00:00
Greg Lehey
7e0fb01917 Add Dennis Ritchie. 2001-09-09 00:36:20 +00:00
Dag-Erling Smørgrav
e9dc4f3b74 If the local file does not exist, or is a regular file, and we're not trying
to resume a transfer, download the requested document into a temporary file
which we later rename.  This avoids leaving half-completed files around in
case of a crash (it'll still leave a half-completed file, but with a  hope-
fully non-conflicting name), and should reduce the need for human inter-
vention on ports-building machines.

The temporary file name for "foo/bar" is constructed by invoking mkstemps()
with the pattern "foo/.fetch.XXXXXX.bar"

Requested by:	obrien
2001-09-08 15:17:15 +00:00
Mark Murray
73bd08dda4 Back out (with prejudice) the last WARNS=2 fix. I cannot understand
its failure mode, and will revisit it later.
2001-09-07 16:20:38 +00:00
Ruslan Ermilov
e2beaf705c Yay!
Make this manpage readable and match the reality.
2001-09-07 15:18:45 +00:00
Ruslan Ermilov
76840ccb9d If -s -s is specified, don't show zero multicast routing statistics. 2001-09-07 12:59:30 +00:00
Ruslan Ermilov
70057abf2d Deprecate the -l option in favour of more natural -W.
The compatibility glue is still provided.

(This change is not yet reflected in the manpage, nor
in usage().  This will be fixed at a later time today,
with the general manpage cleanup commit.)
2001-09-07 12:00:50 +00:00
Ruslan Ermilov
fb5d0fbdd7 Don't print stray socket addresses (-A) with the listen queue display (-L).
Also, print socket's protocol with the -L.
2001-09-07 11:06:28 +00:00
Ruslan Ermilov
ca122bf7d8 The default for -p was ``kern.notice'' in the -h case.
Make it ``user.notice'', as per manpage.

(The syslog(3) function defaults to LOG_USER facility
if none is specified, but we don't use syslog() in the
-h case.)

PR:		docs/30374
Noticed by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2001-09-06 12:48:44 +00:00
Kenneth D. Merry
8f29de8be3 Convert systat(1) to use the new devstat interface.
Submitted by:	"Sergey A. Osokin" <osa@freebsd.org.ru>
2001-09-06 04:06:12 +00:00
Dima Dorfman
f328d583a2 Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults.  Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.

Approved by:	bde
2001-09-05 20:10:59 +00:00
Ruslan Ermilov
2cfec5ade4 Make ``wall -g'' really DTRT.
Reviewed by:	imp, markm
2001-09-05 15:31:07 +00:00
Mike Barcroft
1106c5f173 Remove a trailing space at the end of a line.
Forgotten by:	mike
Submitted by:	ru
2001-09-04 17:49:07 +00:00
Mike Barcroft
3b91552d11 o Remove examples from throughout the manual.
o Create an EXAMPLES section.
o In some places change "ru" to "RU" to be consistent.

Reviewed by:	ru
2001-09-04 17:30:39 +00:00
Mark Murray
4239cf1c01 WARNS=2 fixes.
The remaining problem of converting highly incompatible pointer types
is done by "laundering" the value through a union.

This solves the problem (in my own mind) of how a "const char *" _ever_
actually gets a value in a WARNS=2 world.
2001-09-04 17:10:57 +00:00
Ruslan Ermilov
9dd887f1a6 SECURITY.
Fixed macros for temporarily relinquishing and restoring setuid/setgid
privileges so that they never change the real user and group IDs of
the calling process.

The setre[ug]id() calls are still used in the REDUCE_PERM macro (with
the r[ug]id arguments of -1) so that the call changes the saved user
and group IDs of the process to that specified.

Also, the panic() and perr() functions had insufficient privileges to
delete the problematic file under /var/at.
2001-09-04 16:15:51 +00:00
Ruslan Ermilov
7fd5ee41e3 The implementation of -flags was broken and did not match the (poorly)
documented behavior.  Only a certain set of file flags were recognized,
and "no" flags did not match files that have corresponding flags bits
turned off.

Fix and extend the -flags functionality as follows:

: -flags [-|+]<flags>,<notflags>
:    The flags are specified using symbolic names (see chflags(1)).
:    Those with the "no" prefix (except "nodump") are said to be
:    <notflags>.  Flags in <flags> are checked to be set, and flags in
:    <notflags> are checked to be not set.  Note that this is different
:    from -perm, which only allows the user to specify mode bits that
:    are set.
:
:    If flags are preceded by a dash (``-''), this primary evaluates
:    to true if at least all of the bits in <flags> and none of the bits
:    in <notflags> are set in the file's flags bits.  If flags are pre-
:    ceded by a plus (``+''), this primary evaluates to true if any of
:    the bits in <flags> is set in the file's flags bits, or any of the
:    bits in <notflags> is not set in the file's flags bits.  Otherwise,
:    this primary evaluates to true if the bits in <flags> exactly match
:    the file's flags bits, and none of the <flags> bits match those of
:    <notflags>.

MFC after:	2 weeks
2001-09-04 16:09:01 +00:00
Ruslan Ermilov
63462b0c3a mdoc(7) police: tighten label width. 2001-09-04 10:24:52 +00:00
Robert Drehmel
c146250ee2 Use the correct blocksize when invoked with both -h and -k
options.

PR:		30275
Reviewed by:	jake
2001-09-04 09:43:31 +00:00
Andrey A. Chernov
005ee369ed File positions are off_t nowdays, not long, so:
fseek -> fseeko
    ftell -> ftello
    fseek(x, 0L, 0) -> rewind(x)

    NOTE: that fseek/ftell not works for >long offsets per POSIX:

    [EOVERFLOW] For fseek( ), the resulting file offset would be a value which
    cannot be represented correctly in an object of type long.

    [EOVERFLOW] For ftell ( ), the current file offset cannot be represented
    correctly in an object of type long.
2001-09-03 04:30:46 +00:00
Andrey A. Chernov
af8c32621d File positions are off_t nowdays, not long, so:
fseek -> fseeko
    ftell -> ftello

    NOTE: fseek/ftell not works for >long offsets per POSIX:

    [EOVERFLOW] For fseek( ), the resulting file offset would be a value which
    cannot be represented correctly in an object of type long.

    [EOVERFLOW] For ftell ( ), the current file offset cannot be represented
    correctly in an object of type long.
2001-09-02 14:40:51 +00:00
Andrey A. Chernov
8cdc766763 strtol -> strtoll (for off_t file size) 2001-09-01 23:36:40 +00:00
Andrey A. Chernov
bb8d56ce53 File positions are off_t nowdays, not long, so:
long -> off_t
  fseek -> fseeko

  NOTE: that fseek not works for >long offsets files per POSIX:

  [EOVERFLOW] For fseek( ), the resulting file offset would be a value which
  cannot be represented correctly in an object of type long.
2001-09-01 23:01:29 +00:00
Andrey A. Chernov
7a27e6571b File positions are off_t nowdays, not long, so:
strtol -> strtoll
  fseek -> fseeko

  NOTE: that fseek not works for >long offsets files per POSIX:

  [EOVERFLOW] For fseek( ), the resulting file offset would be a value which
  cannot be represented correctly in an object of type long.
2001-09-01 22:42:47 +00:00
Andrey A. Chernov
bd9dc97512 File positions are off_t nowdays, not long, so:
long -> off_t
strtol -> strtoll
fseek -> fseeko

NOTE: that fseek not works for >long offsets files per POSIX:

[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
2001-09-01 22:22:45 +00:00
Kris Kennaway
ffacb1a399 Remove some unsafe function calls from the signal handlers.
Obtained from:	OpenBSD
Reviewed by:	audit
MFC after:	2 weeks
2001-09-01 07:35:25 +00:00
Mark Peek
f57996437a Exit gracefully when a SIGHUP is received. This prevents ee from going into
an infinite spin loop when the terminal window is forcibly blown away.

PR:		29553
Reported by:	Sung N. Cho <sucho2@vt.edu>
MFC after:	1 day
2001-08-31 21:50:06 +00:00
Ruslan Ermilov
3b7e5ccc6a SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
Ruslan Ermilov
208691fcd8 Sort predicates.
PR:		docs/30237
2001-08-31 15:48:00 +00:00
Jose M. Alcaide
afe9babfeb Add myself. 2001-08-31 11:35:18 +00:00
Adrian Chadd
27a6d44d7f Make my Grandfather famous by showing the world my middle name,
as seems to be the trend.

(Thanks Josef. :-)
2001-08-31 00:25:16 +00:00
Mike Barcroft
ad6c0a3768 Revert the previous delta and apply a better fix which corrects
a check on the final snprintf and reduces duplicated code.

Submitted by:	brian
2001-08-30 17:13:15 +00:00
Ruslan Ermilov
c0ff9709a5 Restore the `-perm +mode' feature.
Broken in the "close a PR" race, in revision 1.30.
Note that the patch in the PR did not have this bug!
2001-08-30 13:17:58 +00:00
Josef Karthauser
a56f87b1c5 Make my Dad famous by showing the world my middle name, as seems
to be the trend.
2001-08-30 13:17:26 +00:00
Mark Murray
142277ce04 Like su(1), make PAM use mandatory. Remove parts of the authentication
logic that are handled by PAM. Fix documentation to reflect this.
2001-08-30 11:27:36 +00:00
Alexander Langer
52c15acab2 Remove whitespace at end of line I happened to find during my last edit. 2001-08-30 02:32:00 +00:00
Alexander Langer
f855f63e6a Add support for proper URI encoding, using strvisx(3)'s VIS_HTTPSTYLE.
Requests through a proxy are still broken for URIs that contain
blanks, since this required a bigger rewrite of the whole function.
2001-08-30 02:30:33 +00:00
Mike Barcroft
8bd14b98d0 Add support for HTTP/1.1 name-based virtual hosts. Also, use
asprintf(3) when creating the request string, as the length of
a path is defined as unlimited by the standard and limiting the
total request to 4K is awfully arbitrary.

PR:		30054
Submitted by:	Joseph Mallett <jmallett@xMach.org>
MFC after:	8 days
2001-08-30 00:57:35 +00:00
Mike Barcroft
2b8bab2f34 o Fix some checks on snprintf(3) to prevent miscalculations.
o This fixes a memory leak that can occur on some URL's.

Pointy hat to:	brian
2001-08-29 23:51:14 +00:00
Mark Murray
6b022d0047 Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code. 2001-08-29 14:16:17 +00:00
Joerg Wunsch
8a2ecea916 In get_string(), 0-terminate the contents of buf ``just in case'';
otherwise, if the very first fgetc() already yielded EOF, the returned
string won't get terminated at all.

MFC after:	1 day
2001-08-28 21:27:36 +00:00
Dima Dorfman
ad3a51b894 -a is not an options (sic). 2001-08-28 12:48:19 +00:00
Dima Dorfman
37a79c4533 Mention what an asterisk means in the -i display.
PR:		30069
Submitted by:	andrew@ugh.net.au
2001-08-28 12:45:47 +00:00
Matthew Dillon
bbe67657cf Remove MAP_INHERIT flag from mmaps. 2001-08-25 18:06:32 +00:00
Dima Dorfman
5222969570 ``recognized -> recognize'' where appropriate.
Obtained from:	OpenBSD
2001-08-23 21:13:31 +00:00
Brian Somers
0baa3ca450 Fix my previous snprintf() patches (which were largely no-ops).
Mostly submitted by: bde
2001-08-23 12:53:15 +00:00
Pete Fritchman
a81c08b054 Add myself.
Reviewed by:	ade
2001-08-22 23:13:55 +00:00
Mike Barcroft
666fb6724a Take maintainership of whois(1). 2001-08-21 19:24:50 +00:00
Ruslan Ermilov
65c7e9c195 Update -v documentation to match reality.
Spotted by:	bde
2001-08-21 15:59:55 +00:00
Brian Somers
08741a6f5c Revert to version 1.16 which was more correct than either of my attempts. 2001-08-21 12:54:15 +00:00
Brian Somers
ce595235cb Display a better error message when snprintf() returns < 0
Pointed out by: bde
2001-08-21 11:39:45 +00:00
Brian Somers
081f2a7ec6 Handle overflows from snprintf(), not just returns of < 0
Pointed out by: bde
2001-08-21 11:39:32 +00:00
Brian Somers
051449d576 Remove unnecessary casts.
The original (1.16) code was mostly correct, but this version is
far clearer.

Casts suggested to now be obfuscations by: bde
2001-08-21 11:24:53 +00:00
Brian Somers
cbe1d3b630 Handle snprintf() returning -1.
MFC after:	2 weeks
2001-08-20 14:46:40 +00:00
Mark Murray
b174363035 Very minor stylistic nit.
Discussed with:	ru
2001-08-20 12:46:11 +00:00
Mark Murray
012b940383 Code merge and diff reduction between this and crypto telnet.
Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.
2001-08-20 12:21:31 +00:00
Brian Somers
2aad70eb9e Don't misuse the return from snprintf.
MFC after:	2 weeks
2001-08-20 11:58:05 +00:00
Kris Kennaway
a0b13740e8 Don't overflow a buffer from command line arguments.
MFC after:	2 weeks
2001-08-20 09:43:04 +00:00
Kris Kennaway
04228e35d9 Part II of libss retirement: zap mk_cmds too.
Pointy hat to:	kris
2001-08-20 06:23:35 +00:00
Dag-Erling Smørgrav
eab5a80417 Remove a blank line that snuck in with the previous commit.
Set the default timeout to 120 seconds instead of 0 (no timeout).
2001-08-18 10:48:55 +00:00
Peter Wemm
cccce27ae3 Correct path (../crypto, not ../../crypto) 2001-08-18 03:36:26 +00:00
Dag-Erling Smørgrav
db695db7f0 Add some comments. 2001-08-17 22:22:45 +00:00
David E. O'Brien
1687fcd346 Use a build-tool to create the .mgc files.
Submitted by:	ru (partial)
Obtained from:	NetBSD (basic idea)
Reviewed by:	bde, ru
2001-08-17 17:21:38 +00:00
Max Khon
9a94731096 add an entry about myself
Reviewed by:	jdp
2001-08-17 05:59:39 +00:00
Mike Heffner
cbf16fdf21 Print a space between the function name and line number.
PR:		bin/10980
MFC after:	2 weeks
2001-08-16 16:18:14 +00:00
Mike Heffner
1ac49cd896 Add $FreeBSD$
MFC after:	2 weeks
2001-08-16 16:16:07 +00:00
Sheldon Hearn
d1050cb33c * Update author's e-mail address.
* When the author of an utility also wrote its manual page (a rarety, I
  know), it is not necessary to say that the utility "and this manual
  page" were written by the author.
2001-08-16 08:40:54 +00:00
Sheldon Hearn
b63c01391e Use the .Cm macro to mark up the modifiers of the -s flag's size argument. 2001-08-16 08:19:09 +00:00
Mike Heffner
327a1d9ddb Fix usage message, the executable is optional.
PR:		bin/29735
MFC after:	2 weeks
2001-08-15 21:25:50 +00:00
Ruslan Ermilov
bf1bf89163 Substitute ARGSTR in-place.
Forgot trailing newline in usage().
2001-08-15 15:24:08 +00:00
Ruslan Ermilov
d143364652 Fixed the usage() string.
This also reverts change in rev. 1.36 to the documented
style of writing usage().

PR:		bin/29730
Submitted by:	Joseph Mallett <jmallett@xMach.org>
2001-08-15 15:11:52 +00:00
Ruslan Ermilov
ccb8bea4f0 The old fmt(1) always did what the new ``-l 8'' option does.
POLA: Changed the default to ``-l 8'' while still providing
a way to disable this feature with ``-l 0''.

PR:		bin/29247
Reviewed by:	iedowse
2001-08-15 14:53:55 +00:00
Ruslan Ermilov
d628d776c4 mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
Kazuo Horikawa
d8ac53f249 Removal of following export controll related sentences:
o This option is not available outside of the United States and Canada.
o Because of export controls, TELNET ENCRYPT option is not supported outside
  of the United States and Canada.

src/crypto/README revision 1.5 commit log says:
> Crypto sources are no longer export controlled:
> Explain, why crypto sources are still in crypto/.
and actually telnet encryption is used outside of US and Canada now.

Pointed out by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
Reviewed by:no objection on doc
2001-08-15 01:23:30 +00:00
Jens Schweikhardt
fa7a1ab968 Add hint about how we name profiled libraries (append _p at the right place).
PR:		8061
Submitted by:	Brandon Gillespie <brandon@ice.cold.org>
Reviewed by:	joerg, ru
MFC after:	5 weeks
2001-08-14 17:48:29 +00:00
Thomas Gellekum
566f6e4f1e Fix INT 10:09 (write char) and INT 10:0a (write char and attribute)
when cursor is at the lower right corner.

PR:		29574 29601
Submitted by:	Nils M Holm <nmh@t3x.org>
2001-08-14 11:57:14 +00:00
Thomas Gellekum
f7448f4297 Move update of BIOS variable at 0x6c (time counter) completely to timer.c.
Suggested by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-08-14 11:54:37 +00:00
Ruslan Ermilov
753d686d34 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
Dima Dorfman
dd6ba956da An empty at.deny doesn't mean everyone can use at.
PR:		29549
Submitted by:	swear@aa.net
2001-08-14 06:41:20 +00:00
Peter Wemm
9a2e7f1520 Initialize outfile in main() 2001-08-13 21:59:04 +00:00
Peter Wemm
668f24deae Initialize msg in main() 2001-08-13 21:58:16 +00:00
Peter Wemm
ec26f57025 Initialize fp in main() 2001-08-13 21:57:12 +00:00
Peter Wemm
c7a12b501b Initialize debugf in main() 2001-08-13 21:56:39 +00:00
Ruslan Ermilov
ed2879a5cf mdoc(7) police: s;BSD/OS;.Bsx; where appropriate. 2001-08-13 17:07:40 +00:00
Ruslan Ermilov
c5e7e03a14 Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
Ruslan Ermilov
8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Mike Barcroft
ede8b1c50a Fix some bogus strncpy(3) to strlcpy(3) changes I made in the previous
revision.  <utmp.h> structures don't leave room for a NUL character.
Also fix "UNKNOWN" which should have just been UNKNOWN.

Pointed out by:	bde
2001-08-13 05:56:27 +00:00
Mark Murray
37ee76af52 Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.

Requested by:	ache
Discussed on:	-security
2001-08-12 18:47:56 +00:00
Mike Barcroft
9ab4f41231 o Replace occurrences of strncpy(3) with strlcpy(3); most of
the uses of it were wrong anyway.
o Always check for NULL returns on strdup(3).
o Fix a possible buffer overflow in strcpy(3).
o Fix a format string vulnerability.
o t->ty_type in stypeof() could be NULL and eventually cause
  a segmentation fault in setenv(3), so check for that.

Eyeballed by:	kris
Reviewed by:	murray
MFC after:	3 days
2001-08-12 17:54:49 +00:00
Kenneth D. Merry
9674f1d43a Change the compute_stats() call to the new devstat_compute_statistics()
interface.

Cast the return of the rest of the printfs in here to void.

Submitted by:	"Sergey A. Osokin" <osa@freebsd.org.ru>
2001-08-11 19:41:56 +00:00
Mark Murray
788222e410 Set the RUSER for PAM so that (eg) kerberos can set up tickets properly. 2001-08-11 14:24:13 +00:00
Mark Murray
8cc3b02f98 WARNS=2 type cleanup.
WARNS=2 cannot be enable because of an unresolvable conflict in arg 2
of execv(). Document this in the Makefile.

Reviewed by:	bde (su.c only)
2001-08-11 14:22:32 +00:00
Kris Kennaway
57c6bd978f Don't call errx() with a variable format string
MFC after:	1 week
2001-08-11 00:49:11 +00:00
Ruslan Ermilov
94ba280c59 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
Ruslan Ermilov
57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Ruslan Ermilov
3ce0d6e846 mdoc(7) police: fix markup. 2001-08-10 10:43:45 +00:00
Ruslan Ermilov
95d6ec368c Update for 3.36. 2001-08-09 14:38:45 +00:00
Ruslan Ermilov
5a32eb6470 Update for 3.36.
Reduce diffs to distributed, man(7) format, version.
Markup nits.
2001-08-09 14:38:10 +00:00
Dima Dorfman
ca0589467f Style fix: use .else where appropriate.
PR:		29489
Submitted by:	Joseph Mallett <jmallett@xMach.org>
2001-08-09 07:03:11 +00:00
Dima Dorfman
e896c344fb Print the peer's name and address in the "Connection establish"
message.  Similar information is given by the talk daemon when a
connection is requested, but that part isn't on the screen when the
main "talk" screen appears, and sometimes it's nice to know who you're
talking to.

Reviewed by:	ru
2001-08-09 06:45:35 +00:00
Yaroslav Tykhiy
d691b79fbc Replace the condemned access(2) by stat(2),
as per the discussion in -audit.
2001-08-08 21:22:48 +00:00
Sheldon Hearn
42abf713c9 can not -> cannot 2001-08-08 18:32:06 +00:00
David E. O'Brien
bef2f61da3 Clean up this thing a little. 2001-08-08 16:19:30 +00:00
David E. O'Brien
9732caee1b Support the new "-i" (output MIME type strings) option by installing
the MIME files (both regular and precompiled).
2001-08-08 16:10:16 +00:00
David E. O'Brien
8c662313ce Build and use the precompiled magic file. Precompiled magic files have
been supported since version 3.35, however it is just with version 3.36
that file has become verbose about it.
2001-08-08 15:53:58 +00:00
Ruslan Ermilov
5873dc7271 Add entry for wsanchez. 2001-08-08 15:35:20 +00:00
Thomas Gellekum
31769c6186 Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
Dag-Erling Smørgrav
03f28475f8 Allow the user to specify port ranges against which to match inet sockets.
Suggested by:	roam
2001-08-07 19:59:52 +00:00
Ruslan Ermilov
c4d9468ea0 mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Ruslan Ermilov
489c40dcf5 mdoc(7) police: bump document date for the previous delta. 2001-08-07 13:45:55 +00:00
Ruslan Ermilov
2909f5cf21 mdoc(7) police: sort xrefs. 2001-08-07 13:41:38 +00:00
Ruslan Ermilov
df3fa85144 mdoc(7) police: bump document date for the previous delta, fix markup. 2001-08-07 13:40:07 +00:00
Thomas Gellekum
9e6e8e9f89 Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'. 2001-08-07 11:09:15 +00:00
Mike Barcroft
b5b9b43078 Constify, staticize, and set WARNS=2.
MFC after:	3 days
2001-08-06 23:20:06 +00:00
Dima Dorfman
41f59e1ce0 can not -> cannot 2001-08-05 22:07:27 +00:00
Mike Barcroft
eade81c941 o Move APNIC flag from -p to -A. Since, -p is usually associated
with specifying a port.
o Add the -p flag for specifying a port.  (PR: 28790)  This is
  useful for querying rwhois servers.  Example:
    whois -h rwhois.exodus.net -p rwhois 216.136.180.0
o Add the -c flag which allows one to get the same whois server
  that would normally be determined if no arguments were specified.
  (Concept based on work by phantom, requested by ache)  Example:
    whois -c ru TCNET-MNT-RIPN
o Deprecate -R flag in favour of -c ru.

PR:		28790
Reviewed by:	-audit, ache, phantom
2001-08-05 19:37:12 +00:00
Dima Dorfman
e632521c36 Document -d in usage.
Submitted by:	Martin Kammerhofer <mkamm@sbox.tu-graz.ac.at>
2001-08-05 16:01:34 +00:00
Jonathan Chen
48aa92042e Fix using /usr/bin/ftp as a slave process on the end of a pipe by calling
fflush(stdout).  This is one ancient PR...

PR:		bin/1589
Submitted by:	imp
2001-08-05 08:39:58 +00:00
Thomas Gellekum
b99bacc92b Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
Thomas Gellekum
273a0913fe Sort SRCS. 2001-08-03 10:47:13 +00:00
Maxim Sobolev
a8ec1b4851 Fix a cryptoless world by disconnecting libmp from the build when there is no
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.

IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.

Missed by:	dd
2001-08-02 15:47:03 +00:00
Sheldon Hearn
86f478757a MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
Thomas Gellekum
399a82cd5d Don't wait for a keypress in INT 16 function 01, just return the current
state. This fixes Easytrax.
2001-08-01 11:47:06 +00:00
Thomas Gellekum
008969f3d3 Mark debug() and fatal() as __printflike() and fix resulting warnings. 2001-07-31 11:27:48 +00:00
Thomas Gellekum
ddda86e60f Sort options, remove unknown option 'f'. 2001-07-31 11:25:52 +00:00
Bosko Milekic
a8a35cdd91 Add a "X KBytes of wired memory reserved" metric that represents
approximately the amount of memory allocated from the mbuf maps
and sitting in the mbuf allocator's cache containers, and display
in parantheses the percentage of said memory that is actually
in use at the given time `netstat -m' is executed.

Suggested by: mjacob
2001-07-31 08:19:49 +00:00
Yaroslav Tykhiy
b95dbabab3 Don't use ".nofinger" as a string constant from within the code
since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead.
2001-07-30 16:50:47 +00:00
Thomas Gellekum
86c393fc09 - Add some more x86 instructions to emulate,
- emulate VGA read mode 0,
- emulate VGA write mode 1,
- minor cleanup.

Protel's Easytrax, a free PCB layout program, almost runs now; there are
still some problems with the keyboard emulation, but the graphics are fine
(albeit a bit slow).
2001-07-30 12:03:38 +00:00
Thomas Gellekum
07679c2d28 - Fix file names <:-(,
- attempt to find the X includes and libraries better,
- sort some things.

Submitted by:	bde
2001-07-30 11:38:20 +00:00
Bruce Evans
0c593a5078 Fixed bitrot in DPADD in previous commit.
Fixed some style bugs (mainly disorder).
2001-07-30 11:16:39 +00:00
Bruce Evans
13c05935fa Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4. 2001-07-30 11:08:11 +00:00
David E. O'Brien
f1c116854d Update to version 3.36. 2001-07-30 03:50:24 +00:00
David E. O'Brien
56e3dc4288 Update to version 3.36.
I had to hack print.c due to some new bits that only compile on NetBSD.
I could not figure what the analogous FreeBSD bits are.
2001-07-30 03:50:04 +00:00
Thomas Moestl
1e543a5075 Correct the old length argument passed to sysctl to be a pointer to a
size_t (not to an int).

MFC after:	2 days
2001-07-29 21:56:14 +00:00
Dima Dorfman
7bd0b86765 Enable the new libmp in the build, and disable libgmp and its
henchmen.
2001-07-29 08:58:22 +00:00
Mark Peek
5d89a19753 Properly handle wgetch(3) returning ERR. This prevents an abnormal exit
when a windows resize event (SIGWINCH) occurs.

Reported by:	John Doe <rhamming2001@yahoo.com> and others on -stable.
Reviewed by:	dd
MFC after:	1 week
2001-07-28 22:40:10 +00:00
Stefan Eßer
6d64e93980 Include value of command line argument that causes an error message or
warning in said message, since fetch may be run from a makefile or script
which does not print the command line.

Approved by:	des
2001-07-28 21:34:56 +00:00
Mark Murray
9567ba9dda Fix the environment handling:
However, there's still a bug in login.c
because you copy the environment *before* the call to pam_open_session,
which won't set the necessary variables set by /usr/ports/security/pam_ssh.

Submitted by:	Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>
2001-07-28 19:53:10 +00:00
Mike Barcroft
f458f48b02 Prevent chpass(1) from writing -1 in the UID or GID fields
in the password file by properly casting integers.

PR:		27757
Reviewed by:	des
Approved by:	des
MFC after:	4 days
2001-07-26 23:27:10 +00:00
Brian Somers
5b718312b7 When -n is specified, don't attempt to turn hostnames found in utmp
into addresses as we have no idea what address family they belong to.

When -n is not specified, resolve IPv6 as well as IPv4 addresses found
in the host field of utmp.  Use realhostname_sa() to resolve addresses
(the old code was wrong).

Rename ``x'' to ``x_suffix'' to avoid confusion.

Hard code the host column width to 16 (against the imminent increase
of UT_HOSTSIZE in utmp.h).
2001-07-26 19:20:13 +00:00
Bosko Milekic
49f854f926 - Do not handle the per-CPU containers in mbuf code as though the cpuids
were indices in a dense array. The cpuids are a sparse set and treat
  them as such, setting up containers only for CPUs activated during
  mb_init().

- Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse
  map, in accordance with the above.

This allows us to properly boot with certain CPUs disactivated. However, if
we later decide to re-activate said CPUs, we will barf until we decide to
implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU
containers to get configured on their activation.

Reported by: mjacob
Partially (sys/ diffs) Submitted by: mjacob
2001-07-26 18:47:46 +00:00
Thomas Gellekum
a0e4393eaf Include <sys/kbio.h> or <machine/console.h>, depending on __FreeBSD_version.
This will reduce diffs to -STABLE.

Don't leave an image of the video RAM around.
2001-07-26 11:09:15 +00:00
Thomas Gellekum
090f957012 Correct font names. Now, how on earth did this work on my system? 2001-07-26 11:05:31 +00:00
Thomas Gellekum
d57f02670b Fix bugs introduced in 1.26:
- restore -I. in CFLAGS
- add dependencies of objects on font headers
- missing dependencies of font headers on their sources

Suggested by:	bde
2001-07-26 11:04:08 +00:00
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Matt Jacob
df94d4d280 Fix 64 bit issues so that sockstat && fstat work correctly on alpha.
PR:		29231
Submitted by:	pherman@frenchfries.net
MFC after:	2 weeks
2001-07-25 20:31:20 +00:00
Bill Fenner
1a8b27c035 Use sysctl to export multicast routing stats 2001-07-25 20:14:09 +00:00
Sheldon Hearn
bba1ea063e Fix breakage introduced in rev 1.26, with the introduction of
absoluate pathnames starting with /usr/src.

This fixes the installworld target for the case where the source tree is
not in /usr/src.
2001-07-25 12:21:27 +00:00
Andrey A. Chernov
ac06a71756 Remove non-existent (missing?) fonts.alias from beforeinstall: target 2001-07-24 19:25:19 +00:00
Andrey A. Chernov
1dab3da105 Add -I${.OBJDIR} to pick generated font*.h 2001-07-24 18:33:26 +00:00
David E. O'Brien
a9be9be874 Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
David E. O'Brien
44974a7f49 Remove the misnamed `xmalloc' and replace its uses with the realloc (along
with error checking) that it actually was.
2001-07-24 14:14:11 +00:00
David E. O'Brien
d54a8ce707 Remove the misnamed `emalloc' and replace its uses with calloc (along
with error checking) which it effectively was.  (malloc+memset)
2001-07-24 14:13:34 +00:00
David E. O'Brien
f0cb953721 Remove emalloc and expand to the malloc + error checking it was, where used. 2001-07-24 14:12:05 +00:00
David E. O'Brien
ac3c230c82 Remove the misnamed `emalloc' and replace its uses with the calloc (along
with error checking) that it actually was.
2001-07-24 14:11:09 +00:00
David E. O'Brien
de9b3b9034 Remove the local basename in favor of the libc version.
Remove xmalloc and xstrdup and do the error checking at the place of use.
2001-07-24 14:09:47 +00:00
David E. O'Brien
707cb19845 Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
David E. O'Brien
5d79931bb0 Expand emalloc in-place, and remove the `rname' basename() implimenation. 2001-07-24 14:06:19 +00:00
David E. O'Brien
8e33c0a0f6 Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
implementation.
2001-07-24 14:05:21 +00:00
David E. O'Brien
9ebd5897b2 Replace the local rname' with the cannonical basename'. 2001-07-24 14:04:20 +00:00
David E. O'Brien
3c5bf66cec Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)
2001-07-24 14:02:07 +00:00
Kris Kennaway
506d42c5b7 yyerror() is a printflike function
MFC after:	1 week
2001-07-24 12:20:17 +00:00
Thomas Gellekum
2bc50aed69 Clean up the code a bit:
- add $FreeBSD$;
- remove unused variables;
- add missing headers and prototypes;
- -Wshadow.
2001-07-24 11:50:23 +00:00
Thomas Gellekum
040395f4dd Rewrite video emulation. Features:
- slightly more accurate VGA hardware emulation;
- more int 10 functions, especially wrt to palette handling;
- first shot at graphics support;
- mode switching.

Bugs:

- graphics too slow;
- only 16 color modes work for now;
- works only under X, and only with 16 bit TrueColor visuals;
- far from being genuinely useful (I can play an old EGA game now, though
  (mahjongg.exe)).

Also, the code has been cleaned up a bit (more to come in a separate commit).
2001-07-24 11:44:20 +00:00
David E. O'Brien
065fe72747 Quiet a [useless] compiler warning. 2001-07-23 23:27:28 +00:00
Assar Westerlund
dbda0a3480 revert last commit. using %option nounput is better
noted by:	Seth Kingsley <seth.kingsley@windriver.com>
2001-07-22 23:14:33 +00:00
Mike Barcroft
2c69b9a13e Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
working.

Reviewed by:	des
Approved by:	des
2001-07-22 18:23:24 +00:00
Mike Pritchard
b21b2f313e Fix some man page xrefs.
PR:		docs/26065
MFC after:	1 week
2001-07-22 11:51:11 +00:00
Assar Westerlund
04625dfc30 add an unused attribute to yyunput to avoid warnings (errors) when
it's not being used
2001-07-21 19:47:17 +00:00
Mike Barcroft
197bca2ccf o Add phantom's gethostinfo() function to reduce duplicated code.
o Increase readability by creating a wrapper for asprintf(3).
o Cast isdigit(3) argument to unsigned char for future locale
  changes.

Submitted by:	phantom
Reviewed by:	-audit, des
Approved by:	des
2001-07-20 16:44:44 +00:00
Mike Barcroft
e896ec1ef5 o Integrate security enhancements from OpenBSD.
- Don't assume environment variable HOME is not NULL.
o Integrate standards compliance from NetBSD.
  - Allow -- before the command.
  - Blocking SIGQUIT isn't standards compliant.
  - Proper exit(3) levels.
  - Actually append to nohup.out (as documented and required
    by standard) instead of clobbering it.
o Remove some FreeBSD specific access(2) cruft (relating to
  incorrect appending).
o Document the fact that two or more instances of nohup can
  append to the same file.
o Constify; Staticize functions; Set WARNS?=2

Reviewed by:	bde
Approved by:	des
Obtained from:	NetBSD, OpenBSD
MFC after:	9 days
2001-07-19 21:25:10 +00:00
David E. O'Brien
934d98a94b Portability configuation for LukeM's ftp client. 2001-07-19 17:45:52 +00:00
Ruslan Ermilov
1a084f197d Fixed the race caused by not checking the result of fgets(3):
/usr/bin/env MALLOC_OPTIONS=J banner </dev/null

PR:		bin/29074

Fixed the problem when banner(6) would eat last character:

	echo -n a | banner

MFC after:	1 week
2001-07-19 08:07:09 +00:00
Kris Kennaway
c0e30a2b1f Embed $FreeBSD$ as an rcsid[] 2001-07-19 01:39:12 +00:00
Dag-Erling Smørgrav
04d12c9900 If we're writing to stdout, we don't care about the size.
Submitted by:	wollman
2001-07-17 21:23:43 +00:00
Dag-Erling Smørgrav
91404f38f0 WARNS cleanup + remove an unused macro and an unused function argument. 2001-07-17 21:22:32 +00:00
Mike Barcroft
6c56da4a27 Re-write the logic that finds the whois server to query.
[This fixes a bug where one would type 'whois foo.bar.'
and get an error because of the trailing period.]

PR:		28880
Approved by:	des
2001-07-17 20:40:41 +00:00
Ruslan Ermilov
f72acdd4c9 Clarify that MAKEOBJDIR and MAKEOBJDIRPREFIX are environment variables.
Submitted by:	bde
2001-07-16 15:33:34 +00:00
Kris Kennaway
8b16780ac8 Add myself 2001-07-16 00:17:48 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Mark Murray
9061237999 Switch on SHA1 hashing. 2001-07-14 08:34:26 +00:00
Ruslan Ermilov
e8b02a428d mdoc(7) police: -xwidth has been fold into -width. 2001-07-13 09:09:52 +00:00
Ruslan Ermilov
7d20bafcad Generate top.local.h and manpage dynamically, with sed(1) script.
The generated manpage will now describe the actual behavior of
top(1) WRT how many processes it displays.  This also eliminates
all troff(1) warnings.
2001-07-12 15:07:30 +00:00
Maxim Sobolev
2d68ab234d Build/install bzip2 documentation (info page). 2001-07-12 14:44:17 +00:00
Ruslan Ermilov
63914212f0 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:29:59 +00:00
Ruslan Ermilov
96e0c91959 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:16:48 +00:00
Ruslan Ermilov
eb89426722 mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
Ruslan Ermilov
625003720a mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
Ruslan Ermilov
63919764c2 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
David E. O'Brien
fb8d590c0e style nit 2001-07-09 23:12:23 +00:00
Mark Murray
8509234471 Remove the S/Key key-handling apps, which are no longer needed, as
they are replaced by opiepasswd, opieinfo and opiekey.
2001-07-09 17:40:57 +00:00
Mark Murray
875afe974f Provide a WANT_INSECURE_OPIE compile-time option, which is useful if
you encrypt all traffic routinely, and is also useful for debugging.

Also, (properly) set SUID bit on relevant apps - opieinfo and
opiepasswd, which need it to mess with /etc/opiekeys.
2001-07-09 17:37:52 +00:00
Ruslan Ermilov
42dadc4a58 mdoc(7) police: eliminate -ww warnings. 2001-07-09 15:46:02 +00:00
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Dag-Erling Smørgrav
74bd3d7698 Fix an embarassing if-test-reversal bug that broke scheme guessing. 2001-07-08 15:17:26 +00:00
Ruslan Ermilov
5521ff5a4d mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
Ruslan Ermilov
9597e1c260 mdoc(7) police: -column lists require column width specifiers. 2001-07-06 10:07:43 +00:00
Ruslan Ermilov
ac84cb970a mdoc(7) police: moved -u down, fixed markup, removed hard sentence break. 2001-07-05 13:27:33 +00:00
Ruslan Ermilov
29baea0370 Document -u in the usage().
Make usage fit on a standard 80-column display.
2001-07-05 13:21:20 +00:00
Kris Kennaway
013fab318c Mark a function as __printflike() and fix a non-exploitable format string
warning.

MFC after:	1 week
2001-07-05 10:08:25 +00:00
Kris Kennaway
6209021ebd Mark some functions as __printflike()
MFC after:	1 week
2001-07-05 09:54:59 +00:00
Dima Dorfman
ffb9c240d7 Spelling police: extention -> extension. 2001-07-05 08:51:08 +00:00