sef
48a1f82a2e
Complain about empty command lines.
1997-12-06 17:13:54 +00:00
peter
3ab5048d88
err(3) already includes strerror(errno) and a trailing \n
1997-12-06 14:42:58 +00:00
peter
9f0d9f2754
recognize "FreeBSD ELF" as an executable type
...
close() takes a fd, not a char * :-)
1997-12-06 14:41:41 +00:00
peter
bb664e8a40
#include <unistd.h> to get it to compile
...
Submitted by: Andreas Klemm <andreas@klemm.gtn.com>
1997-12-06 14:39:30 +00:00
sef
999cc45d0b
Set the close-on-exec flag in the child; otherwise, it eats up a
...
file descriptor that it shouldn't.
1997-12-06 08:01:00 +00:00
sef
40d07bddd6
First cut at printing out ioctl names intelligently. Note that this doesn't
...
handle linux ioctls (yet?). This uses the mkioctl script from kdump,
bless its little heart.
Reviewed by: Mike Smith
1997-12-06 06:51:14 +00:00
sef
a9e2deb1a1
Add truss to the list of subdirectories.
1997-12-06 05:23:59 +00:00
sef
9e9a114f06
Truss program. Requires procfs.
1997-12-06 05:23:12 +00:00
bde
dbfaf6f7a4
Const poisoning from ks_shortdesc.
1997-12-05 19:28:28 +00:00
steve
6136cd11ff
Use 'proto <tcp|udp|all>' to select the protocol to display
...
in netstat-mode to avoid a conflict with tcp-mode. Also
while documenting this new feature in the manpage, fix a
minor display nit.
PR: 5159
Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
1997-12-04 03:44:46 +00:00
jdp
81c1440f4f
In the "ldd -v" output, display the N_AUX information for each
...
symbol. It indicates whether the symbol refers to a function or a
data object.
1997-11-28 19:34:27 +00:00
steve
1fbed7c94f
Sort option list so that -amin works.
...
PR: 5171
Submitted by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
1997-11-28 15:48:08 +00:00
charnier
e3613c1ac3
Use .Nm ktrace instead of .Nm in SYNOPSIS section: otherwise, a newline is
...
missing.
1997-11-24 07:23:59 +00:00
jraynard
5ea849a098
Cleanup: fix a few typos, fit ASCII output onto an 80-column terminal
...
and use a fixed font which actually exists.
1997-11-23 02:02:39 +00:00
fenner
91940416f2
Suggest using "-b" or "-t" if the connection is reset (typical symptom
...
of broken TCP stack).
1997-11-22 01:00:42 +00:00
guido
55205429c1
Style fix.
...
Complaint by: Bruce
1997-11-19 18:57:49 +00:00
jdp
0fdbfe2bab
Back out revision 1.10. It broke the build of sh, which compiles
...
this file with warnx() defined as a macro.
1997-11-18 15:23:23 +00:00
jdp
fd9d1842e6
Fix: too many arguments for format in call to sprintf().
1997-11-18 05:53:03 +00:00
jdp
c0275eb956
Fix: too many arguments for format string in 4 calls to warnx().
1997-11-18 05:45:19 +00:00
jdp
07854ddb8b
Add missing argument detected by "-Wformat". Make messages more
...
consistent.
1997-11-18 03:50:25 +00:00
jdp
5e61620bb6
Add missing arguments detected by "-Wformat".
1997-11-18 03:27:34 +00:00
guido
d692b6bcbf
Make sure you do not get unexpected surprises whena remote file starts with '|'.
...
Reviewed by: Joerg Wunsch
1997-11-17 19:29:16 +00:00
steve
c6944bfd2f
Note in manpage how extraneous output in initialization scripts
...
can cause rdist to fail.
PR: bin/4954
Reviewed by: wollman
Submitted by: jhs
1997-11-16 13:26:03 +00:00
obrien
88e48b4b98
style-police got me. :-)
...
Also fixed some "didn't make the most sense" problems.
Submitted by: bde
1997-11-12 04:39:33 +00:00
steve
0896286884
Correct some anomalies in the man page.
...
PR: 3808
Parially submitted by: Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
1997-11-11 05:00:59 +00:00
ache
69b3def964
Add (unsigned) cast to prevent overflow in %
...
Submitted by: "Alex G. Bulushev" <bag@demos.su>
1997-11-10 08:03:36 +00:00
obrien
61fdf2fa6d
Document the ``-o 3'' option.
...
The Man award to: Jo"rg
1997-11-09 16:08:11 +00:00
obrien
2e4b81cf96
Need to skip argv[0] when we are named "sum".
1997-11-09 05:47:55 +00:00
obrien
2a24ee7edf
When called "sum", it is not documented as accepting any arguments.
1997-11-09 05:35:26 +00:00
obrien
00ef31d9b5
If "-l" is given, make sure the target of the link exist.
1997-11-08 22:15:55 +00:00
ache
4da50d0b2b
Add Slovene link
1997-11-07 15:40:55 +00:00
ache
9f77a679cc
Add link to Polish locale
1997-11-07 15:27:12 +00:00
ache
bf03f8b79c
Add Polish link
...
Submitted by: Andrzej Bialecki <abial@warman.org.pl>
1997-11-07 15:18:11 +00:00
joerg
a79b41490a
Make window(1) honor the LC_CTYPE setting.
...
While i was at it, don't export \E[OA style cursor key strings into the
TERMCAP variable since window's emulation doesn't support it. Instead,
convert to \E[[A etc.
1997-11-05 20:20:17 +00:00
ache
4f252df3ad
Localize it
1997-11-04 05:33:15 +00:00
steve
2fba0f4632
/etc/magic -> /usr/share/misc/magic
...
PR: docs/4872
1997-11-04 03:56:56 +00:00
charnier
16031202f5
Add const to copyright string. Hide sccsid string.
1997-11-03 07:51:05 +00:00
charnier
7114798a5d
Convert to mdoc.
1997-11-03 07:48:26 +00:00
charnier
b5becb6266
Mdoc'ify man page.
1997-11-03 07:45:33 +00:00
charnier
38a31a41ac
Use err(3). Silent -Wall.
1997-11-03 07:44:25 +00:00
wosch
48647c7540
Typo.
...
PR: docs/4911
Submitted by: Vasim Valejev <vasim@uddias.diaspro.com>
1997-11-01 15:06:40 +00:00
ache
79136b2cb8
Change diags to see what part of url actually parsed, see
...
previous change about #? parms
1997-11-01 05:47:41 +00:00
jraynard
154d1d7db2
Balance parentheses around command abbreviations.
...
PR: 4888
Submitted by: h-nokubi@nmit.tmg.nec.co.jp
1997-11-01 00:56:15 +00:00
ache
387b4eb4a3
Don't search for ':' port in ?# params part
...
Require to correctly parse http://...cgi?http:// ...
1997-10-31 23:33:44 +00:00
guido
ee40c84c0b
I wonder how I managed to get the krb.h include wrong. Anyway: correct it.
1997-10-28 21:20:21 +00:00
ache
2603f3ad79
1) Create intermediate directories with 755, not 777
...
2) Exit with error diagnostic if file exists but not a directory (-d)
3) Do chmod independently of chown (-d)
1997-10-28 14:20:10 +00:00
ache
5865a758bc
1) Ignore -C with -d, not fail (for $(INSTALL) macro from /etc/make.conf)
...
2) When uid/gid not specified, not try to set 0:0 owner, just do nothing.
It makes possible to use install -d by users without setting
their uid:gid each time.
3) Be more specific where install_dir fails
1997-10-27 22:53:33 +00:00
guido
631fc64480
Add -c option that allows root to specify a login_class.
1997-10-27 22:05:12 +00:00
steve
ed59069625
Better wording explaining that all single character options
...
are extensions along with the previous list of primaries.
Suggested by: bde
1997-10-27 14:25:54 +00:00
steve
f5bda15887
Offending statement removed from STANDARDS section. From what I
...
can gather from the Posix spec that I have (which is very old)
all one character options are extensions to Posix.
PR: docs/4701
1997-10-27 04:22:13 +00:00
steve
2aee963ba5
Typo fix.
...
PR: docs/4579
Submitted by: Stephen J. Roznowski <sjr@home.net>
1997-10-27 03:31:57 +00:00
wosch
afa12ba94c
typo.
1997-10-26 12:51:30 +00:00
wosch
d0f4001d1d
Use croation week day name. This avoid a name clash
...
between `Subota' and `Sunday'.
^^ ^^
Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
1997-10-26 12:48:50 +00:00
hoek
039edbcc80
Change defaults to match reality.
...
PR: docs/3817
1997-10-24 04:13:41 +00:00
joerg
8d2f5e104f
Fix a fatal typo.
...
PR: bin/4801
Submitted by: mishania@demos.su (Mikhail A. Sokolov)
1997-10-19 09:34:06 +00:00
wosch
167c2cb9c3
Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find.
1997-10-13 21:06:22 +00:00
ache
b5347d93d3
If uptime < 1 min print in in secs otherwise we got confusing message
...
"up 1 user"
1997-10-13 15:17:03 +00:00
helbig
ba81afcca2
Submitted by: Joachim Kuebart, thanks.
...
Add -u option to force unbuffered output
1997-10-12 09:52:49 +00:00
phk
045b39ade8
Fix a misleading comment. Rename a variable to make more sense.
...
Pointed out by by: bde
1997-10-11 07:32:43 +00:00
phk
f1a5d63a7b
struct kmemstats was renamed.
1997-10-10 18:19:48 +00:00
phk
ad5c9a1c33
Make vmstat understand the dynamic malloc stuff. There are a number
...
of ugly hardcoded constants in there.
1997-10-10 14:08:07 +00:00
jkh
a690a4e2f7
Make sure lfp is non-NULL before closing it.
...
PR: 4652
1997-10-09 14:11:19 +00:00
fenner
fd51ab9ae1
Interpret multiple slashes as a single slash in ftp: URL's. This
...
is contrary to RFC1738, which specifies that empty elements between
slashes really mean to send a CWD command with an empty argument.
Most FTP servers consider this an error, so strict RFC compliance
is advisable in this case.
1997-10-08 18:43:53 +00:00
dima
c345be1851
Be more specific about -f/-t options (they're not yet implemented),
...
not just exit with 0 status.
This definitely should go to 2.2.5.
If i won't have any objections - I'll commit it tonight.
1997-10-06 18:52:16 +00:00
fenner
59cc2d4033
Use the RFC1738 interpretation of ftp: URL's, i.e. CWD to each
...
slash-seperated element of the URL and then RETR the last element.
PR: bin/4670
Reviewed by: wollman
1997-10-06 01:09:56 +00:00
fsmp
4de1398f08
For SMP, add a space between the state name and the CPU#.
...
Everything following bumps right 1 character.
1997-10-05 21:20:56 +00:00
helbig
692805a7ce
Added -D_ANSI_SOURCE as discussed with bde,
...
removed bogus -trigraph (pointed out by bde),
included check of operands (suggested by joerg)
1997-10-05 18:44:37 +00:00
jkh
418d0a6a92
Changes to support full make parallelism (-j<n>) in the world
...
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
ache
1d704478e4
Check for invalid lower controls to not claim binary data with chars < 128 as
...
ASCII _text_
Cleanup names detection code
1997-10-04 01:03:28 +00:00
jlemon
d41bb2bc87
Add support for EMS emulation to doscmd. This requires changing the
...
interface for callbacks to doscmd from DOS, obsoleting the instbsdi
redirector. (redir.com replaces it)
A temporary hack is in place so the instbsdi program will (hopefully) work
in the short term.
Submitted by: Helmut F. Wirth <hfwirth@ping.at>
1997-09-30 22:04:06 +00:00
joerg
1327f7f2c8
Ooops, the Makefile was not supposed to be changed. Unspam this.
1997-09-30 19:42:55 +00:00
joerg
c8deb2dc55
Fix a number of fixed-size buffers etc.
...
PR: bin/4520
Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
1997-09-30 19:42:05 +00:00
wosch
8ee659dd96
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
imp
623acf6a29
Add #include <stdlib.h> to pick up prototypes for getenv and friends.
1997-09-29 03:53:53 +00:00
cracauer
ce03b01dce
fetch(3) doesn't get asctime(3) format, wrong length assumed
...
PR: bin/4625
Submitted by: "Timo J. Rinne" <tri@pooh.tky.hut.fi>
Obtained from:bin/4625
1997-09-28 11:25:59 +00:00
markm
ec8266615b
Changes for KTH KerberosIV.
1997-09-28 09:14:41 +00:00
markm
2f9637f84c
Changes for KTH KerberosIV.
...
Quieten -Wall a bit.
From Joe Traister:
The previous patch did not propogate the KRBTKFILE environment variable
into the new environment when -l is given to su, making it impossible
for kdestroy to find the ticket file. This patch corrects that problem
as well as the original segfault problem.
(Fixes PR 3903)
1997-09-28 09:02:16 +00:00
markm
991f2e7747
Changes for KTH KerberosIV.
...
Also quieten -Wall a bit.
1997-09-28 08:57:24 +00:00
markm
9a65690bbf
Quieten -Wall.
1997-09-28 08:46:12 +00:00
peter
66e710212a
YAMF22: (rev 1.3.2.2) Display realtime and idle priorities appropriately.
1997-09-28 00:59:04 +00:00
wosch
124b848338
Translated too much of it.
...
Submitted by: Andrzej Bialecki <abial@korin.warman.org.pl>
1997-09-27 10:31:27 +00:00
wollman
b26754caaa
Having done ICMP, UDP, and IP, could a TCP display be far behind?
1997-09-27 00:44:55 +00:00
phk
f5b2fcb0c6
Add canonical 32bit crc as alorithm 3.
...
PR: 4615
Reviewed by: phk
Submitted by: Mike Meyer <mwm@shiva.the-park.com>
1997-09-26 08:02:18 +00:00
peter
15c11737ff
Show size of vnode pool in vmstat mode.
1997-09-25 01:14:25 +00:00
wollman
92277fa474
Emboldened by the success of yesterday's ICMP statistics display,
...
I've now added one that does IP (and also UDP) statistics.
1997-09-25 00:37:32 +00:00
julian
60b0e6fbbf
Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
...
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)
1997-09-24 20:38:12 +00:00
julian
5771b3d5f6
put in the link for the dummy collation module for Shift-JIS
1997-09-24 20:06:53 +00:00
wollman
57eb2ca27a
Add a mode to display ICMP statistics.
...
Inspired by: IRIX netstat -C
1997-09-24 02:43:45 +00:00
wosch
6947e679d6
Float overflow in statistic function for large databases
...
(>100MB characters).
1997-09-23 12:47:47 +00:00
wosch
21a8eb1d31
Polish message catalogs for vi.
...
Submitted by: abial@warman.org.pl
PR: 4522
1997-09-22 23:14:37 +00:00
wosch
7b43142644
Polish message catalogs for ee.
...
Still buggy. Help messages and command names are not in sync,
eg. 'quit' <-> 'KONIEC'.
Submitted by: abial@warman.org.pl
PR: 4522
1997-09-22 20:20:28 +00:00
wosch
ae07872751
Add ypwhich(1) and yppoll(8) manual pages.
...
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
dima
c0e4a7dc57
Fix argument string for getopt.
...
Submitted by: dillon@best.net
1997-09-18 23:16:17 +00:00
joerg
02b9c60de6
Use -ansi -pedantic -trigraphs, as suggested by Bruce.
...
Enforce that only Posix-spec'ed options are being used, so people could
use this as a Posixificator of some kind.
Document the Posix usage in the man page, so to make it clear what's
the difference between Posix c89, and gcc.
1997-09-18 20:55:50 +00:00
phk
d8ac409160
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
joerg
d1678dfa02
Activate c89(1).
1997-09-17 20:46:58 +00:00
joerg
710afcd5d3
This commit was generated by cvs2svn to compensate for changes in r29544,
...
which included commits to RCS files with non-trunk default branches.
1997-09-17 20:44:54 +00:00
joerg
07f8a58416
c89 is the Posix.2 name for a C compiler that accepts ANSI/ISO C source
...
code. Basically a shortcut to cc -ansi -trigraphs.
1997-09-17 20:44:54 +00:00
jkh
ec064bd139
revert: The warning was supposed to irritate someone into fixing this.
1997-09-15 11:02:10 +00:00
jkh
77b0abb48b
Proper casting for clnt_broadcast() args.
1997-09-15 09:47:16 +00:00
jkh
b699439ba5
Silence a warning with a cast.
1997-09-15 09:46:42 +00:00
jkh
75fe7a4d61
unsigned char -> caddr_t for mmap's return value.
1997-09-15 08:31:20 +00:00
phk
a44ef51975
Fix a comment.
...
Submitted by: Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-15 08:20:27 +00:00
ache
be830b8d98
Change manual declarations of some functions to proper includes
...
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
ache
2b00c45114
Allow backspace too
1997-09-15 00:42:04 +00:00
ache
c1fa713ef3
Oops, fix upper controls test
1997-09-15 00:17:38 +00:00
ache
58012f27d3
Localize it. High controls disabled in any case.
...
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
wosch
cbd8eade7a
Install gencat.1 manpage.
...
Obtained from: OpenBSD.
1997-09-14 20:23:02 +00:00
phk
a4e52dd09b
In these days, waiting one full second for more to appear is far too long.
...
Let's try 250ms.
1997-09-14 19:02:13 +00:00
peter
7f77a9386b
When calling strip, temporarily close the file, call strip and then
...
reopen it after strip has finished. This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
1997-09-14 08:21:44 +00:00
wosch
46932ae52e
PR: docs/4383
...
su manpage ambiguous regarding command prompt
Submitted by: sheldonh@iafrica.com
1997-09-13 17:44:20 +00:00
wosch
fde8a8ec46
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
wosch
aca2488187
Add manpage links ypchpass.1, ypchfn.1, ypchsh.1
1997-09-13 12:21:25 +00:00
ache
684eb8f09f
Document newly added -d option and fix usage string
1997-09-12 02:26:12 +00:00
ache
0357dcdb99
The "-d" option dumps out the entire process list on a per controlling
...
tty basis, instead of just the top level process.
Submitted by: terry
1997-09-12 02:22:21 +00:00
joerg
caa2e7e2da
Teach comm(1) and uniq(1) about an option for case-insensitive work.
...
PR: 3042
Submitted by: graphix@iastate.edu (Kent Vander Velden)
1997-09-07 15:09:22 +00:00
nate
fda5f1a414
"lmd" -> "-lmd"
...
Submitted by: Vincent Poy <vince@venus.gaianet.net>
1997-09-05 18:15:29 +00:00
peter
be5fa44882
If elf, don't add libmd.a just because we link against libskey.so.
...
A
1997-09-05 12:04:31 +00:00
peter
9d5ac12664
If building elf, don't link in libmd.a just for libskey.so to use. Under
...
elf, libskey.so will not expose it's implementation on it's caller.
1997-09-05 12:00:01 +00:00
nate
469430223c
- Changed default PAGER from 'less' to 'more', since we don't have less
...
in the base system.
PR: bin/4471
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
1997-09-05 04:24:22 +00:00
tegge
cca2f92f76
Added an replacement for callrpc that uses tcp as primary transport method.
...
This enables larger reply messages.
1997-09-04 21:21:56 +00:00
jdp
24ac227fe1
Touch up the code that implements "ldd -v".
...
Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes between programs, shared libraries, and object
files. Make the entire program "-Wall" clean.
1997-09-02 21:54:39 +00:00
wosch
33086c126b
Fix file names.
1997-08-31 21:33:27 +00:00
alex
a84f234706
Display file size as an unsigned long.
1997-08-31 01:27:04 +00:00
jmg
416e9a71f9
fix a few spelling changes
...
Submitted by: Josh Gilliam
Closes PR's: 4429, 4431-4438
PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
jmg
4b06aeefe8
fix misspelling
...
Submitted-by: Josh Gilliam
Closes PR:4428
1997-08-30 11:10:56 +00:00
imp
56b404f656
Add -execdir which will execute the exec command in the dir of the file
...
in question. This change and the fts changes should be merged into 2.2-stable
as soon as they are vetted in -current. This should allow cleaning of files
in /tmp to be reneabled.
Obtained from: OpenBSD
1997-08-29 23:09:45 +00:00
charnier
d402727649
Use err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
...
OpenBSD).
Obtained from: OpenBSD.
1997-08-29 11:56:51 +00:00
charnier
e94e60b6cd
Use err(3). Add Xreferences. Delay the compute of default domain.
...
Obtained from: OpenBSD
1997-08-29 11:52:52 +00:00
charnier
c1711414d3
Use err(3). Add references to others man pages. Wait for the user to
...
supply the domain before computing a default one.
Obtained from: OpenBSD
1997-08-29 11:48:50 +00:00
wosch
7f839a6925
du(1) always exit with value zero.
...
$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0
1997-08-29 11:40:00 +00:00
itojun
6ebf25c91c
more sanity check before making output.
...
bark when sed fails.
Submitted by: wosch@apfel.de
1997-08-29 00:44:34 +00:00
jlemon
38914117f0
Make X11 support in doscmd dependent on the actual libX11.a library and
...
include directory, rather than X11BASE. This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by: A Joseph Koshy <koshy@india.hp.com>
1997-08-28 18:23:40 +00:00
itojun
a7e970a8d9
To cope with shell archive file generated by GNU sharutils 4.2.
...
(it assumes that shar will bark if there's invalid argument specified)
Patch suggested by Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.
Reviewed by: joerg_wunsch@uriah.heep.sax.de
1997-08-28 14:35:09 +00:00
charnier
0497c512b6
Use err(3). Rewrote man page in mdoc format. The user visible change is that
...
report of s/r and r/r conflicts is now printed in two separate lines beginning
by `yacc: '.
1997-08-28 06:33:53 +00:00
charnier
301a83d5c0
Use err(3). Add usage and prototypes. Use getopt(). Document -v flag.
1997-08-28 06:28:08 +00:00
imp
fafa82ed45
Stop parsing args before user supplied to argument in sendmail.
...
Submitted by: Oliver Friedrichs <oliver@silence.secnet.com>
1997-08-28 04:40:51 +00:00
jkh
f9bc029397
Don't preferentially execute Makefiles in ${OBJDIR} - it just causes
...
confusion and suffering. Tested by "make world".
Submitted by: gibbs
1997-08-27 06:31:27 +00:00
charnier
510a917b8a
Uncomment sccsid string and enclose it inside #if 0/#endif.
...
Cosmetic in man page.
1997-08-27 06:29:23 +00:00
charnier
c70b56d9e7
Use err(3) instead of local redefinition.
1997-08-27 06:26:23 +00:00
peter
7dbdc70f84
Adapt to recent smp tree changes..
1997-08-27 03:48:25 +00:00
charnier
b7e4fd63e8
Use err(3). Add usage() and prototypes.
1997-08-26 11:23:37 +00:00
charnier
7f44bec4ad
Cosmetic in usage string.
1997-08-26 11:17:16 +00:00
charnier
19da442f11
Use err(3).
1997-08-26 11:16:08 +00:00
charnier
a5eee593ac
Use err(3). Add usage().
1997-08-26 11:14:57 +00:00
charnier
80e0f83375
Cosmetic in usage string. Mdocify author section.
1997-08-26 11:13:39 +00:00
charnier
287f219c02
Main() returns int.
1997-08-26 11:08:24 +00:00
eivind
0e114b0322
Removed a buffer overflow in args().
...
While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.
1997-08-26 10:25:19 +00:00
charnier
f320b3a306
Just forgot a moment that mdoc macros are limited to 9 parameters.
...
Found by: Bruce.
1997-08-26 07:04:20 +00:00
charnier
98f0299552
Revert some casts I introduced.
...
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
fsmp
513dcef161
Make explicit '-B' option propigate to submakes.
...
No one has said this would be a bad thing, so given the dearth of comments
I decided to add it, as its an important step towards getting "make world"
'parallel-ized'.
Reviewed by: silence
Submitted by: nnd@itfs.nsk.su
1997-08-25 21:35:44 +00:00
wollman
fefb319840
Print out the two new fields in the ICMP stats. While we're at it, also
...
convert icmp_stats() to use sysctl(3) to retrieve the information
rather than kvm. This makes it easy to also print whether ICMP address
mask responses are enabled, so do so.
1997-08-25 16:57:05 +00:00
wollman
143b997329
While I'm in here, fix address printing for `netstat -f unix' which has been
...
broken for a couple of weeks now...
1997-08-25 16:55:00 +00:00
charnier
e779aaeea3
Use err(3).
1997-08-25 06:49:45 +00:00
charnier
628c52489f
Sync usage string according to man page. Silent -Wall.
1997-08-25 06:44:59 +00:00
charnier
b4ee63a927
Use err(3). Add usage().
1997-08-25 06:43:22 +00:00
charnier
0beb621f63
Typo in usage(). Err -> errx when testing allocations.
1997-08-25 06:42:19 +00:00
charnier
5aeacfdd37
Use err(3). Add some %d to %ld changes.
1997-08-25 06:40:05 +00:00
charnier
bfcfa0d6a6
Use err(3). Add usage() and prototypes.
1997-08-25 06:37:37 +00:00
charnier
eee8c72e1a
Use err(3). Nm vgrind -> Nm in man page.
1997-08-25 06:36:04 +00:00
imp
4760384ee3
Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
...
to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable
buffer overflow in tipout.c.
Reviewed by: millert@openbsd.org (tipout.c)
Submitted by: millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00
steve
c533a8d3b5
Cleanup inconsistencies in the manpage.
...
PR: docs/3709
Submitted by: Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-08-23 21:42:46 +00:00
steve
4686bb5ffb
Teach ctags(1) how to handle intermediate whitespace in macros
...
and function definitions.
PR: misc/4128
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-08-23 16:13:45 +00:00
joerg
9eee91f94a
Open the file r/o if looking only. Make the error message more useful.
...
PR: bin/3283
Submitted by: Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-08-23 15:51:14 +00:00
joerg
4716831499
Fix the .Dd line.
...
PR: docs/3275
1997-08-23 15:49:52 +00:00
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