Bill Fumerola
f32e012b12
Fix ambigious else.
...
Reviewed By: eivind
1999-07-01 17:59:17 +00:00
Ruslan Ermilov
69d00ab7ca
Document that FTP_PASSIVE_MODE should be explicitly
...
set to `YES' for passive mode to be used by default.
Just setting FTP_PASSIVE_MODE is not sufficient, as
it was before.
Noted by: eivind
Reviewed by: des
1999-07-01 14:32:07 +00:00
Bill Fumerola
4d294cadd5
(1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.
...
(2) Die when there is a problem opening at.allow other then it not existing.
An error other then it not existing might be a trick to somehow
circumvent system security.
Mostly Reviewed By: msmith
1999-07-01 01:07:30 +00:00
Kris Kennaway
624a0c8204
retreived -> retrieved
...
Obtained from: OpenBSD
1999-06-30 12:53:06 +00:00
Bruce Evans
9810672047
Decode all currently supported values of the ptrace `request' arg.
1999-06-26 07:31:13 +00:00
Bill Fumerola
6f955dc9b6
Make a reference to rtprio, which will definatly be of interest to someone
...
looking at this page.
Requested By: Keith Stevenson <k.stevenson@louisville.edu>
1999-06-25 20:54:33 +00:00
Ruslan Ermilov
f62092b8c3
- add "-s src_addr" option to allow setting of the source IP address;
...
- fix two minor bugs;
- slightly cleanup manpage.
1999-06-25 14:11:16 +00:00
Warner Losh
b1bd32ef4a
Don't add '?' to getopt's options.
1999-06-24 06:45:32 +00:00
Mike Pritchard
a684cccdd6
Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
...
that whatis(1) will produce the expected results.
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
Mike Pritchard
aee054de4a
Add the 'reset' command to the NAME section.
...
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 04:48:41 +00:00
Sheldon Hearn
8a56be1af7
Add a messy example of how to get debug-mode error messages written to
...
a file in the user's home directory.
Requested by: hoek
1999-06-23 15:44:40 +00:00
Tim Vanderhoek
2a059832d8
Don't strip trailing .suffixes from filenames. Although obviously
...
intentional, this behaviour is far too obnoxious given the number of
filenames such as rpc.statd we have.
Submitted by: Chris Costello [3]chris@calldei.com (bin/11303)
1999-06-21 19:52:09 +00:00
Sheldon Hearn
6bad8b7d57
Add missing argument to synopsis.
...
PR: 11805
1999-06-21 12:09:31 +00:00
Brian Feldman
378949dbca
This fixes the problem of cancelling an FTP transfer resulting in
...
a bogus error ("parsing URI".) I also fixed an inconsistency in
another fs_status.
1999-06-21 02:38:16 +00:00
Sheldon Hearn
1427b87c55
Postpone call to usage() until after all options are processed so that
...
the -d debugging option produces consistent behaviour.
1999-06-18 08:52:13 +00:00
Sheldon Hearn
4b54a72dab
Please forgive me, it's my first day on the block. Forgot to mention:
...
PR: 11987
1999-06-17 14:49:19 +00:00
Sheldon Hearn
f21ecb5f63
Null commit to reflect that the previous commit added warnings for
...
previously unreported malloc() failures, and changed the exit status
for those failures to encourage MTA retries.
1999-06-17 14:48:02 +00:00
Sheldon Hearn
42a1247753
* Add a command-line option to enable debugging mode, which sends error
...
messages to stderr instead of syslog.
* Fix manpage with respect to diagnostics.
Reported by: rfg@monkeys.com (Ronald F. Guilmette)
1999-06-17 14:44:42 +00:00
Ruslan Ermilov
a6bd23ccf6
Add "-N" option to the SYNOPSIS and usage().
1999-06-17 07:12:39 +00:00
Dmitrij Tejblum
7a6ec4cfb2
Syscall arguments are now properly aligned. Print them, and syscall return
...
values, as longs, instead of int.
1999-06-16 18:46:40 +00:00
Ruslan Ermilov
ec5035fa0b
Add "-s src_addr" option to allow setting of the source IP address.
1999-06-16 15:26:22 +00:00
Mike Pritchard
d9a91c1439
Correctly document the two different object file formats that can be
...
used with objformat.
PR: 10877
1999-06-15 19:19:51 +00:00
Ruslan Ermilov
1c51699372
It was possible to circumvent telnet's security ``-E'' (no escape at all)
...
option by running it with ``-8 -E'' and passing it 0xff character.
PR: 6317
Reviewed by: des, David Borman <dab@bsdi.com> (the author)
1999-06-14 18:46:15 +00:00
Nick Hibma
33d56839e3
Man pages for top refer to only 2.x, but not to 3.x and later
1999-06-14 12:06:11 +00:00
Foxfair Hu
c6570d1dc3
Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
...
It makes compatible with IANA charset defination, and let existent I18N
app happier.
Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets >
1999-06-08 02:25:19 +00:00
Dag-Erling Smørgrav
ff7b59cd9e
Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again.
...
PR: bin/12070
Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
Specifically check that FTP_PASSIVE_MODE is set to YES, rather than
just checking if it is defined.
Discussed on: freebsd-current
1999-06-07 16:35:15 +00:00
Kris Kennaway
735df1561f
Correct description of -c and -w options
...
Inspired by: PR docs/11774
Submitted by: Chad R. Larson <chad@freeway.dcfinc.com>
1999-06-06 14:16:51 +00:00
Kris Kennaway
b9569cad67
The -perm option takes argument [-]mode, not [-mode]
...
Obtained from: NetBSD, by way of OpenBSD
1999-06-06 07:37:18 +00:00
Tim Vanderhoek
296697bb16
- When trying to decide if $EDITOR == "vi", match against only the first
...
two characters of $EDITOR. This allows things like "vim" and "vi -G"
(although nvi would fail...oh well).
- Avoid certain cases where the editor is passed an invalid line number.
1999-06-05 20:27:08 +00:00
Ruslan Ermilov
436d5d04f4
Fix a width.
1999-06-05 15:03:47 +00:00
Julian Elischer
8759eb5c80
Support the IANA definition of Shift Jis nameley ja_JP.Shift_JIS
...
as well as the X11 version ja_JP.SJIS
1999-06-05 03:04:03 +00:00
Tim Vanderhoek
c5b52d6d9d
No, the space required for a string is strlen() _plus_ one... Oops.
1999-06-04 19:35:22 +00:00
Ruslan Ermilov
c3e53c0457
getvfsbyname() returns zero on success.
...
PR: 12000
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1999-06-03 09:03:50 +00:00
Tim Vanderhoek
5bba1d262a
Don't print backspaces in first column since they backup to the prev line.
1999-06-02 03:42:39 +00:00
Tim Vanderhoek
ac8ab44cf6
Grok gtags too.
1999-06-01 20:02:34 +00:00
Tim Vanderhoek
0ac2ad320e
General code cleanup [incomplete]. Make the arrow keys work.
1999-05-30 18:06:58 +00:00
Bruce Evans
ca4449cf8c
Fixed usage message to almost match the man page. The old -d option and
...
the new -i option were missing.
Fixed style bugs in previous commit:
(1) initialisation of a local variable in its declaration.
(2) inconsistency of (1) with style of nearby code.
(3) disorder of declaration for (1).
(4) a line longer than 80 characters.
(5) bitrot in the printf() -> err() cleanups to help bloat the line in (4).
1999-05-27 12:58:41 +00:00
Tim Vanderhoek
168de44296
Handle ".if ${T} > 1 || ${T} < 3" and friends correctly.
...
Reported-by: asami
1999-05-25 13:45:08 +00:00
Peter Wemm
7c8dec7b63
Add a -i localname switch (restricted to root) to specify a different
...
local "login" name for rcmd(3). This is particularly useful for things
like portslave and other packages with terminal server functionality
where a login can either run ppp locally or get shunted off to another
box via rlogin depending on radius authentication etc. Quite often the
local box doesn't even have accounts, so a flag such as this is needed.
Obviously this is restricted to callers with uid == 0.
1999-05-25 11:14:33 +00:00
Jean-Marc Zucconi
ef9866be68
xargs was spliting the input in a very different way from everyone else,
...
and was also a bit inconsistent: leading blanks, or any double blanks
generated empty arguments, but a trailing blank did not.
PR: bin/2630, bin/10914
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1999-05-23 15:58:22 +00:00
Jean-Marc Zucconi
7e74cac42e
Construct the profile file name from the name of the executable. A program
...
compiled with -pg and run will generate a file <executable-filename>.gmon,
not gmon.out.
PR: bin/8426
1999-05-23 00:37:56 +00:00
Tim Vanderhoek
6e01d46b30
If we're going to do such a non-UNIX(tm)y thing as appending output
...
to a file instead of truncating, at least word the notice of output
redirection appropriately.
1999-05-22 06:57:22 +00:00
Jean-Marc Zucconi
cf4b2350b9
Add euro-currency and constant rates of EMU area.
...
PR: bin/9263
Submitted by: Timo J. Rinne <tri@freebsd.org>
1999-05-22 02:01:59 +00:00
Robert Nordier
34ba737933
Improve handling of "do ... while" following "else". This change
...
eliminates some incorrect "Unmatched 'else'" errors.
1999-05-21 14:46:52 +00:00
Jean-Marc Zucconi
619f08032e
FIx the output of long command names.
...
PR: bin/10027
Submitted by: Arne Henrik Juul <arnej@math.ntnu.no>
1999-05-21 01:09:45 +00:00
Jean-Marc Zucconi
49936df39b
Ignore the MAIL environment variable when the -u flag is set.
...
PR: bin/8665
1999-05-20 22:23:04 +00:00
John-Mark Gurney
85020e14f0
make md5 checksums actually work instead of simply calculating the length
...
of an empty buffer... the output file wasn't readable... also warn that
we can't checksum on stdout and print out the base64 encoded version of the
md5 checksum...
Site to actually return md5 digest: web.golux.com
Verified that fetch was broken: Ken Coar <Ken.Coar@Golux.Com>
1999-05-18 19:37:37 +00:00
Wolfram Schneider
4bc71ceab3
Delete debug line.
...
PR: bin/9793
Submitted by: Andy Farkas <andyf@speednet.com.au>
1999-05-14 18:45:18 +00:00
Wolfram Schneider
2d3de6c999
Don't overwrite the variable LOCATE_CONFIG
...
This is useful for people who want index their home directory:
$ env LOCATE_CONFIG=$HOME/.locate.rc /usr/libexec/locate.updatedb
Submitted by: Dmitry Morozovsky <marck@rinet.ru>
1999-05-14 10:18:43 +00:00
Kris Kennaway
4b9cb490c3
Correct an error in a manpage example, add -Wall -W to Makefile (no
...
warnings given) and modify source to use arc4random() instead of random().
Reviewed by: ache
1999-05-13 12:18:24 +00:00