Commit Graph

2651 Commits

Author SHA1 Message Date
Matt Jacob
4338f206fa Print relative (mt_fileno, mt_blkno) position, if known.
Print driver state if not NIL.
1999-02-05 02:46:21 +00:00
Matt Jacob
49f8654780 finally document new commands 1999-02-05 02:45:08 +00:00
Bill Fenner
d17bf266c4 Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this. 1999-02-05 01:01:17 +00:00
Archie Cobbs
d37fcb98e3 Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1999-02-05 00:42:14 +00:00
Bill Fenner
054672c795 Warn about collapsing multiple slashes into 1 in ftp URL's.
Look at the FTP_PASSIVE_MODE environment variable like the man page says.

PR:		bin/9464
Submitted by:	John A. Shue <John.Shue@symmetron.com>

Add references to RFC's 1790, 959, 850.

PR:		doc/6564
1999-02-03 20:43:29 +00:00
Bill Fenner
93eb50393d Don't try to parse a colon in a URL as a port
(e.g. http://www.host.name/foo:bar)

PR:		bin/5072
Submitted by:	Takeshi WATANABE <watanabe@komadori.planet.kobe-u.ac.jp>
1999-02-03 20:24:53 +00:00
Joerg Wunsch
c3ad4b4583 Update to the most recent version. Among other things, this also solves
the function naming problem for complex double function i've recently
aksed for in -committers.  (The recently committed rev 1.5 of proc.c
was actually also part of this update.)

Should the mailing lists come to an agreement that f2c better belongs
into the ports, this could be done nevertheless.  For the time being,
we've at least got a current version now.

Thanks, Steve!

Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
1999-02-03 17:23:49 +00:00
Eivind Eklund
2c39ae659c Merge from NetBSD: cut.1 rev 1.6 to 1.8
cut.c rev 1.9 to 1.13
* Man page internal cleanups
* 8-bit characters cast to unsigned for is*()
* Misc cleanups for egcs -Wall compatibility
1999-02-02 15:48:04 +00:00
Eivind Eklund
5183fb5330 Bring in use of strsep() to handle bad input better, and clean up
some text.

Obtained from:	Merge from OpenBSD
(cut.1 up to OpenBSD rev 1.3, cut.c up to OpenBSD rev 1.6)
1999-02-02 14:56:55 +00:00
Eivind Eklund
d51c662504 Merge from NetBSD cut.1 rev 1.6 and cut.c rev 1.9, respectively. This
makes us conform to IEEE Std1003.2-1992 (``POSIX.2'').

Obtained from:	NetBSD (but with slight modifications).
1999-02-02 14:26:39 +00:00
Andrey A. Chernov
04d04825cc Add -R for .RU domains 1999-02-02 01:49:14 +00:00
Archie Cobbs
2fa6610f1e Add new option '-p pattern' for splitting files based on matching lines in
the file with a regular expression. Useful for e.g. 'cvs diff' output.
Also compile cleanly with -Wall and fix a few style bugs.
PR:		bin/9405
1999-02-01 21:16:45 +00:00
Wolfram Schneider
57a476899d Added xref to nologin(5) 1999-02-01 21:04:15 +00:00
Garrett Wollman
2712c396cb Update the -d flag to use the new .MIL NIC address (from PR 9802)
and add a -g flag to use the new .GOV NIC.  Also convert the
SEE ALSO reference into a proper bibliographic one.

PR:	9802 (in part)
1999-02-01 19:22:27 +00:00
Mark Newton
d81380b49d Added "SVR4" as an acceptable brand 1999-01-30 06:16:48 +00:00
Bill Fumerola
cb7f090024 Typo.
PR:		docs/9752
Submitted by:	horikawa@jp.FreeBSD.org
1999-01-28 19:22:22 +00:00
Eivind Eklund
398eda2c23 Use __XSTRING() from cdefs.h instead of rolling my own. 1999-01-25 11:25:24 +00:00
Eivind Eklund
458a924b1d I may have forgotten to upgrade this value, but that will never happen
again.  (Fully clone the value of __FreeBSD__ from the compiler.)
1999-01-23 15:07:10 +00:00
John Hay
9f12d84d0e __FreeBSD__ is also used here.
Forgotten by: Lots of people.
Pointed out by: make world.
1999-01-23 10:59:29 +00:00
Mark Murray
7deb53036d Back out the new crypt(3) stuff untill we can go through an independant
"make world" to make sure everything works properly.
1999-01-23 08:36:38 +00:00
Brandon Gillespie
669892b239 Added support for multiple hash formats, and new salt generation code.
It selects which hash format to use by checking /etc/auth.conf for
auth_default.  Leaving auth_default disabled will give the current
behaviour (use the same format as is currently used in the password,
or if a new password default to what crypt likes best--des if it exists).
Now you can set it to one of: des, best, md5 or sha1.  best is a synonym
for sha1, currently.
1999-01-22 15:33:54 +00:00
John Polstra
f86bf82a98 Use the new variable NEED_LIBNAMES instead of including
<bsd.libnames.mk> explicitly.
1999-01-22 12:45:27 +00:00
John Polstra
4a05a998b2 Force <bsd.libnames.mk> to be included, regardless of the object
format.  This fixes the undefined symbols when building login for
a.out.
1999-01-22 12:44:55 +00:00
Matthew Dillon
7bb42db9e7 Make top use new kvm_getswapinfo() call. 1999-01-22 11:09:41 +00:00
Matthew Dillon
4aa513f41d Fix labeling bug 1999-01-22 10:57:50 +00:00
Matthew Dillon
e53c5e2053 Make systat -swap use new kvm_swapinfo() function 1999-01-22 10:53:13 +00:00
Warner Losh
78d7efaa73 Euro support, part 2.
This should be merged into RELENG_3 and a similar patch may be needed
for RELENG_2_2, should that deemed necessary.

Make world succeeded with these patches in my tree.

Submitted by: "Kaleb S. KEITHLEY" <kaleb@ics.com>
1999-01-21 19:41:38 +00:00
John Polstra
e40131079f Allow login to be linked statically even when PAM is used, since
there is now a static version of libpam.
1999-01-20 21:58:46 +00:00
Warner Losh
6d54a68468 Add support for accessing ports. This was done to access parallel
ports, but should work for others as well.

Submitted by:  Parag Patel <parag@cgt.com>
1999-01-20 17:55:22 +00:00
Andrzej Bialecki
11468b741a Add a compile knob to avoid using PAM code (login will use standard Unix
authentication only). This comes handy when you're tight on space.

Submitted by:	mostly John Baldwin <jobaldwi@vt.edu>
Reviewed by:	John D. Polstra <jdp@polstra.com>
1999-01-19 22:59:37 +00:00
Hidetoshi Shimokawa
dd81f3b0a0 Replace 'long int' with 'int' for Alpha.
This change should have no effect on i386.

Pointed out by: Steve Kargl <sgk@troutmask.apl.washington.edu>

Quote from http://www.netlib.org/f2c/readme:

NOTE:   f2c.h defines several types, e.g., real, integer, doublereal.
        The definitions in f2c.h are suitable for most machines, but if
        your machine has sizeof(double) > 2*sizeof(long), you may need
        to adjust f2c.h appropriately.  f2c assumes
                sizeof(doublecomplex) = 2*sizeof(doublereal)
                sizeof(doublereal) = sizeof(complex)
                sizeof(doublereal) = 2*sizeof(real)
                sizeof(real) = sizeof(integer)
                sizeof(real) = sizeof(logical)
                sizeof(real) = 2*sizeof(shortint)
        EQUIVALENCEs may not be translated correctly if these
        assumptions are violated.

        On machines, such as those using a DEC Alpha processor, on
        which sizeof(short) == 2, sizeof(int) == sizeof(float) == 4,
        and sizeof(long) == sizeof(double) == 8, it suffices to
        modify f2c.h by removing the first occurrence of "long "
        on each line containing "long ", e.g., by issuing the
        commands
                mv f2c.h f2c.h0
                sed 's/long //' f2c.h0 >f2c.h
        On such machines, one can enable INTEGER*8 by uncommenting
        the typedef of longint in f2c.h, so it reads
                typedef long longint;
        by compiling libI77 with -DAllow_TYQUAD, and by adjusting
        libF77/makefile as described in libF77/README.
1999-01-19 06:48:44 +00:00
Bruce Evans
0b4cb69d67 Fixed breakage of `make checkdpadd' in previous commit.
Didn't fix related bogotification from moving the definitions of
DPADD and LDADD to here.  Setting these variables in a top-level
directory gives bogus dependencies in library subdirectories.
E.g., there is a dependency on `foo.so..' where the double dots
separate null shared library version numbers.

Set BINDIR properly by inheriting it from ../Makefile.inc.
1999-01-19 00:23:25 +00:00
Daniel O'Callaghan
9a578eb627 "19%02", tm.year -> "%d", tm.year+1900 1999-01-18 22:42:05 +00:00
Daniel O'Callaghan
ea5cc207d2 Allow two digit years 1969-2068 1999-01-18 22:15:09 +00:00
Ollivier Robert
bca92d96b8 Fix "make world" breakage because MT_RTABLE was still referenced here. 1999-01-18 12:40:44 +00:00
Hidetoshi Shimokawa
0e575b05a2 Update to Global-3.42. 1999-01-18 07:38:13 +00:00
Bill Fenner
67a451cc89 Don't use ip_mrtproto to determine whether multicast routing is in
the kernel; this was left over from the earlier protocol-dependent
 kernel multicast routing code.

Learn how to handle the malloc'd multicast routing table (instead of
 expecting it to be in mbufs)
1999-01-18 02:09:15 +00:00
Garrett Wollman
9caa4ddf6b Fix logic error in RFC 850 kluge. 1999-01-15 17:10:31 +00:00
Garrett Wollman
c146843096 For RFC 850 dates received in HTTP responses, implement the century pivot
described in RFC 2068.  Include a reference to same in the manual page.
1999-01-15 16:56:22 +00:00
Jean-Marc Zucconi
34d8315bd9 Typo. 1999-01-15 02:38:33 +00:00
Hidetoshi Shimokawa
0b919713bb Allocate aligned memory according to sizeof(char *).
Approved by: jkh
Obtained from: NetBSD
1999-01-13 10:37:22 +00:00
Satoshi Asami
16ceea1b93 Move nologin from /etc to /var/run. This means one less file that has
to be written to /etc.

The only essential change is in paths.h, so any third-party software
written correctly will pick it up in the next rebuild.

Reviewed by:	the committers list (actually an old version)
1999-01-11 09:07:42 +00:00
Doug Rabson
f4dd1f4feb From the submitter:
I found the reason why f77 so offen dies on alpha. Here is a fix.
"Const" is a union of int and double.
If nelt->constblock.Const.ci > 0 then it trys to evaluate it as double
and floating point exception occurs.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Obtained from: NetBSD
1999-01-10 17:22:49 +00:00
Peter Wemm
69b41093b5 Fix the annoying bug introduced in rev 1.18 that caused each line to be
one character shorter than the previous in a stairstep fashion when long
idle times were involved.

A couple of nits:
- spelling/typo fix.
- some of the easier style(9) fixes where it was bothering me.
- Handle 100+ days idle time (ha!).  Probably the right thing to do is
  to do a snprintf into a buffer and strlen the result rather than doing
  hackery on magic numbers.

XXX the wide (and mostly unused) username and tty columns annoy me since
it it could be used for more useful information for the command. We should
actually count the largest username and tty and adjust like 'ls -l' does.
1999-01-10 15:28:37 +00:00
David E. O'Brien
a2641311ff uptime display more in style with original code 1999-01-09 20:25:02 +00:00
David E. O'Brien
154a13b5f8 revert to rev 1.29. (floppy drives will be gotten rid of another way) 1999-01-09 06:03:54 +00:00
Warner Losh
94a553c632 Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PE
file types.  Also add bit interpretation from NetBSD to give more
details about the file.
1999-01-09 00:43:27 +00:00
Jordan K. Hubbard
f93b86166a Don't allow pointer underrun in loop.
Spotted by:	John W. DeBoskey <jwd@unx.sas.com>
1999-01-08 18:37:34 +00:00
Daniel O'Callaghan
25c4d00840 Merge from 2_2 man page change. 1999-01-05 10:13:54 +00:00
Daniel O'Callaghan
34c7ff495d PR: 9323
Submitted by:	ishisone@sra.co.jp
Make touch handle years 2000-2038 in the obsoleted format, rather
than 1902-1969 as was previously the case with two digit year spec.
1999-01-05 09:58:02 +00:00