Commit Graph

41 Commits

Author SHA1 Message Date
kamil 3867e136be Clean-up resources (sys/sys/resource.h) usage
Add vmemoryuse to login_cap(3)
Document vmemoryuse in login.conf(5)
Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in sysctl(7)
Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t

Reviewed by <riastradh>
Approved by <pgoyette>

Tested by Dominik Bialy

Closes PR xsrc/49912
2015-07-11 09:21:22 +00:00
christos 3e7dc5abac remove extra space I accidentally added. 2014-10-01 14:12:29 +00:00
christos 37a7aaf8cb Don't use ".af % i" to print page numbers with roman numerals, define a
different register instead so that macros that depend on % being numeric
don't break. From uwe
2014-10-01 01:03:47 +00:00
christos ec20a7d949 explain what's going on with all the spurious errors. 2014-10-01 00:48:14 +00:00
christos 77d06f5686 remove extra tab that broke the table. 2014-09-30 23:30:48 +00:00
dholland dcc711d503 Reorg docs, part 2:
Rename the following reference documents to match their programs:
   shell -> sh
   viref -> vi

and rename the following to match their topic better:
   ipctut -> sockets
   ipc -> sockets-advanced

Also, the old "timed" and "timedop" docs are now ref5/timed and
ref8/timed respectively, as the first of these documented the
protocol.
2014-07-05 19:23:00 +00:00
dholland b7b7574d3b Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
2014-07-05 19:22:41 +00:00
dholland c3ab26950f Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.

- Build and install text, ps, pdf, and/or html, not roff sources.

- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.

- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.

- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.

- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)

- Enumerate the .png files groff emits along with html so they can be
installed.

- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
   - explicit use of soelim
   - refer
   - tbl
   - pic
   - eqn

- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.

- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.

Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
2014-07-05 19:22:02 +00:00
dholland 10d3e932da I'm a document, Jim, not a shell script.
Fix this to not use .sy to generate portions of the document.
Instead, generate the necessary bits with sed beforehand.

Apparently -ms is too feeble to be able to generate tables of contents
with automatically generated page numbers, so add the expected page
numbers into the document and make it possible to turn on a
rudimentary mechanism for crosschecking them. (This mechanism still
requires .sy though. Improvements welcome.)

This makes it unnecessary to build the document twice, or to use
groff in unsafe mode.
2013-10-06 05:45:19 +00:00
mbalmer 45aabfbe67 Fix language. 2010-01-28 14:05:03 +00:00
perry 7f9541e925 u_intN_t -> uintN_t
Someone really should update this whole document to reflect current
reality. It is valuable but very, very old.
2005-12-26 20:04:46 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
lukem 7fac3a4aea check MKDOC instead of MKSHARE 2004-01-11 16:11:52 +00:00
itojun c61230d99d fix bad example of select() - first arg shouldn't be FD_SETSIZE. from openbsd 2003-08-13 02:07:06 +00:00
agc 075022b349 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22309, verified by myself.
2003-08-07 10:30:41 +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
perry 1f4ad37fe3 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
pooka 5e4c038a45 Reflect bsd.doc.mk rev 1.52 here, and make sure that ROFF uses MACROS.
This has the effect of the postscript output actually being readable.
2002-06-02 17:40:44 +00:00
uwe 49ae87f6c4 Add missing -ms to format 'Title'. 2002-01-25 04:11:30 +00:00
hubertf 3fe244dd24 make "make paper.ps" work 2001-03-11 21:20:35 +00:00
lukem e8fee4a6c4 YAbsd.own.mk 1999-02-14 08:56:59 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
kleink b75d68301e <sys/fcntl.h> -> <fcntl.h> 1999-02-12 15:04:00 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
christos 51b80e0d28 Use a variable for soelim, and don't include bsd.obj.mk 1998-02-04 15:07:52 +00:00
perry 6d400d5685 RCS Id Police. 1998-01-09 06:54:57 +00:00
perry bdc53c5d1c RCS Id Police. 1998-01-09 06:54:55 +00:00
perry ace896fac1 RCS Id Police. 1998-01-09 06:54:27 +00:00
christos 0c36c5fb57 Make this work with obj directories. 1997-12-21 15:31:18 +00:00
christos 9731ccf8e5 Work with obj directories. 1997-12-21 15:29:52 +00:00
christos ae828597a4 Make this work with obj dirs. 1997-12-21 15:25:06 +00:00
christos 734ccbc633 Use 'so instead of .so to prevent soelim expansion. 1997-12-21 15:24:21 +00:00
enami 43551801be Make `make install' work with `obj' directory. 1997-10-22 22:12:30 +00:00
mrg 339de23572 merge lite-2. 1997-10-17 09:59:27 +00:00
mrg e50147fe98 4.4BSD-Lite2 1997-10-17 09:49:00 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
thorpej 7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
mrg e6caae7a74 4.4BSD-Lite2 1994-08-08 19:32:44 +00:00
cgd 01d538b31a slight mod to the way in-source docs are handled 1994-06-25 05:49:29 +00:00
cgd d80c042e2f make it work 1994-06-19 02:36:49 +00:00
cgd d9158b13b5 new doc set from Lite 1994-06-19 00:07:16 +00:00