Commit Graph

1841 Commits

Author SHA1 Message Date
Bruce Evans
c44252b6e8 Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
Bruce Evans
616fc29f94 Import from Lite2 again to fix up mis-importing of Lite2's bdes.
This leaves a bogus rev.1.1.1.2.
1997-07-06 06:27:25 +00:00
Bruce Evans
badf3436d6 Removed mis-imported files. 1997-07-06 06:15:35 +00:00
Bruce Evans
53cea921a3 Import Lite2's src/usr.bin/bdes. This was too hard to check at home
since bdes is not on the export cdrom.
1997-07-06 06:06:57 +00:00
Bruce Evans
9e09cb6d9b Import Lite2's src/usr.bin/tn3270. mset/3270.5 is still on the vendor
branch and importing it just changes the formatting.
1997-07-06 05:25:43 +00:00
Bruce Evans
7f9acd9490 This commit was generated by cvs2svn to compensate for changes in r27235,
which included commits to RCS files with non-trunk default branches.
1997-07-06 05:25:43 +00:00
Bruce Evans
0886891cb5 Import Lite2's src/usr.bin/telnet. The README is still on the vendor
branch and importing it gives some anachronisms.  tn3270.c is still on
the vendor branch and importing it just changes a memcpy to memmove.
1997-07-06 05:14:28 +00:00
Bruce Evans
7b474098b3 This commit was generated by cvs2svn to compensate for changes in r27233,
which included commits to RCS files with non-trunk default branches.
1997-07-06 05:14:28 +00:00
Bruce Evans
a15f578988 Merge from Lite2 (print "??" instead NULL if devname() fails). More
faithful stealing from pstat would have given this already.
1997-07-06 04:37:22 +00:00
Bruce Evans
237f53369c Importing Lite2 broke lookup() to return -1 for the nmatches == 0 case.
Fixed.
1997-07-06 04:13:20 +00:00
Bruce Evans
ff6c33c9e8 Import Lite2's src/usr.bin/systat. cmds.c is still on the vendor branch
and this import just breaks it.
1997-07-06 04:02:30 +00:00
Bruce Evans
94143ce785 This commit was generated by cvs2svn to compensate for changes in r27229,
which included commits to RCS files with non-trunk default branches.
1997-07-06 04:02:30 +00:00
Bruce Evans
756ae49fe0 Import Lite2's src/usr.bin/leave. The man page is still on the vendor
branch and this import just makes a cosmetic change.
1997-07-06 03:45:58 +00:00
Bruce Evans
719075aa83 This commit was generated by cvs2svn to compensate for changes in r27227,
which included commits to RCS files with non-trunk default branches.
1997-07-06 03:45:58 +00:00
Bruce Evans
c55d6c087d Merge from Lite2 (reject widths <= 0 instead of pretending that they are 80). 1997-07-06 03:39:37 +00:00
Bruce Evans
630d2a93ba Import Lite2's src/usr.bin/banner. The man page is still on the vendor
branch and this import converts it to mdoc format.
1997-07-06 03:28:40 +00:00
Bruce Evans
e2457a1d79 This commit was generated by cvs2svn to compensate for changes in r27224,
which included commits to RCS files with non-trunk default branches.
1997-07-06 03:28:40 +00:00
Bruce Evans
f3aad83afd Default to cksum' instead of to sum' for unusual program names.
Mention `sum' in the usage message.
1997-07-06 03:18:13 +00:00
Bruce Evans
2cbd69330d Merge from Lite2 (make the command sum' an alias for cksum -o 1', and
reject -o args other than "1" or "2").
1997-07-06 03:03:10 +00:00
Bruce Evans
2cad40fdac Import Lite2's src/usr.bin/cksum. The Makefile is still on the vendor
branch and will temporarily give bogus hard links cksum[.1] -> sum[.1].
1997-07-06 02:22:28 +00:00
Bruce Evans
ee589d62ba This commit was generated by cvs2svn to compensate for changes in r27219,
which included commits to RCS files with non-trunk default branches.
1997-07-06 02:22:28 +00:00
Peter Wemm
593718bea0 .if exists(../eBones) tests the obj dir, not the source dir's existance.
The existance of a stale obj dir does not imply the source too.
1997-07-05 14:22:15 +00:00
Philippe Charnier
63ffb11347 Add rcsid, prototypes. Use err(3). 1997-07-03 07:19:46 +00:00
Philippe Charnier
b14d8277cc Add rcsid, usage(). Silent -Wall. Use warn(3). 1997-07-02 06:34:51 +00:00
Philippe Charnier
370ad8d767 Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
Philippe Charnier
b28977d169 One newline should be enough. 1997-07-02 06:28:32 +00:00
Wolfram Schneider
b7f6400eb5 Add forgotten newline.
Submitted by: Solaris gencat
1997-07-01 19:46:22 +00:00
Philippe Charnier
0bd47384ea Do not use argv[0] in usage(). 1997-07-01 06:37:34 +00:00
Philippe Charnier
ca15609236 Add usage(), rcsid. Use getopt().
Obtained from: OpenBSD.
1997-07-01 06:34:31 +00:00
Philippe Charnier
e7bfd17c84 Use EX_USAGE in usage(). 1997-06-30 11:24:18 +00:00
Philippe Charnier
41e964cb5d Remove lines inside #ifdef 0/#endif. 1997-06-30 11:10:18 +00:00
Philippe Charnier
d98fe20585 Add usage(). 1997-06-30 06:51:20 +00:00
Philippe Charnier
1aa67f6900 Document -k flag. 1997-06-30 06:50:07 +00:00
Philippe Charnier
812bff99b4 Use err(3) instead of local redefinition. Change argument name in man
page to sync with usage string.
1997-06-30 06:48:46 +00:00
Philippe Charnier
044addf89a Add usage string. Typo in man page. 1997-06-30 06:45:53 +00:00
Philippe Charnier
2553708093 Uncompress is under .Nm not .Ar. 1997-06-30 06:44:07 +00:00
Philippe Charnier
27c3c7d818 Mdoc'ify man page. Use err(3). Remove whoami. 1997-06-30 06:42:43 +00:00
Philippe Charnier
0e25805f2f Use err(3). Add DIAGNOSTIC section name in man page. 1997-06-30 06:40:16 +00:00
Philippe Charnier
3b5ec5aa63 Add missing -s flag in usage string. 1997-06-30 06:37:15 +00:00
David E. O'Brien
5f88d2b8b4 Add magic for FIGlet fonts and controlfiles
Obtained from:	Figlet v2.2 release.
1997-06-29 10:06:56 +00:00
Paul Traina
72b4ef7179 NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
Steve Price
287c7db424 Some minor cosmetic tweaks.
PR:			docs/3941
Partially submitted by:	uenami@imasy.or.jp
1997-06-28 19:27:51 +00:00
Andrey A. Chernov
597828870b Replace hand-made tolower conversions with real tolower from ctype 1997-06-27 10:21:22 +00:00
Andrey A. Chernov
e5fb1920f5 Protect isspace by isascii to not count high spaces 1997-06-27 10:09:50 +00:00
Andrey A. Chernov
f74df00911 Activate collate to sort local files properly for completion 1997-06-27 09:38:07 +00:00
Andrey A. Chernov
943259e2fc Localize it (ctype)
8bit ctype clean fixes
(I can't input 8bit chars otherwise in this new ftp, it beeps)
1997-06-27 09:30:15 +00:00
Philippe Charnier
c39208571b Use err(3) instead of local redefinition. 1997-06-26 11:26:20 +00:00
Philippe Charnier
74732c5e08 Add usage(). Put program name in bold in the man page. 1997-06-26 11:25:17 +00:00
Philippe Charnier
d12666263b Remove use of progname. Add usage(). 1997-06-26 11:23:47 +00:00
Philippe Charnier
f771f05273 Correct usage string. Program name converted to bold in man page. 1997-06-26 11:22:12 +00:00
Tor Egge
8b2178f15c Treat no match as a failure. This is the normal behaviour on SunOS. 1997-06-25 21:02:12 +00:00
Mike Smith
5fc864b26d Import substantial improvements to ftp(1) from NetBSD, largely the
work of Luke Mewburn.

This includes, but is not limited to :

 - commandline editing and history.
 - local and remote filename completion.
 - a new progress display.
 - the ability to access files using either the ftp or http protocols,
   and use http proxies for ftp transfers.

The FreeeBSD "restricted ports" functionality was preserved.

Obtained from:	NetBSD
1997-06-25 08:56:46 +00:00
Philippe Charnier
f8a42d82e9 Update manpage to newer version. Use err(3). 1997-06-25 07:02:03 +00:00
Philippe Charnier
9fc081a49e Free a malloc'ed variable before exiting. Compute line number when parsing
input file, it helps finding errors.
Obtained from: OpenBSD.
1997-06-25 06:59:55 +00:00
Tor Egge
ba7fe0d6df Don't depend upon the kernel load address being 0xf0100000. 1997-06-24 15:56:41 +00:00
Philippe Charnier
601fc2b92f Document the use of `ls -lo' to see flags.
Obtained from: OpenBSD.
1997-06-24 06:57:11 +00:00
Philippe Charnier
cc42f59889 Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
Philippe Charnier
afaeb55344 Remove use of program_name variable. 1997-06-24 06:52:33 +00:00
Philippe Charnier
e5e5da15e2 Revert part of previous commit. I didn't see rcsid string in the middle of
the file. Put includes in alphabetical order.
1997-06-24 06:26:32 +00:00
Tor Egge
5b65033c95 Long command names are not NUL terminated. Force truncation in format string. 1997-06-23 22:09:15 +00:00
Philippe Charnier
13a8c332b3 Typo fix: Alan Turning is aka Alan Turing. 1997-06-23 06:52:58 +00:00
Philippe Charnier
4d2854f4b5 Use err(3). Abort if strdup() returns NULL. 1997-06-23 06:52:13 +00:00
Philippe Charnier
84497b4ad4 Upgrade to a newer version. Old synopsys was incorrect.
Obtained from: OpenBSD
1997-06-23 06:49:42 +00:00
Philippe Charnier
4f971ac410 Use err(3). Typo fix in usage string. 1997-06-23 06:47:12 +00:00
Philippe Charnier
0676cb8945 Typo fix in man page. Use err(3) instead of local copy. 1997-06-23 06:45:38 +00:00
Philippe Charnier
12d20ef97d Use err(3).
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00
Philippe Charnier
911091e7fc Convert man page to mdoc format. Cosmetic in usage string. 1997-06-23 06:41:30 +00:00
Steve Price
d0dff61cfb Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
Steve Price
681e5e7a09 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
John Polstra
21a8b34fe6 Add some cross references and alphabetize them. 1997-06-21 23:05:44 +00:00
Masafumi Max NAKANE
465781bb5f Typo fix.
PR:		3869
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-14 19:45:00 +00:00
Andrey A. Chernov
687ee69a2a Remove srandomdev fallback code 1997-06-14 00:27:03 +00:00
Tor Egge
18d5819376 Work around a gcc bug (causing false warnings about integral constant being too large, even when the integral constant was e.g. 1). 1997-06-12 18:10:08 +00:00
Andrey A. Chernov
f5c35e8344 Add yet one holiday 1997-06-11 16:32:11 +00:00
David Greenman
e30478ed6c Meg -> Mbytes
PR:	3829
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-10 12:49:17 +00:00
Masafumi Max NAKANE
d778c2c01b Fix the man page's title (.Dt).
(It has been ``SKEY.ACCESS''.)
1997-06-02 17:24:36 +00:00
Julian Elischer
50dab48a5b Submitted by: Whistle Communications (archie Cobbs)
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.

This code is in production in 2.2 based systems
1997-06-02 06:24:52 +00:00
Andrey A. Chernov
5e04857ec1 Now understand password in ftp:// URLs 1997-05-31 14:45:41 +00:00
Bill Paul
e4efe27e0b Grr... curse my fumble-fingered hide: logmane -> logname
Inscribed onto my chest with razor blades and then doused with
lemon juice by: Jason Young <doogie@forbidden-donut.anet-stl.com>
1997-05-29 15:03:32 +00:00
Bill Paul
0e04d559eb Activate new Secure RPC programs. 1997-05-28 16:05:18 +00:00
Bill Paul
0b29a94530 Import the last Secure RPC utility: keylogout.
This program is used to remove your secret key from the local
keyserv daemon.
1997-05-28 16:01:17 +00:00
Bill Paul
568e1ef3f7 Import keylogin.
This is the program used to loadsecret keys into the keyserv on the
local host.

Note: on some platforms, keylogin is automatically invoked by
/usr/bin/login. We don't have any burning need for this yet.
1997-05-28 15:58:29 +00:00
Bill Paul
d9126ba1ad Import chkey.
This program is used to change a user's existing public and secret key pair.
1997-05-28 15:54:04 +00:00
Bill Paul
db8b6bbf74 Import newkey.
This is the program used to generate new Secure RPC public and secret
key pairs.
1997-05-28 15:52:07 +00:00
Masafumi Max NAKANE
3c7f6e4b07 Typo fix.
PR:		3684
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-05-25 18:47:33 +00:00
Poul-Henning Kamp
ef1f3a4fd4 Remove some quite bogus code that tried to find subnet names but instead
spammed named with bogus queries.
1997-05-25 08:36:20 +00:00
Peter Wemm
503397df4f Bootstrap aid from older releases.. 'make world' can't build xinstall
until the includes are installed, and it doesn't install the includes until
xinstall is built (the previous xinstall binary may not have -C).  As a
bandaid, define MAP_FAILED ourselves if <sys/mman.h> didn't.  Perhaps it
would be safer to simply disable mmap if all the prerequisites are not
there.
1997-05-24 05:39:19 +00:00
Andrey A. Chernov
a1eed73d33 Move libmd after all libraries to keep natural libraries order 1997-05-23 21:18:00 +00:00
Paul Traina
4b2fab7504 Restore backwards compatible default behavior for requirehome 1997-05-23 00:14:27 +00:00
Philippe Charnier
6213555ca5 Spelling correction (1 bytes' is now printed 1 byte')
PR: bin/3376
Submitted by: me
1997-05-22 06:17:44 +00:00
John Polstra
5851a3655a Fill out the ELF header files to make them more or less complete.
Fix a macro name that was misspelled both in brandelf.c and
imgact_elf.h.
1997-05-21 23:07:31 +00:00
John Polstra
5cc6677fdc Eliminate a variable that is set but never used. 1997-05-19 18:16:29 +00:00
John Polstra
3d9a9402b4 Mention that "-P" is the default. 1997-05-19 18:16:00 +00:00
Eivind Eklund
6ad98044a1 it's'' -> its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
Andrey A. Chernov
01f6848c9c Add locale-independent control checks for security reason 1997-05-14 09:37:54 +00:00
Steve Price
6e5f0e40e6 Add back the description of the -o option.
Threatened PR by: Tim Vanderhoek :)
1997-05-14 02:33:08 +00:00
Andrey A. Chernov
9566348d5c Localize it 1997-05-13 11:30:01 +00:00
John Fieber
fc4546d69f Make the META tag specifying the document character set the first
thing in the HEAD element.
1997-05-12 14:16:48 +00:00
Masafumi Max NAKANE
ff3c8f214f Typo fix.
PR:		3570
Submitted by:	 Philippe Charnier <charnier@xp11.frmug.org>
1997-05-11 23:43:11 +00:00
Jordan K. Hubbard
ae02ebaab4 Include types.h before libutil.h 1997-05-11 05:26:11 +00:00
John Fieber
9af852c4f9 Use HTML 3.2 Final for the HTML doctype declaration. 1997-05-10 20:41:11 +00:00
David Nugent
c0809022e4 login_getclass() -> login_getpwclass() 1997-05-10 19:02:38 +00:00
David Nugent
5d0bfe39ec login_getclass() -> login_getpwclass(). 1997-05-10 19:02:03 +00:00
David Nugent
f56bc51b0f login_getclass() -> login_getpwclass().
Updated (incorrect) entry for bash [-v].
Remove unused support for long rlim_t.
Added "bash2" to bash style ulimit handling.
1997-05-10 19:00:58 +00:00
David Nugent
a317d49b93 login_getclass() -> login_getpwclass().
auth_rmfiles() was being called in error without LOGIN_CAP_AUTH defined.
1997-05-10 18:57:16 +00:00
John Hay
64a0cc86b5 Add the new ipx statistics variables.
Remove the dns lookup code in the ipx functions. That is bogus and slows
things like netstat -r(f ipx) down, without gaining anything.

Remove the ipx error protocol statistics.
1997-05-10 10:03:43 +00:00
John Fieber
bd7ecfc044 1) Remove latex support.
2) Remove -ssi option, the -hdr and -ftr options are a more
   flexible solution.
3) Make docbook support work better.
4) Document docbook support.
5) Add an -e option to specify encoding for generated HTML files,
   eg -e EUC-JP adds an appropriate <META> tag in the <HEAD> element.
1997-05-10 01:25:50 +00:00
Alexander Langer
73e07a5059 Specify the full path of units.lib in the FILES section. 1997-05-06 03:31:14 +00:00
Eivind Eklund
d301a38d89 From the PR:
ipcs -T' shows system information about shared memory,
	message queues and semaphores. But the manual description does
	not mention semapores.

Now it does.
PR:		docs/3489
Submitted by:	k-horik@yk.rim.or.jp
1997-05-04 20:17:54 +00:00
Masafumi Max NAKANE
fbe0d04a50 Minor typo.
PR:		3472
Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-02 22:08:10 +00:00
Andrey A. Chernov
e3b1e729c9 Change holiday name to official one 1997-05-01 14:39:55 +00:00
John-Mark Gurney
2c0d39ad75 add md5(1) to SEE ALSO section.
Closes PR#3409
Submitted-by: Josh Gilliam
1997-04-29 08:41:26 +00:00
Steve Price
86bdf9bc0b #include <stdlib.h> in the C++ case and declare getenv and realloc
in the C case so that we don't have to depend on stdlib.h being
present.

Submitted by:	Bruce Evans <bde@freefall.freebsd.org>
1997-04-29 03:07:45 +00:00
Steve Price
600e3340ca Keep style consistent.
Submitted by:	Bruce Evans <bde@freefall.freebsd.org>
1997-04-29 03:05:38 +00:00
Steve Price
7dce0a1e9f Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated
parsers.  Closes PR #2792.

Submitted by:	Tim Vanderhoek
1997-04-28 03:36:13 +00:00
John-Mark Gurney
93e0d62d1c `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's
other minor clean ups
1997-04-27 08:45:46 +00:00
Masafumi Max NAKANE
ec15f0c7ce Typo.
PR:		3385
Submitted by:	Josh Gilliam <soil@quick.net>
1997-04-25 20:47:15 +00:00
Jean-Marc Zucconi
cad9f8617c Install f2c.h
Reviewed by:	bde
1997-04-24 17:04:04 +00:00
Andrey A. Chernov
4bac83aa0c Even better fix: use close(fileno(mfp)); to close unneded descriptor
and not clobber memory by fclose().
1997-04-23 22:40:19 +00:00
Andrey A. Chernov
82396226ea Better fix: return vfork() again, but remove clobbering fclose()
and use _exit() instead of exit()
1997-04-23 22:36:51 +00:00
Andrey A. Chernov
97779a7e37 Replace vfork() by fork(), vfork() usage is totally bogus in this context.
This program don't bother to do even minimal vfork() support as per vfork(2)
manpage required.
1997-04-23 22:25:20 +00:00
Bruce Evans
f4c1975c26 Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
1997-04-23 10:16:58 +00:00
Jordan K. Hubbard
804974bacc Update to version 1.9.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-22 18:02:52 +00:00
Bruce Evans
9afb31b0e2 Removed wrong declarations of malloc() and realloc(). They were unused,
and they broke when yacc started generating `#include <stdlib.h>', but
the breakage was hidden by compatibility cruft in gcc unless DESTDIR
was unusual.
1997-04-22 17:44:34 +00:00
Poul-Henning Kamp
0432a202f3 In these XXX MHz days, waiting 500ms for a process to do something is
really far too long.  Let us try 100ms instead, if you have a PP200,
maybe that's even too long.  This should speed up make -j# builds.
I wonder why SIGCHLD isn't used...
1997-04-21 20:32:11 +00:00
Andrey A. Chernov
595c8b2ff9 Long usernames fixes 1997-04-21 13:53:47 +00:00
Peter Wemm
524a8761b1 Tweak column headers a tad for when running in SMP mode. 1997-04-19 20:28:50 +00:00
Jordan K. Hubbard
4dfa17296a Enable GLOBAL tags support. 1997-04-18 23:44:54 +00:00
John-Mark Gurney
96bdc21389 fix up this man page
one typo was:
Submitted by: Josh Gilliam
PR#3319
1997-04-18 11:12:52 +00:00
Jordan K. Hubbard
666a6cbbb1 Add global 1997-04-15 12:31:09 +00:00
Jordan K. Hubbard
f8fc522a77 Shigio Yamaguchi's global tags package. The infrastructure support
for this is already in place, so "make tags" (or "make tags HTML=yes")
should work after your next make world.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-15 12:30:38 +00:00
Bruce Evans
c05b924fca Renamed undelete() to undelete_messages() to avoid conflict with new
undelete() syscall.

Submitted by:	partly by roberto
1997-04-14 16:49:30 +00:00
Joerg Wunsch
232eaee62a Make the $@ macro behave as described in the man page.
This patch has been submitted by Andreas Burmester (i think) on the
German Usenet long ago.  Andreas told me that our m4 has quite more
subtle bugs, so we might consider using NGU m4 instead.
1997-04-13 17:51:32 +00:00
David Nugent
3169e0f139 Use isdialuptty() rather than hard-coded heuristic. 1997-04-13 15:26:04 +00:00
Jordan K. Hubbard
deb9eaa91f Add support for GLOBAL style tags. 1997-04-13 06:47:02 +00:00
Jean-Marc Zucconi
8609d4594f Upgrade to the 1997/02/19 version. 1997-04-13 01:13:52 +00:00
Peter Wemm
a1b0f30719 Oops. Broke golden rule #1: test everything before commit. :-] 1997-04-12 14:34:02 +00:00
Peter Wemm
0be88738f6 Respect NOTCL, don't link with libtcl for the scripting support if
we're not building it.
1997-04-12 14:28:13 +00:00
Peter Wemm
51e16fc108 Make tclsh conditional on the src/contrib/tcl directory existing, and
allow it to be disabled via NOTCL in /etc/make.conf (similar to other
stuff in src/Makefile, eg: NOGAMES)
1997-04-12 07:09:18 +00:00
David E. O'Brien
2dc545bba5 Add -3 option to usage() statement. 1997-04-11 19:54:09 +00:00
David E. O'Brien
849e394f6b Add `%{'' and `%}'' to one of the examples so that you can actually
cut-n-paste the example and have it actually lex and compile.
1997-04-11 10:33:12 +00:00
Bruce Evans
67036295bc Fixed bogus existence check related to searching for a nearby obj directory.
Now the search is as incomplete as elsewhere instead of broken.
1997-04-10 15:15:43 +00:00
Andrey A. Chernov
fc092135ab Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
Alexander Langer
ef0e2ea4c7 Support for -c, byte count. 1997-04-06 00:54:27 +00:00
Peter Wemm
aa9278ffa9 move top.1 -> top.local.1, and generate top.1 so that the man page
is remotely useful
1997-04-05 22:05:46 +00:00
Juli Mallett
8bb9171ccb This commit was generated by cvs2svn to compensate for changes in r24628,
which included commits to RCS files with non-trunk default branches.
1997-04-04 18:41:29 +00:00
Juli Mallett
836b9b6243 Import OpenBSD m4 as of today. 1997-04-04 18:41:29 +00:00
Bruce Evans
9fa50de4c4 Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
Mike Pritchard
1e97ca0116 Remove the etc-magic target since we no longer install the
/etc/magic symlink.
1997-04-04 02:42:53 +00:00
Mike Pritchard
9753286fae The magic file now lives in /usr/share/misc.
Closes PR# 3187.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-04-04 02:41:01 +00:00
John-Mark Gurney
47a5f49956 minor stylistic change (NULL to '\0')
Submitted-by: Philippe Charnier <charnier@xp11.frmug.org>

Closes PR#2999
1997-04-02 10:44:12 +00:00
John-Mark Gurney
75ce49d645 add comment about the brokeness of some termcap entires that require a
`%' to be just that...

make tput just warn about an unknown type modifier instead of breaking...
this allows you to `tput init' on a tek4107...
1997-04-02 10:27:27 +00:00
John-Mark Gurney
39746e4630 make it so that chat doesn't fail when it can't get terminal params..
this allows it to work on non-tty input...  also don't warn when this
happens as it could get noisy...

Silence is Acceptance
1997-04-02 09:55:26 +00:00
Mike Pritchard
5a4db6eb6c Grammar fix. 1997-04-01 19:09:20 +00:00
David Nugent
f72b1ff3be Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
Fix incorrect bracket nesting. Closes PR#3144.
1997-04-01 11:54:06 +00:00
Bruce Evans
35c6f6c2cf Fixed DPADD. 1997-04-01 07:37:28 +00:00
Brian Somers
687d0cdeb3 Remove the syslog stuff, and allow various return values
in uu_lock().  Add uu_lockerr() for turning the results of
uu_lock into something printable.  Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly  where it should.

Suggested by:	ache@freebsd.org
1997-03-31 22:51:00 +00:00
Wolfram Schneider
58c960f434 Add a note in BUGS section that shar(1) cannot handle files
without a newline ('\n') as last character.
1997-03-31 17:58:27 +00:00
Marc G. Fournier
26dce0e6e8 Small formatting change to interval() to align columns so that:
toronto       up  5+18:58,     0 users,  load 0.00, 0.00, 0.00
zeus          up 109+13:53,     0 users,  load 0.55, 0.28, 0.15

looks like:

toronto       up   5+18:58,     0 users,  load 0.00, 0.00, 0.00
zeus          up 109+13:53,     0 users,  load 0.55, 0.28, 0.15
1997-03-31 09:36:59 +00:00
Andrey A. Chernov
5790155e89 Use srandomdev() now
Fix error with begin variable calculation
1997-03-30 23:13:59 +00:00
Brian Somers
568b59b9df Move uucplock into libutil and create a manual page. 1997-03-30 12:12:20 +00:00
John Polstra
a8e37af87a Fix broken built-in ELF file handling, caused by missing prototypes
and use of off_t.  Correct the types of Elf64_Addr and Elf64_Off.
1997-03-29 22:26:03 +00:00
Bill Paul
e49249921c Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.
(I'm not sure why this happens, though I suspect it may be because
the server is configured with only passwd maps instead of both passwd
and master.passwd maps. This is allowed, but I think in this case
pw_class is left NULL, hence the problem.)

Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
1997-03-29 20:29:12 +00:00
Mike Pritchard
4153d35919 The text describing exit values >1 was formatted incorrectly.
Obtained from: NetBSD-bugs PR# 3406
1997-03-29 20:01:59 +00:00
Bruce Evans
c263a0048d Removed `#define KERNEL'. This was a hack-around for nfs.h being broken
in the Lite2 merge to not export some nfs constants.  It started causing
warnings when I added a kernel-only #define for DIRBLKSIZ.

Removed `#define NFS'.  This was an old, bad interface for telling
<sys/mount.h> to export nfs stuff.
1997-03-29 12:50:41 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
David Nugent
1f5367caee Fix for logic in no-password accounts. 1997-03-27 10:09:09 +00:00
Peter Wemm
9d08e419b9 Fix "-fstype local" that was broken by another bugfix in the Lite2 merge.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3076
1997-03-27 02:36:26 +00:00
Andrey A. Chernov
6f810dd5fe Add ASCII collate mainly for fallback for EUC-type locales 1997-03-25 16:50:07 +00:00
Andrey A. Chernov
1037a51b7e Add fake codesets 3 & 4
Submitted by: junker@jazz.snu.ac.kr
1997-03-25 16:03:16 +00:00
Wolfram Schneider
d05c3da950 Be tolerant to old uuencode programs which encode the ASCII NUL
character as character 32 (space) instead character 64 (`).

See also  'The UNIX-HATERS Handbook', page 82-83.
1997-03-25 14:31:31 +00:00
David Nugent
4a028a883d Don't bypass password prompt for root logins on insecure tty if
the root password is empty.
1997-03-25 05:15:04 +00:00
David Nugent
d8a7b3477f strdup() value of term to correctly preserve contents.
Rearrange validation logic so that it works correctly when
compiled with kerberos support. Closes PR#3056.
1997-03-24 21:22:12 +00:00
Andrey A. Chernov
c49659eaa6 Initialize RNG only once
Use srandomdev() now
1997-03-24 16:10:26 +00:00
Andrey A. Chernov
d9c406718c Remove libcurses, it is pure termcap application 1997-03-24 14:29:46 +00:00
Warner Losh
f85d627937 Buffer overflow from Keith Bostic.
Obtained from: BSDi by way of Keith Bostic
1997-03-24 05:51:59 +00:00
Warner Losh
1e545639ed Use mkstemp rather than mktemp to prevent a small race.
OpenBSD has a similar code, but this was indepenent.
1997-03-24 05:50:27 +00:00
Mike Pritchard
1ffa2a8e1b Use the .Tn macro for a couple of generic FreeBSD references.
This has the desired side-effect of preventing a bad hyphenation
of the word FreeBSD in one place.
1997-03-24 01:15:16 +00:00
Joerg Wunsch
8187fe4813 Include `top'. 1997-03-23 18:59:47 +00:00
Joerg Wunsch
511d9c6565 This is the FreeBSD-specific files for top, plus the Makefile
that pulls all the files from contrib.

Obtained from:	The ports collection (mostly).
1997-03-23 18:55:20 +00:00
Mike Pritchard
0b6f152321 Remove the text that says nroff and pr automatically disable
writing to the tty while they are running because they don't.
1997-03-22 17:19:32 +00:00
Bruce Evans
7677efc6a4 Don't generate invalid C++ code (for implicit conversion from `void *' in
assignment).
1997-03-22 01:48:17 +00:00
Mike Pritchard
69a98adb93 I had to rename one additional file in the last file import, so
update this script to reflect that.
1997-03-20 23:34:11 +00:00
Mike Pritchard
f5d13782b3 The author picked up this file from FreeBSD, but gave it a different name
in file v3.22, so this one is going away.
1997-03-18 19:39:26 +00:00
Mike Pritchard
76918e1ad4 Merge to resolve conflicts with file 3.22 merge. 1997-03-18 19:37:41 +00:00
Mike Pritchard
0f8988b492 This commit was generated by cvs2svn to compensate for changes in r23988,
which included commits to RCS files with non-trunk default branches.
1997-03-18 18:00:03 +00:00
Mike Pritchard
094f1e246b Upgrade to file version 3.22.
Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
1997-03-18 18:00:03 +00:00
David Nugent
a52c1be6ff Submitted by: Paul Traina <root@shockwave.com> (partially)
Cleanup of #ifdef's for LOGIN_CAP.

  Fixed bug in empty shell (closes PR#2550).

  Refused root logins now displays standard "Login incorrect" and
	exhibits identical backoff behaviour to a failed login.

  Cleaned up logging of refused logins.

  Use #defines for login retries and backoff. Also implemented
	definable variables if LOGIN_CAP is defined, with
	"login-retries" and  "login-backoff" as capabilities
	in the default class (closes PR#2805).

  TERM from previous environment is no longer truncated.
1997-03-18 16:27:12 +00:00
Andrey A. Chernov
3429a30406 Skip \r character while printing Plan/etc. text files, it allows to
handle \r\n and \n\r files properly.
Previous variant put ^M for \r\n and ^M\n for \n\r
1997-03-17 17:07:39 +00:00
Marc G. Fournier
54a064002a Slight visual formatting change to the output so that:
procs   memory     page                    disks   faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr w0 w1   in   sy  cs us sy id
 1 0 04135184  6016  180   2   1   0 158 135 10  0  386 1820  77 20  6 74

looks like:

 procs      memory     page                    disks   faults      cpu
 r b w     avm   fre  flt  re  pi  po  fr  sr w0 w1   in   sy  cs us sy id
 1 0 0 4135188  6016  180   2   1   0 158 135 10  0  387 1821  77 20  6 74
1997-03-16 23:11:07 +00:00
Joerg Wunsch
9bedbe6c7d Fix a security problem where the ktrace.out file could have been written
over a file owned by someone else.

Pointed out by:	wosch
Reviewed by:	sef, imp, proff@suburbia.net, bde
1997-03-15 10:39:12 +00:00
Andrey A. Chernov
80802b9ec5 Update Korean locale
Should go into 2.2
1997-03-13 07:51:43 +00:00
Mike Pritchard
07847cc81d Add a missing '\' to some text.
Obtained from: NetBSD-bugs mailing list PR# 3321
1997-03-12 16:05:41 +00:00
John-Mark Gurney
27e0fa20aa fix a bug in processing of FTP_TIMEOUT environment variable.
Closes PR#2947

Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
1997-03-11 15:13:28 +00:00
Peter Wemm
ccf4742c2f Cope with the possibility of __FreeBSD__ = 3 1997-03-11 14:49:51 +00:00
Peter Wemm
2384ae25e2 Merge from Lite2 1997-03-11 14:48:14 +00:00
Peter Wemm
2179734791 Import CSRG 4.4BSD-Lite2 tsort 1997-03-11 14:47:11 +00:00
Peter Wemm
c7a7335aef Include unistd.h for new location of getopt() prototypes 1997-03-11 14:44:05 +00:00
Peter Wemm
853fe5c987 Include unistd.h for new location of getopt prototype 1997-03-11 14:41:52 +00:00
Peter Wemm
5652654463 Include unistd.h for getopt() prototype after Lite2 merge 1997-03-11 14:40:40 +00:00