Commit Graph

672 Commits

Author SHA1 Message Date
Poul-Henning Kamp eebb154304 Sanitize the PGP strings a bit. 1995-08-03 07:11:45 +00:00
Andrey A. Chernov b418143d61 Use the same DECODE_BAUD trick like in new telnet to set
termios speed
Obtained from: Pre-Lite2 telnet
1995-08-02 11:13:30 +00:00
Satoshi Asami b60de1afb0 Submitted by: Wolfram Schneider <w@cs.tu-berlin.de>
The currently (1995/07/31 04:22:07) implemented if (-x "$prog") {
works only if you have '.' in your $PATH variable.
1995-08-02 07:30:37 +00:00
Andreas Schulz eb26b35651 Add the maybe_stripped to a CLEANFILES target to get a clean obj directory
after a clean or cleandir.
1995-08-01 21:53:35 +00:00
Andrey A. Chernov 263ac6e4b1 Reduce passed speed to 38400, like telnet does too.
Remote rlogind may not understand speeds > 38400.
1995-08-01 02:23:21 +00:00
Satoshi Asami 75f2898f9a Submitted by: Torbjorn Granlund <tege@matematik.su.se>
* /usr/bin/which doesn't work if a complete path is passed to it.  This is
  incompatible with other flavours of Unix, Here is a suggested patch:
1995-07-31 04:22:07 +00:00
David Greenman 3aa80b1d81 Output statistics as unsigned in the -w section.
Look at error return of kread() and stop on error.
Fix warning in kread() to not output "kvm_read:" twice.
Killed PCB cache misses stat as we no longer have it.
1995-07-29 22:34:15 +00:00
David Greenman 89d7f49a31 Add "connections dropped by persist timeout" statistic. 1995-07-29 18:49:16 +00:00
Bruce Evans 9c0dc173cc Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Bruce Evans 6eee579315 Change `install' to `${INSTALL}' as usual.
Remove the extra slash in ${DESTDIR}/${BINDIR}.
1995-07-25 00:22:50 +00:00
Bruce Evans 3fbfb0f281 Build a stripped copy of `strip' so that it doesn't have to be stripped
at install time.  This will allow `install -C' to avoid replacing the
installed copy if the new copy is the same.  `install -C' would actually
work right if `strip' is already installed, but the Makefile doesn't
know that and has to work for plain `install'.

Stripping should be done by default at link time, but complications
would still be required for installing `strip' in case the default is
overridden.
1995-07-24 22:50:17 +00:00
Mike Pritchard 53d63fbd0a Add magic cookie for Zyxel modems ADPCM4 encoding.
Submitted by: Henrik Vestergaard Draboel <hvd@terry.ping.dk>
1995-07-24 03:59:15 +00:00
Rodney W. Grimes 65d3266d56 Set NOSHARED=true, having this binary static makes it much easier to
fix /usr/lib/*.so problems.

Submitted by:	davidg
1995-07-24 01:44:17 +00:00
Joerg Wunsch 3bd85a2333 D*mn, botched my last commit message. :-(
>Description:

  A machine with uptime >1 year appears wrong in the ruptime list

Fixes bin/626: ruptime doesn't like big ...
Reviewed by:
Submitted by:	root@xaa.stack.urc.tue.nl
Obtained from:
1995-07-22 22:28:31 +00:00
Joerg Wunsch fdb7c7dc11 this avaids the "lineoverflow" which you'll always get at 80 column displays
at bootup

Reviewed by:
Submitted by:	graichen@omega.physik.fu-berlin.de (Thomas Graichen)
Obtained from:
1995-07-22 22:16:54 +00:00
Joerg Wunsch f816912386 Change the weekday abbrevaiations to two letters each. This reduces
their ambiguity and makes the output more consistent with other
calendars (e.g. cal in Emacs).

Reviewed by:
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
Obtained from:
1995-07-22 22:14:49 +00:00
Garrett Wollman bbdb094b50 Slightly better message for `ypwhich -x':
was: Use "foo" for "foo.bar"
now: "foo" is an alias for "foo.bar"
1995-07-20 16:30:15 +00:00
Peter Wemm 6367cd09b8 When 'w' finds an IP address in the ut_host field, it attempts to do
a gethostbyname() on it.  That can take a long time...  (especially
if the reason the IP address is in there in the first place is because
login/rlogind/telnetd couldn't find it either....)
This patch reduces the gethostbyaddr lookup time to 2 seconds, the idea being
that if the local nameserver knows the answer, it'll answer within that time,
otherwise we dont care... :-)
This change doesn't do anything about whether or not w should do this in the
first place, but at least it will make the current behavior less painful.
Reviewed by:	David Greenman
1995-07-18 05:07:02 +00:00
Peter Wemm 7908b94389 Oops! Andrey pointed out tht setlocale(LC_CTYPE, "") doesn't actually
work for locale's with multibyte characters.  Backing this out....
cvs diff -c -r1.1 -r1.2 main.c | patch -R
Reviewed by:
Submitted by:
Obtained from:
1995-07-18 01:03:46 +00:00
Peter Wemm 605abcde5e Make 'more' sensative to the current locale for it's ctype calls.
Reviewed by:
Submitted by:	Thomas Gellekum, with minor cosmetic changes from me.
Obtained from:
1995-07-17 12:37:50 +00:00
Peter Wemm 0812a2b446 Fix the 'w' command so that the -h option correctly supresses the heading
as per the manual page. Closes PR578.
Reviewed by:
Submitted by:	Kenneth D. Merry
Obtained from:
1995-07-17 04:38:30 +00:00
Mike Pritchard 55cc991796 Fix chpass so that it doesn't advance the password
change and expire dates by 1 day anytime root
edits a user that has a change/expire date set.
1995-07-16 18:49:12 +00:00
Joerg Wunsch a471a8c32e Remove the dangerous "eof" command that used to be an alias for "weof"
but usually got confused with "eom".  It didn't ring the warning bell
saying: "You are probably going to mark your whole tape as deleted
right now."

A warning message pointing to "weof" and "eom" is issued instead.
1995-07-16 10:16:26 +00:00
Garrett Wollman 99005ad98e Added support for an LCS-style `wheel su' which allows users in group wheel
to su to root by authenticating as themselves (using a password or S/Key)
rather than by using the root password.  This is useful in contexts like
ours, where a large group of people need root access to a set of machines.
(However, the security implications are such that this should not be
enabled by default.)

The code is conditionalized on WHEELSU.
1995-07-12 20:11:19 +00:00
Bruce Evans 926e94cd40 Don't attempt to read the variable `total' from the kernel. `total'
isn't used in systat or in the kernel (it was replaced by a sysctl()
call involving VM_METER) and will go away when I clean up bogus
common variables in the kernel.
1995-07-12 20:09:02 +00:00
Bruce Evans 7e4a866916 Instantiate our own variables instead of depending on bogus common
declarations in system headers that will be fixed soon.
1995-07-12 19:21:36 +00:00
Bruce Evans 30df0b88e1 Instantiate our own variables instead of depending on bogus common
declarations in system headers that will be fixed soon.
1995-07-12 19:10:17 +00:00
Andreas Schulz f690290609 Add kzip to the clean and cleandir target so that it also get cleaned up
properly.
1995-07-08 22:24:20 +00:00
Joerg Wunsch d38ca307b7 PR # bin/274
> The command:
>
> touch -t 199504011200 testfile
>
> gives the error message:
>
> touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]

Submitted by:	mpp@legarto.minn.net (Mike Pritchard)
1995-07-08 16:47:47 +00:00
Rodney W. Grimes a3f8d23a48 This fixes 'split -l NNN foo'. As it stands split will
complain about an 'illegal line count' becuase it's looking
at the wrong end pointer (ep) to detect any extra characters
after the NNN.

Submitted by:	Rich Murphey <rich@freebsd.org>

This should probably get pulled into 2.0.6 and 2.1.0
1995-07-07 08:23:52 +00:00
John Fieber bbba09f659 New feature: a -links option, when generating html output, creates
symbolic links for each cross reference label in the source file, thus
allowing external documents to link to a more or less fixed target,
rather that the numbered files which can change whenever the target
document is modified.

Bug fix: warn when a reference is made to a nonexistant label.
1995-06-30 15:19:12 +00:00
Satoshi Asami 67c347acbd Terminate string copied by strncpy() by '\0' to fix a core dump.
Submitted by:	kogane@kces.koganemaru.co.jp (Nobuyuki Koganemaru)
1995-06-30 04:59:44 +00:00
Doug Rabson a62dc40654 Changes to support version 3 of the NFS protocol.
The version 2 support has been tested (client+server) against FreeBSD-2.0,
IRIX 5.3 and FreeBSD-current (using a loopback mount).  The version 2 support
is stable AFAIK.
The version 3 support has been tested with a loopback mount and minimally
against an IRIX 5.3 server.  It needs more testing and may have problems.
I have patched amd to support the new variable length filehandles although
it will still only use version 2 of the protocol.

Before booting a kernel with these changes, nfs clients will need to at least
build and install /usr/sbin/mount_nfs.  Servers will need to build and
install /usr/sbin/mountd.

NFS diskless support is untested.

Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
1995-06-27 11:07:30 +00:00
Joerg Wunsch f9e1554f6f Include killall. 1995-06-25 18:11:06 +00:00
Joerg Wunsch 1fc7066757 Our Perl oracle hit again: Wolfram Schneider's killall utility.
Kills processes by name instead of by UID.

(Man page by me.)

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-06-25 18:08:27 +00:00
Bruce Evans facd9d3003 usr/ucb -> usr/bin and usr/msgs -> var/msgs. 1995-06-25 03:52:30 +00:00
Bill Paul 14eb79c475 Argh!! Got the arguments in the printf() backwards. 1995-06-24 18:12:17 +00:00
Bill Paul 1724847d45 Whoops: getnewpasswd() always says "Changing local password for foo".
Change things slightly so this message says "local" or "YP" as needed
so we can use it for both NIS and local password changes without
confusing people.
1995-06-24 18:08:25 +00:00
Bill Paul a7aa6bd1ea getnewyppasswd() in yp_passwd.c doesn't generate correct encrypted
password strings when DES isn't used; somehow the encrypted password
is corrupted and it winds up containing control chars, which yppasswdd
subsequently rejects. This breaks yppasswd on non-DES FreeBSD systems
using NIS.

Fix: scrap getnewyppasswd() entirely and use getnewpasswd() from
local_password.c, since it already works properly and is virtually
identical to getnewyppasswd() anyway. (Wish I'd noticed this sooner.)

This fixes a problem just reported on comp.unix.bsd.freebsd.misc.
1995-06-24 17:47:51 +00:00
Andrey A. Chernov 2f22cc074c Back out prev. NetBSD fix, it cause skipping some error constructions,
don't delete initial space from line instead
1995-06-24 17:34:15 +00:00
Andrey A. Chernov 33e5f8f7b0 Don't make error on ^<spaces>\n
Obtained from: NetBSD
1995-06-24 17:23:31 +00:00
Joerg Wunsch 29eaad36e5 Make parsetime.c more consistent by using the (already declared) enum
type instead of int all over the place.  (Cosmetic, enhances
debugging.)

Point out that a date specification _must_ follow the time of day
spec, in the man page.  This clarifies the last point PR # of bin/483:
"at doesn't seem to ..." (the remainder has already been fixed with
version 1.3 of parsetime.c).
1995-06-24 17:15:56 +00:00
Bill Paul 7cb00bd6b4 Somewhere along the line, somebody decided to make the 'full name' field
restricted. Am I the only one who sees the absurdity of having chfn be
a link to chpass, and then denying users permission to use chpass to
change their full names?

Of course, chpass has a much more severe bug in it, which is that it
allows users to change their password database info without first
asking them for their password. I hope to fix this at some point
so that I can merge ypchpass, ypchfn, ypchsh and chpass into one
program (password authentication is required for changing NIS data).
1995-06-23 16:24:34 +00:00
Andrey A. Chernov c2ac9540cd Fix finger not check all users ~/.nofinger, only for actually
matched. Close PR 539
Submitted by: tom@haven.uniserve.com
1995-06-21 23:54:43 +00:00
Rodney W. Grimes a851ee6e7b Correct spelling of Judy Garland's name.
Submitted by:	Kenneth Stailey <kstailey@gnu.ai.mit.edu>
Obtained from:  NetBSD gnats bug list
1995-06-20 12:40:48 +00:00
Satoshi Asami 9509c1b284 Rename, lt_LN.ISO8859-1 -> lt_LN.ISO_8859-1.
Reviewed by:	rgrimes
1995-06-19 22:15:35 +00:00
Garrett Wollman 7b4315a73a Correct spelling mistake: upcated -> updated. 1995-06-19 16:55:16 +00:00
Garrett Wollman 861b18288b Print out the statistics for cache updates of rtt, rttvar, and ssthresh. 1995-06-19 16:46:21 +00:00
Andrey A. Chernov fa19ca391b Fix parsing SYSV/GNU "include" 1995-06-18 13:08:18 +00:00
Andrey A. Chernov 76da55f6bc NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabet
order, prevent suffix rule, if direct or children dependances exists,
forget to free v->name in var.c
My fixes: fix famous ^\t\n bug, correct free order in str_end
Reviewed by: bde
Obtained from: NetBSD, me
1995-06-18 12:34:14 +00:00
Andrey A. Chernov ee0aa83a01 Fix lseek arg by including unistd.h 1995-06-17 04:07:09 +00:00
Andrey A. Chernov 56718b4a07 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:25:34 +00:00
Andrey A. Chernov 6ed40291ad Allow additional parsing of SYSV/GNU make "include" directive, it covers
90% of problems in ports Makefiles
1995-06-16 22:46:38 +00:00
Bill Paul 8a363d18bb Patch to fix PR #518. In a system with no NIS, passwd will complain
that it can't contact an NIS server when asked to change the password
of an invalid user. It should say 'unknown user' instead.

The fix is to check for the _PW_KEYYPENABLED flag in the password
database and only roll over into the yppasswd stuff if the flag
is enabled (this means passwd will not behave as yppasswd if
there are no +::::::::: entries in /etc/master.passwd). If
NIS is enabled but the user says 'passwd -l foouser' where
foouser exists in the NIS maps, but not in /etc/master.passwd,
we also say 'unknown user.' This is so we don't outsmart ourselves:
specifying the -l flag restricts passwd to the local password database
even if NIS is enabled.

This change should probably be merged into 2.1.
1995-06-16 03:33:10 +00:00
Garrett Wollman ef105c25f6 Re-write `netstat -g' code to match the 3.5 data structures. 1995-06-13 19:18:40 +00:00
Garrett Wollman dc371ee449 Re-enable netstat now that it compiles again. 1995-06-13 19:18:19 +00:00
Garrett Wollman 84330d389f Temporarily disable netstat 1995-06-13 17:47:38 +00:00
Rodney W. Grimes d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Rodney W. Grimes 7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Andrey A. Chernov 70659b24a8 Fix %d and others printing
Reviewed by: davidg
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-05-24 02:54:30 +00:00
Guido van Rooij c8945315ef Set copyright so we can actually distribute and use it.
Reviewed by:	David Greenman
Submitted by:	Wietse Venema
Obtained from:
1995-05-19 09:53:51 +00:00
John Fieber 1190b57788 Remove extraneous empty paragraphs (<p></p>) from the output. 1995-05-18 03:01:28 +00:00
David Greenman 92172c87b4 If an ut_host field in an utmp entry contains a ':' (e.g. for an xterm session)
w doesn't handle the non-'\0' terminated char arrays in struct utmp properly.

Submitted by:	jarle@idt.unit.no
1995-05-16 11:29:41 +00:00
David Greenman f5504b009d Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socket
option. The bit value was wrong.
1995-05-15 11:58:03 +00:00
Andrey A. Chernov 0b45516009 End of listcan be not marked, fix it
Submitted by: Kai Vorma <vode@snakemail.hut.fi>
1995-05-15 00:03:32 +00:00
Andrey A. Chernov 8868bb111b Fix false backspace reporting 1995-05-14 22:46:15 +00:00
Andrey A. Chernov bd940a6e9e Fix manpage lies about -P 1995-05-13 22:06:12 +00:00
Andrey A. Chernov 9bda6bd9b8 Remove -R from CFLAGS 1995-05-12 13:15:41 +00:00
Andrey A. Chernov d293af2d2e Make fmt ctype-aware
Fix non-critical bug with getting EOF double times
Not call strlen for zero length test
1995-05-11 21:32:35 +00:00
Jordan K. Hubbard 817836447b Remove dmenu from the Makefile 1995-05-10 18:22:29 +00:00
John Fieber 710b2e3600 Add sgmlfmt. 1995-05-10 00:38:30 +00:00
John Fieber 317be71920 The program that turns sgml files (tagged according to the linuxdoc
DTD) into HTML, LaTeX or ascii.  (the latter is still pretty rough)
Reviewed by:	rgrimes
1995-05-09 23:58:06 +00:00
Garrett Wollman 7cd23434fe Add GNU-style `-print0' primary. This exists so that one can safely
do `find some-nasty-expression -print0 | perl -n0e unlink' and have all
the files actuallly get deleted.  (Using `xargs' and `rm' is not safe.)
1995-05-09 19:02:06 +00:00
Andrey A. Chernov f14d551c2c Fix line-count overflow, close PR 351
Submitted by:  Edward Wang <edward@edcom.com>
1995-05-09 16:56:23 +00:00
Rodney W. Grimes 1a4e9088d5 Fix nested comments for -Wcomment warnings. 1995-05-09 13:13:29 +00:00
Bruce Evans da2aae3b17 Fix 3 fatal mismatches in format args involving dbtob() and 10 nonfatal
mismatches.
1995-05-07 08:33:39 +00:00
Joerg Wunsch d867cefdcb Make the syntax checks for the format string more strict. The string
"%8*s" is no longer considered to be a valid format description.

This closes PR bin/386.
1995-05-07 07:00:18 +00:00
David Greenman fd409c37b9 Added "D" option to usage clause. 1995-05-03 06:55:19 +00:00
David Greenman 8d34651b6c Added a "-D" option to set the TCP_NODELAY socket option. 1995-05-03 06:25:56 +00:00
Andrey A. Chernov e12263638f Add yet one popular russian code table 1995-05-01 12:10:51 +00:00
Andrey A. Chernov 98a59e226e Add yet one popular russian code table 1995-04-30 14:45:00 +00:00
Jordan K. Hubbard 790bacaa95 Remove piano. 1995-04-28 17:38:54 +00:00
Jordan K. Hubbard f8c191bd8e Add piano. 1995-04-28 09:30:54 +00:00
Andrey A. Chernov b5c3f5e746 Remove setre* hacks, we have working thing now 1995-04-27 19:27:42 +00:00
John Fieber 7203d1e933 Silence -Wall. 1995-04-27 18:18:58 +00:00
John Fieber bc8b14f125 Added sgmls 1995-04-27 18:03:29 +00:00
John Fieber 61614fe0ad The sgmls SGML parser. Support for our hypertext documents.
Reviewed by:	Paul Richards, Garrett Wollman
1995-04-27 16:03:47 +00:00
Bill Paul 456ebbf8f5 ypbind.c: Major overhaul.
- Moved to a more client-driven model. We aggressively attempt to keep
the default domain bound (as before) but we give up on non-default
domains if we lose contact with a server and fail to get a response
after one round of broadcasting. This helps drastically reduce the
amount of network bandwitdh that ypbind consumes: if a client references
the secondary domain at some later point, this will prod ypbind into
establishing a new binding anyway, so continuously broadcasting without
need is pointless.

Note that we still actively seek out a binding for our default domain
even if no client program has queried us yet. I'm not exactly sure if
this matches SunOS's behavior or not, but I decided to do it this way
since we can get into all sorts of trouble if our default domain comes
unbound. Even so, we're still much quieter than we used to be.

- Removed a bunch of no-longer pertinent comments and a couple of
chunks of #ifdef 0'ed code that no longer fit in to the new layout.

- Theo deRaadt must have become frustrated with the callback mechanism
in clnt_broadcast(), because he shamelessly stole the clnt_broadcast()
code right out of the RPC library and hacked it up to suit his needs.
(Comments and all! :)

I can understand why: clnt_broadcast() blocks while awaiting replies.
Changing this behavior requires surgery. However, you can work around
this: fork the broadcast into a child process and relay the results
back to the parent via a pipe. (Careful obervation has shown that the
SunOS ypbind forks children for broadcasting too, though I can only
guess what sort of interprocess communication it uses. pipe() seems to
do the job well enough.)

This may seem like the long way around, but it's not really that
hard to implement, and I'd prefer to use documented RPC library functions
wherever possible. We're careful to limit the number of simultaneous
broadcasters to avoid swamping the system (the current limit is 5).
Each clnt_broadcast() call only sends out a small number of packets
at increasing intervals. We're also careful not to spawn more than one
bradcaster for a given domain.

- Used clntudp_bufcreate() and clnt_call() to implement a ping()
function for directly querying a particular server so that we can
check if it's still alive. This lets me completely remove the old
bradcasting code and use actual RPC library calls instead, at the
cost of more than a few handfulls of torn-out hair. (Make no mistake
folks: I *HATE* RPC.) Currently, the ping interval is one minute.

- Fixed another potential 'nfds too big for select()' bug: use
_rpc_dtablesize() instead of getdtablesize().

- Quieted gcc -Wall a bit.

- Probably a bunch of other stuff that I've forgotten.

ypbind.8:

- Updated man page to reflect modifications.

ypwhich.c:

- Small mind-o fix from last time: decode error results from
ypbind correctly (*groan*)

yplib.c:

- same as above

- Change behavior of _yp_dobind() a little: if we get back a 'Domain
not bound' error for a given domain, retry a few times before giving
up and passing the error back to the caller. We have to sleep for a
few seconds between tries since the 'Domain not bound' error comes
back immediately (by repeatedly looping, we end up pounding on ypbind).
We retry at most 20 times at 5 second intervals. This gives us a full
minute to get a response. This seems to deviate a bit from SunOS
behavior -- it appears to wait forever -- but I don't like the idea
of perpetually hanging inside a library call.

Note that this should fix the problems some people have with bindings
not being established fast enough at boot time; sometimes amd is started
in /etc/rc after ypbind has run but before it gets a binding set up. The
automounter gets annoyed at this and tends to exit. By pausing ther YP
calls until a binding is ready, we avoid this situation.

- Another _yp_dobind() change: if we determine that our binding files
are unlocked or nonexistent, jump directly to code that pokes ypbind
into restablishing the binding. Again, if it fails, we'll time out
eventually and return.
1995-04-26 19:03:16 +00:00
Poul-Henning Kamp 3319f5a48f Do kernels up to 2Mb. 1995-04-25 05:27:04 +00:00
Nate Williams 0e42d6bd35 This got ignored as a shared object during the import. Add it back as
it's necessary for the doc process.
1995-04-22 06:07:48 +00:00
Bill Paul 8a5bd1a2a3 Make Rod Grimes's life a little simpler: replace all exit(1)'s with
seperate exit values depending on the error. (The error values are
#defined and commented near the top of the file for clarity). This
is to help write a small bit of shell script for /etc/rc that calls
ypwhich a few times after ypbind is invoked to make sure we're
actually bound to a server before proceeding (if we aren't, the
automounter can fail if it's using NIS maps).
1995-04-22 00:23:59 +00:00
Bill Paul 644161688b small NIS binding fixes:
ypbind.c: if a client program asks ypbind for the name of the server
for a particular domain, and there isn't a binding for that domain
available yet, ypbind needs to supply a status value along with its
failure message. Set yprespbody.ypbind_error before returning from
a ypbindproc_domain request.

yplib.c: properly handle the error status messages ypbind now has the
ability to send us. Add a ypbinderr_string() function to decode the
error values.

ypwhich.c: handle ypbind errors correctly: yperr_string() can't handle
ypbind_status messages -- use ypbinderr_string instead.
1995-04-21 18:04:36 +00:00
Poul-Henning Kamp f6e018497f Use port 21 as default if getservbyname fails to find it for us. This let
us remove some crud from the install-procedure.
1995-04-20 05:38:58 +00:00
Bill Paul de2a1afc47 Undo the stupidity I inflicted on these files and replace it with
some (hopefully) less offensive stupidity:

If we detect that a user has loaded a module that fails to initialize
itself correctly, panic. There really isn't a safe way to recover from
something like this; we can't know that the module is bad until after
the entry point is called, by which time it's too late to do anything
about it.
1995-04-20 05:08:53 +00:00
Joerg Wunsch 77023b92da Make mt(1) orthogonal: now that we print the densities as strings
instead of hex, make it accept density names for input, too.
1995-04-18 22:27:43 +00:00
Bill Paul b877a2160b Small fixups to use LM_UNKNOWN type, also fix slight formatting
offset problem in banner printf().
1995-04-18 02:19:17 +00:00
Joerg Wunsch 1146dede84 Round #1 of my st(1) -> mt(1) merge. All the commands should be
covered now, and i've attempted to give textual representations
instead of magic numbers.

The st(4) driver still misses some pieces; i'm going to implement the
EOM functionality RSN.

Any takers for the MTCOMP command?  Seems to have never been implemented.
1995-04-17 21:55:11 +00:00
Rodney W. Grimes 144b71fe74 Missing ${DESTDIR} on chflags commands added. 1995-04-17 19:15:38 +00:00
Andrey A. Chernov cac6992aca 1) kill temp diver upon exit
2) add logical ops, fix ! precedence, implement unary +, fix exp
Obtained from: NetBSD
1995-04-16 23:31:35 +00:00
Rodney W. Grimes a164d484cd Fix spelling error that keeps this from compiling with KERBEROS & SKEY
defined.

Submitted by:	Mark Murray <mark@grondar.za>
1995-04-16 20:00:21 +00:00
Andrey A. Chernov d65a0f6ebd Merge. 1995-04-16 14:26:18 +00:00
Andrey A. Chernov deb4005ffb This commit was generated by cvs2svn to compensate for changes in r7889,
which included commits to RCS files with non-trunk default branches.
1995-04-16 14:13:48 +00:00
Andrey A. Chernov 6e4ab1ef34 Upgrade. 1995-04-16 14:13:48 +00:00
Bruce Evans 678308e07a Don't crash when there are too many items to fit on one screen. 1995-04-15 23:10:59 +00:00
Andrey A. Chernov 9cb939b4b4 Fight over non-working setruid 1995-04-15 22:08:10 +00:00
Poul-Henning Kamp 3e4ece9108 Added kzip in i386 section 1995-04-15 08:19:16 +00:00
Poul-Henning Kamp 2c3b2c6c13 This program to compress a kernel with. You loose all the symbols, so
usability is limited.  Very useful on fixit floppies &c.

Obtained from:	Linux via 386BSD
1995-04-15 08:18:20 +00:00
David Greenman 29e1dc7556 Install with default BINOWN (as it once used to be). 1995-04-15 03:31:19 +00:00
David Greenman 567f2ec907 Install setgid kmem rather than setuid root. The problem with procfs that
was breaking this before has been fixed.
1995-04-15 03:25:52 +00:00
Garrett Wollman 606eff77a1 Add `-s' flag to permit selection of devices in accordance with their
state (after all, who wants to be offered a menu of devices which
weren't found?).
1995-04-14 18:33:44 +00:00
Andrey A. Chernov a702c7b87b Add missing -lmytinfo, hits when compiled -static
Add DPADD
1995-04-14 16:13:28 +00:00
Andrey A. Chernov e323ad35f3 Move digits before letters 1995-04-14 15:56:32 +00:00
Garrett Wollman c4374cae95 Add devmenu(1). 1995-04-13 21:11:53 +00:00
Garrett Wollman f34bdd9a32 Another sample devconf application. This one's a menu of devices; read the
man page.
1995-04-13 21:11:01 +00:00
Garrett Wollman ed8be72c29 Disallow Kerberos when S/Key is required. Fixes PR #339.
Submitted by: Paul Traina <pst@Shockwave.com>
1995-04-13 15:20:35 +00:00
Andrey A. Chernov b89321a57d Upgrade. 1995-04-12 02:42:39 +00:00
Andrey A. Chernov 7970bd101c Fix output field range
Submitted by: edward@edcom.com
1995-04-11 18:50:51 +00:00
David Greenman d2bccb9fbe Added #include <sys/queue.h> 1995-04-10 00:38:15 +00:00
David Greenman affcfa1401 Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;
sorry Jordan).
1995-04-09 15:21:08 +00:00
David Greenman a9d6f1a78d That's what I get for doing things in a hurry...applied up-to-date patch
to this file rather than old one (before I renamed the structure element).
1995-04-09 15:12:21 +00:00
David Greenman fe9cff485b Oops, remove some chaff from previous commit. 1995-04-09 05:34:54 +00:00
David Greenman 7452c2a5ef Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
together.
1995-04-09 05:33:17 +00:00
Andrey A. Chernov d71c8ca1ab Remove unneded substitutes 1995-04-08 21:51:26 +00:00
Andrey A. Chernov 56694345a1 Update controls & remains 1995-04-08 17:34:15 +00:00
Andrey A. Chernov 1aefeada69 Remove digrams to not confuse sorting 1995-04-08 17:08:45 +00:00
Jordan K. Hubbard d31b19afb1 The negative expire times shown by netstat are confusing and ugly.
Destination      Gateway            Flags     Refs     Use     Netif Expire
199.182.75.128   link#1             UC          0        0       ed0 -842660
Submitted by:	John Capo <jc@irbs.com>
1995-04-06 06:09:44 +00:00
Jordan K. Hubbard ce0436e7a6 It has always bugged me that ps and w did not display su with tcsh
properly.  I know, tcsh is not a "Real Shell".

jc       p2 :0.0             Tue04PM     - -u (tcsh)
                                           ^^^
7173 p2  S+     0:01.33 -u (tcsh)
			^^^

Submitted by:	John Capo <jc@irbs.com>
1995-04-06 06:06:47 +00:00
Joerg Wunsch fe89da38f6 Sed dumps core when linked with some coalescing malloc because it
doesn't initialize malloced structure.

Submitted by:	vode@hut.fi
1995-04-05 22:55:27 +00:00
Nate Williams 13eb8ded47 This is the 90's, ask the user for a Subject by default when sending mail. 1995-04-03 05:40:54 +00:00
Bruce Evans 73d1243fe5 Include <stdlib.h> so that malloc() is declared. 1995-04-02 19:01:07 +00:00
Andrey A. Chernov d8e3948cc1 Finally restore my original MAIL fix after all junk patches. 1995-04-02 00:16:09 +00:00
Bill Paul 8ae049436c Remove references to yppasswd_xdr.c: the stuff in this file already exists
in librpcsvc. Add -lrpcsvc to LDADD instead.
1995-04-01 19:19:15 +00:00
Andreas Schulz 0479c3b471 Delete a second getenv("MAILPATH") that happens immediately after a first
try. Doesn't make sense.
1995-04-01 15:50:04 +00:00
Jordan K. Hubbard c35cf316d8 Greatly clean up the Makefiles and add a Makefile.inc to more obviously
advertise tip's choice of location and perms.
1995-04-01 09:14:37 +00:00
Jordan K. Hubbard 0f976d1e04 I must have been very sleepy last night, sigh..
1. Nuke out the aculib files that crept in somehow by mistake.
2. Fix the ${.CURDIR} path so that this stuff actually compiles.
   It actually compiled for me before the commit, but I must have had
   something short-cutting the bug.
1995-03-31 21:04:48 +00:00
Jordan K. Hubbard 6c7de23fdb Back out the previous commit. 1995-03-31 11:48:35 +00:00
Jordan K. Hubbard 18cc36fb15 Tom Gray's new tip changes to support a modem capabilities database and
fixes to many assorted bugs and misfeatures.
Submitted by:	Tom Gray - DCA <dcasba@rain.org>
1995-03-31 11:47:39 +00:00
Jordan K. Hubbard 85fad26631 I noticed that the current version of ncftp dos not do the very useful
job af warning me about mail as my work version does. This patch will
will fix this for bash(1) if MAILPATH is exported:
Submitted by:	Mark Murray <mark@grondar.za>
1995-03-31 07:02:49 +00:00
Jordan K. Hubbard db2a3eb2aa Add gencat to Makefile
Obtained from: NetBSD
1995-03-30 12:49:25 +00:00
Jordan K. Hubbard 4633c1ace8 Add the gencat command for creating message catalog fodder for the new
catgets* routines.
Obtained from: NetBSD
1995-03-30 12:49:09 +00:00
Andrey A. Chernov cddeed288c Fix default mailpath 1995-03-30 01:13:41 +00:00
David Greenman 90fef96dd0 From Mark Murray:
I got irritated with not seeing the interrupt numbers in a (crowded)
"systat -vmstat" display, so I fixed it. Here is a patch to please be
applied in src/usr.bin/systat
1995-03-29 00:10:14 +00:00
Andrey A. Chernov b02b5aada3 Don't allow talk own messages wrap around on the screen, just
scroll them like normal user input/output does.
1995-03-28 19:48:45 +00:00
Andrey A. Chernov 9a8677a158 Fix erase determination code: don't look at
system defaults which is always the same
1995-03-27 03:42:21 +00:00
Bill Paul 12aeae6c45 Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
1995-03-25 23:26:54 +00:00
Joerg Wunsch b2b31a1c92 Make finger(1) accept "cua" to be also a tty, and use the suffix instead
of the very meaningful string "cu" to describe the tty.
1995-03-25 18:15:40 +00:00
David Greenman ff93e578a0 Removed object lookup/hit count and changed the order of things a little. 1995-03-25 08:44:48 +00:00
David Greenman 1d93250fd2 Removed cnt.v_nzfod...we don't support it in the kernel. 1995-03-25 06:39:47 +00:00
David Greenman 42d825e109 Removed printing of cnt.v_nzfod: we don't implement this in the kernel. 1995-03-25 06:11:43 +00:00
Justin T. Gibbs 61530543c9 Add recognition of HP Printer Job Language (PJL) commands. 1995-03-24 01:17:29 +00:00