History log of /netbsd-current/bin/csh/csh.1
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.57 28-Aug-2022 hgutch

Change back various occurrences of \*[Le], \*[Ge] (less/greater equal)
and \*(ua (upwards arrow) to literal "<=", ">=" and "^" whenever
appropriate (e.g., in code examples).


# 1.56 09-Jul-2022 uwe

csh(1): fix punctuation at the end of an .Xr line


# 1.55 11-Sep-2021 christos

like zsh, have jobs -Z do setproctitle


Revision tags: netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.54 03-Jul-2017 wiz

branches: 1.54.6;
Remove workaround for ancient HTML generation code.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
# 1.53 10-Aug-2016 sevan

C Shell appeared in 2BSD, not 3BSD


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.52 22-Jan-2013 wiz

Bump date for previous.


# 1.51 22-Jan-2013 christos

Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.50 22-Mar-2012 wiz

branches: 1.50.2;
Fix whitespace nits. Suggested by Bug Hunting.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.49 09-Mar-2011 njoly

branches: 1.49.4;
Fix sub-section references.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.48 22-Mar-2010 joerg

Use .In instead of .Aq .Pa for signal.h.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.47 29-Mar-2009 wiz

Bump date for previous.


# 1.46 29-Mar-2009 mrg

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.45 13-Mar-2009 joerg

Use .Rs/.Re for reference to C shell introduction.


# 1.44 03-Mar-2009 wiz

Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.


Revision tags: netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.43 20-Apr-2004 jschauma

branches: 1.43.32; 1.43.34;
The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n


# 1.42 17-Apr-2004 wiz

Document rlimit sbsize; case consistency; bump date.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.40 14-Jul-2003 wiz

cpu -> CPU.


# 1.39 01-May-2003 wiz

Some grammar and punctuation fixes from jmc@openbsd.


# 1.38 05-Apr-2003 wiz

Bump date for last.


# 1.37 05-Apr-2003 fair

Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.36 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


Revision tags: fvdl_fs64_base
# 1.35 25-Sep-2002 wiz

New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.


Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.34 08-Feb-2002 ross

branches: 1.34.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.33 06-Feb-2002 ross

type in ^ directly, instead of \(ua which isn't in all the fonts


# 1.32 12-Dec-2001 wiz

Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.


# 1.31 17-Oct-2001 wiz

Whitespace, punctuation fixes. Sort sections.


# 1.30 16-Mar-2001 fair

Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.


# 1.29 07-Nov-2000 lukem

fix borken Xr


# 1.28 05-Oct-2000 ad

insure -> ensure


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.27 21-May-2000 mason

Improved style: "For definiteness" becomes "For example".


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.26 28-Sep-1999 bouyer

xref sysctl(8) (for proc.<pid>.rlimits)


# 1.25 30-Jul-1999 hubertf

branches: 1.25.2;
Document csh's -m switch.

Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>


# 1.24 20-Apr-1999 mycroft

More punctuation glitches.


# 1.23 20-Apr-1999 mycroft

Fix formatting of kill commands.


# 1.22 20-Apr-1999 mycroft

Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.21 22-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 24-Jan-1999 ross

Document the bizarre right-to-left grouping of csh expression terms.


# 1.19 11-Jun-1998 msaitoh

fix some bugs.


# 1.18 28-May-1998 msaitoh

fix a bug.


# 1.17 28-May-1998 msaitoh

fix "/bin/login" to '/usr/bin/login"


# 1.16 10-May-1998 kleink

* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.15 20-Oct-1997 enami

- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.


# 1.14 23-Jun-1997 pk

Use .Xr (from PR#3627)


# 1.13 12-May-1997 mikel

fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).


# 1.12 08-Mar-1997 mouse

alternate -> alternative, per PR 2643


# 1.11 30-Jun-1996 jtc

Fix formatting of description of @ command; From PR #2577


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.10 21-Mar-1995 cgd

branches: 1.10.6;
convert to new RCS id conventions.


# 1.9 21-Sep-1994 mycroft

Merge 4.4-Lite version.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.8 03-Feb-1994 jtc

spelling mistakes


# 1.7 01-Aug-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.6 13-Jul-1993 cgd

fix some spacing/character problems...


# 1.5 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.4 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.56 09-Jul-2022 uwe

csh(1): fix punctuation at the end of an .Xr line


# 1.55 11-Sep-2021 christos

like zsh, have jobs -Z do setproctitle


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.54 03-Jul-2017 wiz

branches: 1.54.6;
Remove workaround for ancient HTML generation code.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
# 1.53 10-Aug-2016 sevan

C Shell appeared in 2BSD, not 3BSD


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.52 22-Jan-2013 wiz

Bump date for previous.


# 1.51 22-Jan-2013 christos

Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.50 22-Mar-2012 wiz

branches: 1.50.2;
Fix whitespace nits. Suggested by Bug Hunting.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.49 09-Mar-2011 njoly

branches: 1.49.4;
Fix sub-section references.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.48 22-Mar-2010 joerg

Use .In instead of .Aq .Pa for signal.h.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.47 29-Mar-2009 wiz

Bump date for previous.


# 1.46 29-Mar-2009 mrg

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.45 13-Mar-2009 joerg

Use .Rs/.Re for reference to C shell introduction.


# 1.44 03-Mar-2009 wiz

Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.


Revision tags: netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.43 20-Apr-2004 jschauma

branches: 1.43.32; 1.43.34;
The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n


# 1.42 17-Apr-2004 wiz

Document rlimit sbsize; case consistency; bump date.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.40 14-Jul-2003 wiz

cpu -> CPU.


# 1.39 01-May-2003 wiz

Some grammar and punctuation fixes from jmc@openbsd.


# 1.38 05-Apr-2003 wiz

Bump date for last.


# 1.37 05-Apr-2003 fair

Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.36 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


Revision tags: fvdl_fs64_base
# 1.35 25-Sep-2002 wiz

New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.


Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.34 08-Feb-2002 ross

branches: 1.34.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.33 06-Feb-2002 ross

type in ^ directly, instead of \(ua which isn't in all the fonts


# 1.32 12-Dec-2001 wiz

Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.


# 1.31 17-Oct-2001 wiz

Whitespace, punctuation fixes. Sort sections.


# 1.30 16-Mar-2001 fair

Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.


# 1.29 07-Nov-2000 lukem

fix borken Xr


# 1.28 05-Oct-2000 ad

insure -> ensure


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.27 21-May-2000 mason

Improved style: "For definiteness" becomes "For example".


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.26 28-Sep-1999 bouyer

xref sysctl(8) (for proc.<pid>.rlimits)


# 1.25 30-Jul-1999 hubertf

branches: 1.25.2;
Document csh's -m switch.

Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>


# 1.24 20-Apr-1999 mycroft

More punctuation glitches.


# 1.23 20-Apr-1999 mycroft

Fix formatting of kill commands.


# 1.22 20-Apr-1999 mycroft

Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.21 22-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 24-Jan-1999 ross

Document the bizarre right-to-left grouping of csh expression terms.


# 1.19 11-Jun-1998 msaitoh

fix some bugs.


# 1.18 28-May-1998 msaitoh

fix a bug.


# 1.17 28-May-1998 msaitoh

fix "/bin/login" to '/usr/bin/login"


# 1.16 10-May-1998 kleink

* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.15 20-Oct-1997 enami

- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.


# 1.14 23-Jun-1997 pk

Use .Xr (from PR#3627)


# 1.13 12-May-1997 mikel

fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).


# 1.12 08-Mar-1997 mouse

alternate -> alternative, per PR 2643


# 1.11 30-Jun-1996 jtc

Fix formatting of description of @ command; From PR #2577


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.10 21-Mar-1995 cgd

branches: 1.10.6;
convert to new RCS id conventions.


# 1.9 21-Sep-1994 mycroft

Merge 4.4-Lite version.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.8 03-Feb-1994 jtc

spelling mistakes


# 1.7 01-Aug-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.6 13-Jul-1993 cgd

fix some spacing/character problems...


# 1.5 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.4 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.55 11-Sep-2021 christos

like zsh, have jobs -Z do setproctitle


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.54 03-Jul-2017 wiz

branches: 1.54.6;
Remove workaround for ancient HTML generation code.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
# 1.53 10-Aug-2016 sevan

C Shell appeared in 2BSD, not 3BSD


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.52 22-Jan-2013 wiz

Bump date for previous.


# 1.51 22-Jan-2013 christos

Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.50 22-Mar-2012 wiz

branches: 1.50.2;
Fix whitespace nits. Suggested by Bug Hunting.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.49 09-Mar-2011 njoly

branches: 1.49.4;
Fix sub-section references.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.48 22-Mar-2010 joerg

Use .In instead of .Aq .Pa for signal.h.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.47 29-Mar-2009 wiz

Bump date for previous.


# 1.46 29-Mar-2009 mrg

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.45 13-Mar-2009 joerg

Use .Rs/.Re for reference to C shell introduction.


# 1.44 03-Mar-2009 wiz

Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.


Revision tags: netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.43 20-Apr-2004 jschauma

branches: 1.43.32; 1.43.34;
The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n


# 1.42 17-Apr-2004 wiz

Document rlimit sbsize; case consistency; bump date.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.40 14-Jul-2003 wiz

cpu -> CPU.


# 1.39 01-May-2003 wiz

Some grammar and punctuation fixes from jmc@openbsd.


# 1.38 05-Apr-2003 wiz

Bump date for last.


# 1.37 05-Apr-2003 fair

Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.36 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


Revision tags: fvdl_fs64_base
# 1.35 25-Sep-2002 wiz

New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.


Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.34 08-Feb-2002 ross

branches: 1.34.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.33 06-Feb-2002 ross

type in ^ directly, instead of \(ua which isn't in all the fonts


# 1.32 12-Dec-2001 wiz

Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.


# 1.31 17-Oct-2001 wiz

Whitespace, punctuation fixes. Sort sections.


# 1.30 16-Mar-2001 fair

Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.


# 1.29 07-Nov-2000 lukem

fix borken Xr


# 1.28 05-Oct-2000 ad

insure -> ensure


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.27 21-May-2000 mason

Improved style: "For definiteness" becomes "For example".


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.26 28-Sep-1999 bouyer

xref sysctl(8) (for proc.<pid>.rlimits)


# 1.25 30-Jul-1999 hubertf

branches: 1.25.2;
Document csh's -m switch.

Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>


# 1.24 20-Apr-1999 mycroft

More punctuation glitches.


# 1.23 20-Apr-1999 mycroft

Fix formatting of kill commands.


# 1.22 20-Apr-1999 mycroft

Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.21 22-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 24-Jan-1999 ross

Document the bizarre right-to-left grouping of csh expression terms.


# 1.19 11-Jun-1998 msaitoh

fix some bugs.


# 1.18 28-May-1998 msaitoh

fix a bug.


# 1.17 28-May-1998 msaitoh

fix "/bin/login" to '/usr/bin/login"


# 1.16 10-May-1998 kleink

* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.15 20-Oct-1997 enami

- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.


# 1.14 23-Jun-1997 pk

Use .Xr (from PR#3627)


# 1.13 12-May-1997 mikel

fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).


# 1.12 08-Mar-1997 mouse

alternate -> alternative, per PR 2643


# 1.11 30-Jun-1996 jtc

Fix formatting of description of @ command; From PR #2577


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.10 21-Mar-1995 cgd

branches: 1.10.6;
convert to new RCS id conventions.


# 1.9 21-Sep-1994 mycroft

Merge 4.4-Lite version.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.8 03-Feb-1994 jtc

spelling mistakes


# 1.7 01-Aug-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.6 13-Jul-1993 cgd

fix some spacing/character problems...


# 1.5 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.4 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.54 03-Jul-2017 wiz

Remove workaround for ancient HTML generation code.


Revision tags: netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
# 1.53 10-Aug-2016 sevan

C Shell appeared in 2BSD, not 3BSD


Revision tags: netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.52 22-Jan-2013 wiz

Bump date for previous.


# 1.51 22-Jan-2013 christos

Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.50 22-Mar-2012 wiz

branches: 1.50.2;
Fix whitespace nits. Suggested by Bug Hunting.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.49 09-Mar-2011 njoly

branches: 1.49.4;
Fix sub-section references.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.48 22-Mar-2010 joerg

Use .In instead of .Aq .Pa for signal.h.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.47 29-Mar-2009 wiz

Bump date for previous.


# 1.46 29-Mar-2009 mrg

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.45 13-Mar-2009 joerg

Use .Rs/.Re for reference to C shell introduction.


# 1.44 03-Mar-2009 wiz

Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.


Revision tags: netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.43 20-Apr-2004 jschauma

branches: 1.43.32; 1.43.34;
The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n


# 1.42 17-Apr-2004 wiz

Document rlimit sbsize; case consistency; bump date.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.40 14-Jul-2003 wiz

cpu -> CPU.


# 1.39 01-May-2003 wiz

Some grammar and punctuation fixes from jmc@openbsd.


# 1.38 05-Apr-2003 wiz

Bump date for last.


# 1.37 05-Apr-2003 fair

Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.36 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


Revision tags: fvdl_fs64_base
# 1.35 25-Sep-2002 wiz

New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.


Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.34 08-Feb-2002 ross

branches: 1.34.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.33 06-Feb-2002 ross

type in ^ directly, instead of \(ua which isn't in all the fonts


# 1.32 12-Dec-2001 wiz

Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.


# 1.31 17-Oct-2001 wiz

Whitespace, punctuation fixes. Sort sections.


# 1.30 16-Mar-2001 fair

Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.


# 1.29 07-Nov-2000 lukem

fix borken Xr


# 1.28 05-Oct-2000 ad

insure -> ensure


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.27 21-May-2000 mason

Improved style: "For definiteness" becomes "For example".


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.26 28-Sep-1999 bouyer

xref sysctl(8) (for proc.<pid>.rlimits)


# 1.25 30-Jul-1999 hubertf

branches: 1.25.2;
Document csh's -m switch.

Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>


# 1.24 20-Apr-1999 mycroft

More punctuation glitches.


# 1.23 20-Apr-1999 mycroft

Fix formatting of kill commands.


# 1.22 20-Apr-1999 mycroft

Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.21 22-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 24-Jan-1999 ross

Document the bizarre right-to-left grouping of csh expression terms.


# 1.19 11-Jun-1998 msaitoh

fix some bugs.


# 1.18 28-May-1998 msaitoh

fix a bug.


# 1.17 28-May-1998 msaitoh

fix "/bin/login" to '/usr/bin/login"


# 1.16 10-May-1998 kleink

* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.15 20-Oct-1997 enami

- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.


# 1.14 23-Jun-1997 pk

Use .Xr (from PR#3627)


# 1.13 12-May-1997 mikel

fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).


# 1.12 08-Mar-1997 mouse

alternate -> alternative, per PR 2643


# 1.11 30-Jun-1996 jtc

Fix formatting of description of @ command; From PR #2577


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.10 21-Mar-1995 cgd

branches: 1.10.6;
convert to new RCS id conventions.


# 1.9 21-Sep-1994 mycroft

Merge 4.4-Lite version.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.8 03-Feb-1994 jtc

spelling mistakes


# 1.7 01-Aug-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.6 13-Jul-1993 cgd

fix some spacing/character problems...


# 1.5 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.4 22-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


Revision tags: pgoyette-localcount-20161104 localcount-20160914
# 1.53 10-Aug-2016 sevan

C Shell appeared in 2BSD, not 3BSD


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.52 22-Jan-2013 wiz

Bump date for previous.


# 1.51 22-Jan-2013 christos

Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.50 22-Mar-2012 wiz

branches: 1.50.2;
Fix whitespace nits. Suggested by Bug Hunting.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.49 09-Mar-2011 njoly

branches: 1.49.4;
Fix sub-section references.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.48 22-Mar-2010 joerg

Use .In instead of .Aq .Pa for signal.h.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.47 29-Mar-2009 wiz

Bump date for previous.


# 1.46 28-Mar-2009 mrg

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.45 13-Mar-2009 joerg

Use .Rs/.Re for reference to C shell introduction.


# 1.44 03-Mar-2009 wiz

Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.


Revision tags: netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.43 19-Apr-2004 jschauma

branches: 1.43.32; 1.43.34;
The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n


# 1.42 17-Apr-2004 wiz

Document rlimit sbsize; case consistency; bump date.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.40 14-Jul-2003 wiz

cpu -> CPU.


# 1.39 01-May-2003 wiz

Some grammar and punctuation fixes from jmc@openbsd.


# 1.38 05-Apr-2003 wiz

Bump date for last.


# 1.37 04-Apr-2003 fair

Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.36 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


Revision tags: fvdl_fs64_base
# 1.35 25-Sep-2002 wiz

New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.


Revision tags: netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.34 07-Feb-2002 ross

branches: 1.34.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.33 05-Feb-2002 ross

type in ^ directly, instead of \(ua which isn't in all the fonts


# 1.32 12-Dec-2001 wiz

Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.


# 1.31 17-Oct-2001 wiz

Whitespace, punctuation fixes. Sort sections.


# 1.30 16-Mar-2001 fair

Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.


# 1.29 06-Nov-2000 lukem

fix borken Xr


# 1.28 04-Oct-2000 ad

insure -> ensure


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.27 20-May-2000 mason

Improved style: "For definiteness" becomes "For example".


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.26 28-Sep-1999 bouyer

xref sysctl(8) (for proc.<pid>.rlimits)


# 1.25 29-Jul-1999 hubertf

branches: 1.25.2;
Document csh's -m switch.

Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>


# 1.24 19-Apr-1999 mycroft

More punctuation glitches.


# 1.23 19-Apr-1999 mycroft

Fix formatting of kill commands.


# 1.22 19-Apr-1999 mycroft

Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.21 22-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 24-Jan-1999 ross

Document the bizarre right-to-left grouping of csh expression terms.


# 1.19 10-Jun-1998 msaitoh

fix some bugs.


# 1.18 28-May-1998 msaitoh

fix a bug.


# 1.17 28-May-1998 msaitoh

fix "/bin/login" to '/usr/bin/login"


# 1.16 10-May-1998 kleink

* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.15 20-Oct-1997 enami

- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.


# 1.14 23-Jun-1997 pk

Use .Xr (from PR#3627)


# 1.13 12-May-1997 mikel

fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).


# 1.12 08-Mar-1997 mouse

alternate -> alternative, per PR 2643


# 1.11 30-Jun-1996 jtc

Fix formatting of description of @ command; From PR #2577


Revision tags: netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.10 21-Mar-1995 cgd

branches: 1.10.6;
convert to new RCS id conventions.


# 1.9 20-Sep-1994 mycroft

Merge 4.4-Lite version.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.8 03-Feb-1994 jtc

spelling mistakes


# 1.7 01-Aug-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.6 13-Jul-1993 cgd

fix some spacing/character problems...


# 1.5 21-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.4 21-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.3 22-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.52 22-Jan-2013 wiz

Bump date for previous.


# 1.51 22-Jan-2013 christos

Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.


# 1.50 22-Mar-2012 wiz

branches: 1.50.2;
Fix whitespace nits. Suggested by Bug Hunting.


# 1.49 09-Mar-2011 njoly

branches: 1.49.4;
Fix sub-section references.


# 1.48 22-Mar-2010 joerg

Use .In instead of .Aq .Pa for signal.h.


# 1.47 29-Mar-2009 wiz

Bump date for previous.


# 1.46 28-Mar-2009 mrg

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.45 13-Mar-2009 joerg

Use .Rs/.Re for reference to C shell introduction.


# 1.44 03-Mar-2009 wiz

Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.


# 1.43 19-Apr-2004 jschauma

branches: 1.43.32; 1.43.34;
The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n


# 1.42 17-Apr-2004 wiz

Document rlimit sbsize; case consistency; bump date.


# 1.41 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.40 14-Jul-2003 wiz

cpu -> CPU.


# 1.39 01-May-2003 wiz

Some grammar and punctuation fixes from jmc@openbsd.


# 1.38 05-Apr-2003 wiz

Bump date for last.


# 1.37 04-Apr-2003 fair

Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.36 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


# 1.35 25-Sep-2002 wiz

New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.


# 1.34 07-Feb-2002 ross

branches: 1.34.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.


# 1.33 06-Feb-2002 ross

type in ^ directly, instead of \(ua which isn't in all the fonts


# 1.32 12-Dec-2001 wiz

Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.


# 1.31 17-Oct-2001 wiz

Whitespace, punctuation fixes. Sort sections.


# 1.30 16-Mar-2001 fair

Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.


# 1.29 06-Nov-2000 lukem

fix borken Xr


# 1.28 05-Oct-2000 ad

insure -> ensure


# 1.27 20-May-2000 mason

Improved style: "For definiteness" becomes "For example".


# 1.26 28-Sep-1999 bouyer

xref sysctl(8) (for proc.<pid>.rlimits)


# 1.25 29-Jul-1999 hubertf

branches: 1.25.2;
Document csh's -m switch.

Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>


# 1.24 19-Apr-1999 mycroft

More punctuation glitches.


# 1.23 19-Apr-1999 mycroft

Fix formatting of kill commands.


# 1.22 19-Apr-1999 mycroft

Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.


# 1.21 22-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 24-Jan-1999 ross

Document the bizarre right-to-left grouping of csh expression terms.


# 1.19 10-Jun-1998 msaitoh

fix some bugs.


# 1.18 28-May-1998 msaitoh

fix a bug.


# 1.17 28-May-1998 msaitoh

fix "/bin/login" to '/usr/bin/login"


# 1.16 10-May-1998 kleink

* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.


# 1.15 20-Oct-1997 enami

- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
- Use .Sx to refer section.


# 1.14 23-Jun-1997 pk

Use .Xr (from PR#3627)


# 1.13 12-May-1997 mikel

fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).


# 1.12 08-Mar-1997 mouse

alternate -> alternative, per PR 2643


# 1.11 30-Jun-1996 jtc

Fix formatting of description of @ command; From PR #2577


# 1.10 21-Mar-1995 cgd

branches: 1.10.6;
convert to new RCS id conventions.


# 1.9 20-Sep-1994 mycroft

Merge 4.4-Lite version.


# 1.8 02-Feb-1994 jtc

spelling mistakes


# 1.7 01-Aug-1993 mycroft

Add RCS indentifiers.


# 1.6 13-Jul-1993 cgd

fix some spacing/character problems...


# 1.5 21-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.4 21-Apr-1993 mycroft

Fix various bugs in man pages (from 386BSD patch 130).


# 1.3 22-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.1.1.2 19-Sep-1994 mycroft

Import original 4.4-Lite version.


# 1.1.1.1 21-Mar-1993 cgd

initial import of 386bsd-0.1 sources


# 1.10.6.1 30-Jun-1996 jtc

Pull up rev 1.11; Even this late in the game, documentation fixes can't hurt


# 1.25.2.1 27-Dec-1999 wrstuden

Pull up to last week's -current.


# 1.34.2.1 15-Jun-2003 tron

Pull up revision 1.37 (requested by fair in ticket #1243):
Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658


# 1.43.34.1 13-May-2009 jym

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html


# 1.43.32.1 31-Mar-2009 snj

Pull up following revision(s) (requested by mrg in ticket #622):
bin/csh/csh.1: revision 1.46
bin/csh/func.c: revision 1.37
bin/ps/print.c: revision 1.111
bin/ps/ps.c: revision 1.74
bin/sh/miscbltin.c: revision 1.38
bin/sh/sh.1: revision 1.92 via patch
external/bsd/top/dist/machine/m_netbsd.c: revision 1.7
lib/libkvm/kvm_proc.c: revision 1.82
sys/arch/mips/mips/cpu_exec.c: revision 1.55
sys/compat/darwin/darwin_exec.c: revision 1.57
sys/compat/ibcs2/ibcs2_exec.c: revision 1.73
sys/compat/irix/irix_resource.c: revision 1.15
sys/compat/linux/arch/amd64/linux_exec_machdep.c: revision 1.16
sys/compat/linux/arch/i386/linux_exec_machdep.c: revision 1.12
sys/compat/linux/common/linux_limit.h: revision 1.5
sys/compat/osf1/osf1_resource.c: revision 1.14
sys/compat/svr4/svr4_resource.c: revision 1.18
sys/compat/svr4_32/svr4_32_resource.c: revision 1.17
sys/kern/exec_subr.c: revision 1.62
sys/kern/init_sysctl.c: revision 1.160
sys/kern/kern_exec.c: revision 1.288
sys/kern/kern_resource.c: revision 1.151
sys/sys/param.h: patch
sys/sys/resource.h: revision 1.31
sys/sys/sysctl.h: revision 1.184
sys/uvm/uvm_extern.h: revision 1.153
sys/uvm/uvm_glue.c: revision 1.136
sys/uvm/uvm_mmap.c: revision 1.128
usr.bin/systat/ps.c: revision 1.32
- - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes. this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.
- - adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.
- - add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)
- - patch sh, and csh to notice RLIMIT_AS. (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)
- - patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.
- - update irix, svr4, svr4_32, linux and osf1 emulations to support
this information. (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)
this addresses PR 7897. it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.
tested on i386 and sparc64, build tested on several other platforms.
thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)


# 1.49.4.2 22-May-2014 yamt

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")


# 1.49.4.1 16-Apr-2012 yamt

sync with head


# 1.50.2.1 24-Feb-2013 tls

resync with head