<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/ps, branch releng/4.11</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.11</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.11'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2004-06-12T17:53:48Z</updated>
<entry>
<title>Make it so users can select the new (5.x) behavior for processing extra</title>
<updated>2004-06-12T17:53:48Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-06-12T17:53:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e68251e26002b13687856b081648ce9dd1684f7'/>
<id>urn:sha1:0e68251e26002b13687856b081648ce9dd1684f7</id>
<content type='text'>
parameters by compiling `ps' with -DPS_BACKWARD_COMPATIBILITY=0, instead
of requiring them to patch ps.c.  The default behavior has not changed.
</content>
</entry>
<entry>
<title>MFC *:    Fix the kludge-old-options processing so `ps tpt' will be treated</title>
<updated>2004-06-08T00:11:26Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-06-08T00:11:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5ded54bf928c53560a60ffe89d43e12baab91b6'/>
<id>urn:sha1:c5ded54bf928c53560a60ffe89d43e12baab91b6</id>
<content type='text'>
the same as `ps -tpt', instead of being changed into `ps -tpT'.  Also adjust
it so `ps t p0' is treated like `ps -t p0', instead of making it `ps -T p0'.

This includes the rewrite of the kludge-option processing, but it does NOT
remove the long-undocumented BACKWARD_COMPATIBILITY compile-time option.
If you delete the '#define BACKWARD_COMPATIBILITY' line, you'll get the
newer handling for "extra arguments", which is to treat them as requests
for processes.

Also brings in a number of style(9) improvements.

[* = 1.90 &amp; 1.92 -&gt; 1.98 ps.c]

PR:		bin/52489         (for `ps tpt' and `ps t p0')
Submitted by:	Jilles Tjoelker   ( " )
</content>
</entry>
<entry>
<title>MFC 1.74 1.75 &amp; 1.80:  Sort the declarations of global variables, and</title>
<updated>2004-04-04T18:16:37Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-04-04T18:16:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e00893febbb80678394e2fd2e5a46e1706850075'/>
<id>urn:sha1:e00893febbb80678394e2fd2e5a46e1706850075</id>
<content type='text'>
split two 'fmt' strings so they're easier to read on 80-char windows.

Approved by:	re(scottl)
</content>
</entry>
<entry>
<title>MFC 1.73 &amp; 1.83:  Sort the routine prototypes.</title>
<updated>2004-04-04T18:01:23Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-04-04T18:01:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1302b23d339c421287b3ce63ba0f798b809747ac'/>
<id>urn:sha1:1302b23d339c421287b3ce63ba0f798b809747ac</id>
<content type='text'>
Approved by:	re(scottl)
</content>
</entry>
<entry>
<title>MFC *:    Change the #if-ish logic which is used to add the `-f' option</title>
<updated>2004-04-04T17:50:23Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-04-04T17:50:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f21f8da873f90012a1711ccb1b79e1d1b1bdd214'/>
<id>urn:sha1:f21f8da873f90012a1711ccb1b79e1d1b1bdd214</id>
<content type='text'>
when `ps' is compiled with LAZY_PS, so that there is only one PS_ARGS
string to modify when changing the option-list.  Also get `-f' to show
up in the usage() statement when compiled with LAZY_PS.  Also move the
'f' case in the select statement, so it in alphabetical order.

[* = 1.68 1.69 &amp; 1.86 ps.c]

Approved by:	re(scottl)
</content>
</entry>
<entry>
<title>MFC *:  Support more POSIX/SUSv3 options:</title>
<updated>2004-04-04T17:03:40Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-04-04T17:03:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b8012927aca9a964bbf0994daf5b1dcbc56eda8'/>
<id>urn:sha1:4b8012927aca9a964bbf0994daf5b1dcbc56eda8</id>
<content type='text'>
  - Change `-p' to allow a list of process IDs, and `-t' to allow a list
    of terminal names, instead of only a single value for each.
  - Add the `-A' option of SUSv3, which is exactly the same as `-ax'.
  - Add the `-G gidlist' (group id).
  - Allow any of these "selector options" to be specified multiple times,
    and have `ps' keep adding to a given list -- instead of replacing the
    previously-specified values.
  - Fix interactions between selector-options, so that: "If any are
    specified, ... ps shall select the processes represented by the
    inclusive OR of all the selection-criteria options." (from SUSv3)
  - Add a `-X' option, which is the reverse of the `-x' option.
  - various minor improvements in parsing and error handling.

This should result in no user-visible changes, except for adding the
new features.  The man page is updated to describe the new features,
and to describe the sorting options in better and more complete detail.

[* = 1.67 1.72 1.76-&gt;1.79 1.84 &amp; 1.85 ps.c,  1.71-&gt;1.74 ps.1]

Approved by:	re(scottl)
</content>
</entry>
<entry>
<title>MFC 1.66:  Fix 'ps -p proclist' and 'ps -u userlist' so the command</title>
<updated>2004-03-27T16:35:36Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-27T16:35:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb7ced41c06396e8e64a4a9255338313f956fc79'/>
<id>urn:sha1:fb7ced41c06396e8e64a4a9255338313f956fc79</id>
<content type='text'>
returns non-zero if no processes were matched.  Also sorts the list
of 'int's in main, as long as I had to add another one...
</content>
</entry>
<entry>
<title>MFC *: Improvements to 'ps -p &lt;x&gt;'.  Wrt 4.x-stable, this adds support</title>
<updated>2004-03-27T16:27:46Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-27T16:27:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=22647ba58e2f5bfcd8d856ac1cc405192de43c9d'/>
<id>urn:sha1:22647ba58e2f5bfcd8d856ac1cc405192de43c9d</id>
<content type='text'>
for &lt;x&gt; being a comma-separated list of processes, and does a much
better checking for invalid-values of &lt;x&gt;, such as 'ps -p someword'.

[* = 1.65 ps.c, 1.67 ps.1]
</content>
</entry>
<entry>
<title>More code-diff reductions wrt ps.c in 5.x-current, to make it easier to</title>
<updated>2004-03-25T19:16:40Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-25T19:16:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17267477660a722266e4ffa041a61fdb24c909e1'/>
<id>urn:sha1:17267477660a722266e4ffa041a61fdb24c909e1</id>
<content type='text'>
MFC some upcoming updates.  This should cause no user-visible changes.
</content>
</entry>
<entry>
<title>MFC various style(9)-ish and other cosmetic changes from -current,</title>
<updated>2004-03-23T18:40:24Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-23T18:40:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4430d425c78b2ee95b1410991bbf0546da7a5726'/>
<id>urn:sha1:4430d425c78b2ee95b1410991bbf0546da7a5726</id>
<content type='text'>
mainly to greatly reduce the code-diffs in ps.c (but that dragged
in some similar changes to the other files).  This should result
in no user-visible changes.  This is done to make it easier to MFC
some user-visible changes that are coming up, but those MFC's will
be done at a later date.
</content>
</entry>
</feed>
