Commit Graph

6822 Commits

Author SHA1 Message Date
lukem 29a6151db1 NOxxx= variables should appear first 2003-07-10 11:21:51 +00:00
lukem 42b4b5e4a4 <bsd.own.mk> needed before NETBSDSRCDIR is used 2003-07-10 11:21:03 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
dsl 9778762a60 Keep unstripped binary in $OBJ, use are timestamp instead of prog.stripped.
Patentially useful as a source of symbol information for debugging.
2003-07-09 19:51:07 +00:00
wiz f61187c074 Remove superfluous ] in last. 2003-07-09 14:47:33 +00:00
lukem 7d830fa777 tweak previous; no need to have .Sm on and then just .Sm off 2003-07-09 08:09:04 +00:00
jschauma dff18e6662 Add missing closing ']' for character class examples. 2003-07-08 22:15:04 +00:00
kristerw 3e51d2b759 Const poisoning. 2003-07-08 01:55:35 +00:00
dsl f2c019d534 Change 'Magic number' of menu text files.
Correct calculation of window width in msg_prompt_win().
2003-07-07 12:22:35 +00:00
dsl f19029a851 Add OPT_IGNORE flag which makes menu item inactive.
Add menu-dependant function to draw menu lines (when opt_name NULL).
2003-07-07 12:20:56 +00:00
jmmv e4b15274f9 Add missing section header EXIT STATUS. 2003-07-07 12:20:04 +00:00
wiz 31b27aaae4 Fix typo in error message. 2003-07-07 11:42:13 +00:00
dsl aaba6e7d29 No need to resizeterm() if size not changed.
On 'fg' just restore old screen contents.
2003-07-05 08:05:51 +00:00
dsl 5ae48961f9 Redraw addresses after screen refresh 2003-07-05 06:48:52 +00:00
agc 2698214c76 Use the proper type for the return value from getopt(3). Allows this
program to be compiled on machines with unsigned chars.
2003-07-04 12:33:08 +00:00
wiz 44b0609fe6 Bump date for last. 2003-07-04 12:13:29 +00:00
wiz 21a565e27c Remove trailing whitespace. 2003-07-04 08:15:00 +00:00
wiz a681ded17a Use Aq or Ao/Ac instead of \*[Lt]/\*[Gt]. 2003-07-04 08:13:59 +00:00
wiz ab7901a8b6 Grammar and mdoc improvements. Sort sections. Only mention iconv(3)
in SEE ALSO, since iconv_open(3) and iconv_close(3) are the same.
2003-07-04 07:58:10 +00:00
wiz ee762782f9 Sort sections, fix typo, add some articles,
and lots of other cleanup.
2003-07-04 07:28:14 +00:00
tshiozak 6a491b80a2 add manpage for iconv(1). 2003-07-04 06:59:52 +00:00
tshiozak fab9a2fdc1 add locale(1) utility.
Originally written by Alexey Zelkin <phantom@FreeBSD.org>.
So, obtained from FreeBSD with gratitude.  (suggested by wiz.)
2003-07-04 05:41:49 +00:00
itojun 076786421e another fix against unreadable indentation 2003-07-04 04:26:47 +00:00
itojun 2b3103a077 fix unreadable indentation 2003-07-04 04:20:05 +00:00
simonb c595e9c78e No need to cast the third argument of ioctl() to "char *". 2003-07-02 12:47:00 +00:00
wiz e07b8295fc Cm So . Sc -> Sq Cm \&. (and similar for :). 2003-07-01 10:26:27 +00:00
wiz 72c59e3ee3 Quote question mark, to get it marked up. Whitespace nit. 2003-06-30 19:17:01 +00:00
wiz b93a29cdaa Fixes to make these man page look nice with groff-1.19. 2003-06-30 19:12:31 +00:00
wiz 5a9293abc1 Adapt to new naming conventions for tmac files. 2003-06-30 19:08:37 +00:00
bjh21 548e2c20bb Clean up the mechanism used for opening output files. Rather than freopening
stdout onto each file in turn, then writing through fileno(stdout), use
open() and close() like any sensible program.  This saves a lot of system
calls, removes a dependency on the particular behaviour of BSD freopen(),
and allows us to detect and report errors from close().
2003-06-29 22:57:23 +00:00
fvdl 4fdb86c883 Back out previous. 2003-06-29 22:35:35 +00:00
martin 40ee31ef5e Since a caddr_t is (mis-)used as the lwp-id, cast it to intptr_t and use
apropriate format string.
2003-06-29 18:05:06 +00:00
darrenr d0ad455673 add appropriate hack to display ktr_buf as the lwpid if -L is supplied on
the command line.
2003-06-28 17:15:07 +00:00
wiz 8da6fdd09d Restrict ".Sm off" to the parts where it is wanted. 2003-06-27 22:25:08 +00:00
dsl e2724ab4be Add support for reading messages from a text file - msg_file() and msg_string().
Use subwin() in msg_prompt_win() now libcurses is fixed.
Some KNF changes I seem to have forgotten to commit on their own :-(
2003-06-27 22:11:59 +00:00
dsl e28e42e092 Improve diagnostic message 2003-06-27 22:06:14 +00:00
wiz 4e996c3a33 End sentence with a dot. From jmc@openbsd. 2003-06-27 21:57:43 +00:00
bjh21 4f65cbad31 Cleanup:
Correct synopsis to show that -l and -b are mutually exclusive.
Put [k|m] in the right typefaces.
Use .Ql for 'k' and 'm' in text.
Refer to the option-argument of -l as <line_length> consistently.
2003-06-27 17:19:54 +00:00
tshiozak f0108a1301 correct how to show size_t. %d -> %lu and cast to unsigned long.
reported by Rob Quinn.
2003-06-27 15:42:12 +00:00
wiz d1084fd16c Quote question mark. 2003-06-27 09:42:24 +00:00
wiz 621498f8a8 Remove superfluous "". 2003-06-27 09:40:17 +00:00
wiz ba22178ad0 Quote question mark. Change width argument in a table to line up 2003-06-27 09:38:58 +00:00
wiz 9e48dea8c5 Pa Ar -> Ar. 2003-06-27 09:15:55 +00:00
wiz 2acfaaf7f5 Quote bang. 2003-06-27 09:06:23 +00:00
wiz 1316e82e58 Undo last two, I will handle this differently. 2003-06-27 08:50:50 +00:00
tshiozak ff5c3e6895 Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
  - bump libc minor.
  - add iconv data files.
  - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
    mkesdb(1)/mkcsmapper(1).
2003-06-27 05:21:49 +00:00
bjh21 4fca23a8b3 Simplify the handling of ifd by initialising it to the default
(STDIN_FILENO), and only overriding that if the user specifies a different
input file.
2003-06-26 23:19:15 +00:00
bjh21 946564c3f6 Remove support for treating "-" as an option rather than an operand. The
practical consequence of this is that "-" is treated the same as a file name,
and can't have options specified after it.  This is consistent with other
utilities and with POSIX.
2003-06-26 23:06:52 +00:00
bjh21 c3c8be9c37 WARNS=3 seems to work here, so use it. 2003-06-26 23:00:07 +00:00
bjh21 5b24c0821c Delint. This largely involves using size_t and off_t appropriately rather
that throwing around unsigned long long.  There are a few LINTED comments
where I'm sure overflow can never occur, and with these lint gives this
a clean bill of health.
2003-06-26 22:49:53 +00:00