Commit Graph

817 Commits

Author SHA1 Message Date
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
6e4ab1ef34 Upgrade. 1995-04-16 14:13:48 +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
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
Andrey A. Chernov
9dc5391c1c Bug fixed: even root was unable to edit restricted fields 1995-03-21 15:30:59 +00:00
Andrey A. Chernov
eaf9238016 Fix wrong separator output
Submitted by: julian
Obtained from: newsgroup?
1995-03-21 00:26:32 +00:00
Nate Williams
e6fc505e8f Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:36:30 +00:00
Nate Williams
c36c788214 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:18:15 +00:00
Poul-Henning Kamp
475e2a7de8 Fix the Name-cache counters. I didn't realign the negative hits. 1995-03-18 08:55:15 +00:00
Garrett Wollman
0b11bfa164 Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
Garrett Wollman
be02aec01b Print out the new flags. 1995-03-16 20:29:11 +00:00
Garrett Wollman
f1b2407b0b Print out flags as text rather than a number. 1995-03-16 18:37:47 +00:00
Bill Paul
d93cc1a933 According to stdlib.h, malloc and realloc return void * but error_table.y
declares them to return char *. For some reason, this causes no problems
with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a
seperate DESTDIR got me this error:

yacc -d /usr/src/usr.bin/compile_et/error_table.y
cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err   -I/mnt/usr/include -c y.tab.c -o error_table.o
In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11,
                 from /usr/src/usr.bin/compile_et/error_table.y:233:
/mnt/usr/include/stdlib.h💯 conflicting types for `malloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc'
/mnt/usr/include/stdlib.h:104: conflicting types for `realloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc'
*** Error code 1

Stop.

Declaring malloc and realloc to return void * fixes this. It could be that
the new gcc is a bit more picky about these things.
1995-03-15 19:05:28 +00:00
Poul-Henning Kamp
dc0b7482de Report the negative hits in the Namei section. 1995-03-12 01:58:18 +00:00
Poul-Henning Kamp
c3f4fea40c Don't use curses until initialized. 1995-03-12 01:47:08 +00:00
Andrey A. Chernov
3ee80812fd Fix syscmd() output out of sync
Submitted by: smp@clem.systemsix.com
1995-03-11 16:57:54 +00:00
David Greenman
8950c0148b Changes to support printing stats for the 'cached pages'.
Submitted by:	John Dyson
1995-03-10 20:07:21 +00:00
Andrey A. Chernov
0572cd894a Merge. 1995-03-09 17:40:56 +00:00
Andrey A. Chernov
0e0d6a8042 Upgrade. 1995-03-09 17:28:46 +00:00
Andrey A. Chernov
4ef279038c This commit was generated by cvs2svn to compensate for changes in r6962,
which included commits to RCS files with non-trunk default branches.
1995-03-09 17:28:46 +00:00
Nate Williams
2899d0086a Removed redundant function to64() which also exists in local_passwd.c 1995-03-08 18:05:50 +00:00
Nate Williams
5ec07232b9 Fix rpcgen so that generated files are written to the current working
directory (instead of the same directory as the source files) and that
#includes in those files do not contain the path to the source file.

Obtained from: J.T. Conklin via NetBSD
1995-03-04 17:47:50 +00:00
Paul Richards
133d8eae53 Disable fib 1995-03-01 08:32:42 +00:00
Andrey A. Chernov
f1df5d8bdd Better collate table for koi8-r
Submitted by: alex@elvisti.kiev.ua
1995-02-28 23:38:20 +00:00
Guido van Rooij
dcb8def0e7 Fix completely broken find behaviour:
a find -foo -o -bar would behave like find -bar. The same for -a
This broke (among others) ./etc/security.

Obtained from: NetBSD
1995-02-27 20:52:36 +00:00
David Greenman
c585f97c65 Changed "mapped pages in use" to "mbuf clusters in use". 1995-02-23 19:08:11 +00:00
Rodney W. Grimes
2828ae663a Fix spelling error (scipt -> script).
Submitted by:	<jhawk@MIT.EDU>
Obtained from:	NetBSD-bugs mailling list
1995-02-23 17:46:35 +00:00
Paul Traina
c11cc9c931 Remove watch(8) 1995-02-23 00:27:08 +00:00
Paul Traina
16ae87aed1 Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
Andrey A. Chernov
ae9304b170 Move mixer to usr.sbin 1995-02-22 01:36:12 +00:00
Poul-Henning Kamp
b27dffd2ac add "fib"
Reviewed by:	phk
Submitted by:	Mark Murray <mark@grondar.za>
Obtained from:
1995-02-21 04:41:03 +00:00
Garrett Wollman
e151093c6f Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
Garrett Wollman
94ea865c39 Use POSIX.2 regular expressions, kill libcompat. 1995-02-21 04:32:55 +00:00
Garrett Wollman
59bfb274d1 Use tcflush(), eliminate libcompat. 1995-02-21 04:15:15 +00:00
Garrett Wollman
9908b9abfc more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
Andreas Schulz
c0577faf0c Submitted by: Ollivier ROBERT roberto@keltia.frmug.fr.net
There is a typo in the include file specification in the  man page  of
time(1).
1995-02-18 20:44:55 +00:00
Jordan K. Hubbard
b96f37e2b0 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
Scott Mace
1b0c06d938 Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
1995-02-18 08:24:16 +00:00
Ugen J.S. Antsilevich
9d0ee8a480 oops..here is the manpage 1995-02-17 18:06:11 +00:00
Ugen J.S. Antsilevich
3377c114e1 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
Andrey A. Chernov
5e6cdc1eae colldef added 1995-02-17 17:37:55 +00:00
Andrey A. Chernov
a1c128ae2a collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00
Ugen J.S. Antsilevich
e2f16ea3ee Add manpage to makefile 1995-02-17 16:41:43 +00:00
Ugen J.S. Antsilevich
15c592c7f2 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
Ugen J.S. Antsilevich
7f4c79484b This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
Ugen J.S. Antsilevich
5d6cb6cac4 Added to makefile watch - snooping programm to work
with /dev/snp
1995-02-17 14:34:21 +00:00
Bruce Evans
829b9f6e93 Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
Andrey A. Chernov
6d5f4f30a7 mixer added 1995-02-15 17:39:52 +00:00
David Greenman
a8c6dbca84 >Description:
The "strings" program chokes if you try using "-n".

>How-To-Repeat:

	Try "strings -n SOMENUMBER SOMEFILE".

>Fix:

Here's a "diff -u" patch that corrects the problem.

Submitted by:	Lon Willett <lon%softt.uucp@math.utah.edu> via NetBSD
1995-02-15 02:47:47 +00:00
Rodney W. Grimes
36d9739b48 Remove usage of LINKS and LN_FLAGS=-s, this does not do the correct thing
for symbolic links when $DESTDIR is set.

Add afterinstall: target to handle symbolic link creation.
1995-02-14 21:08:45 +00:00
Bill Paul
01ed185959 Changed passwd's Makefile to use the built-in LINKS mechanism to create
the symlinks for yppasswd & friends (we still can't use hard links
because passwd is installed immutable). This would have been simpler
if the LN_FLAGS variable hadn't chosen to wait until now before leaping
out of the /usr/share/mk directory and biting me in the ass. (And thus,
I was enlightened.)
1995-02-14 15:38:13 +00:00
Garrett Wollman
9a94a59774 Make netstat report the correct state for T/TCP.
Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-14 03:09:51 +00:00
Andrey A. Chernov
279c49616d Merge with eBones stuff
Submitted by: mark@grondar.za
1995-02-11 18:20:06 +00:00
Jordan K. Hubbard
e17312113c Fixes for chpass.
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:39 +00:00
Jordan K. Hubbard
819ab54771 Add y.tab.h to CLEANFILES. 1995-02-09 00:24:00 +00:00
Jean-Marc Zucconi
30ad8d9349 Correct a bug in the P function: according to 7th edition UNIX (tm), the
newline must be part of the pattern space i.e. `echo a|sed -e P' must print
a
a
and not
aa
This is consistent with gnu sed, SunOS, Ultrix (and probably others!)
1995-02-06 00:14:50 +00:00
Bill Paul
9e9a89bb1f cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
Bill Paul
87a8966828 Cleaned up Makefile a little, added man page links from ypchsh.1 ypchfn.1
and ypchpass.1 to yppasswd.1. Also fixed a typo: ypshfn != ypchfn.
1995-02-01 23:46:20 +00:00
Bill Paul
7506dfc15e Changed passwd/yppasswd's Makefile to create all symbolic links instead
of hard links: since passwd is installed immutable, an attempt to make
a hard link to it during a 'make install' would fail. I didn't notice
this conflict because my /usr directory is an NFS filesystem mounted from a
SunOS server, so the special file mode flags had no effecti when I tested
everything on my machine. Live and learn.
1995-02-01 05:55:18 +00:00
Paul Richards
671a48a577 Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
Paul Richards
463e33c94b Clean up the parser, allow fields to be specified inline and
generally make the forms language much less verbose.

Add height option for fields and calculate sensible defaults.
1995-02-01 03:22:17 +00:00
Bruce Evans
68abb9f9db Fix off by one error in calculation of `mday' (months start at 1).
Jan 31 gave Jan 30, often for next year.
1995-01-31 17:54:39 +00:00
Jordan K. Hubbard
ce0d1cd5db Add dmenu. 1995-01-31 13:53:44 +00:00
Bill Paul
9e32e2330f Obtained from: The NYS project
This is the first round of changes to incorporate YP server functionality
into FreeBSD. This particular change allows passwd to change either the
local or NIS password, as well as the NIS GECOS and shell information.

Essentially, I've taken passwd(1) and yppasswd from the yppasswd-0.5
distribution (which is part of the NYS project -- a project to provide
a GNU GPL'ed suite of NIS tools) and rammed them into each other
at high speed. I've tried my best to make this co-exist with the
Kerberos stuff, but since I don't run Kerberos I don't have an easy
way to verify that it all works. If you choose any Kerberos flags
then the YP checks should be bypassed, but that may not be enough.
I'll modify it some more if it turns out I broke something. For now,
support for localand NIS passwords is pretty solid:

- If you simply type 'passwd,' the program checks to see if you exist
  in the local pwd.db database. If not, you get bounced to YP.

- If you try to force local functionality with the -l flag and you
  don't exist locally, you get an error.

The -y flag can be used to force YP functionality. -f and -s let you
change your full name and shell (respectively). -f *and* -s let you
change all of your 'account information.'

ypchfn, ypchsh, yppasswd and ypchpass are all links to passwd.
1995-01-31 08:34:16 +00:00
Jordan K. Hubbard
120ca2ec49 Unify the copyright notice. 1995-01-30 22:21:29 +00:00
Satoshi Asami
106a8c2a7b Cleanup.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-30 17:49:19 +00:00
Andrey A. Chernov
2c80666172 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
Andrey A. Chernov
90892cea75 Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
Paul Richards
481114cd82 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
Poul-Henning Kamp
1408eb8439 add file2c 1995-01-29 00:51:38 +00:00
Poul-Henning Kamp
b71255826d This is a small little program used to execute a bad practice a clean way :-)
It will read a file on stdin and write it as decimal integers on stdout,
this is useful for embedding files in c-sources.

There are a few places where this is needed, and this is a better way than
the current practice of hand-editing the sources.

The command:

date | file2c 'const char date[] = {' ',0};'

will produce:

const char date[] = {
83,97,116,32,74,97,110,32,50,56,32,49,54,58,52,55,58,51,51,32,80,83,84,
32,49,57,57,53,10
,0};

The manual page is 2 lines longer than the source :-)
1995-01-29 00:49:57 +00:00
Satoshi Asami
35bff0b976 Add a -s' flag for silent' processing. Make the script return 0 for
success and 1 for failure.  Describe the options in manpage.
1995-01-28 17:35:56 +00:00
Jordan K. Hubbard
9b568f1654 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
David Greenman
3bd0d9a279 Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00
Jordan K. Hubbard
9d6b125366 Use the better perl script version of which submitted by Wolfram.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-26 21:49:54 +00:00
Andrey A. Chernov
256b89f8bf LIBFORMS added to DPADD 1995-01-25 20:29:32 +00:00
Andrey A. Chernov
7dc8f3a96e LIBS changed to DPADD & LDADD 1995-01-25 20:28:39 +00:00
Jordan K. Hubbard
f417f4a9bb Add which. 1995-01-25 19:19:06 +00:00
Jordan K. Hubbard
ab8791e05b Bring in Joerg's which command. It's small, it's simple, it will stop
people (like me! :) from whining!
Submitted by:	joerg
1995-01-25 19:18:33 +00:00
Paul Richards
4a112dd3f8 More parser fixes. Store attributes properly for each field and
don't emit a second declaration unless it's different to the default.
1995-01-25 07:56:10 +00:00
Paul Richards
0795a3fd8e Quash another bug where if no link alias is specified a
duplicate declaration was emitted.
1995-01-25 07:10:53 +00:00
Paul Richards
eef7796c26 Correct default calculation of menu field widths. 1995-01-25 06:32:40 +00:00
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
9b1aec4804 chat for ppp, from ppp 2.1.2 1994-11-12 05:25:32 +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
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