Commit Graph

156 Commits

Author SHA1 Message Date
dg
227775e50c Declared msginfo, shminfo, and seminfo structs. 1994-09-19 10:24:38 +00:00
swallace
2cfc98498c Declare fuction setpassive in file cmds.c void and update corresponding
prototype declaration in extern.h.
1994-09-18 05:45:29 +00:00
dg
02c768e8ae Kludge to workaround ftp coredumping when password is specified before
login in .netrc.

Submitted by:	John Kohl
1994-09-18 04:09:28 +00:00
pst
019579bbf9 Add support for passive mode FTP (default off) to base FTP client to support
users behind packet filtering firewalls.
Obtained from: David Carrel <carrel@cisco.com>
1994-09-15 19:45:43 +00:00
swallace
679fc3dd8e Added $DESTDIR to
$DESTDIR/usr/include/sys/ioctl.h $DESTDIR/usr/include/sys/ioctl_compat.h
so ioctl.c is generated properly using 2.0 include files in $DESTDIR.
1994-09-15 05:47:41 +00:00
ache
3b5314a35c 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
dfr
6294a52660 Imported the NetBSD version which acts a lot more like the SYSV program.
Obtained from: NetBSD
1994-09-13 16:59:29 +00:00
dfr
1f5a1bdba1 Added ipcrm. 1994-09-13 16:53:27 +00:00
dfr
9955df6ee4 Utility for deleting message queues, semaphores and shared memory segments.
Obtained from: NetBSD
1994-09-13 16:52:12 +00:00
dfr
2e8745449a Added ipcs. 1994-09-13 15:27:36 +00:00
dfr
8d5f738b88 Added from FreeBSD-1.1.5 with some additions to list shared memory segments. 1994-09-13 15:27:02 +00:00
rgrimes
d389bc7000 Add f2c, rpcgen and rpcinfo, need a decission on cpp and uucp. 1994-09-12 04:41:14 +00:00
rgrimes
95020286b6 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 22:01:45 +00:00
ache
b67f029f02 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
ache
aebfcd0c1d 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
csgr
134df3f722 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
pst
93cbf671fa 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
bde
9052b278b2 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
wollman
5caff33a75 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
jkh
f66e9665b9 Fix a longstanding bogon with setenv usage.
Submitted by:	jkh
1994-09-07 08:45:39 +00:00
pst
72c244e553 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
jkh
0e51981076 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
ats
a4e49c14f0 Reviewed by:
Add entries for the speed 57600 and 115200 to the allowed speeds.
1994-09-06 11:17:30 +00:00
bde
63eff9d9b8 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
bde
7421f5c2c7 Build database at build time instead of at install time. 1994-09-05 14:07:37 +00:00
bde
2e15dccfd7 u_long -> unsigned long so that we don't depend on namespace pollution
in <stdio.h>.
1994-09-05 14:02:42 +00:00
bde
21853fcc8f Define __GNUC__ as 2 same as cc -E would do. 1994-09-05 13:58:58 +00:00
ats
911bec5ce2 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
ats
461bab45ed 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
csgr
a56c0e9d5c 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
csgr
3a7fc439ea 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
csgr
c6fa37d4dd 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
csgr
8d1a4c7e86 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
ache
f67d56fe10 Add and properly install locales 1994-09-03 14:00:40 +00:00
csgr
32502c48aa - 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
dg
91977ea9d1 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
bde
199077a743 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
dg
74dd308e4e Use gnumalloc. 1994-08-29 17:01:06 +00:00
bde
4b07d8e782 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
ats
6f4fdb72c1 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
csgr
472c69de76 add rup rusers rwall
Submitted by:	Geoff
1994-08-28 15:17:56 +00:00
csgr
1edb603925 This commit was generated by cvs2svn to compensate for changes in r2347,
which included commits to RCS files with non-trunk default branches.
1994-08-28 15:11:02 +00:00
csgr
57063e7d6d rwall from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	Christopher G. Demetriou
1994-08-28 15:11:02 +00:00
csgr
1d44e704a3 This commit was generated by cvs2svn to compensate for changes in r2345,
which included commits to RCS files with non-trunk default branches.
1994-08-28 15:06:02 +00:00
csgr
b9a4456e8e rusers from FreeBSD 1.1.5.1
Reviewed by:	Geoff.
Submitted by:	John Brezak
1994-08-28 15:06:02 +00:00
csgr
5b795797c2 This commit was generated by cvs2svn to compensate for changes in r2343,
which included commits to RCS files with non-trunk default branches.
1994-08-28 15:01:31 +00:00
csgr
0b4a0ad53e rup from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	John Brezak
1994-08-28 15:01:31 +00:00
csgr
c009f27dba 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
csgr
2a000649cc 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
csgr
7821fe68f7 Do not install as flex
Submitted by:	Geoff
1994-08-27 09:52:32 +00:00