Commit Graph

2107 Commits

Author SHA1 Message Date
joerg
6f8d503759 Prevent a NULL dereferencation when given a garbage command line.
PR:		bin/3206
Submitted by:	blank@fox.uni-trier.de
1997-08-23 14:09:36 +00:00
imp
7623afeb40 Fix buffer overflow. prompt didn't get a size for its buffer,
so it could overflow it.  Also made some filenames MAXPATHLEN long rather
than 80 long.
1997-08-22 22:14:16 +00:00
peter
f84d7f28e5 Cleanup and remove the not-too-useful examples. The current versions
should be in share/examples if anywhere.
1997-08-22 15:42:33 +00:00
peter
7072a26c53 Merge ppp-2.3.1 changes onto mainline 1997-08-22 15:24:36 +00:00
jmg
67ca20936d -I/sys converstion and Id line 1997-08-22 14:22:31 +00:00
jmg
05f0e169e1 another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
charnier
40cf595fb5 Use err(3). 1997-08-22 06:53:00 +00:00
charnier
eaef137992 Was limited to 200 users. New entry is now allocated as needed.
Add usage().
Obtained from:OpenBSD.
1997-08-22 06:50:33 +00:00
charnier
9a7cf30825 Use err(3) instead of local redefinition. Add usage(). 1997-08-21 06:52:43 +00:00
charnier
16f9b719d4 Use err(3) instead of local redefinition. 1997-08-21 06:51:10 +00:00
charnier
85fa6720fe Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-21 06:49:33 +00:00
joerg
9f76c14f85 Implement "eod" as an alias for "eom". HP-UX uses this name, for
example.

Also cleaned up the man page a little.
1997-08-21 05:49:29 +00:00
jlemon
5d3c68aeda Pre-allocate buffer to avoid core dump in corner cases.
PR:		2968
Submitted by:	Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
1997-08-21 03:41:41 +00:00
charnier
d5f7fdb95f Use err(3). Add usage(). Remove progname. 1997-08-20 11:07:53 +00:00
charnier
5a5eea93a1 Use err(3) and add usage(). 1997-08-20 11:05:28 +00:00
charnier
714d77879e Nm uname -> Nm. 1997-08-20 11:03:54 +00:00
charnier
d2e7017adf Use err(3), add usage() and prototypes.
Move setmode() to setnewmode() because of a conflict with setmode(2 or 3).
1997-08-20 11:01:59 +00:00
steve
0408a54150 Fix example to match ls(1)'s output.
PR:		docs/3681
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-20 02:05:29 +00:00
jlemon
e444e35d07 Require all compatability options to begin with '-'.
PR:		4145
1997-08-19 15:58:15 +00:00
jlemon
34cfd5d300 Permit hex/octal parameters to cmp, to match what the manual page says.
PR:		3850, 3855
1997-08-19 14:34:04 +00:00
asami
89548edf3a Be consistent with other utilities in spelling "Kbytes". (Actually,
there even was one of them about ten lines above in the same file.)

Reminded by:	joerg's commit to usr.bin/ftp/ftp.c rev 1.9
1997-08-19 01:57:53 +00:00
asami
1b628fbe35 Fix 1.17 properly by adding ${DESTDIR} in front. (I know this part is
not enabled now.)
1997-08-19 01:52:11 +00:00
jlemon
3d3878a0ed divnum is no longer silently restricted to the range 0..9. (cf: 4098)
changequote(,) is now a synonym for changequote().	 	(cf: 803)

buffer size for translit() enlarged to handle a full string

PR:		803, 4098
1997-08-18 21:01:45 +00:00
jlemon
63c7a9d9e0 Add doscmd. 1997-08-18 18:51:46 +00:00
jlemon
9248552ead Clean up Makefile, make compiling in X support dependent on ${X11BASE}. 1997-08-18 18:48:33 +00:00
peter
db9cd5ac86 use -I${DESTDIR}/usr/include/tcl, not -I/usr/include/tcl 1997-08-18 11:39:19 +00:00
charnier
bb57ad2407 Add usage(). 1997-08-18 07:30:15 +00:00
charnier
467a801d97 Nm tsort -> Nm. 1997-08-18 07:28:50 +00:00
charnier
546d7b7b78 Use err(3) insteadof local redefinition. Sync usage string with man page. 1997-08-18 07:27:59 +00:00
charnier
188deefee8 Nm true -> Nm. 1997-08-18 07:25:50 +00:00
charnier
6473d1562f Use err(3) instead of local redefinition. Cosmetic in usage(). 1997-08-18 07:24:58 +00:00
charnier
5e2454839f Cosmetic. 1997-08-18 07:22:53 +00:00
charnier
51f10d4b16 Add usage. Use /usr/share/misc/map3270 instead of /etc/map3270. 1997-08-18 07:21:48 +00:00
charnier
6fbe0aac6d Add prototypes, usage(). Use err(3). 1997-08-18 07:16:12 +00:00
andreas
ccd541db0a had to add CFLAGS+=-I/usr/include/tcl
otherwise it doesn't find tcl.h
1997-08-18 06:08:56 +00:00
peter
f2f5619d66 Drop the TCL hook for the time being until the tcl dust settles some more. 1997-08-18 05:25:14 +00:00
andreas
6a5002f88b Fixed another make world stopper ;)
If TCLINTERP is defined, CFLAGS needs an additional include path:
	 -I/usr/include/tcl
Otherwise tcl.h can't be found during make world.
1997-08-17 21:33:39 +00:00
peter
b0303ecc1d Bandaid to make this compile.. These old mbuf types should probably be
ripped out.
1997-08-17 09:12:43 +00:00
cwt
a541cc54fd Retire v1.81 sources and build instead from src/contrib/global sources. Reviewed by: jdp 1997-08-16 04:42:45 +00:00
jlemon
7ebc5d1467 Enable the use of keypad cursor motion keys.
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1997-08-16 00:16:48 +00:00
jlemon
d637f4f507 Add support for XMS memory to doscmd.
Submitted by:	Helmut F. Wirth <hfwirth@ping.at>
1997-08-15 23:41:26 +00:00
wosch
812d6fd9cc make install should not install mail.rc in /etc 1997-08-15 21:50:02 +00:00
fsmp
b458c644f8 Better fix, as originally submitted by reporter.
Submitted by:	 N.Dudorov <nnd@itfs.nsk.su>
1997-08-14 19:24:11 +00:00
charnier
81bcfffaf5 Add usage() and use err(3). 1997-08-14 06:48:59 +00:00
charnier
1cc1919e6e Use err(3). 100 -> MAXHOSTNAMELEN from OpenBSD.
Obtained from: OpenBSD
1997-08-14 06:47:41 +00:00
charnier
057a30e59c Hardcode progname in usage string. 1997-08-14 06:44:41 +00:00
charnier
d72228bb7a Use err(3) instead of local redefinition. Add usage(). 1997-08-14 06:42:43 +00:00
charnier
baddffcb88 Use err(3). Correct usage string. Change default tape to /dev/rst0. 1997-08-14 06:41:00 +00:00
fsmp
c852b1e121 Fix PR bin/4291: /usr/bin/make - inconsistent -j<n> flag parsing.
Submitted by:	N.Dudorov <nnd@itfs.nsk.su>
1997-08-14 04:46:20 +00:00
charnier
06f6291f16 Cosmetic in usage(). Mdoc'ify man page. 1997-08-13 06:58:45 +00:00
charnier
ee20f297c2 Nm talk -> Nm. 1997-08-13 06:48:56 +00:00
charnier
cf4900f7ab Remove trailing \n in warn() string. 1997-08-13 06:46:57 +00:00
charnier
d1a307d129 Use err(3). /sys/dkstat.h -> /usr/include/sys/dkstat.h 1997-08-13 06:45:11 +00:00
steve
0bd5a262bd Fix a typo that caused an incorrect path to be displayed.
PR:		docs/4258
1997-08-13 02:14:43 +00:00
ache
901a0bfcc8 Cleanup and use /usr/libdata/doscmd now 1997-08-12 16:08:02 +00:00
eivind
3112d8efee Fix fencepost error.
PR:		4170
Submitted by:	Harlan Stenn <Harlan.Stenn@pfcs.com>
1997-08-12 14:42:39 +00:00
charnier
ec86e12dab Use err(3) instead of local redefinition. Add prototypes. 1997-08-12 06:46:56 +00:00
charnier
6c11a55082 Add usage(). 1997-08-12 06:45:43 +00:00
charnier
bf47d95e0c Use err(3) instead of local redefinition. 1997-08-12 06:44:57 +00:00
charnier
59770b8246 Use err(3). 1997-08-11 07:31:28 +00:00
charnier
55429790ab Cosmetic in err() string. 1997-08-11 07:30:22 +00:00
charnier
9cf0d924dd Use err(3). Add prototype. 1997-08-11 07:29:17 +00:00
charnier
12409694bd Use err(3) instead of local redefinition. 1997-08-11 07:28:19 +00:00
charnier
44c0b1badf Use err(3). Add prototypes. 1997-08-11 07:27:27 +00:00
charnier
ce366c2c61 Cosmetic. 1997-08-11 07:22:04 +00:00
charnier
db6e9b0f81 Remove local redefinition for err(). Add usage(). 1997-08-11 07:21:08 +00:00
ache
c207fc1e7a Build instbsdi.exe in obj directory (make world stopper) 1997-08-09 20:04:04 +00:00
dyson
1aab5f5c26 Add a valuable binary that enables I/O to U**X mounted disks. 1997-08-09 02:08:32 +00:00
dyson
de2fd5fcac Commit the manpage for doscmd.
Submitted by:	Jonathon Lemon <jlemon@americantv.com>
Obtained from:	BSDI
1997-08-09 02:07:03 +00:00
dyson
2cbca6c012 Add the makefile for doscmd. 1997-08-09 01:52:58 +00:00
dyson
305573cb29 Add our doscmd to the tree. This is a result of work from BSDI, and
a group of dos emulator developers.
Submitted by:	Jonathan Lemon <jlemon@americantv.com>
Obtained from:	BSDI
1997-08-09 01:43:15 +00:00
charnier
589d243b09 Add usage(). Use err(3) instead of local redefinition. 1997-08-08 12:24:49 +00:00
charnier
9a0308a354 Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-08 12:22:30 +00:00
charnier
feae501bfd Use err(3). Add usage() and prototypes. Add Xr to who(1). 1997-08-08 12:20:24 +00:00
charnier
3fcaa37fee Use err(3). Add usage(). 1997-08-08 12:18:16 +00:00
charnier
45f7e36166 Remove argv0, cosmetic in usage(), use err(3), add Xr to rwho(1) and users(1). 1997-08-08 12:12:54 +00:00
steve
c61e376617 #include <unistd.h> for getopt(3) call. 1997-08-07 21:47:31 +00:00
charnier
2996a416cc Use err(3), so eliminate use of `argv0'. 1997-08-07 06:50:02 +00:00
charnier
c20801fff5 Use err(3) instead of local definition.
Cosmetic in man page: do not start describing a flag with `The option -X ..'.
1997-08-07 06:46:45 +00:00
charnier
c1ea49e6b1 Use err(3). Add usage(). Rewrote man page in mdoc format. 1997-08-07 06:42:37 +00:00
charnier
f80921726b Use err(3), cosmetic in usage(). 1997-08-06 06:49:06 +00:00
charnier
4dfc83bbfa Use err(3), cosmetic in usage(), remove `cmdname'. 1997-08-06 06:47:41 +00:00
ache
fbd1e32f91 Add -t option which turns T/TCP off as workaround for some broken servers
Submitted by: Marc Slemko <marcs@znep.com>
1997-08-05 20:18:39 +00:00
charnier
b064615bee Use err(3). Document -l flag.
Obtained from: OpenBSD
1997-08-05 06:46:46 +00:00
charnier
828df579fb Document that multiple args are allowed, i.e Ar file -> Ar file ... 1997-08-05 06:44:28 +00:00
charnier
86e0f07edd Use err(3). Add usage() and prototypes. 1997-08-05 06:42:48 +00:00
charnier
cb98d74e8d Cosmetic in usage string. 1997-08-05 06:41:26 +00:00
asami
96aaabc320 Remove bogus malloc() decl. 1997-08-05 03:40:04 +00:00
charnier
ba2544a6f0 Use err(3). Use #include "" instead of <> for local headers. 1997-08-04 06:48:25 +00:00
charnier
e7d0804666 Use err(3). Cosmetic in usage string. Typo in man page. 1997-08-04 06:45:11 +00:00
charnier
a42c5ad2d7 Correct Synopsys section. 1997-08-04 06:42:51 +00:00
charnier
cbad2a9a3c environmental -> environment. 1997-08-04 06:40:41 +00:00
charnier
ae524091d6 Cosmetic and typos. 1997-08-04 06:39:19 +00:00
wollman
b3575f9ae8 Document the bogus standard requirement of delaying the close.
Also include a reference to the FINGER RFC.
1997-08-01 20:26:47 +00:00
wollman
9233cdeb45 So somebody actually found language in the FINGER RFC which requires
implementations to leave the client side open until the server closes.
While this is totally idiotic, it seems as if some servers actually require
it (e.g., the one at mit.mit.edu).  So, we bow to the weight of the bogus
standard and disable the initial close.  Hopefully now fetch(1) can serve
the role of T/TCP demonstration application.
1997-08-01 20:10:44 +00:00
charnier
491754a358 Use err(3). Add prototypes. Silent -Wall. 1997-07-31 06:59:26 +00:00
charnier
9aa2e32f16 Cosmetic in usage string and err() messages. 1997-07-31 06:57:47 +00:00
charnier
7364d57a33 Use err(3). 1997-07-31 06:54:45 +00:00
charnier
7714fda3a9 Use err(3). Add missing flags in usage string. 1997-07-31 06:53:36 +00:00
wpaul
e0aba351e5 Modify passwd and chpass to use new AF_LOCAL RPC interface instead of
old kludged-up 'yppasswd_comm' support.
1997-07-29 15:45:36 +00:00
charnier
7711e701aa Add usage(), use err(3).
Rewrote man page in mdoc format.
1997-07-29 06:54:16 +00:00
charnier
e97a8f1bb5 Remove prog, unused variables.
Cosmetic in usage string.
1997-07-29 06:51:41 +00:00
charnier
ffd60e72c2 Use err(3) instead of local redefinition. 1997-07-29 06:49:16 +00:00
charnier
4255455054 Use err(3).
sprintf -> snprintf from OpenBSD.
Add usage(), prototypes.
Use MAXPATHLEN instead of 128 from OpenBSD.
Obtained from: OpenBSD
1997-07-29 06:47:18 +00:00
charnier
fd6672a69f Add usage(). 1997-07-29 06:42:33 +00:00
charnier
d22bd4cd5e Cosmetic in usage string. 1997-07-28 07:01:02 +00:00
wollman
4f60b2e680 Work around a brokenness in the HTTP spec by generating the Host header
for ftp: URLs as well.  This can't possibly be done in the general case,
but since we only claim to support http and ftp, we'll adhere to the
bogus requirement (RFC 2068, s. 14.25) anyway...  >sigh<

Submitted by: =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no>
1997-07-26 20:18:43 +00:00
wollman
183f1f7031 Fix the error message for when mirroring and restarting are rejected
due to the output not being a regular file.  Also split the error message
in any error case here to be on two lines to lessen the likelihood of it
being too long to fit on just one.
1997-07-26 20:00:05 +00:00
wollman
989de48b81 Implement HTTP 1.1's ``chunked'' Transfer-Encoding (ick). This hasn't
been extensively tested, but I now can successfully retrieve
<http://www.apache.org/index.html>, so I guess that's a victory of some
sort.

Also move the initialization of ``autherror'' to hopefully eliminate
the reported loop involving authentication.  Still need to implement
MD5 digest authentication.
1997-07-26 19:25:56 +00:00
wollman
021417e0de Provide a new `-b' flag to work around some broken HTTP/TCP implementations
that can't deal with a half-closed connection.
1997-07-25 19:35:44 +00:00
charnier
572da9743b Use err(3), add usage(), silent -Wall. 1997-07-24 07:05:02 +00:00
charnier
87d786e314 Add includes and prototype. 1997-07-24 07:02:55 +00:00
charnier
d2463fce84 .Nm mkdep -> .Nm. 1997-07-24 07:01:18 +00:00
charnier
49ace60aee Add usage(). 1997-07-24 07:00:17 +00:00
charnier
f61512bf13 Use err(3). Cosmetic in usage string. 1997-07-24 06:58:08 +00:00
charnier
2df2878db2 Use err(3). 1997-07-24 06:56:33 +00:00
charnier
4c63237bb0 Use err(3) instead of local redefinition. Remove progname. 1997-07-23 06:50:06 +00:00
charnier
5553dde7e9 Typo. 1997-07-23 06:48:01 +00:00
charnier
d3106d444a Use err(3) instead of local redefinition. 1997-07-23 06:46:10 +00:00
charnier
f14112b4c1 = -> ==, strcpy -> strncpy from OpenBSD.
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
charnier
651e4c7782 Use err(3). 1997-07-22 07:33:48 +00:00
charnier
d2c83baea4 lockf: usage : lockf -> usage: lockf by using fprintf instead of errx. 1997-07-22 07:32:23 +00:00
wosch
f380543fc8 Add ref to idprio(1). 1997-07-21 23:05:06 +00:00
bde
f501609a9b Added top.1 to CLEANFILES. 1997-07-21 16:06:00 +00:00
charnier
8df0f01f58 Use err(3). Add usage(). 1997-07-21 12:09:34 +00:00
charnier
f85d3627d4 Use err(3). Use .Pa macro for filenames in man page. 1997-07-21 12:08:14 +00:00
charnier
197677263f Cosmetic in usage string. Typos in man page. 1997-07-21 12:06:18 +00:00
charnier
12747632ef Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
1997-07-21 12:04:31 +00:00
charnier
6fc33a9dac Cosmetic in usage string. 1997-07-21 12:01:47 +00:00
jfieber
dd12b6c2e5 Remove SGML tools from -current. 1997-07-19 15:19:08 +00:00
wosch
2eae819025 A not initialized variable forced malloc to abort if the user
press ^Z (undelete line).

Detected by: /etc/malloc.conf -> AJ
1997-07-18 13:51:54 +00:00
charnier
7cb730f7e3 Use err(3) instead of local redefintion. Add usage() as a separate
function. Rewrote man page in mdoc format.
1997-07-18 06:43:15 +00:00
charnier
41ee770120 Use err(3). Mdoc'ify man page. 1997-07-18 06:40:46 +00:00
charnier
2865fd3c1b Cosmetic in usage string. 1997-07-17 06:45:22 +00:00
charnier
4ec9a9279f Mdoc'ify man page. 1997-07-17 06:44:11 +00:00
charnier
e2ee52463e Use err(3). Mdoc'ify man page. 1997-07-17 06:42:26 +00:00
davidn
d4fc811b59 Fix typos.
PR:		4101
Submitted by:	Horikawa Kazuo <k-horik@mail.yk.rim.or.jp>
1997-07-16 11:35:18 +00:00
charnier
9b1c747b1b Rewrote man page in mdoc format. 1997-07-16 06:52:13 +00:00
charnier
97c57a650f Use err(3). Rewrote man page in mdoc format. 1997-07-16 06:51:12 +00:00
charnier
7eee0066ae Use err(3). Correct incomplete man page. 1997-07-16 06:49:49 +00:00
charnier
922557a4f6 Use err(3) instead of local redefinition. Add usage(). 1997-07-15 09:59:30 +00:00
charnier
58b419d0c3 Cosmetic in usage string. 1997-07-15 09:57:28 +00:00
charnier
783e86e99e Add rcsid, Remove unused vars. 1997-07-15 09:55:59 +00:00
charnier
59438faa4f Add rcsid. Cosmetic in usage string. Typo in man page. 1997-07-15 09:54:34 +00:00
charnier
bc62cc22d4 Use err(3) instead of local redefinition. Add usage(). 1997-07-15 09:50:59 +00:00
charnier
793ad1484d Use err(3) instead of local redefinition. Silent -Wall. 1997-07-15 09:48:49 +00:00
charnier
f673b0ac7c Revert to original style. 1997-07-15 08:04:40 +00:00
peter
18d0d6f155 Hack to work around the large username field... scan for the largest
username present on the system at startup and use that for the field width.
It's not ideal but (I think) better than it was before.  The width is
limited to within 8..16.
1997-07-14 09:06:46 +00:00
bde
20aa44a88c 32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit
counters.  `4' in GPROF4 and gprof4 now means 8.  gprof4 needs to be
recompiled to match the kernel.
1997-07-13 16:38:39 +00:00
peter
486333fcfd kill the undead 1997-07-13 14:26:00 +00:00
guido
9b98d67c6f Remove -I/sys 1997-07-13 11:51:42 +00:00
bde
112cf7fc76 The m4 doc sources aren't in Lite* or FreeBSD, and Lite2 removed this
unused Makefile.
1997-07-13 07:58:56 +00:00
peter
a6c3d5ca85 Add an alias for master.passwd -> master.passwd.byname to the list
of convenience map aliases.
1997-07-12 14:34:26 +00:00
peter
4787e78f21 Dynamically adapt to smp mode at runtime. This stops the cpu column
appearing on uniprocessor systems since the smp->current merge.
1997-07-12 10:51:54 +00:00
charnier
4320b92868 Setting eval to 1 after calling warn was the original behaviour. 1997-07-11 06:13:18 +00:00
charnier
aad076cc73 Fix typo I introduced during last commit. 1997-07-11 06:11:35 +00:00
jdp
b55cfe9f16 Fix breakage induced by read-only copyright string.
Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-07-11 02:08:56 +00:00
charnier
c4ced555e1 Use err(3) instead of local redefinition, incorporate `hd' in usage str. 1997-07-10 06:48:24 +00:00
charnier
6ebe32537f Use err(3) instead of local redefinition. 1997-07-10 06:46:13 +00:00
charnier
3e5d2f9ca5 Use err(3). 1997-07-10 06:45:02 +00:00
charnier
fecd0ac4cd Add usage(), use err(3). 1997-07-10 06:43:41 +00:00
charnier
4765108b7f Typo. 1997-07-10 06:41:33 +00:00
charnier
a905367e59 Use err(3), remove unused variables. 1997-07-08 11:05:59 +00:00
charnier
0b74b1044e Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00
charnier
47dc77937c Use err(3). 1997-07-08 11:02:48 +00:00
charnier
c82bc63df1 Use err(3). Add prototypes. 1997-07-08 11:01:35 +00:00
charnier
3354e4d90e Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
bde
08b8316452 This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
bde
4d7f45e259 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
bde
ebe9ad428e 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
bde
c1c1220cb1 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
bde
e9b5b21c35 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
bde
050dfa22f8 Removed mis-imported files. 1997-07-06 06:15:35 +00:00
bde
b384805a36 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
bde
3d45709a10 This commit was generated by cvs2svn to compensate for changes in r27237,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:06:57 +00:00
bde
fc4d399f76 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
bde
1f76f6ead5 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
bde
8436cb1352 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
bde
3f0aace088 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
bde
390b1c941e 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
bde
f7ce8e6d24 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
bde
a7e4624113 Importing Lite2 broke lookup() to return -1 for the nmatches == 0 case.
Fixed.
1997-07-06 04:13:20 +00:00
bde
8e49bc41a2 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
bde
71773196f6 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
bde
aed802936a 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
bde
7ecaf287d1 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
bde
5deeab0f5c Merge from Lite2 (reject widths <= 0 instead of pretending that they are 80). 1997-07-06 03:39:37 +00:00
bde
c986b01159 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
bde
c51869ac71 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
bde
c3956c3fb1 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
bde
1576c35fbe 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
bde
a8de850f7b 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
bde
31a3731a3f 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
fbd9d6ffad .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
charnier
e800470198 Add rcsid, prototypes. Use err(3). 1997-07-03 07:19:46 +00:00
charnier
4f0a8d27ea Add rcsid, usage(). Silent -Wall. Use warn(3). 1997-07-02 06:34:51 +00:00
charnier
71f3417bb9 Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
charnier
3f6defdfaa One newline should be enough. 1997-07-02 06:28:32 +00:00
wosch
9bb985006b Add forgotten newline.
Submitted by: Solaris gencat
1997-07-01 19:46:22 +00:00
charnier
cce3170ff8 Do not use argv[0] in usage(). 1997-07-01 06:37:34 +00:00
charnier
392cc87247 Add usage(), rcsid. Use getopt().
Obtained from: OpenBSD.
1997-07-01 06:34:31 +00:00
charnier
f3aa4e706e Use EX_USAGE in usage(). 1997-06-30 11:24:18 +00:00
charnier
46627309b6 Remove lines inside #ifdef 0/#endif. 1997-06-30 11:10:18 +00:00
charnier
bcc829f0c5 Add usage(). 1997-06-30 06:51:20 +00:00
charnier
761cfebef5 Document -k flag. 1997-06-30 06:50:07 +00:00
charnier
136480890d 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
charnier
c33fef67f8 Add usage string. Typo in man page. 1997-06-30 06:45:53 +00:00
charnier
a9bd3dc31f Uncompress is under .Nm not .Ar. 1997-06-30 06:44:07 +00:00
charnier
f6e53120d8 Mdoc'ify man page. Use err(3). Remove whoami. 1997-06-30 06:42:43 +00:00
charnier
6f0d89b1c2 Use err(3). Add DIAGNOSTIC section name in man page. 1997-06-30 06:40:16 +00:00
charnier
2f5131f6ac Add missing -s flag in usage string. 1997-06-30 06:37:15 +00:00
obrien
4e5976e297 Add magic for FIGlet fonts and controlfiles
Obtained from:	Figlet v2.2 release.
1997-06-29 10:06:56 +00:00
pst
1b991716a4 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
70ac32a720 Some minor cosmetic tweaks.
PR:			docs/3941
Partially submitted by:	uenami@imasy.or.jp
1997-06-28 19:27:51 +00:00
ache
404cec1eb8 Replace hand-made tolower conversions with real tolower from ctype 1997-06-27 10:21:22 +00:00
ache
ca7a350053 Protect isspace by isascii to not count high spaces 1997-06-27 10:09:50 +00:00
ache
13eedc9f63 Activate collate to sort local files properly for completion 1997-06-27 09:38:07 +00:00
ache
fae8900137 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
charnier
58f4514cd9 Use err(3) instead of local redefinition. 1997-06-26 11:26:20 +00:00
charnier
d9b3513e3c Add usage(). Put program name in bold in the man page. 1997-06-26 11:25:17 +00:00
charnier
948c4a67c3 Remove use of progname. Add usage(). 1997-06-26 11:23:47 +00:00
charnier
6b6d733955 Correct usage string. Program name converted to bold in man page. 1997-06-26 11:22:12 +00:00
tegge
588fb5df8a Treat no match as a failure. This is the normal behaviour on SunOS. 1997-06-25 21:02:12 +00:00
msmith
89334bc82c 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
charnier
a7f2d3da85 Update manpage to newer version. Use err(3). 1997-06-25 07:02:03 +00:00
charnier
8a89f6079c 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
tegge
b2e3846ead Don't depend upon the kernel load address being 0xf0100000. 1997-06-24 15:56:41 +00:00
charnier
a300c51544 Document the use of `ls -lo' to see flags.
Obtained from: OpenBSD.
1997-06-24 06:57:11 +00:00
charnier
c32c798b05 Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
charnier
c8e3da3b20 Remove use of program_name variable. 1997-06-24 06:52:33 +00:00
charnier
96376ee333 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
tegge
9c1e6b87a1 Long command names are not NUL terminated. Force truncation in format string. 1997-06-23 22:09:15 +00:00
charnier
3d2e5f4b7c Typo fix: Alan Turning is aka Alan Turing. 1997-06-23 06:52:58 +00:00
charnier
2d49da06e0 Use err(3). Abort if strdup() returns NULL. 1997-06-23 06:52:13 +00:00
charnier
14698cd80a Upgrade to a newer version. Old synopsys was incorrect.
Obtained from: OpenBSD
1997-06-23 06:49:42 +00:00
charnier
8b0eb34c58 Use err(3). Typo fix in usage string. 1997-06-23 06:47:12 +00:00
charnier
514c793c39 Typo fix in man page. Use err(3) instead of local copy. 1997-06-23 06:45:38 +00:00
charnier
ff79b92da8 Use err(3).
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00
charnier
6052f2e1ee Convert man page to mdoc format. Cosmetic in usage string. 1997-06-23 06:41:30 +00:00
steve
f8049f60d8 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
7a5541cde7 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
jdp
6ad9fbf529 Add some cross references and alphabetize them. 1997-06-21 23:05:44 +00:00
max
54ca0a3181 Typo fix.
PR:		3869
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-14 19:45:00 +00:00
ache
66946f9305 Remove srandomdev fallback code 1997-06-14 00:27:03 +00:00
tegge
49a4edd9b1 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
ache
dad173c0c8 Add yet one holiday 1997-06-11 16:32:11 +00:00
dg
a5d7fa9daa Meg -> Mbytes
PR:	3829
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-10 12:49:17 +00:00
max
2b582ce5f1 Fix the man page's title (.Dt).
(It has been ``SKEY.ACCESS''.)
1997-06-02 17:24:36 +00:00
julian
68081e32bc 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
ache
4f8081d1a7 Now understand password in ftp:// URLs 1997-05-31 14:45:41 +00:00