wiz
6a22b79c1a
passwd(5), not passwd(4). From Igor Sobrado in PR 23278.
2003-10-27 08:23:40 +00:00
wiz
4580c6ac21
Do not xref alias(1) since that points to csh(1).
...
Noted by Igor Sobrado in PR 23278, fixed following a suggestion by Greg A. Woods.
2003-10-27 08:22:21 +00:00
lukem
7568eb663a
skip a leading `-' on the arg0 name when calling el_init()
2003-10-27 06:19:29 +00:00
lukem
171d653219
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
lukem
5037f26eb0
don't need -DHAVE_CONFIG_H here
2003-10-26 09:30:55 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem
857ab1bdd0
use ${HOST_SH} instead of /bin/sh
2003-10-26 03:50:07 +00:00
lukem
130ab7336b
Rework how MAKEVERBOSE operates:
...
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
fvdl
84f47d78af
Don't initialize an integer field with NULL.
2003-10-21 02:11:21 +00:00
fvdl
cf96462927
Don't pass an integer as NULL.
2003-10-21 02:08:14 +00:00
christos
1bbc81a501
Let libedit handle signals so we resize properly. I might change my mind
...
later on that.
2003-10-19 19:13:21 +00:00
lukem
ddff99b7f4
rework to use the newer _MKMSGCREATE (et al) macros
2003-10-19 04:45:01 +00:00
lukem
1e840c4d40
Ensure that $TERM is set in the real environment before calling el_init(3)
...
when executing "set -o (emacs|vi)". Fixes [bin/23175] from me.
2003-10-19 01:55:05 +00:00
wiz
bbbbcbe44f
Fix typos in comments. From Jared Yanovich via jmc@openbsd.
2003-10-19 01:52:45 +00:00
lukem
a9d371700c
improve MAKEVERBOSE message for HOST_LINKed tools
2003-10-19 00:43:02 +00:00
lukem
29e7d09b65
Support MAKEVERBOSE (XXX: mksyntax is noisy when MAKEVERBOSE=0).
...
Use DPSRCS appropriately.
2003-10-19 00:35:26 +00:00
lukem
046b9ab451
support MAKEVERBOSE
2003-10-19 00:14:16 +00:00
lukem
51b9502fb1
Link the host tools against tools/compat -lnbcompat since someone decided to
...
use strlcpy() and snprintf() in the host tools...
Should fix part of [toolchain/22504], and build problems on other
platforms that don't have strlcpy() or snprintf()...
2003-10-18 07:58:35 +00:00
wiz
6c7baec4af
Add Xr for dev_mkdb(8), per PR 23168. Increase width in FILES section while here.
2003-10-16 10:00:54 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
agc
ed6ed8e698
Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
dsl
13fd6f5a25
Fix rmdir -p x/y/z//
...
Remove redundant code.
2003-09-29 21:11:15 +00:00
dsl
b17e1b5c12
Fix 'set "*" b; case "* b" in "$@") ...' and 'set "*"; case 1 in "${#1}") ...'
...
Which got broken by the previous fix.
2003-09-22 12:17:24 +00:00
wiz
835710a2a0
Bump date for previous; comma cleanup.
2003-09-22 06:01:43 +00:00
jschauma
21ab633500
After last weeks addition of the '-b' flag, add '-B' and '-w' flags,
...
suggested by uwe@, inspired by FreeBSD. The three flags override
each other (and the '-q' flag) and behave as follows:
-B Force printing of non-printable characters in file names as
\xxx, where xxx is the numeric value of the character in octal.
-b As -B, but use C escape codes whenever possible.
-w Force raw printing of non-printable characters. This is the
default when output is not to a terminal.
2003-09-22 02:43:19 +00:00
itojun
7e1f466773
realloc pedant
2003-09-19 08:46:32 +00:00
itojun
c747caaab9
make signal range check consistent.
2003-09-19 05:31:11 +00:00
grant
0faf575771
wait for compression program to finish before exiting.
...
fix races condition resulting in a zero length archive after pax
exits.
patch from OpenBSD, provided by Joerg Sonnenberger in PR bin/22740.
2003-09-18 09:18:24 +00:00
jmmv
4c79e7620f
Drop equal signs from rule definitions; they cause problems with "bison -y".
2003-09-17 17:33:36 +00:00
christos
4dcb41ae2c
PR/22640: Paul Jarc: sh mishandles positional parameters in case. Fixed
...
from FreeBSD PR 56147.
2003-09-17 16:01:19 +00:00
wiz
fb2e1913c5
Bump date for previous.
2003-09-14 21:56:25 +00:00
jschauma
6a75fbb636
Following private discussion with kleink@ and hubertf@ and public discussion
...
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
jschauma
2ccef82cc4
Implement '-b' option, which, following FreeBSD, Linux and (I think) Solaris
...
prints octal escapes for nongraphic characters.
2003-09-14 19:16:05 +00:00
jmmv
0ec085e737
Add 'trace' to CLEANFILES, generated when debug is enabled.
2003-09-14 12:11:10 +00:00
jmmv
af90286087
Fix crash when DEBUG=2, by opening the log file ASAP. Reviewed by simonb@.
2003-09-14 12:09:29 +00:00
christos
e84c1029c6
Comment out unneeded code now that the kernel has been fixed to ignore
...
trailing slashes.
2003-09-11 17:38:12 +00:00
jmmv
e3d9d7109f
Add ':' to the list of characters to be escaped. Fixes completion problems
...
when the filename includes this character.
2003-09-11 10:24:57 +00:00
wiz
29119d0e3b
Reinstate paragraph about -E, sort option descriptions, and bump date for -E addition.
2003-09-08 13:13:08 +00:00
wiz
7554e5998d
Some more fixes: sort sections, escape some stuff for HTML output.
2003-09-08 13:02:59 +00:00
wiz
25eb7d566d
Improved version of OpenBSD's mdoc'ed version of ed(1) (v1.42).
2003-09-08 12:58:41 +00:00
wiz
a3390acd07
Punctuation improvement from jmc@openbsd.
2003-09-07 15:58:58 +00:00
wiz
6c3a1a5dfb
Some small tweaks from jmc@openbsd:
...
- .Bk/.Ek for SYNOPSIS
- .Ev for environment variables
- fix bogus -offsets
2003-09-06 16:39:34 +00:00
itojun
3efe781f15
plug memory leak. PR bin/22694
2003-09-05 20:16:50 +00:00
wiz
4157dbb127
Sort options (AaBb...).
2003-09-02 08:36:20 +00:00
wiz
5526319b35
In emacs mode, when expanding file names containing characters that should
...
get quoted with <ESC>*, _do_ quote them.
Patch from Federico Schwindt fgsch@openbsd -- thanks!
[rev 1.25 in OpenBSD version of this file]
2003-08-28 19:53:32 +00:00
wiz
9fdd63d776
From FreeBSD bug report 54294, via Jonathan Gray and then jmc@openbsd:
...
-l option to ls(1) gives all permissions, not just owner and group.
2003-08-28 19:44:09 +00:00
uwe
9267b09572
Include "config.h" if building as a host program.
...
Need this to get SIZE_MAX defintion from compat_defs.h on FreeBSD.
2003-08-27 18:36:19 +00:00
junyoung
523866566b
Add missing "."
2003-08-27 16:27:35 +00:00
jmmv
aba1ca99ae
Include strings.h, needed for index's prototype.
2003-08-26 18:14:24 +00:00
jmmv
6d82007582
Use '\0' instead of NULL in two checks (we are not checking for a pointer
...
value). While here, add a missing whitespace.
2003-08-26 18:13:25 +00:00