Commit Graph

2855 Commits

Author SHA1 Message Date
bde
4befe7d772 Decode all currently supported values of the ptrace `request' arg. 1999-06-26 07:31:13 +00:00
billf
05ae386675 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
ru
244461c6df - 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
imp
3e907c97e9 Don't add '?' to getopt's options. 1999-06-24 06:45:32 +00:00
mpp
0fc7bcdcdf 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
mpp
f59411ca5e 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
sheldonh
dc41651ff4 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
hoek
b0d1112d84 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
sheldonh
4297b9c73f Add missing argument to synopsis.
PR:	11805
1999-06-21 12:09:31 +00:00
green
5f698407ee 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
sheldonh
a148faed85 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
sheldonh
6edf08913a Please forgive me, it's my first day on the block. Forgot to mention:
PR:	11987
1999-06-17 14:49:19 +00:00
sheldonh
3aadad3899 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
sheldonh
80d2caddee * 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
ru
af37d43a70 Add "-N" option to the SYNOPSIS and usage(). 1999-06-17 07:12:39 +00:00
dt
d51b07c3bd 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
ru
f4a059387b Add "-s src_addr" option to allow setting of the source IP address. 1999-06-16 15:26:22 +00:00
mpp
735f79ca22 Correctly document the two different object file formats that can be
used with objformat.

PR:	10877
1999-06-15 19:19:51 +00:00
ru
25e98211f9 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
n_hibma
05c69628cc 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
f3baa7a602 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
des
7abcbd3e0f 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
fd58402d0d 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
8fd86ea132 The -perm option takes argument [-]mode, not [-mode]
Obtained from:	NetBSD, by way of OpenBSD
1999-06-06 07:37:18 +00:00
hoek
2bd3dfd176 - 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
ru
0974177db3 Fix a width. 1999-06-05 15:03:47 +00:00
julian
930c75fce7 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
hoek
d8bbdc2b0a No, the space required for a string is strlen() _plus_ one... Oops. 1999-06-04 19:35:22 +00:00
ru
0916e469c3 getvfsbyname() returns zero on success.
PR:		12000
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1999-06-03 09:03:50 +00:00
hoek
8f76b065e1 Don't print backspaces in first column since they backup to the prev line. 1999-06-02 03:42:39 +00:00
hoek
655dacb603 Grok gtags too. 1999-06-01 20:02:34 +00:00
hoek
e7b91529a0 General code cleanup [incomplete]. Make the arrow keys work. 1999-05-30 18:06:58 +00:00
bde
5b515643f5 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
hoek
428869e676 Handle ".if ${T} > 1 || ${T} < 3" and friends correctly.
Reported-by:	asami
1999-05-25 13:45:08 +00:00
peter
d3e21ccf3e 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
jmz
43df91fb81 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
jmz
e3a401804e 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
hoek
4e01930930 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
jmz
0c6f9478e9 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
rnordier
aefe578c02 Improve handling of "do ... while" following "else". This change
eliminates some incorrect "Unmatched 'else'" errors.
1999-05-21 14:46:52 +00:00
jmz
8fcff942ad 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
jmz
153ac8544a Ignore the MAIL environment variable when the -u flag is set.
PR:		bin/8665
1999-05-20 22:23:04 +00:00
jmg
932e1f939d 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
wosch
d98640349c Delete debug line.
PR:	bin/9793
Submitted by: Andy Farkas <andyf@speednet.com.au>
1999-05-14 18:45:18 +00:00
wosch
89703f7be6 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
ad387cb09f 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
bde
c82c6570a3 Backed out the previous commit, except for the parts that reduced
the magicness of 200.  Cleaned up the remaining parts.  Circularisation
of the list of malloc types was a kernel bug (now fixed).  Interfering
with applications' definitions of pgtok is a system header bug (not
fixed).
1999-05-12 11:49:47 +00:00
des
9d2e7febfd Brucify. 1999-05-12 06:57:07 +00:00
peter
a470222f84 Tidy up references to <sys/rlist.h> and support for the old swap management
that went away in January.
1999-05-11 14:32:18 +00:00
des
75753f8e53 Sync usage() with man page.
PR:		11539
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-05-11 14:23:16 +00:00