Commit Graph

1330 Commits

Author SHA1 Message Date
Andrey A. Chernov
9263e09a24 Add \' to valid escapes list to be compatible with printf
2.2 candidate
1996-12-15 23:55:03 +00:00
Alexander Langer
f3792cedc3 Typo fix.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-12-15 15:14:26 +00:00
Mike Pritchard
6abc8fd6cc Correct a typo.
Closes PR# 2217.
1996-12-15 07:34:07 +00:00
Steve Price
398b39b912 Upgrade to version 2.5.4 of flex.
Inspired by: NetBSD/OpenBSD (I can't remember who I saw do it
             first, so I'll give them both some inspiration
             points. :)
1996-12-14 05:48:48 +00:00
Steve Price
3ec30b7943 -Wall cleaning. 1996-12-14 05:32:27 +00:00
Garrett Wollman
15244cd5c2 Learn to follow the new interface address lists. 1996-12-13 21:29:59 +00:00
Wolfram Schneider
f8a459d385 Fix uninitialized memory read for case insensitive search. Harmless.
submitted by: purify
1996-12-13 20:28:24 +00:00
Bruce Evans
7f782006b9 Restored installation of /etc/magic. It's now a symlink instead of a
file (like /etc/termcap).  /usr/src/etc/Makefile depends on there
being an etc-magic install rule here, and who-knows-what depends on
`magic' being in /etc.

Fixed some style bugs - don't use -c for installing files in the obj
directory...
1996-12-13 11:49:16 +00:00
Garrett Wollman
0e27dc0563 Understand queue-ized ifnet structures. 1996-12-11 20:39:43 +00:00
Joerg Wunsch
97857d5a23 Add another matching algorithhm to do heuristics for international
language text files.

Should finally close PR # bin/1925: file does not consider cyrillic
text..., though i've never got any response from the originator about
my suggestion.

While i was at it, also move out the `magic' file to /usr/share/misc,
there's nothing that magic with this file to justify its life under
/etc.
1996-12-11 14:09:12 +00:00
John Dyson
2ae09ad871 When mmap is used, do an madvise(MADV_SEQUENTIAL) to make things
go much more quickly when file input is really done.  Of course, the
fully cached case will make no difference.
1996-12-11 05:20:20 +00:00
Peter Wemm
421d77f848 Don't dup the network pipe to stderr, it prevents ssh from asking for a
password.

Obtained from: ssh FAQ, Thomas.Koenig@ciw.uni-karlsruhe.de
1996-12-10 23:41:27 +00:00
Garrett Wollman
628d2ac1b0 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Mike Pritchard
5a2964f7c9 Minor formatting fixes.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR # 2134.
1996-12-09 07:26:04 +00:00
Wolfram Schneider
3f3a3c4501 Add manual page symlinks
trace.1 -> ktrace.1 and
	truss.1 -> ktrace.1
for SunOS emigrants.
1996-12-08 16:56:40 +00:00
Andrey A. Chernov
6e1b71c5b8 Link Dutch catalog with nl_NL instead of da_DK 1996-12-08 14:05:08 +00:00
Andrey A. Chernov
7618cd1238 Fix my error from previous commit with mixing rwhod protocol
and utmp sizes.
Replace hardcoded constants by sizeofs or symbolic constants
1996-12-05 20:19:33 +00:00
Andrey A. Chernov
eb7456fc97 Remove one space to produce the same output alignment
like in who, rwho, w, etc.
1996-12-05 17:56:05 +00:00
Andrey A. Chernov
5b3675170f Adjust line to not overflow 80 cols (result of recent utmp changes) 1996-12-05 17:33:46 +00:00
Andrey A. Chernov
0f456e3c6e Use UT_* contstants when possible instead of harcoded 8
2.2 candidate
1996-12-05 17:12:51 +00:00
Andrey A. Chernov
d916216786 Increase username field to reflect utmp changes 1996-12-05 17:00:16 +00:00
Mike Pritchard
8eff60c442 Remove a self referential xref, and add an xref for modload.
Closes PR# 2104.
1996-12-04 00:00:20 +00:00
Bill Fenner
f6719675d2 Display multicast addresses if the "a" flag is used in combination
with "-i".  This was already in the man page but was not implemented.

Obtained from:	Multicast release 3.5
1996-12-02 06:38:30 +00:00
Bruce Evans
45f4c7f97c Made the synopsis in the man page conform to the style guide.
Made the usage message conform to the style guide.

Don't use the implementation variable `__progname'.
1996-11-30 16:12:46 +00:00
Peter Wemm
b988beb8f9 make the Usage string match reality
Submitted by:  faried nawaz <fn@uidaho.edu>, PR#2075
1996-11-22 13:58:03 +00:00
Andrey A. Chernov
7be3905425 Add ru_RU as alias to ru_SU 1996-11-21 10:13:25 +00:00
Bill Fenner
80844fd18a Fix arg parsing. kdump used to allow a single argument, which it
silently ignored.
1996-11-18 19:37:52 +00:00
Andrey A. Chernov
5e57bd1999 Detect GUS patches now 1996-11-17 11:03:07 +00:00
Wolfram Schneider
5f4cf81e9d fix C programmer's bug number 12.2
submitted by: bruce
1996-11-17 02:16:34 +00:00
Joerg Wunsch
771301de24 Fix the C programmer's bug #1: EOF is of type int', not char'.
Strong 2.2 candidate.

Submitted by:	wosch
1996-11-17 00:22:54 +00:00
Peter Wemm
0587e3a417 pw_scan() was being used to convert a string into a struct passwd, with
an auto stack variable that was about to disappear.  It broke with some
nis passwd changes because of a gethostbyname() call that uses a fair bit
of stack..  This was a timebomb waiting to go off at any time and could
have been causing subtle corruption for a while.

AARGH!!

This is HIGHLY reccomended for 2.2 and presumably 2.1.6
1996-11-15 17:36:20 +00:00
Andrey A. Chernov
528baa6dcc Report net connection error via hstrerror(h_errno) now instead of
simple fact that can't connect
1996-11-14 07:36:26 +00:00
Andrey A. Chernov
c7a626a567 Change to new ftpLogin interface
Now clearly say: Not logged in
instead of old: Broken pipe
(note it was original reason for all my libftpio changes)
1996-11-14 07:06:25 +00:00
Jordan K. Hubbard
b2ff494ac6 Now that systat's working again, bring the vmstat cleanup over from
-stable.
1996-11-12 19:16:46 +00:00
Paul Richards
b345ce1b4c Added a missing \ for installing perl modules.
2.2 and 2.1.6 candidate.
1996-11-10 15:49:49 +00:00
Peter Wemm
e721a581cb Cosmetic bugfix. fetch was modifying it's argv[] strings in place, which
caused ps(1) to show strange things..
1996-11-10 14:46:50 +00:00
Bruce Evans
adb844d545 Initialize interrupt counters. The boot time values were displayed as ***.
Should be in 2.2.

Pointed out by:	/etc/malloc.conf -> AJ
1996-11-10 08:30:18 +00:00
Joerg Wunsch
647518cf5a Merge from the 2.2 branch: avoid including the API stuff when building
vi for the fixit floppy.  Perhaps we'll find a more elegant solution
some day, by now it has proven to work reasonably.
1996-11-09 16:54:33 +00:00
Wolfram Schneider
a05487cad5 add PATH variable 1996-11-05 07:24:48 +00:00
Wolfram Schneider
e1084c6d66 add PATH variable
better argument handling
1996-11-05 07:22:47 +00:00
Wolfram Schneider
b2715e9ada add /sbin to PATH, the location of sysctl(8) may changed in future
use shell builtin 'exec' for last command
1996-11-05 07:17:33 +00:00
Jeffrey Hsu
b20d9ed2e7 Add YYLEX and YYEMPTY macros to make byacc look more like bison.
Obtained from:  Cygnus source tree, with permission.
		Original commit by Jim Wilson, wilson@cygnus.com.
1996-11-04 21:54:52 +00:00
Andrey A. Chernov
e1384c5e2d Install message catalog links according to standard naming convention
Message catalogs not works without this change

2.2 candidate
1996-11-04 02:52:33 +00:00
Andrey A. Chernov
f5fd1fa61e Fix PATH_MSGCAT
2.2 candidate
1996-11-04 02:28:31 +00:00
Peter Wemm
9b26ad21cc Fill in some of the missing blanks for the tknvi and perl5 compile options.
Both options can be compiled if the appropriate ports are present.  These
are examples only and are commented out.
1996-11-03 21:32:37 +00:00
Peter Wemm
0e3dfa92bd The tcl/perl interpreter compile options were not really optional.
This is needed for building the boot crunch for 2.2 (It still needs a hook
so the release code can tell it when to build it without tcl etc).
1996-11-03 19:15:45 +00:00
Mark Murray
90c68a6718 Compile telnet from eBones instead of secure.
2.2 candidate.
1996-11-03 17:01:25 +00:00
Steve Price
8a87dec9bf Add a .POSIX directive. When the first non-comment
line of a Makefile contains this directive, make(1)
will enter a POSIX 1003.2 compliant mode.

Submitted by: Joerg Wunsch <joerg@freebsd.org>
1996-11-03 03:29:57 +00:00
Jordan K. Hubbard
2b5209acaa I haven't had a single contraversial commit all week, so what the
heck.  Watch through our hidden camera, ladies and gentlemen,
as this one-line addition to the syslog output generates hundreds
of thousands of lines of email in response, all from people
decrying the evils of electronic noise pollution! :-)

What this change does, simply speaking, is syslog it every time
someone changes their local password.  I need this at a local ISP to
tell whether people are reacting to expires in a timely fashion or
not.  To disable it, uncomment -DLOGGING in the Makefile.

If your users change their passwords so often as to fill your logfile,
then you may also have another administrative problem to deal with.
1996-11-03 03:11:57 +00:00
Wolfram Schneider
459142187a Match the reality. The man page was completely wrong. 1996-11-02 22:02:32 +00:00