Commit Graph

544 Commits

Author SHA1 Message Date
Paul Richards
d13fe009f3 Fix a serious bug where changes to a field changed all fields
in the forms that used the same field declaration.
1995-01-25 06:04:02 +00:00
Paul Richards
017d5de87b Improve the forms language quite a bit. Most things now
default to sensible values so you don't have to spell out
every little detail for every field. Also, auto-detect
the field type from the syntax.
1995-01-25 03:27:34 +00:00
Andrey A. Chernov
d3c39340bc Merge. 1995-01-24 00:41:11 +00:00
Andrey A. Chernov
b3e8cc7812 Upgrade. My recent fix applied by author. 1995-01-24 00:37:11 +00:00
Andrey A. Chernov
86cc4d31d3 This commit was generated by cvs2svn to compensate for changes in r5825,
which included commits to RCS files with non-trunk default branches.
1995-01-24 00:37:11 +00:00
Jordan K. Hubbard
9f574f9a90 Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
1995-01-23 21:03:17 +00:00
Garrett Wollman
51e7d42c56 Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Paul Richards
8e6feb0e55 A forms interface builder. Basically, it reads a forms spec file and
spits out a frm.tab.h file with all the definitions needed by the
libforms interface.
1995-01-23 14:43:38 +00:00
Bruce Evans
dd3d164f9e Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
Bruce Evans
46d8d93500 Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00
Bruce Evans
742c88a03a Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
Andrey A. Chernov
2fdd39d28d Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00
Andrey A. Chernov
f3b2d1fae4 Not go to interactive mode, if login failed for URLs, just
exit(1). Dedicated to Jordan.
1995-01-21 01:37:22 +00:00
Garrett Wollman
2ade60ce3c In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
Garrett Wollman
925704439a Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
Garrett Wollman
8b359e3092 Added mk_cmds. 1995-01-19 22:31:17 +00:00
Garrett Wollman
3665217fb4 Port to FreeBSD. (Sorry there's no man page yet.) 1995-01-19 22:27:58 +00:00
Garrett Wollman
ba20ecf423 Other part of SIPB subsystem library, the program to make command tables. 1995-01-19 21:30:25 +00:00
Garrett Wollman
0cd34073b2 Kill old Kerberos password-changing support:
1) It was export-controlled.
2) It used some ad-hoc protocol invented by Berkeley in ignorance of the
   standard MIT distribution's way of doing it (which makes it useless
   to most people).

This should be fixed once we have `kadmin'/`kadmind'.
1995-01-19 21:03:48 +00:00
Bruce Evans
d25a46b215 Add option `-x excludelist'. This will be used for removing variously
spelled g*compiled* symbols from the kernel so that ddb doesn't have to
do it.  The symbols are currently removed by dbsym but dbsym will go
away when symbols are loaded by the boot loader.

Document -m option in usage message.

Check for overrunning some arrays.

Fix some misformatting.
1995-01-17 07:20:26 +00:00
Bruce Evans
f746e67c46 Obtained from: looked at the fix in 1.1.5 and rewrote it
Fix entabbing.
1995-01-17 07:02:31 +00:00
Jordan K. Hubbard
42e77edcaf The Makefile contained in usr.bin/tconv contains a bogus
reference to the absolute path /usr/src/lib/libmytinfo.  The enclosed
patch fixes this.

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-15 06:19:01 +00:00
Garrett Wollman
0e10ef2ea0 Add a `-p' option, allowing the super-user to directly set a user's
encrypted password.  Kerberized `login' might use this, if I get around
to implementing the complete Allspice System behavior.
1995-01-14 23:14:25 +00:00
Garrett Wollman
758f3a64bd Modify klogin to:
1) Don't spit out an error message if Kerberos is installed but not yet
   set up.

2) Don't attempt to verify the ticket you got back, as workstations
   are not intended to have srvtab files of their own.

Both behaviors can be re-enabled with KLOGIN_PARANOID.
1995-01-14 22:57:41 +00:00
Garrett Wollman
d8baa34b91 Fix include directive bobble. 1995-01-14 22:30:32 +00:00
Garrett Wollman
5e914d3b8d Upgrade to latest released SIPB version I can find. (Unfortunately, the
original releases were not numbered.)
1995-01-14 22:29:34 +00:00
Garrett Wollman
f4282c92cd Added compile_et. 1995-01-14 20:58:58 +00:00
Garrett Wollman
3c71319647 Slight makefile cleanup. 1995-01-14 20:58:00 +00:00
Garrett Wollman
cde665121e Fix Sharnoff complain bin/136 (-e flag doesn't work). 1995-01-14 20:36:22 +00:00
David Greenman
39b3568a26 Added 'pages in VM cache' statistic. 1995-01-10 05:52:59 +00:00
David Greenman
96bccfd8b2 Fixed two bugs: some malloced space wasn't freed after it was no longer
needed and the file wasn't closed when the -t option was used.
Originally by thomas@mathematik.uni-Bremen.de, but were incomplete.

Submitted by:	thomas@mathematik.uni-Bremen.de and myself
1995-01-09 05:59:04 +00:00
David Greenman
cfc22f9026 Old fix from Robert Crowe <bob@speakez.com> that has been sitting in
my mailbox since early last year. Fixes a problem with running out of
fds (by hitting the limit or whatever) when ar is given a long list of
objects. The fix was to add a missing close().

Submitted by:	Robert Crowe <bob@speakez.com>
1995-01-09 04:50:30 +00:00
Jordan K. Hubbard
8829c73eb6 Add Sean Eric Fagan's support for a ~/.nofinger file for user who prefer
their privacy.
Submitted by:	sef
1995-01-04 01:02:43 +00:00
Andrey A. Chernov
09b61a7a70 Upgrade 1995-01-03 17:25:13 +00:00
Andrey A. Chernov
8384611bea Merge 1995-01-03 17:22:35 +00:00
Andrey A. Chernov
69bee0e6f2 Upgrade 1995-01-03 17:18:21 +00:00
Andrey A. Chernov
07f055ac21 This commit was generated by cvs2svn to compensate for changes in r5360,
which included commits to RCS files with non-trunk default branches.
1995-01-03 17:18:21 +00:00
Andreas Schulz
5cf1ec501a Correct the usage of the maxmaxcode so that compress -b 12 works again.
Thanks to Dave Rivers for reporting that problem.
1995-01-02 10:04:02 +00:00
Andrey A. Chernov
3006712148 Reflects $HOME dir handling 1994-12-31 12:32:01 +00:00
Andrey A. Chernov
31e98e3f62 Fix for two problems:
Calendar not cd $HOME when running by user
Calendar calls cpp with # lines allowed
1994-12-31 12:15:27 +00:00
Jordan K. Hubbard
556751c1e8 Add David River's patch fix to use the passed in number of bits (-b <n>)
properly.
Submitted by:	rivers
1994-12-31 04:40:52 +00:00
Andrey A. Chernov
f3392428da Add check for writeable terminal
Submitted by: mark@grondar.za (and slightly modified)
1994-12-30 16:09:31 +00:00
Andrey A. Chernov
f4c05c7fcb Fix bug with printing out short archive entries,
incorrect padding
1994-12-28 14:11:21 +00:00
Andrey A. Chernov
0cd388e6aa Additional longname fix
Submitted by: dufault@hda.com
1994-12-28 13:19:39 +00:00
Andrey A. Chernov
8ddd408a2e Fix for handling long archive names
Submitted by: dufault@hda.com
1994-12-28 00:47:24 +00:00
Bruce Evans
62a1ce7ac9 Document the arch flag. It has always worked in 2.0.
Document aliases for the flags.

The formatting of the section describing the flags is poor.
1994-12-27 16:49:08 +00:00
Andreas Schulz
04dc4fc21c My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
Andreas Schulz
9066320224 The out_line doesn't need to be zero terminated, so print it not with %s
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
Andrey A. Chernov
bf2d4aa003 Merging.
v1.9.0 - December 22, 1994.  The program won't exit from the interactive shell
  if it's working from a tty.  For example, it won't exit if you do an mget
  on a pattern that won't match anything.  Added padding around jmp_buf's
  for SunOS.  SunOS needs sigjmp_buf's, but plenty of OS's don't support
  sigjmp_buf's yet.  Fixed the tips to reflect the new archive site.

v1.8.9 - December 20, 1994.  Can now set "passive" user variable, or use
  passive command to toggle PASV/PORT ftp.  Debug mode now prints remote
  responses.  Can now get around buggy FTP servers like boombox.micro.umn.edu,
  that give back invalid port numbers to PASV.

v1.8.8 - December 19, 1994.  Now falls back to port FTP if passive FTP fails.
1994-12-24 01:15:19 +00:00
Andrey A. Chernov
9b786fc227 Update 1994-12-24 01:01:48 +00:00
Andrey A. Chernov
8476490bd2 This commit was generated by cvs2svn to compensate for changes in r5216,
which included commits to RCS files with non-trunk default branches.
1994-12-24 01:01:48 +00:00
Nate Williams
637cb583c9 Subject: ranlib fix for odd length long final file names (PR #82)
Submitted by:	Peter Dufault <dufault@hda.com>
1994-12-23 22:55:00 +00:00
Nate Williams
61f9ce8d32 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
Garrett Wollman
d87bdc80f2 Added much-needed new options -[lL], to suppress printing of either the
call-graph or the flat profile, since often you only want one of them.
1994-12-22 20:52:15 +00:00
Andrey A. Chernov
11c5d06117 Use ASCII lock instead of BINARY one. 1994-12-19 01:57:17 +00:00
Andrey A. Chernov
338bca2c5e Use proper device names.
Remove fix-cua script, does nothing good.
1994-12-19 01:22:21 +00:00
Andrey A. Chernov
4fcbc726d9 Use proper dialout device name 1994-12-19 01:14:58 +00:00
Andrey A. Chernov
67e5e9bc63 Use proper LOCKDIR name 1994-12-19 01:07:59 +00:00
Andrey A. Chernov
322c962402 Use proper lock dir name 1994-12-19 01:02:11 +00:00
Andrey A. Chernov
b63b4cdb92 Skip nulls in putback to don't confuse with EOFs 1994-12-19 00:26:20 +00:00
Andrey A. Chernov
7c5eeb390e Make m4 more 8bit clean.
Don't use is*(EOF)
This fix core dump when LANG setted to 8bit wide charset
and ENABLE_STARTUP_LOCALE
1994-12-18 23:58:25 +00:00
Jordan K. Hubbard
59d7c860ca Nuke bogus duplicate decls. 1994-12-18 11:59:37 +00:00
Andrey A. Chernov
8a081b7353 strip not close files on error
Submitted by: jc@irbs.com
1994-12-18 01:18:17 +00:00
Andrey A. Chernov
632a24451c Fix odd length long names
Submitted by: dufault@hda.com
also Obtained from: 1.1.5.1
1994-12-17 05:59:33 +00:00
Garrett Wollman
c70b84bd3c Document new route flags. 1994-12-14 18:55:01 +00:00
Garrett Wollman
a7c7761f65 Make it possible to correctly print out new route flags, and do so. 1994-12-13 22:34:34 +00:00
Andrey A. Chernov
699204c2a5 Merge... 1994-12-13 21:03:46 +00:00
Andrey A. Chernov
5d9b1b20cb Upgrade... 1994-12-13 20:43:57 +00:00
Andrey A. Chernov
f545af68fd This commit was generated by cvs2svn to compensate for changes in r5093,
which included commits to RCS files with non-trunk default branches.
1994-12-13 20:43:57 +00:00
Andrey A. Chernov
62dcb67cdc Point that we use GNU version of uucp 1994-12-13 19:48:51 +00:00
Andrey A. Chernov
d2ee1a1856 Fix includes, tputs argument, ospeed setting, printing
attributes started with 'l'
1994-12-12 06:14:42 +00:00
Andreas Schulz
ab51dae938 change a .TH VMSTAT 1 to a .TH VMSTAT 8 . 1994-12-12 00:26:08 +00:00
Andreas Schulz
0ebe002b2d Changed a nslookup(1) to nslookup(8). 1994-12-12 00:24:31 +00:00
Andreas Schulz
73d3aff9ac Changed the usage of the new not existant manpage macros CMD_EXT, INDOT
and SYS_OPS_EXT to the normal numbers. Garrett, don't kill me :-).
1994-12-12 00:23:00 +00:00
Andreas Schulz
e82f07e12e Changed one uucico(1) to uucico(8). 1994-12-12 00:19:19 +00:00
Andrey A. Chernov
c9477304b6 Remove links before creating them 1994-12-08 22:27:49 +00:00
Paul Traina
a5af661e23 Remove extra newline introduced in 44lite (oops) 1994-12-05 10:01:39 +00:00
Paul Traina
2e8df940be Remove extra newline introduced in Net/2 1994-12-05 10:01:23 +00:00
Andrey A. Chernov
6d414f9844 Don't install as 'cu', it breaks Taylor 'cu' installed in the same
directory. Taylor 'cu' is much more powerful than this cheap 'tip'
1994-12-04 22:20:42 +00:00
Andrey A. Chernov
1d56c96ced Remove iso8859-1 to proper name 1994-12-04 21:13:56 +00:00
Andrey A. Chernov
35daa0b773 Dig out full locale names set for ISO8859-1 (great success!) 1994-12-04 21:11:29 +00:00
Andrey A. Chernov
aca02e247c Found at least one proper name for ISO8859-1 locale,
still need more names
1994-12-04 20:46:33 +00:00
Andrey A. Chernov
622d64cf1d Comment out iso88591 installation until proper name set will be found
(see README.locale_name). Please, anybody tell me language set
and countries set described in iso88591 to produce proper name set.
1994-12-04 20:27:31 +00:00
Andrey A. Chernov
5bf433c36e Add quick description of rules how to build locale name,
f.e. iso_8859_1 name is completely incorrect
1994-12-04 20:12:10 +00:00
Andrey A. Chernov
c0fc067043 Fix encoding scheme UTF2 --> None 1994-12-04 19:54:19 +00:00
Andrey A. Chernov
7177204106 Reorganize data to not mess with sources 1994-12-04 19:52:31 +00:00
Andrey A. Chernov
69c238f94d Fix wrong encoding scheme UTF2 --> NONE 1994-12-04 19:41:35 +00:00
Jordan K. Hubbard
6a2af57e44 Install Kaleb's iso_8859_1 by default. 1994-12-04 12:22:45 +00:00
Jordan K. Hubbard
f16fb8e0f7 From: Kaleb Keithley <kaleb@x.org>
Here's something that should be a big selling point for European users.
Note that Linux still doesn't support anything other than the POSIX locale.
This is a superset of the POSIX locale with support for all the accented
characters. You need this to do compose processing in XFree86 3.x. I'm
using this on my 1.1.5.1 system. Don't know whether it works on 2.0, but
can't think of any reason why it wouldn't.

Submitted by:	kaleb
1994-12-04 12:19:25 +00:00
Bruce Evans
3544ae54e2 extern.h, iostat.c, main.c, vmstat.c:
Use the correct value of hz (stathz if it is nonzero) for
	interpretion of dk_time[] and cp_time[] in iostat.c.  Avoid
	multiple conversions of this value in iostat.c and vmstat.c

iostat.c:
	Implement the display of cp_time[CP_INTR].  Fix the display
	of cp_time[CP_IDLE] (the display was always null because
	cp_time[CP_INTR] == 0 was displayed instead).

systat.1:
	Document the display of cp_time[CP_INTR].

vmstat.c:
	Implement the display of cp_time[CP_INTR].
1994-12-03 10:06:40 +00:00
Andreas Schulz
53daef245b Submitted by: Philippe Charnier
Fixed a little typo: lable -> label.
1994-12-01 22:19:02 +00:00
Ugen J.S. Antsilevich
57476d2f22 Sorry..forgot something for yesterdays login patch..
(Umm..i hope nobody "make world" this time:)
1994-12-01 12:35:54 +00:00
Ugen J.S. Antsilevich
6dc4937281 Patch of password expired bug.
Now password changed for right user and
no longer possible to skip password change.
I hope it will be ok....
1994-11-30 15:40:09 +00:00
Andrey A. Chernov
f3be64932f Get rid of gets
Submitted by: Ollivier Robert
1994-11-29 01:11:43 +00:00
David Greenman
293df9d65a Moved "VMSTAT" column up by one row so that it displays properly on 24
row displays.
1994-11-25 03:48:04 +00:00
Andrey A. Chernov
106d493a69 add missing tconv 1994-11-22 00:47:14 +00:00
Poul-Henning Kamp
f6936e4b00 Another absolute path... 1994-11-21 01:07:02 +00:00
Poul-Henning Kamp
122e125592 -I${.CURDIR}/../.. 1994-11-21 00:54:28 +00:00
Poul-Henning Kamp
55229b5643 Absolute path to /sys again... 1994-11-21 00:53:32 +00:00
Poul-Henning Kamp
d8b4e0d7f5 More absolute paths 1994-11-21 00:17:10 +00:00
Garrett Wollman
a38c3127e1 Add distribution=krb for P-HK 1994-11-20 23:23:28 +00:00
Jordan K. Hubbard
0a50d08da1 Add getopt. 1.x used to have it, it's gone from 2.0, I need it, end
of story.
1994-11-20 14:21:25 +00:00
Nate Williams
54d17bb8f1 NetBSD -> FreeBSD
(Bring to 2.0 please)
1994-11-19 18:19:27 +00:00
Andreas Schulz
6ace5496e9 Correct the dig manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:12:37 +00:00
Andreas Schulz
193ef50ab2 Fixed a typo. Seems this manual page has stemmed from the rwall
man page :-).
1994-11-18 21:37:40 +00:00
Andreas Schulz
0b293ea528 Fixed the PATH and cleanenv setting in su. This was totally broken in the
4.4BSD Lite source.
1994-11-17 16:56:58 +00:00
Poul-Henning Kamp
7a82d2eb91 A little fix for "make distribute". 1994-11-14 21:28:46 +00:00
Bruce Evans
d6238d7915 Fix logic in previous commit. 1994-11-14 07:13:12 +00:00
Lars Fredriksen
4ecbaff289 Added chat 1994-11-12 05:32:46 +00:00
Lars Fredriksen
0f0f80bfbf This commit was generated by cvs2svn to compensate for changes in r4374,
which included commits to RCS files with non-trunk default branches.
1994-11-12 05:25:32 +00:00
Lars Fredriksen
9b1aec4804 chat for ppp, from ppp 2.1.2 1994-11-12 05:25:32 +00:00
Andrey A. Chernov
3e7520144b Fix beforeinstall target:
use chflags /usr/bin/chpass ONLY if chpass present
1994-11-08 14:59:22 +00:00
Andrey A. Chernov
2bf7ffc485 Set given term name exactly, not first name from termcap entry.
It helps for rlogin/telnet to another systems without our termcap
1994-11-07 20:26:35 +00:00
Poul-Henning Kamp
3dfc7586e5 Always make the salt a 8 char string (incl '\0') for algorithms that can use it 1994-11-06 21:08:19 +00:00
Andrey A. Chernov
610fae39e9 Better tuning for FreeBSD 2.0 1994-11-04 06:59:17 +00:00
Andrey A. Chernov
7a9dedf90d Merge changes with new version 1994-11-04 06:11:39 +00:00
Andrey A. Chernov
39ac25d619 Initial import 1.8.6 1994-11-04 05:36:00 +00:00
Andrey A. Chernov
413c931760 This commit was generated by cvs2svn to compensate for changes in r4135,
which included commits to RCS files with non-trunk default branches.
1994-11-04 05:36:00 +00:00
Andrey A. Chernov
a892b9ead0 Prepare for 1.8.6 import 1994-11-04 05:34:16 +00:00
Andrey A. Chernov
6ecb4531d3 Simplify __FreeBSD__ block since __386BSD_ eliminated 1994-11-04 04:53:13 +00:00
Jordan K. Hubbard
fb59d6ab65 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
Bruce Evans
e9a82e8087 Give up instead of looping endlessly for unknown speeds. 1994-10-30 21:01:04 +00:00
Andrey A. Chernov
ca4a5183dd More 8bit/ctype fixes, command mode 1994-10-30 04:05:50 +00:00
Andrey A. Chernov
49a7037f5a Make window 8bit clean and ctype oriented.
Fix restart after ^Z hang.
1994-10-30 03:09:58 +00:00
Andrey A. Chernov
434ded340d Fix hang on exit: needs to restore SIGIO reaction _before_
tcsetattr, because tcsetattr cause SIGIO in wakeup
1994-10-30 01:43:09 +00:00
Andrey A. Chernov
cfb92d36fb Fix print class mistype 1994-10-28 23:31:48 +00:00
Jordan K. Hubbard
2461956095 Andreas Klemm's tape erase patches from 1.1.5.1.
Submitted by:	andreas
1994-10-28 13:21:57 +00:00
Andrey A. Chernov
f7da7bc717 Remove VMIN_BUG from CFLAGS, add 57600, 115200 1994-10-27 22:52:14 +00:00
Paul Traina
179ead2d5b lorder(1) manual page not properly installed due to makefile usurping
install rule.
1994-10-27 19:23:30 +00:00
L Jonas Olsson
0adf64b6c5 Remove the f77 script now that we are instead installing a f77 program
(that does the same as the script). The f77 program lives in cc/f77.
1994-10-27 16:37:39 +00:00
Andrey A. Chernov
c6189102a3 Partially back out previous fix (in cases ':' and '!'),
leave case '.' as valid user name, not host reference.
Document new behaviour.
1994-10-24 05:42:34 +00:00
Andrey A. Chernov
016d299205 Remove undocumented talk behaviour, when names like
aa.bb aa:bb and aa!bb treated as user+host and not as local user
names (especially aa.bb is common case).
Only @ is valid user/host separator according to manpage.
Pointed-by: doctor@dream.demos.su
1994-10-24 03:48:44 +00:00
Garrett Wollman
07e532e7d6 Use new NFS sysctl interface to get statistics rather than reading /dev/kmem,
unless the user specifies a dead kernel to operate on.
1994-10-23 23:25:43 +00:00
Guido van Rooij
acc879c13f The talkd security hole can ealso be exploited by wall (and thus rwall).
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
1994-10-23 15:33:55 +00:00
Adam David
d9b7257fde P was missing from getopt string 1994-10-19 11:15:30 +00:00
Andrey A. Chernov
dc5c110e4a Prevents segm. fault on unknown option 1994-10-19 05:10:06 +00:00
Paul Traina
23893997eb Remove which per Rod's request. 1994-10-19 03:14:13 +00:00
Paul Traina
35a03abd96 Added which 1994-10-19 00:34:23 +00:00
Paul Traina
2ddadf840c Include most of the logdaemon v4.4 S/key changes 1994-10-19 00:03:45 +00:00
David Greenman
eb0a76a869 Made zero-fill stats a bit more clear. 1994-10-18 15:17:09 +00:00
David Greenman
c58c4cd7c6 Updated to changes in struct vmmeter. 1994-10-18 15:03:10 +00:00
David Greenman
204b727408 Updated to changes in struct vmmeter and reorganized -s stats to be more
logical.
1994-10-18 15:00:06 +00:00
Poul-Henning Kamp
5ffce483b4 Spelling mistakes.
Submitted by:	Chris Kukulies
1994-10-17 17:16:47 +00:00
David Greenman
8678b0ebb5 Restore all of my changes that Garrett clobbered in the previous commit. 1994-10-17 10:34:42 +00:00
Poul-Henning Kamp
e57dc19458 Added a missing 'break;' 1994-10-16 22:07:47 +00:00
Poul-Henning Kamp
3972fa6670 Symorder complains if INET isn't in the kernel. I added '-m' to inform it
that it should exit(0) even if this is so.  fixed a /386bsd -> /kernel in
the man-page while at it.
1994-10-16 22:01:44 +00:00
Gary Palmer
4325553db7 Remove `ld' from the clean line also. Someone should look at all the
non-i386 machine lines sometime.
1994-10-16 20:03:03 +00:00
Garrett Wollman
379bb2d779 New way of getting disk drive names. 1994-10-16 04:04:56 +00:00
Gary Palmer
4396424c51 Remove directories we don't have from the clean SUBDIR's and add note
about it (some of the missing dirs are still referenced by other
clauses in the `.if')
1994-10-16 02:56:01 +00:00
Gary Palmer
d6f9c011d2 Fix up this makefile so that it handles clean' and cleandir' properly. 1994-10-15 20:50:05 +00:00
David Greenman
99e1559564 Updated to changes in struct vmmeter. 1994-10-15 13:37:41 +00:00
David Greenman
d804109675 Updated to changes in struct vmmeter. Nuked !NEWVM code. Fixed rounding
bug when interval is 1 second.
1994-10-15 13:36:32 +00:00
David Greenman
e1e293a5dc Added '-b' option to display the number of in and out bytes on a given
interface (used with -i and -I flag).
1994-10-12 02:37:35 +00:00
Garrett Wollman
f665d68d04 Make id' and groups' somewhat faster and less cpu-intensive :-)
Really!
1994-10-11 02:13:21 +00:00
Andrey A. Chernov
6a5cea9ba2 Fix termcap path 1994-10-09 23:51:43 +00:00
Andrey A. Chernov
f849e2cf15 Splitted from libmytinfo 1994-10-09 17:40:30 +00:00
Andrey A. Chernov
833f087253 Back out part of ctype fixes, unneded with new ctypoe 1994-10-09 15:40:07 +00:00
David Greenman
82c4eab0a7 #if 0'd out the meat of the swap code until I get a chance to rewrite it. 1994-10-09 07:37:18 +00:00
Paul Traina
d456d8f48d Back out the fluff, leave the meat 1994-10-07 07:48:18 +00:00
Paul Traina
cccddd3572 (a) there's no reason for PASSIVEMODE to be conditionally compiled since it's
controlled by a runtime switch.
(b) add '-P' to toggle passive mode from the command line
(c) turn on passive mode by default
	- passive mode ftp works on all but a few servers out there
	- it's easy to disable
	- no, standard ftp should not run with passive enabled by default,
	  but that doesn't matter because I've already fixed standard mode
	  ftp to take a switch

This really should have been implemented as a ncftp "set" command instead
of carrying over the same hack that was done to ftp.  I will go back and fix
it some day.
1994-10-06 23:57:21 +00:00
Andrey A. Chernov
433c849296 Back out ospeed change 1994-10-06 21:07:55 +00:00
Garrett Wollman
acd83bcce9 Since Rod insists on having this idiotic error message, at least call
warnx() correctly so we don't get the double newline.
1994-10-06 20:43:35 +00:00
Andrey A. Chernov
0c51086916 PC/ospeed code ifdefed out, our libtermcap use usleep now 1994-10-06 20:41:56 +00:00
David Greenman
5f7daa9621 Changes to buf.h now require that param.h be included. 1994-10-05 09:57:49 +00:00
Poul-Henning Kamp
3d9d72fc59 Realigned the output of "vmstat -m", "MSDOSFS mount" was too wide for the
field.  Saved some space and gained a little clarity by printing "128K"
instead of 131072 (and so on).
1994-10-05 04:52:47 +00:00
Rodney W. Grimes
b615e5e776 Fix -p option sed script so that it really does change program.o: into
program:.  There where extra spaces our gcc does not emit causing problems.
Obtained from:	FreeBSD 1.1.5.1
1994-10-03 23:01:03 +00:00
Garrett Wollman
7b46dd001d Document router advertisement and solicitation messages in ICMP input
histogram.
1994-10-02 18:45:32 +00:00
Paul Traina
e98bbd43df f77.script resides in source, not obj dir 1994-10-01 19:12:09 +00:00
Geoff Rehmet
60643d379b Initial import of eBones.
(Including all changes for FreeBSD - importing the original eBones distribution
would be too complex at this stage, since I don't have access to Piero's 
CVS.)
(If you want to include eBones in your system, don't forget to include
MAKE_EBONES in /etc/make.conf.)
(This stuff is now also suppable from braae.ru.ac.za.)

Bones originally from MIT SIPB.
Original port to FreeBSD 1.x  by Piero Serini.
Moved to FreeBSD 2.0 by Doug Rabson and Geoff Rehmet.
Nice bug fixes from Doug Rabson.
1994-09-30 14:50:09 +00:00
Geoff Rehmet
3c6459e594 Undo damage done between revisions 1.6 and 1.7
(Guys, please don't DAMAGE commits that have just gone in.)
1994-09-30 13:26:15 +00:00
Paul Traina
abca603fd2 Add f77 shell script frontend for f2c/gcc 1994-09-30 06:25:06 +00:00
Steven Wallace
1ebe214799 Define MAN1 man page variable.
Get rid of install: and instead add an afterinstall: so that man page
is properly installed
1994-09-29 21:18:17 +00:00
Paul Traina
1dcd7de0c3 Add -p flag and pftp alias for passive ftp 1994-09-29 20:55:25 +00:00
Paul Traina
122c9247d4 Add support for s/keys 1994-09-29 20:54:41 +00:00
Paul Traina
c9bdc15213 Install support for skey and login.access 1994-09-29 18:59:15 +00:00
Geoff Rehmet
c368d11dd2 First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES.  (Far fewer contortions,
and both default to off.)  IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.
1994-09-29 13:06:54 +00:00
Poul-Henning Kamp
96a1d4decb I finally had enough of tip not recognizing carrier loss. now it does. 1994-09-29 02:22:08 +00:00
Jordan K. Hubbard
66f8414941 Ye GODS! What I had to go through to make this thing exit with a non-zero
return status when a transfer failed!  Hopefully, the next release will
do this more elegantly and make these changes short-lived.
1994-09-28 14:53:20 +00:00
Andrey A. Chernov
255318a894 idle time == 0 printed now as "-" like in good old BSD
skip cua* 3 chars as tty* 3 lchars
1994-09-27 01:00:18 +00:00
Paul Traina
5517824990 Enable new bind utilities. 1994-09-26 23:14:33 +00:00
Doug Rabson
ab1698b3e9 Move the call to des_set_key to after the kerberos initialisation, removing
assumption about the implementation of des_read/des_write.
1994-09-26 09:22:08 +00:00
Poul-Henning Kamp
19b815a645 If you used tip to start SLIP, tip would fail to write to the tty
after slattach was started.  Now tip knows to die when it gets ENODEV...
1994-09-25 03:59:03 +00:00
Garrett Wollman
4be4929c2b Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
David Greenman
ffaf90b1ec Fixed warnings about prototype mismatch by eliminating outc routine
and calling putchar directly.
1994-09-23 09:59:11 +00:00
Andrey A. Chernov
47ef074259 ncftp added 1994-09-23 00:00:57 +00:00
Andrey A. Chernov
b2b074c133 Final (I hope) tuning 1994-09-22 23:53:00 +00:00
Andrey A. Chernov
b7b69dce5b ncftp 1.8.5 1994-09-22 23:45:37 +00:00
Andrey A. Chernov
6bea800e77 This commit was generated by cvs2svn to compensate for changes in r3004,
which included commits to RCS files with non-trunk default branches.
1994-09-22 23:45:37 +00:00
Paul Traina
d475634fe5 Port host to FreeBSD 1994-09-22 21:52:03 +00:00
Paul Traina
c3a4ccf2fb Port dig to FreeBSD 1994-09-22 21:51:49 +00:00
Paul Traina
9e39976ac1 This commit was generated by cvs2svn to compensate for changes in r2988,
which included commits to RCS files with non-trunk default branches.
1994-09-22 21:34:21 +00:00
Paul Traina
ef442cfcd3 host(1) from BIND 4.9.3BETA9pl1 1994-09-22 21:34:21 +00:00
Paul Traina
10423ead10 This commit was generated by cvs2svn to compensate for changes in r2986,
which included commits to RCS files with non-trunk default branches.
1994-09-22 21:33:31 +00:00
Paul Traina
8dda8471c2 dig(1) from BIND 4.9.3BETA9pl1 1994-09-22 21:33:31 +00:00
Garrett Wollman
022ad531ed Fix compilation error and formatting mistake. 1994-09-22 20:21:59 +00:00
Garrett Wollman
839f16ab63 Build lsvfs. 1994-09-22 01:26:58 +00:00
Garrett Wollman
2a136300ac Added lsvfs command to show loaded VFS modules (including statically-linked
ones).
1994-09-22 01:25:57 +00:00
Andrey A. Chernov
c8939366a1 1) Make ctype-aware expect chars in range 0200-0204 treated
as controls in any case.
2) Fix bug with incorrect column position when standouts occurse
3) Fix bug when last standouted char cause clearing next line
in standout
1994-09-22 01:19:13 +00:00
Andrey A. Chernov
edee6d3816 Make talk ctype-aware, handle controns as tcsh does, use human-oriented
scroll, most of changes from 1.x
1994-09-20 08:07:52 +00:00
David Greenman
3012a727a0 Declared msginfo, shminfo, and seminfo structs. 1994-09-19 10:24:38 +00:00
Steven Wallace
240baf2f68 Declare fuction setpassive in file cmds.c void and update corresponding
prototype declaration in extern.h.
1994-09-18 05:45:29 +00:00
David Greenman
63f5112ede 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
Paul Traina
9095be3705 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
Steven Wallace
26e65fa36f 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
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