Commit Graph

140 Commits

Author SHA1 Message Date
Andrey A. Chernov 01fa95f2b7 Back out 'not choose first (two-letter) name' fix, all two-letter names
already removed from 4.4 termcap
1994-09-15 00:35:50 +00:00
Doug Rabson 49fbc2ac87 Imported the NetBSD version which acts a lot more like the SYSV program.
Obtained from: NetBSD
1994-09-13 16:59:29 +00:00
Doug Rabson 699a02bb6d Added ipcrm. 1994-09-13 16:53:27 +00:00
Doug Rabson 6cc8c2e239 Utility for deleting message queues, semaphores and shared memory segments.
Obtained from: NetBSD
1994-09-13 16:52:12 +00:00
Doug Rabson de88805bc0 Added ipcs. 1994-09-13 15:27:36 +00:00
Doug Rabson 4816f94e8a Added from FreeBSD-1.1.5 with some additions to list shared memory segments. 1994-09-13 15:27:02 +00:00
Rodney W. Grimes 4f1f23c3db Add f2c, rpcgen and rpcinfo, need a decission on cpp and uucp. 1994-09-12 04:41:14 +00:00
Rodney W. Grimes 16e99c53fb Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 22:01:45 +00:00
Andrey A. Chernov d2b6c8e037 Speed matching code never successful, because ospeed range is [0..17]
but termios speed range is [0..115200]. Of cource ospeed initialized
with wrong value too which cann affects terminals with padding, fixed.
57600,115200 added.
1994-09-09 03:11:15 +00:00
Andrey A. Chernov 28fccc1749 Use second terminal name instead of obsoleted and duplicated
first two-letter names (from 1.1.5.1)
1994-09-09 02:39:24 +00:00
Geoff Rehmet 7ad3ea76c0 From 1.1.5.1
>From Arne Bier <csar@cs.ru.ac.za>
while running more(1), if you enter ":a" to get the name of the file being
viewed, more dumps core when you hit enter (as prompted).
This is due to more(1) attempting to find the length of a NULL string.
Submitted by:	Geoff.
1994-09-08 21:30:51 +00:00
Paul Traina 59be608802 Add code to pull options out of FINGER environment variable if present.
Yes, has same stupid bug as more(1), options must be specified as one
argument.

Submitted by:	pst
1994-09-08 19:27:06 +00:00
Bruce Evans bc829276a2 Don't exit early if malloc() fails (never exit early now; the `fatal'
flag to err() is useless).  The following files might be much smaller
so malloc() might work for them.

Clean up formatting of the -x change.
1994-09-08 12:27:08 +00:00
Garrett Wollman 19bd7f946a Tell netstat about the new multicast forwarding statistics. For the moment,
don't try to do any multicast forwarding cache printouts; it's not clear
that netstat can do anything particularly useful or meaningful.
1994-09-08 00:07:12 +00:00
Jordan K. Hubbard f3f67b81b9 Fix a longstanding bogon with setenv usage.
Submitted by:	jkh
1994-09-07 08:45:39 +00:00
Paul Traina 86641d8f9c Install Luke's enhancements for finger.
By default, behave like the old ugly 4.4bsd finger and print office
information instead of remote login information.

It's an easy one line fix to make it behave like most other vendor's
fingers if we decide to change the default.

Reviewed by:	pst
1994-09-07 07:22:41 +00:00
Jordan K. Hubbard 83274713b2 Problem:
Accounts that have "pw_change" set, are supposed to change their passwords
by the date specified in "pw_change".  If they have not changed their passwords
by that date, currently they get "LOCKED OUT" of the system.  This is not the
correct behavior, the user should be prompt (forced?) to change their password
at this time.  If the behavior of "pw_change" was meant to be a LOCKOUT,
then you should use "pw_expire".

Solution:
     Instead of locking out the user, prompt them to change their password.

Reviewed by:	jkh
Submitted by:	rls
1994-09-07 01:42:29 +00:00
Andreas Schulz 222de0c67e Reviewed by:
Add entries for the speed 57600 and 115200 to the allowed speeds.
1994-09-06 11:17:30 +00:00
Bruce Evans ff18d3781d New flag -u to suppress functions whose name does not begin with an
underscore.  Use it to avoid seeing badsw when profiling the kernel.

Print times more accurately (e.g. usec in %8.0f format instead of
msec in %8.2f format for averages) if hz >= 10000.  This should have
no effect now since profhz is only 1024.
1994-09-05 16:14:54 +00:00
Bruce Evans ce2554c5ac Build database at build time instead of at install time. 1994-09-05 14:07:37 +00:00
Bruce Evans 8b69568f11 u_long -> unsigned long so that we don't depend on namespace pollution
in <stdio.h>.
1994-09-05 14:02:42 +00:00
Bruce Evans cb570515b4 Define __GNUC__ as 2 same as cc -E would do. 1994-09-05 13:58:58 +00:00
Andreas Schulz cee425927c Reviewed by:
Submitted by:
Get the man page installed. Does anyone know the reason for the name
xinstall instead of install for this directory ? Would life more
easy to get this whole thing under install.
1994-09-04 22:35:27 +00:00
Andreas Schulz b54c304080 Reviewed by:
Submitted by:
Add back the baud rates above 19200, as we have them already under 1.1.x.
1994-09-04 16:52:12 +00:00
Geoff Rehmet 8f84178bbe Shell script containing the steps followed in importing file(1).
Reviewed by:	Geoff.
Submitted by:	Rod Grimes.
1994-09-03 23:08:40 +00:00
Geoff Rehmet 53d5f08816 Changes to file(1) for FreeBSD:
- Makefile: bmake the sucker
- file.1, magic.5: replace __MAGIC__ and __SECTION__
- add Magdir/freebsd
- add file to usr.bin/Makefile

A note on the FreeBSD magic entry:
The magic number "000000407" is reported as "impure format".  This
stops file(1) telling us that our object files are "PDP-11 executables".
(Saying anything more than "impure format" would probably be bogus.
Submitted by:	Geoff.
1994-09-03 19:31:29 +00:00
Geoff Rehmet 87e1d90a3d This commit was generated by cvs2svn to compensate for changes in r2479,
which included commits to RCS files with non-trunk default branches.
1994-09-03 19:16:28 +00:00
Geoff Rehmet c7510038dc Bring in file 3.14 by Ian Darwin (and Christos Zoulas)
The following files were moved to different names:
- file.man -> file.1
- magic.man -> magic.5

The following file was removed:
- Magdir/Makefile
1994-09-03 19:16:28 +00:00
Andrey A. Chernov 62c58beedb Add and properly install locales 1994-09-03 14:00:40 +00:00
Geoff Rehmet c58ea67a1b - Bring in -x option changes from 1.x
- eval -> err_val : slightly more meaningful (eval is what you do in Linda ;-))
Submitted by:	Geoff.
1994-09-03 12:58:05 +00:00
David Greenman f114b8260c Fixed stupid bug which prevented any command line options from being
understood.

Submitted by:	Uwe Arndt (arndt@mailhost.uni-koblenz.de)
1994-08-31 17:20:12 +00:00
Bruce Evans 207a4c998a Use cc -E instead of cpp for the preprocessor by default. cc -E is
correct for C sources that are compiled by cc, while cpp (/usr/bin/cpp)
is bogus since it invokes /usr/libexec/cpp with different flags.
1.1.5 uses plain cc.  This should be equivalent after -M is added, but
cc -M foo.s is completely broken (it invokes the assembler) while
cc -E -M foo.s just does nothing instead of generating a foo.o: foo.s
dependency.

IF $MKDEP_CPP is set, use it as the cpp instead of cc -E.  Assembler
sources that are preprocessed using cpp directly should be mkdep'ed
with MKDEP_CPP=cpp.  Such sources shouldn't exist but we still have
lots.  foo.S should be compiled by cc -traditional (cc will invoke the
preprocessor) and foo.s should be compiled by cc (cc won't invoke the
preprocessor).
1994-08-30 16:36:49 +00:00
David Greenman 14810c626c Use gnumalloc. 1994-08-29 17:01:06 +00:00
Bruce Evans 2577a8acef Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
Andreas Schulz b013076737 Reviewed by:
Submitted by:
Put in a signal handler to catch the SIGSYS signal that indicates that
ktrace was not built into the kernel and prevent ktrace to core dump
somewhere.
1994-08-28 15:49:55 +00:00
Geoff Rehmet dae09d454d add rup rusers rwall
Submitted by:	Geoff
1994-08-28 15:17:56 +00:00
Geoff Rehmet c207889672 rwall from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	Christopher G. Demetriou
1994-08-28 15:11:02 +00:00
Geoff Rehmet 61ce166c6c rusers from FreeBSD 1.1.5.1
Reviewed by:	Geoff.
Submitted by:	John Brezak
1994-08-28 15:06:02 +00:00
Geoff Rehmet a82f86e105 rup from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	John Brezak
1994-08-28 15:01:31 +00:00
Geoff Rehmet c59d31f62f Fix big f*ckup by doing "make nocrypt"
(Don't think I don't realize what a big f*ckup this was.)
Submitted by:	geoff.
1994-08-27 15:46:29 +00:00
Geoff Rehmet e6e1bbd3fe Change references to flex(1) and flexdoc(1) to lex(1) and
lexdoc(1).
Submitted by:	geoff
1994-08-27 10:00:14 +00:00
Geoff Rehmet c5e63f9aec Do not install as flex
Submitted by:	Geoff
1994-08-27 09:52:32 +00:00
Garrett Wollman ee307ac8ce We really, really /don't/ want to have a shared lex library. Also,
current users should note that the old 1.1.5 lex can't process the
new scan.l, so you have to copy initscan.c to obj/scan.c before it will
build.
1994-08-25 23:11:07 +00:00
Sean Eric Fagan 7267a81cea Fix a problem with passing quoted strings down to commands.
Reviewed by:	Sean Eric Fagan
1994-08-24 21:14:27 +00:00
Guido van Rooij 2355afcfc6 Also create a link "view" to nvi, in stead of nview solely.
Reviewed by:
Submitted by:	guido
1994-08-24 20:09:47 +00:00
Geoff Rehmet 90b7e68847 Add lex to makefile
Submitted by:	Geoff.
1994-08-24 13:29:01 +00:00
Geoff Rehmet 4738f75303 This commit was generated by cvs2svn to compensate for changes in r2258,
which included commits to RCS files with non-trunk default branches.
1994-08-24 13:10:34 +00:00
Geoff Rehmet 8387c24d79 Flex version 2.4.7 from LBL
Reviewed by:	Geoff.
1994-08-24 13:10:34 +00:00
Jordan K. Hubbard faf2c5cc56 Bring symorder over from 1.1.5.1
Submitted by:	jkh
1994-08-23 11:08:08 +00:00
Jordan K. Hubbard b6cedfa8ad gcpp has ceased to exist - point to the right place.
Submitted by:	jkh
1994-08-23 03:52:40 +00:00