Skip to contentSkip to conversation

procps update

STABLE In review Marcin Juszkiewicz 3 participants 13 messages Mar 22, 2010 – Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

Due to too many questions asked about "Unknown Hz value" during boot of devices I want to merge my recent fixes for it into stable/2009.

#1 lore raw

PATCH 1/1 procps: adjust FILES so that libproc-*.so lands in ${PN}

From: Phil Blundell <[email protected]>

---
 recipes/procps/procps.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/procps/procps.inc +2 -0
index ddc8030..2de32d2 100644
@@ -8,6 +8,8 @@ PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "ncurses"
 
+FILES_${PN} += "${base_libdir}/libproc-*.so"
+
 SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \
            file://install.patch;patch=1"
 
Signature · 1 line
1.7.0.2
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH][STABLE] procps: adjust FILES so that libproc-*.so lands in ${PN}

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 11 lines · Marcin Juszkiewicz

From: Phil Blundell <[email protected]>

---
 recipes/procps/procps.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/procps/procps.inc +0 -0
index ddc8030..2de32d2 100644

recipes/procps/procps.inc PRIORITY = "optional" · line 15

Quoted 8 lines
recipes/procps/procps.inc +2 -0
@@ -8,6 +8,8 @@ PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "ncurses"
 
+FILES_${PN} += "${base_libdir}/libproc-*.so"
+
 SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \
            file://install.patch;patch=1"
 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2OlMkyGM64RGpERAiRTAJ95iLgnvggk59onsoOVmobjt22HdACffhzR HmHzHRBX9bsrInioMohGHso=
=ZYm+
-----END PGP SIGNATURE-----

Acked-by on v1 1/1
#3 lore raw

Re: [PATCH][STABLE] procps: adjust FILES so that libproc-*.so lands in ${PN}

In reply to Marcin Juszkiewicz
Quoted 19 lines · Marcin Juszkiewicz

From: Phil Blundell<[email protected]>

---
  recipes/procps/procps.inc |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
recipes/procps/procps.inc +2 -0
index ddc8030..2de32d2 100644
@@ -8,6 +8,8 @@ PRIORITY = "optional"
  LICENSE = "GPL"
  DEPENDS = "ncurses"
 
+FILES_${PN} += "${base_libdir}/libproc-*.so"
+
  SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \
             file://install.patch;patch=1"
 
#4 lore raw

PATCH 1/1 procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin

In reply to Marcin Juszkiewicz

From: Khem Raj <[email protected]>

* On DISTROs like micro where bindir and base_bindir are same, procps does not compile because it wants to install binaries in both places. We have to pass the variable to make file since it does not use autotools.

---
 recipes/procps/procps_3.2.7.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
recipes/procps/procps_3.2.7.bb +4 -1
index 6da975a..b31b683 100644
@@ -1,6 +1,6 @@
 require procps.inc
 
-PR = "r8"
+PR = "r9"
 
 inherit update-rc.d
 
@@ -23,6 +23,9 @@ CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
 
 EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
                 CPPFLAGS=-I${STAGING_INCDIR} \
+		usr/bin=${D}${bindir}/ \
+		bin=${D}${base_bindir}/ \
+		usr/proc/bin=${D}${bindir}/ \
                 LDFLAGS="${LDFLAGS}" \
                 CURSES=-lncurses \
                 install='install -D' \
Signature · 1 line
1.7.0.2
Acked-by on v1 1/1
#5 lore raw

Re: [PATCH][STABLE] procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 25 lines · Marcin Juszkiewicz

From: Khem Raj <[email protected]>

* On DISTROs like micro where bindir and base_bindir are same, procps does not compile because it wants to install binaries in both places. We have to pass the variable to make file since it does not use autotools.

---
 recipes/procps/procps_3.2.7.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
recipes/procps/procps_3.2.7.bb +1 -1
index 6da975a..b31b683 100644
@@ -1,6 +1,6 @@
 require procps.inc
 
-PR = "r8"
+PR = "r9"
 
 inherit update-rc.d
 

recipes/procps/procps_3.2.7.bb CONFFILES_${PN} = "${sysconfdir}/sysctl.conf" · line 31

Quoted 9 lines
recipes/procps/procps_3.2.7.bb +3 -0
@@ -23,6 +23,9 @@ CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
 
 EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
                 CPPFLAGS=-I${STAGING_INCDIR} \
+		usr/bin=${D}${bindir}/ \
+		bin=${D}${base_bindir}/ \
+		usr/proc/bin=${D}${bindir}/ \
                 LDFLAGS="${LDFLAGS}" \
                 CURSES=-lncurses \
                 install='install -D' \

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2OuMkyGM64RGpERArDhAJ9VL4hiSYnMVZNdQ7uIY4uXlGBuLgCcC/lp DEhNIWHzpVzpyR1CGEdfHPU=
=7o67
-----END PGP SIGNATURE-----

Acked-by on v1 1/1
#6 lore raw

Re: [PATCH][STABLE] procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin

In reply to Marcin Juszkiewicz
Quoted 34 lines · Marcin Juszkiewicz

From: Khem Raj<[email protected]>

* On DISTROs like micro where bindir and base_bindir are same, procps does not compile because it wants to install binaries in both places. We have to pass the variable to make file since it does not use autotools.

---
  recipes/procps/procps_3.2.7.bb |    5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)
recipes/procps/procps_3.2.7.bb +4 -1
index 6da975a..b31b683 100644
@@ -1,6 +1,6 @@
  require procps.inc
 
-PR = "r8"
+PR = "r9"
 
  inherit update-rc.d
 
@@ -23,6 +23,9 @@ CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
 
  EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
                  CPPFLAGS=-I${STAGING_INCDIR} \
+		usr/bin=${D}${bindir}/ \
+		bin=${D}${base_bindir}/ \
+		usr/proc/bin=${D}${bindir}/ \
                  LDFLAGS="${LDFLAGS}" \
                  CURSES=-lncurses \
                  install='install -D' \
#7 lore raw

PATCH 1/1 procps: apply patch from Ubuntu to finally get rid of 'Unknown Hz value'

In reply to Marcin Juszkiewicz
---
 .../procps-3.2.8/60_linux_version_init.dpatch      |   61 ++++++++++++++++++++
 recipes/procps/procps_3.2.8.bb                     |    3 +-
 2 files changed, 63 insertions(+), 1 deletions(-)
 create mode 100644 recipes/procps/procps-3.2.8/60_linux_version_init.dpatch
recipes/procps/procps-3.2.8/60_linux_version_init.dpatch new file +61 -0
new file mode 100644
index 0000000..d99456a
@@ -0,0 +1,61 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60_linux_init.dpatch by  <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix Linux version detection which relied on elf loader side-effect.
+## DP: This patch also depends on 40_gnu-kbsd-version, which modified
+## DP: init_Linux_version().
+
+@DPATCH@
+---
+ proc/sysinfo.c |    1 +
+ proc/version.c |    5 +++--
+ proc/version.h |    1 +
+ 3 files changed, 5 insertions(+), 2 deletions(-)
+
+--- procps-3.2.8.orig/proc/sysinfo.c
++++ procps-3.2.8/proc/sysinfo.c
+@@ -210,10 +210,11 @@ static int check_for_privs(void){
+ }
+ 
+ static void init_libproc(void) __attribute__((constructor));
+ static void init_libproc(void){
+   have_privs = check_for_privs();
++  init_Linux_version(); // make sure we have version before continuing...
+   // ought to count CPUs in /proc/stat instead of relying
+   // on glibc, which foolishly tries to parse /proc/cpuinfo
+   //
+   // SourceForge has an old Alpha running Linux 2.2.20 that
+   // appears to have a non-SMP kernel on a 2-way SMP box.
+--- procps-3.2.8.orig/proc/version.c
++++ procps-3.2.8/proc/version.c
+@@ -31,12 +31,13 @@ void display_version(void) {
+ 
+ #define LINUX_VERSION(x,y,z)   (0x10000*(x) + 0x100*(y) + z)
+ 
+ int linux_version_code;
+ 
+-static void init_Linux_version(void) __attribute__((constructor));
+-static void init_Linux_version(void) {
++// cannot depend on this auto-running before libproc init...
++//static void init_Linux_version(void) __attribute__((constructor));
++void init_Linux_version(void) {
+     static struct utsname uts;
+     int x = 0, y = 0, z = 0;	/* cleared in case sscanf() < 3 */
+     
+     if (uname(&uts) == -1)	/* failure implies impending death */
+ 	exit(1);
+--- procps-3.2.8.orig/proc/version.h
++++ procps-3.2.8/proc/version.h
+@@ -12,10 +12,11 @@
+  * Copyright 2002 Albert Cahalan
+  */
+ 
+ EXTERN_C_BEGIN
+ 
++extern void init_Linux_version(void);	/* initialize linux version */
+ extern void display_version(void);	/* display suite version */
+ extern const char procps_version[];		/* global buf for suite version */
+ 
+ extern int linux_version_code;		/* runtime version of LINUX_VERSION_CODE
+ 					   in /usr/include/linux/version.h */
recipes/procps/procps_3.2.8.bb +2 -1
index 22f54c3..f98b849 100644
@@ -1,10 +1,11 @@
 require procps.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://procmodule.patch;patch=1 \
             file://psmodule.patch;patch=1 \
 	    file://linux-limits.patch;patch=1 \
+	    file://60_linux_version_init.dpatch;patch=1 \
 	    "
 
 SRC_URI[tarball.md5sum] = "9532714b6846013ca9898984ba4cd7e0"
Signature · 1 line
1.7.0.2
Acked-by on v1 1/1
#8 lore raw

Re: [PATCH][STABLE] procps: apply patch from Ubuntu to finally get rid of 'Unknown Hz value'

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 81 lines · Marcin Juszkiewicz
---
 .../procps-3.2.8/60_linux_version_init.dpatch      |   61 ++++++++++++++++++++
 recipes/procps/procps_3.2.8.bb                     |    3 +-
 2 files changed, 63 insertions(+), 1 deletions(-)
 create mode 100644 recipes/procps/procps-3.2.8/60_linux_version_init.dpatch
recipes/procps/procps-3.2.8/60_linux_version_init.dpatch new file +61 -0
new file mode 100644
index 0000000..d99456a
@@ -0,0 +1,61 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60_linux_init.dpatch by  <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix Linux version detection which relied on elf loader side-effect.
+## DP: This patch also depends on 40_gnu-kbsd-version, which modified
+## DP: init_Linux_version().
+
+@DPATCH@
+---
+ proc/sysinfo.c |    1 +
+ proc/version.c |    5 +++--
+ proc/version.h |    1 +
+ 3 files changed, 5 insertions(+), 2 deletions(-)
+
+--- procps-3.2.8.orig/proc/sysinfo.c
++++ procps-3.2.8/proc/sysinfo.c
+@@ -210,10 +210,11 @@ static int check_for_privs(void){
+ }
+ 
+ static void init_libproc(void) __attribute__((constructor));
+ static void init_libproc(void){
+   have_privs = check_for_privs();
++  init_Linux_version(); // make sure we have version before continuing...
+   // ought to count CPUs in /proc/stat instead of relying
+   // on glibc, which foolishly tries to parse /proc/cpuinfo
+   //
+   // SourceForge has an old Alpha running Linux 2.2.20 that
+   // appears to have a non-SMP kernel on a 2-way SMP box.
+--- procps-3.2.8.orig/proc/version.c
++++ procps-3.2.8/proc/version.c
+@@ -31,12 +31,13 @@ void display_version(void) {
+ 
+ #define LINUX_VERSION(x,y,z)   (0x10000*(x) + 0x100*(y) + z)
+ 
+ int linux_version_code;
+ 
+-static void init_Linux_version(void) __attribute__((constructor));
+-static void init_Linux_version(void) {
++// cannot depend on this auto-running before libproc init...
++//static void init_Linux_version(void) __attribute__((constructor));
++void init_Linux_version(void) {
+     static struct utsname uts;
+     int x = 0, y = 0, z = 0;	/* cleared in case sscanf() < 3 */
+     
+     if (uname(&uts) == -1)	/* failure implies impending death */
+ 	exit(1);
+--- procps-3.2.8.orig/proc/version.h
++++ procps-3.2.8/proc/version.h
+@@ -12,10 +12,11 @@
+  * Copyright 2002 Albert Cahalan
+  */
+ 
+ EXTERN_C_BEGIN
+ 
++extern void init_Linux_version(void);	/* initialize linux version */
+ extern void display_version(void);	/* display suite version */
+ extern const char procps_version[];		/* global buf for suite version */
+ 
+ extern int linux_version_code;		/* runtime version of LINUX_VERSION_CODE
+ 					   in /usr/include/linux/version.h */
recipes/procps/procps_3.2.8.bb +0 -0
index 22f54c3..f98b849 100644
@@ -1,10 +1,11 @@
 require procps.inc
 

recipes/procps/procps_3.2.8.bb line 11

Quoted 10 lines
recipes/procps/procps_3.2.8.bb +2 -1
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://procmodule.patch;patch=1 \
             file://psmodule.patch;patch=1 \
 	    file://linux-limits.patch;patch=1 \
+	    file://60_linux_version_init.dpatch;patch=1 \
 	    "
 
 SRC_URI[tarball.md5sum] = "9532714b6846013ca9898984ba4cd7e0"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2PJMkyGM64RGpERAsGYAJ4x+Osy3iqCGueayn3TyuMFT0P2rACgr/yZ o6BwCeYrcNnVuZHWQLJIiTk=
=ZUbA
-----END PGP SIGNATURE-----

Acked-by on v1 1/1
#9 lore raw

Re: [PATCH][STABLE] procps: apply patch from Ubuntu to finally get rid of 'Unknown Hz value'

In reply to Marcin Juszkiewicz
Quoted 91 lines · Marcin Juszkiewicz
---
  .../procps-3.2.8/60_linux_version_init.dpatch      |   61 ++++++++++++++++++++
  recipes/procps/procps_3.2.8.bb                     |    3 +-
  2 files changed, 63 insertions(+), 1 deletions(-)

create mode 100644 recipes/procps/procps-3.2.8/60_linux_version_init.dpatch

recipes/procps/procps-3.2.8/60_linux_version_init.dpatch new file +61 -0
new file mode 100644
index 0000000..d99456a
@@ -0,0 +1,61 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60_linux_init.dpatch by<[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix Linux version detection which relied on elf loader side-effect.
+## DP: This patch also depends on 40_gnu-kbsd-version, which modified
+## DP: init_Linux_version().
+
+@DPATCH@
+---
+ proc/sysinfo.c |    1 +
+ proc/version.c |    5 +++--
+ proc/version.h |    1 +
+ 3 files changed, 5 insertions(+), 2 deletions(-)
+
+--- procps-3.2.8.orig/proc/sysinfo.c
++++ procps-3.2.8/proc/sysinfo.c
+@@ -210,10 +210,11 @@ static int check_for_privs(void){
+ }
+
+ static void init_libproc(void) __attribute__((constructor));
+ static void init_libproc(void){
+   have_privs = check_for_privs();
++  init_Linux_version(); // make sure we have version before continuing...
+   // ought to count CPUs in /proc/stat instead of relying
+   // on glibc, which foolishly tries to parse /proc/cpuinfo
+   //
+   // SourceForge has an old Alpha running Linux 2.2.20 that
+   // appears to have a non-SMP kernel on a 2-way SMP box.
+--- procps-3.2.8.orig/proc/version.c
++++ procps-3.2.8/proc/version.c
+@@ -31,12 +31,13 @@ void display_version(void) {
+
+ #define LINUX_VERSION(x,y,z)   (0x10000*(x) + 0x100*(y) + z)
+
+ int linux_version_code;
+
+-static void init_Linux_version(void) __attribute__((constructor));
+-static void init_Linux_version(void) {
++// cannot depend on this auto-running before libproc init...
++//static void init_Linux_version(void) __attribute__((constructor));
++void init_Linux_version(void) {
+     static struct utsname uts;
+     int x = 0, y = 0, z = 0;	/* cleared in case sscanf()<  3 */
+
+     if (uname(&uts) == -1)	/* failure implies impending death */
+ 	exit(1);
+--- procps-3.2.8.orig/proc/version.h
++++ procps-3.2.8/proc/version.h
+@@ -12,10 +12,11 @@
+  * Copyright 2002 Albert Cahalan
+  */
+
+ EXTERN_C_BEGIN
+
++extern void init_Linux_version(void);	/* initialize linux version */
+ extern void display_version(void);	/* display suite version */
+ extern const char procps_version[];		/* global buf for suite version */
+
+ extern int linux_version_code;		/* runtime version of LINUX_VERSION_CODE
+ 					   in /usr/include/linux/version.h */
recipes/procps/procps_3.2.8.bb +2 -1
index 22f54c3..f98b849 100644
@@ -1,10 +1,11 @@
  require procps.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
  SRC_URI += "file://procmodule.patch;patch=1 \
              file://psmodule.patch;patch=1 \
  	    file://linux-limits.patch;patch=1 \
+	    file://60_linux_version_init.dpatch;patch=1 \
  	    "
 
  SRC_URI[tarball.md5sum] = "9532714b6846013ca9898984ba4cd7e0"
#10 lore raw

PATCH 1/1 procps: added 3.2.8 and dropped older

In reply to Marcin Juszkiewicz

This version no longer complain about unknown Hz value during boot.

---
 recipes/procps/procps-3.1.15/install.patch         |   16 -
 recipes/procps/procps-3.1.15/procps_3.1.15-2.diff  | 5133 --------------------
 recipes/procps/procps-3.2.1/install.patch          |   16 -
 .../procps/procps-3.2.5/pagesz-not-constant.patch  |   22 -
 recipes/procps/procps-3.2.7/install.patch          |   27 -
 .../procps/procps-3.2.7/pagesz-not-constant.patch  |   22 -
 recipes/procps/procps-3.2.7/procmodule.patch       |   36 -
 recipes/procps/procps-3.2.7/psmodule.patch         |   21 -
 .../{procps-3.2.5 => procps-3.2.8}/install.patch   |    0
 .../linux-limits.patch                             |    0
 .../pagesz-not-constant.patch                      |    0
 .../procmodule.patch                               |    0
 .../{procps-3.2.7 => procps-3.2.8}/procps.init     |    0
 .../{procps-3.2.5 => procps-3.2.8}/psmodule.patch  |    0
 .../{procps-3.2.7 => procps-3.2.8}/sysctl.conf     |    0
 recipes/procps/procps.inc                          |   61 +-
 recipes/procps/procps_3.1.15.bb                    |    9 -
 recipes/procps/procps_3.2.1.bb                     |   11 -
 recipes/procps/procps_3.2.5.bb                     |   45 -
 recipes/procps/procps_3.2.7.bb                     |   67 -
 recipes/procps/procps_3.2.8.bb                     |   11 +
 21 files changed, 69 insertions(+), 5428 deletions(-)
 delete mode 100644 recipes/procps/procps-3.1.15/install.patch
 delete mode 100644 recipes/procps/procps-3.1.15/procps_3.1.15-2.diff
 delete mode 100644 recipes/procps/procps-3.2.1/install.patch
 delete mode 100644 recipes/procps/procps-3.2.5/pagesz-not-constant.patch
 delete mode 100644 recipes/procps/procps-3.2.7/install.patch
 delete mode 100644 recipes/procps/procps-3.2.7/pagesz-not-constant.patch
 delete mode 100644 recipes/procps/procps-3.2.7/procmodule.patch
 delete mode 100644 recipes/procps/procps-3.2.7/psmodule.patch
 rename recipes/procps/{procps-3.2.5 => procps-3.2.8}/install.patch (100%)
 rename recipes/procps/{procps-3.2.7 => procps-3.2.8}/linux-limits.patch (100%)
 rename recipes/procps/{procps-3.2.1 => procps-3.2.8}/pagesz-not-constant.patch (100%)
 rename recipes/procps/{procps-3.2.5 => procps-3.2.8}/procmodule.patch (100%)
 rename recipes/procps/{procps-3.2.7 => procps-3.2.8}/procps.init (100%)
 rename recipes/procps/{procps-3.2.5 => procps-3.2.8}/psmodule.patch (100%)
 rename recipes/procps/{procps-3.2.7 => procps-3.2.8}/sysctl.conf (100%)
 delete mode 100644 recipes/procps/procps_3.1.15.bb
 delete mode 100644 recipes/procps/procps_3.2.1.bb
 delete mode 100644 recipes/procps/procps_3.2.5.bb
 delete mode 100644 recipes/procps/procps_3.2.7.bb
 create mode 100644 recipes/procps/procps_3.2.8.bb
recipes/procps/procps-3.1.15/install.patch deleted +0 -16
deleted file mode 100644
index 2d16c26..0000000
@@ -1,16 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- procps-3.1.15/Makefile~install	2003-12-24 03:01:55.000000000 +0100
-+++ procps-3.1.15/Makefile	2004-02-11 00:45:59.000000000 +0100
-@@ -147,7 +147,7 @@
- ###### install
- 
- $(BINFILES) : all
--	$(install) --mode a=rx --strip $(notdir $@) $@
-+	$(install) --mode a=rx $(notdir $@) $@
- 
- $(MANFILES) : all
- 	$(install) --mode a=r $(notdir $@) $@
recipes/procps/procps-3.1.15/procps_3.1.15-2.diff deleted +0 -5133

2,984 lines not on this page · raw message

recipes/procps/procps-3.2.1/install.patch deleted +0 -16
deleted file mode 100644
index 2d16c26..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.5/pagesz-not-constant.patch deleted +0 -22
deleted file mode 100644
index 8e9e1eb..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/install.patch deleted +0 -27
deleted file mode 100644
index 9f1ef69..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/pagesz-not-constant.patch deleted +0 -22
deleted file mode 100644
index 8e9e1eb..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/procmodule.patch deleted +0 -36
deleted file mode 100644
index fabfaba..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/psmodule.patch deleted +0 -21
deleted file mode 100644
index f298c1c..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.8/install.patch renamed from recipes/procps/procps-3.2.5/install.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/install.patch
rename to recipes/procps/procps-3.2.8/install.patch
recipes/procps/procps-3.2.8/linux-limits.patch renamed from recipes/procps/procps-3.2.7/linux-limits.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/linux-limits.patch
rename to recipes/procps/procps-3.2.8/linux-limits.patch
recipes/procps/procps-3.2.8/pagesz-not-constant.patch renamed from recipes/procps/procps-3.2.1/pagesz-not-constant.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.1/pagesz-not-constant.patch
rename to recipes/procps/procps-3.2.8/pagesz-not-constant.patch
recipes/procps/procps-3.2.8/procmodule.patch renamed from recipes/procps/procps-3.2.5/procmodule.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/procmodule.patch
rename to recipes/procps/procps-3.2.8/procmodule.patch
recipes/procps/procps-3.2.8/procps.init renamed from recipes/procps/procps-3.2.7/procps.init +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/procps.init
rename to recipes/procps/procps-3.2.8/procps.init
recipes/procps/procps-3.2.8/psmodule.patch renamed from recipes/procps/procps-3.2.5/psmodule.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/psmodule.patch
rename to recipes/procps/procps-3.2.8/psmodule.patch
recipes/procps/procps-3.2.8/sysctl.conf renamed from recipes/procps/procps-3.2.7/sysctl.conf +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/sysctl.conf
rename to recipes/procps/procps-3.2.8/sysctl.conf
recipes/procps/procps.inc +58 -3

61 lines not on this page · raw message

recipes/procps/procps_3.1.15.bb deleted +0 -9
deleted file mode 100644
index 01114e8..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.1.bb deleted +0 -11
deleted file mode 100644
index 33df399..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.5.bb deleted +0 -45

45 lines not on this page · raw message

recipes/procps/procps_3.2.7.bb deleted +0 -67

67 lines not on this page · raw message

recipes/procps/procps_3.2.8.bb new file +11 -0
new file mode 100644
index 0000000..22f54c3

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.2

Part of the diff is not shown here. View the raw message.

Acked-by on v1 1/1
#11 lore raw

Re: [PATCH][STABLE] procps: added 3.2.8 and dropped older

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

recipes/procps/procps_3.2.8.bb

Quoted 5,661 lines · Marcin Juszkiewicz

This version no longer complain about unknown Hz value during boot.

---
 recipes/procps/procps-3.1.15/install.patch         |   16 -
 recipes/procps/procps-3.1.15/procps_3.1.15-2.diff  | 5133 --------------------
 recipes/procps/procps-3.2.1/install.patch          |   16 -
 .../procps/procps-3.2.5/pagesz-not-constant.patch  |   22 -
 recipes/procps/procps-3.2.7/install.patch          |   27 -
 .../procps/procps-3.2.7/pagesz-not-constant.patch  |   22 -
 recipes/procps/procps-3.2.7/procmodule.patch       |   36 -
 recipes/procps/procps-3.2.7/psmodule.patch         |   21 -
 .../{procps-3.2.5 => procps-3.2.8}/install.patch   |    0
 .../linux-limits.patch                             |    0
 .../pagesz-not-constant.patch                      |    0
 .../procmodule.patch                               |    0
 .../{procps-3.2.7 => procps-3.2.8}/procps.init     |    0
 .../{procps-3.2.5 => procps-3.2.8}/psmodule.patch  |    0
 .../{procps-3.2.7 => procps-3.2.8}/sysctl.conf     |    0
 recipes/procps/procps.inc                          |   61 +-
 recipes/procps/procps_3.1.15.bb                    |    9 -
 recipes/procps/procps_3.2.1.bb                     |   11 -
 recipes/procps/procps_3.2.5.bb                     |   45 -
 recipes/procps/procps_3.2.7.bb                     |   67 -
 recipes/procps/procps_3.2.8.bb                     |   11 +
 21 files changed, 69 insertions(+), 5428 deletions(-)
 delete mode 100644 recipes/procps/procps-3.1.15/install.patch
 delete mode 100644 recipes/procps/procps-3.1.15/procps_3.1.15-2.diff
 delete mode 100644 recipes/procps/procps-3.2.1/install.patch
 delete mode 100644 recipes/procps/procps-3.2.5/pagesz-not-constant.patch
 delete mode 100644 recipes/procps/procps-3.2.7/install.patch
 delete mode 100644 recipes/procps/procps-3.2.7/pagesz-not-constant.patch
 delete mode 100644 recipes/procps/procps-3.2.7/procmodule.patch
 delete mode 100644 recipes/procps/procps-3.2.7/psmodule.patch
 rename recipes/procps/{procps-3.2.5 => procps-3.2.8}/install.patch (100%)
 rename recipes/procps/{procps-3.2.7 => procps-3.2.8}/linux-limits.patch (100%)
 rename recipes/procps/{procps-3.2.1 => procps-3.2.8}/pagesz-not-constant.patch (100%)
 rename recipes/procps/{procps-3.2.5 => procps-3.2.8}/procmodule.patch (100%)
 rename recipes/procps/{procps-3.2.7 => procps-3.2.8}/procps.init (100%)
 rename recipes/procps/{procps-3.2.5 => procps-3.2.8}/psmodule.patch (100%)
 rename recipes/procps/{procps-3.2.7 => procps-3.2.8}/sysctl.conf (100%)
 delete mode 100644 recipes/procps/procps_3.1.15.bb
 delete mode 100644 recipes/procps/procps_3.2.1.bb
 delete mode 100644 recipes/procps/procps_3.2.5.bb
 delete mode 100644 recipes/procps/procps_3.2.7.bb
 create mode 100644 recipes/procps/procps_3.2.8.bb
recipes/procps/procps-3.1.15/install.patch deleted +0 -16
deleted file mode 100644
index 2d16c26..0000000
@@ -1,16 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- procps-3.1.15/Makefile~install	2003-12-24 03:01:55.000000000 +0100
-+++ procps-3.1.15/Makefile	2004-02-11 00:45:59.000000000 +0100
-@@ -147,7 +147,7 @@
- ###### install
- 
- $(BINFILES) : all
--	$(install) --mode a=rx --strip $(notdir $@) $@
-+	$(install) --mode a=rx $(notdir $@) $@
- 
- $(MANFILES) : all
- 	$(install) --mode a=r $(notdir $@) $@
recipes/procps/procps-3.1.15/procps_3.1.15-2.diff deleted +0 -5133
deleted file mode 100644
index 438fd0f..0000000
@@ -1,5133 +0,0 @@
---- procps-3.1.15.orig/proc/library.map
-+++ procps-3.1.15/proc/library.map
-@@ -4,7 +4,7 @@
- 
-   readproc; readtask; readproctab; readproctab2; look_up_our_self; escape_command;
-   escape_str; escape_strlist;
--  openproc; closeproc;
-+  openproc; closeproc; freeproc;
-   tty_to_dev; dev_to_tty; open_psdb_message; open_psdb; wchan;
-   display_version; procps_version; linux_version_code;
-   Hertz; smp_num_cpus;
---- procps-3.1.15.orig/proc/readproc.c
-+++ procps-3.1.15/proc/readproc.c
-@@ -162,7 +162,7 @@
-         // examine a field name (hash and compare)
-     base:
-         if(unlikely(!*S)) break;
--        entry = table[63 & (asso[S[3]] + asso[S[2]] + asso[S[0]])];
-+        entry = table[63 & (asso[(int)S[3]] + asso[(int)S[2]] + asso[(int)S[0]])];
-         colon = strchr(S, ':');
-         if(unlikely(!colon)) break;
-         if(unlikely(colon[1]!='\t')) break;
-@@ -888,6 +888,8 @@
-     else
- 	PT = openproc(flags);
-     va_end(ap);
-+    if (!PT)
-+      return 0;
-     do {					/* read table: */
- 	tab = xrealloc(tab, (n+1)*sizeof(proc_t*));/* realloc as we go, using */
- 	tab[n] = readproc_direct(PT, NULL);     /* final null to terminate */
---- procps-3.1.15.orig/proc/module.mk
-+++ procps-3.1.15/proc/module.mk
-@@ -3,7 +3,7 @@
- # for lib$(NAME).so and /usr/include/($NAME) and such
- NAME      :=  proc
- 
--SHARED := 1
-+SHARED ?= 1
- 
- SONAME    :=  lib$(NAME).so.$(LIBVERSION)
- 
---- procps-3.1.15.orig/debian/README.Debian
-+++ procps-3.1.15/debian/README.Debian
-@@ -0,0 +1,22 @@
-+README for Debian package of procps
-+===================================
-+
-+XConsole gone
-+-------------
-+ XConsole and other X-based programs have been finally removed.  Look in
-+ the x packages for their equivalents.
-+
-+pgrep
-+-----
-+pgrep is a new program, using the Unix standard name for something that
-+greps for processes.  If you are looking for Perl compatible regular
-+expression grep, it is called pcregrep.
-+
-+forks
-+-----
-+Procps upstream is forked.  This one comes from procps.sf.net  I'm really
-+not interested when the others have new versions so please don't bug me about
-+it.  However if you see something neat in the others and would like it in
-+the Debian one, report a *wishlist* level bug about it.
-+
-+ Craig Small <[email protected]>
---- procps-3.1.15.orig/debian/copyright
-+++ procps-3.1.15/debian/copyright
-@@ -0,0 +1,27 @@
-+This is the Debian Linux prepackaged version of the /proc file
-+system utilities.
-+
-+This package was downloaded from:
-+  http://procps.sourceforge.net/
-+
-+
-+Upstream Authors:
-+Werner Almesberger <[email protected]>, Roger Binns, Charles
-+Blake <[email protected]>, Brian Edmonds, David Engel <[email protected]>,
-+Larry Greenfield <[email protected]>, Michael K. Johnson
-+<[email protected]>, Branko Lankester <[email protected]>,
-+Robert Nation <[email protected]>, Michael Shields
-+<[email protected]>, Henry Ware <[email protected]>, Matt
-+Welsh <[email protected]>, Albert D. Cahalan and Jim C. Warner
-+<[email protected]>
-+
-+All programs except ps, skill and snice are copyright by their
-+authors and redistributable under the terms of the GNU General
-+Public License. On Debian Linux systems, the complete text of
-+the GNU General Public License can be found in
-+`/usr/share/common-licenses/GPL'.
-+
-+ps, skill and snice are copyright by their authors and redistributable under 
-+the terms of the GNU Library General Public License. On Debian Linux 
-+systems, the complete text of the GNU Library General Public License can 
-+be found in `/usr/share/common/licenses/LGPL'.
---- procps-3.1.15.orig/debian/dirs
-+++ procps-3.1.15/debian/dirs
-@@ -0,0 +1,12 @@
-+etc
-+lib
-+sbin
-+bin
-+usr/bin
-+usr/sbin
-+usr/lib
-+usr/include/proc
-+usr/share/man/man1
-+usr/share/man/man5
-+usr/share/man/man8
-+
---- procps-3.1.15.orig/debian/docs
-+++ procps-3.1.15/debian/docs
-@@ -0,0 +1,4 @@
-+BUGS
-+TODO
-+README.top
-+
---- procps-3.1.15.orig/debian/examples
-+++ procps-3.1.15/debian/examples
-@@ -0,0 +1,2 @@
-+debian/sysctl.conf
-+
---- procps-3.1.15.orig/debian/libproc-dev.dirs
-+++ procps-3.1.15/debian/libproc-dev.dirs
-@@ -0,0 +1,2 @@
-+usr/lib
-+usr/include/proc
---- procps-3.1.15.orig/debian/menu
-+++ procps-3.1.15/debian/menu
-@@ -0,0 +1 @@
-+?package(procps):needs=text section="Apps/System" title="Top" command="/usr/bin/top" hints="Monitoring"
---- procps-3.1.15.orig/debian/postinst
-+++ procps-3.1.15/debian/postinst
-@@ -0,0 +1,74 @@
-+#!/bin/sh
-+# postinst script for procps
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+# summary of how this script can be called:
-+#        * <postinst> `configure' <most-recently-configured-version>
-+#        * <old-postinst> `abort-upgrade' <new version>
-+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-+#          <new-version>
-+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-+#          <failed-install-package> <version> `removing'
-+#          <conflicting-package> <version>
-+# for details, see http://www.debian.org/doc/debian-policy/ or
-+# the debian-policy package
-+#
-+# quoting from the policy:
-+#     Any necessary prompting should almost always be confined to the
-+#     post-installation script, and should be protected with a conditional
-+#     so that unnecessary prompting doesn't happen if a package's
-+#     installation fails and the `postinst' is called with `abort-upgrade',
-+#     `abort-remove' or `abort-deconfigure'.
-+
-+case "$1" in
-+    configure)
-+		if [ -e /etc/psdevtab ] ; then
-+			rm -f /etc/psdevtab
-+		fi
-+		if [ -e /etc/psdatabase ] 
-+		then
-+			rm -f /etc/psdatabase
-+		fi
-+		# Remove old /etc/init.d/procps file, Bug #53818
-+		if [ -e /etc/init.d/procps ]
-+		then
-+			rm -f /etc/init.d/procps
-+		fi
-+		# Remove old procps init.d script, if it exists Closes: #55137
-+		if [ -e /etc/rcS.d/S30procps ]
-+		then
-+			update-rc.d procps remove >/dev/null
-+		fi
-+		# and if that didn't work Closes: #92184
-+		if [ -e /etc/rcS.d/S30procps ]
-+		then
-+			rm -f /etc/rcS.d/S30procps
-+		fi
-+		#
-+		# Now to do the alternatives for w and ps
-+		update-alternatives --install /usr/bin/w w /usr/bin/w.procps 50 \
-+			--slave /usr/share/man/man1/w.1.gz w.1.gz /usr/share/man/man1/w.procps.1.gz
-+		
-+    ;;
-+
-+    abort-upgrade|abort-remove|abort-deconfigure)
-+
-+    ;;
-+
-+    *)
-+        echo "postinst called with unknown argument \`$1'" >&2
-+        exit 1
-+    ;;
-+esac
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+
-+#DEBHELPER#
-+
-+exit 0
-+
-+
---- procps-3.1.15.orig/debian/prerm
-+++ procps-3.1.15/debian/prerm
-@@ -0,0 +1,11 @@
-+#!/bin/sh
-+
-+if [ "$1" != "upgrade" ]
-+then
-+	update-alternatives --remove w /usr/bin/w.procps
-+fi
-+
-+#DEBHELPER#
-+
-+exit 0
-+
---- procps-3.1.15.orig/debian/sysctl.conf
-+++ procps-3.1.15/debian/sysctl.conf
-@@ -0,0 +1,6 @@
-+#
-+# /etc/sysctl.conf - Configuration file for setting system variables
-+# See sysctl.conf (5) for information.
-+#
-+#kernel.domainname = example.com
-+#net/ipv4/icmp_echo_ignore_broadcasts=1
---- procps-3.1.15.orig/debian/watch
-+++ procps-3.1.15/debian/watch
-@@ -0,0 +1,6 @@
-+# Example watch control file for uscan
-+# Rename this file to "watch" and then you can run the "uscan" command
-+# to check for upstream updates and more.
-+# Site		Directory		Pattern			Version	Script
-+sunsite.unc.edu	/pub/Linux/Incoming	procps-*.tar.gz	debian	uupdate
-+
---- procps-3.1.15.orig/debian/procps.sh
-+++ procps-3.1.15/debian/procps.sh
-@@ -0,0 +1,40 @@
-+#! /bin/sh
-+# /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf
-+#
-+# written by Elrond <[email protected]>
-+
-+# Check for existance of the default file and exit if not there,
-+# Closes #52839 for the boot-floppy people
-+[ -r /etc/default/rcS ] || exit 0
-+. /etc/default/rcS
-+
-+[ -x /sbin/sysctl ] || exit 0
-+
-+
-+case "$1" in
-+       start|reload|restart|force-reload)
-+               if [ ! -r /etc/sysctl.conf ]
-+               then
-+                       exit 0
-+               fi
-+               if [ "$VERBOSE" = "no" ]
-+               then
-+                       n="-n"
-+                       redir=">/dev/null"
-+               else
-+                       echo -n "Setting kernel variables."
-+                       n=""
-+                       redir=""
-+               fi
-+               eval "/sbin/sysctl $n -p $redir"
-+			   echo "."
-+               ;;
-+       stop|show)
-+               ;;
-+       *)
-+               echo "Usage: /etc/init.d/procps.sh {start|stop|reload|restart}" >&2
-+               exit 1
-+               ;;
-+esac
-+
-+
---- procps-3.1.15.orig/debian/procps.manpages
-+++ procps-3.1.15/debian/procps.manpages
-@@ -0,0 +1 @@
-+ps/ps.1
---- procps-3.1.15.orig/debian/compat
-+++ procps-3.1.15/debian/compat
-@@ -0,0 +1 @@
-+4
---- procps-3.1.15.orig/debian/libproc-dev.files
-+++ procps-3.1.15/debian/libproc-dev.files
-@@ -0,0 +1,2 @@
-+usr/include/proc/*.h
-+lib/libproc.so
---- procps-3.1.15.orig/debian/libproc-dev.README
-+++ procps-3.1.15/debian/libproc-dev.README
-@@ -0,0 +1,12 @@
-+README for libproc-dev
-+======================
-+
-+This README is for people who want to use the libraries for their own
-+programs.  If you just want to use procps tools you don't need to use this
-+and you can probably remove libproc-dev too.
-+
-+It is generally a bad idea to dynamically link to libproc.  The API changes
-+a fair bit and I cannot guarantee that it will stay the same between minor
-+versions (though it will stay the same between Debian versions).  I've now
-+re-included the libproc.a file so use that.
-+
---- procps-3.1.15.orig/debian/patches/20_procps-fix+attr.dpatch
-+++ procps-3.1.15/debian/patches/20_procps-fix+attr.dpatch
-@@ -0,0 +1,55 @@
-+#! /bin/sh -e
-+## 20_procps-fix++attr by someone
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: SELINUX Attr value in /proc
-+
-+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1 < $0;;
-+       -unpatch) patch $patch_opts -p1 -R < $0;;
-+        *)
-+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+diff -urN procps-3.1.15/ps/output.c procps-3.1.15.new/ps/output.c
-+--- procps-3.1.15/ps/output.c	2003-12-23 19:46:32.000000000 -0600
-++++ procps-3.1.15.new/ps/output.c	2003-12-24 13:31:16.000000000 -0600
-+@@ -944,7 +944,7 @@
-+ 
-+ // wchan file is suitable for testing
-+ //snprintf(filename, sizeof filename, "/proc/%d/task/%d/wchan", pp->tgid, pp->tid);
-+-  snprintf(filename, sizeof filename, "/proc/%d/task/%d/attr/current", pp->tgid, pp->tid);
-++  snprintf(filename, sizeof filename, "/proc/%d/attr/current", pp->tgid);
-+ 
-+   fd = open(filename, O_RDONLY, 0);
-+   if(likely(fd==-1)) goto fail;
-+diff -urN procps-3.1.15/ps/parser.c procps-3.1.15.new/ps/parser.c
-+--- procps-3.1.15/ps/parser.c	2003-12-23 17:58:06.000000000 -0600
-++++ procps-3.1.15.new/ps/parser.c	2003-12-24 13:45:08.000000000 -0600
-+@@ -315,12 +315,10 @@
-+       exclusive("-V");
-+       display_version();
-+       exit(0);
-+-#if 0
-+-    case 'Z':     /* full Mandatory Access Control level info */
-+-      trace("-Z shows full MAC info\n");
-+-      return "Don't understand MAC on Linux.";
-++    case 'Z':
-++      trace("-Z shows SELinux contexts\n");
-++      format_flags |= FF_Fc;
-+       break;
-+-#endif
-+     case 'a':
-+       trace("-a select all with a tty, but omit session leaders.\n");
-+       simple_select |= SS_U_a;
---- procps-3.1.15.orig/debian/patches/20_ps.1.dpatch
-+++ procps-3.1.15/debian/patches/20_ps.1.dpatch
-@@ -0,0 +1,376 @@
-+#! /bin/sh -e
-+## 20_ps.1.dpatch by Craig Small <[email protected]>
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Fix ps manual page
-+
-+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1 < $0;;
-+       -unpatch) patch $patch_opts -p1 -R < $0;;
-+        *)
-+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+--- procps-3.1.15/ps/ps.1	2003-12-24 12:59:47.000000000 +1100
-++++ procps-3.1.15.newps/ps.1	2003-12-26 18:05:01.000000000 +1100
-+@@ -1,3 +1,5 @@
-++'\" t
-++.\" (The preceding line is a note to broken versions of man to tell
-+ .\" Man page for ps.
-+ .\" Quick hack conversion by Albert Cahalan, 1998.
-+ .\" Licensed under version 2 of the Gnu General Public License.
-+@@ -10,8 +12,8 @@
-+ .\" invented this crap in 1973. Oh yeah, they did. Sorry.
-+ .\"
-+ .TH PS 1 "July 5, 1998" "Linux" "Linux User's Manual"
-+-.SH \fRNAME\fR
-+-ps \- report process status
-++.SH NAME
-++ps \- report a snapshot of the current processes.
-+ .ad r
-+ .na
-+ .ss 12 0
-+@@ -19,17 +21,17 @@
-+ .nh
-+ .nf
-+ 
-+-SYNOPSIS
-++.SH SYNOPSIS
-+ ps [options]
-+ 
-+ 
-+-DESCRIPTION
-++.SH DESCRIPTION
-+ ps gives a snapshot of the current processes. If you want
-+ a repetitive update of this status, use top. This man
-+ page documents the /proc-based version of ps, or tries to.
-+ 
-+ 
-+-COMMAND-LINE OPTIONS
-++.SH "COMMAND-LINE OPTIONS"
-+ 
-+ This version of ps accepts several kinds of options.
-+ 
-+@@ -43,7 +45,9 @@
-+ when options are preceeded by a dash. The PS_PERSONALITY environment
-+ variable (described below) provides more detailed control of ps behavior.
-+ 
-+-SIMPLE PROCESS SELECTION
-++.SH "SIMPLE PROCESS SELECTION"
-++.TS
-++l l.
-+ -A           select all processes
-+ -N           negate selection
-+ -a           select all with a tty except session leaders
-+@@ -55,8 +59,11 @@
-+ r            restrict output to running processes
-+ x            select processes without controlling ttys
-+ --deselect   negate selection
-++.TE
-+ 
-+-PROCESS SELECTION BY LIST
-++.SH "PROCESS SELECTION BY LIST"
-++.TS
-++l l.
-+ -C           select by command name
-+ -G           select by RGID (supports names)
-+ -U           select by RUID (supports names)
-+@@ -78,8 +85,10 @@
-+ --user       select by effective user name or ID
-+ -123         implied --sid
-+ 123          implied --pid
-+-
-+-OUTPUT FORMAT CONTROL
-++.TE
-++.SH "OUTPUT FORMAT CONTROL"
-++.TS
-++l l.
-+ -O           is preloaded "-o"
-+ -F           extra full format
-+ -c           different scheduler info for -l option
-+@@ -98,8 +107,10 @@
-+ v            display virtual memory format
-+ --format     user-defined format
-+ --context    display security context format (NSA SELinux, etc.)
-+-
-+-OUTPUT MODIFIERS
-++.TE
-++.SH "OUTPUT MODIFIERS"
-++.TS
-++l l.
-+ -H           show process hierarchy (forest)
-+ -n           set namelist file
-+ -w           wide output
-+@@ -123,31 +134,40 @@
-+ --rows       set screen height
-+ --sort       specify sorting order
-+ --width      set screen width
-+-
-+-THREAD DISPLAY
-++.TE
-++.SH "THREAD DISPLAY"
-++.TS
-++l l.
-+ -L           show threads, possibly with LWP and NLWP columns
-+ -T           show threads, possibly with SPID column
-+ -m           show threads after processes
-+ H            show threads as if they were processes
-+ m            show threads after processes
-++.TE
-+ 
-+-INFORMATION
-++.SH INFORMATION
-++
-++.TS
-++l l.
-+ -V          print version
-+ L           list all format specifiers
-+ V           show version info
-+ --help      print help message
-+ --info      print debugging info
-+ --version   print version
-++.TE
-++
-++.SH OBSOLETE
-+ 
-+-OBSOLETE
-++.TS
-++l l.
-+ A           increases the argument space (DecUnix)
-+ M           use alternate core (try -n or N instead)
-+ W           get swap info from ... not /dev/drum (try -n or N instead)
-+ k           use /vmcore as c-dumpfile (try -n or N instead)
-+-
-+-
-+-
-+-NOTES
-++.TE
-++  
-++.SH NOTES
-+ 
-+ User-defined format options ("o", "-o", "O", and "-O") offer
-+ a way to specify individual output columns. Headers may be
-+@@ -249,14 +269,17 @@
-+ will be destroyed by init(8) if the parent process exits.
-+ 
-+ 
-+-PROCESS FLAGS
-+-
-++.SH "PROCESS FLAGS"
-++.TS
-++l l l.
-+ FORKNOEXEC   1    forked but didn't exec
-+ SUPERPRIV    4    used super-user privileges
-++.TE
-+ 
-++.SH "PROCESS STATE CODES"
-+ 
-+-PROCESS STATE CODES
-+-
-++.TS
-++l l.
-+ D uninterruptible sleep (usually IO)
-+ R runnable (on run queue)
-+ S sleeping
-+@@ -264,23 +287,30 @@
-+ W paging
-+ X dead
-+ Z a defunct ("zombie") process
-++.TE
-+ 
-+ For BSD formats and when the "stat" keyword is used, additional
-+ letters may be displayed:
-+ 
-+-W has no resident pages
-+-< high-priority process
-+-N low-priority task
-+-L has pages locked into memory (for real-time and custom IO)
-++.IP W
-++has no resident pages
-++.IP <
-++high-priority process
-++.IP N
-++low-priority task
-++.IP L
-++has pages locked into memory (for real-time and custom IO)
-+ 
-+ 
-+-SORT KEYS
-++.SH "SORT KEYS"
-+ 
-+ Note that the values used in sorting are the internal values ps uses and not
-+ the `cooked' values used in some of the output format fields. Pipe ps
-+ output into the sort(1) command if you want to sort the cooked values.
-+ 
-+-KEY LONG       DESCRIPTION
-++.TS
-++l l l.
-++\fBKEY LONG       DESCRIPTION\fR
-+ c   cmd        simple name of executable
-+ C   cmdline    full command line
-+ f   flags      flags as in long format F field
-+@@ -307,14 +337,15 @@
-+ u   user       user name
-+ v   vsize      total VM size in kB
-+ y   priority   kernel scheduling priority
-++.TE
-+ 
-+-
-+-AIX FORMAT DESCRIPTORS
-++.SH "AIX FORMAT DESCRIPTORS"
-+ 
-+ This ps supports AIX format descriptors, which work somewhat like the
-+ formatting codes of printf(1) and printf(3). For example, the normal
-+ default output can be produced with this:   ps -eo "%p %y %x %c"
-+-
-++.TS
-++l l l.
-+ CODE  NORMAL    HEADER
-+ %C    pcpu      %CPU
-+ %G    group     GROUP
-+@@ -331,14 +362,16 @@
-+ %x    time      TIME
-+ %y    tty       TTY
-+ %z    vsz       VSZ
-++.TE
-+ 
-+-
-+-STANDARD FORMAT SPECIFIERS
-++.SH "STANDARD FORMAT SPECIFIERS"
-+ 
-+ These may be used to control both output format and sorting.
-+ For example:  ps -eo pid,user,args --sort user
-+ 
-+-CODE         HEADER
-++.TS
-++l l.
-++\fBCODE         HEADER\fR
-+ %cpu         %CPU    
-+ %mem         %MEM    
-+ alarm        ALARM   
-+@@ -459,25 +492,51 @@
-+ vsize        VSZ     
-+ vsz          VSZ     
-+ wchan        WCHAN   
-++.TE
-+ 
-++.SH "ENVIRONMENT VARIABLES"
-+ 
-+-
-+-
-+-ENVIRONMENT VARIABLES
-+ The following environment variables could affect ps:
-+-    COLUMNS             Override default display width.
-+-    LINES               Override default display height.
-+-    PS_PERSONALITY      Set to one of posix,old,linux,bsd,sun,digital...
-+-    CMD_ENV             Set to one of posix,old,linux,bsd,sun,digital...
-+-    I_WANT_A_BROKEN_PS  Force obsolete command line interpretation.
-+-    LC_TIME             Date format.
-+-    PS_COLORS           Not currently supported.
-+-    PS_FORMAT           Default output format override.
-+-    PS_SYSMAP           Default namelist (System.map) location.
-+-    PS_SYSTEM_MAP       Default namelist (System.map) location.
-+-    POSIXLY_CORRECT     Don't find excuses to ignore bad "features".
-+-    UNIX95              Don't find excuses to ignore bad "features".
-+-    _XPG                Cancel CMD_ENV=irix non-standard behavior.
-++
-++.TP 
-++.B COLUMNS
-++Override default display width.
-++.TP
-++.B LINES
-++Override default display height.
-++.TP
-++.B PS_PERSONALITY
-++Set to one of posix,old,linux,bsd,sun,digital...
-++.TP
-++.B CMD_ENV
-++Set to one of posix,old,linux,bsd,sun,digital...
-++.TP
-++.B I_WANT_A_BROKEN_PS
-++Force obsolete command line interpretation.
-++.TP
-++.B LC_TIME
-++Date format.
-++.TP
-++.B PS_COLORS
-++Not currently supported.
-++.TP
-++.B PS_FORMAT
-++Default output format override.
-++.TP
-++.B PS_SYSMAP
-++Default namelist (System.map) location.
-++.TP
-++.B PS_SYSTEM_MAP
-++Default namelist (System.map) location.
-++.TP
-++.B POSIXLY_CORRECT
-++Don't find excuses to ignore bad "features".
-++.TP
-++.B UNIX95
-++Don't find excuses to ignore bad "features".
-++.TP
-++.B _XPG
-++Cancel CMD_ENV=irix non-standard behavior.
-+ 
-+ In general, it is a bad idea to set these variables. The one exception
-+ is CMD_ENV or PS_PERSONALITY, which could be set to Linux for normal
-+@@ -485,7 +544,9 @@
-+ of the Unix98 standard.
-+ 
-+ 
-+-PERSONALITY
-++.SH "PERSONALITY"
-++.TS
-++l l.
-+     390      like the S/390 OpenEdition ps
-+     aix      like AIX ps
-+     bsd      like FreeBSD ps (totally non-standard)
-+@@ -507,9 +568,9 @@
-+     unix     standard
-+     unix95   standard
-+     unix98   standard
-++.TE
-+ 
-+-
-+-EXAMPLES
-++.SH "EXAMPLES"
-+ To see every process on the system using standard syntax:
-+     ps -e
-+ To see every process on the system using BSD syntax:
-+@@ -523,13 +584,13 @@
-+ Print only the process IDs of syslogd:
-+     ps -C syslogd -o pid=
-+ 
-+-SEE ALSO
-+-top(1) pgrep(1) pstree(1) proc(5)
-++.SH "SEE ALSO"
-++.BR top (1), pgrep (1), pstree (1),  proc (5).
-+ 
-+-STANDARDS
-++.SH STANDARDS
-+ This ps conforms to version 2 of the Single Unix Specification.
-+ 
-+-AUTHOR
-++.SH AUTHOR
-+ ps was originally written by Branko Lankester <[email protected]>. Michael
-+ K. Johnson <[email protected]> re-wrote it significantly to use the proc
-+ filesystem, changing a few things in the process. Michael Shields
-+@@ -541,4 +602,4 @@
-+ <[email protected]> rewrote ps for full Unix98 and BSD support, along with
-+ some ugly hacks for obsolete and foreign syntax.
-+ 
-+-Please send bug reports to <[email protected]>
-++Please send bug reports to <[email protected]>.
---- procps-3.1.15.orig/debian/patches/20_top_manpage.dpatch
-+++ procps-3.1.15/debian/patches/20_top_manpage.dpatch
-@@ -0,0 +1,384 @@
-+#! /bin/sh -e
-+## 20_top_manpage by Randy Hron
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Fix bold in top manual page
-+
-+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1 < $0;;
-+       -unpatch) patch $patch_opts -p1 -R < $0;;
-+        *)
-+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+--- procps/top.1.orig	2003-12-24 15:51:35.000000000 -0500
-++++ procps/top.1	2003-12-24 18:57:14.564156176 -0500
-+@@ -52,7 +52,7 @@
-+ .ds CF configuration file
-+ .ds CI interactive command
-+ .ds CO command\-line option
-+-.ds CW \'current' window
-++.ds CW 'current' window
-+ .ds FM full\-screen mode
-+ .ds MP \fBphysical\fR memory
-+ .ds MS \fBshared\fR memory
-+@@ -370,7 +370,7 @@
-+ The task's share of the elapsed \*(PU time since the last screen update, expressed
-+ as a percentage of total \*(PU time.
-+ In a true SMP environment, if 'Irix mode' is \*F, \*(Me will operate in
-+-\'Solaris mode' where a task's \*(Pu usage will be divided by the total
-++'Solaris mode' where a task's \*(Pu usage will be divided by the total
-+ number of \*(PUs.
-+ You toggle 'Irix/Solaris' modes with the 'I' \*(CI.
-+ 
-+@@ -498,7 +498,7 @@
-+ .\" ......................................................................
-+ .SS 2b. SELECTING and ORDERING Columns
-+ .\" ----------------------------------------------------------------------
-+-After pressing the \*(CIs 'f' (Fields select) or \'o' (Order fields) you will
-++After pressing the \*(CIs 'f' (Fields select) or 'o' (Order fields) you will
-+ be shown a screen containing the current \fBfields string\fR followed by names
-+ and descriptions for all fields.
-+ 
-+@@ -574,7 +574,7 @@
-+ see current status,
-+ 
-+ .TP 7
-+-\ \ \'\fB?\fR\' or \'\fBh\fR\' :\fIHelp\fR
-++\ \ \<\fB?\fR\> or \<\fBh\fR\> :\fIHelp\fR
-+ There are two help levels available.
-+ The first will provide a reminder of all the basic \*(CIs.
-+ If \*(Me is\fI secured\fR, that screen will be abbreviated.
-+@@ -583,7 +583,7 @@
-+ applicable to \*(AM.
-+ 
-+ .TP 7
-+-\ \ \'\fB=\fR\' :\fIExit_Task_Limits\fR
-++\ \ \<\fB=\fR\> :\fIExit_Task_Limits\fR
-+ Removes restrictions on which tasks are shown.
-+ This command will reverse any 'i' (idle tasks) and 'n' (max tasks) commands
-+ that might be active.
-+@@ -593,13 +593,13 @@
-+ When operating in \*(AM this command has a slightly broader meaning.
-+ 
-+ .TP 7
-+-\ \ \'\fBA\fR\' :\fIAlternate_Display_Mode_toggle\fR
-++\ \ \<\fBA\fR\> :\fIAlternate_Display_Mode_toggle\fR
-+ This command will switch between \*(FM and \*(AM.
-+-\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight into
-+-\*(CWs and field groups.
-++\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight
-++into \*(CWs and field groups.
-+ 
-+ .TP 7
-+-\ \ \'\fBB\fR\' :\fIBold_Disable/Enable_toggle\fR
-++\ \ \<\fBB\fR\> :\fIBold_Disable/Enable_toggle\fR
-+ This command will influence use of the 'bold' terminfo capability and
-+ alters\fB both\fR the \*(SA and \*(TA for the \*(CW.
-+ While it is intended primarily for use with dumb terminals, it can be
-+@@ -611,7 +611,7 @@
-+ there will be no visual confirmation that they are even on.
-+ 
-+ .TP 7
-+-*\ \'\fBd\fR\' or \'\fBs\fR\' :\fIChange_Delay_Time_interval\fR
-++*\ \<\fBd\fR\> or \<\fBs\fR\> :\fIChange_Delay_Time_interval\fR
-+ You will be prompted to enter the delay time, in seconds, between
-+ display updates.
-+ 
-+@@ -625,32 +625,32 @@
-+ and view the system summary on the second line.
-+ 
-+ .TP 7
-+-\ \ \'\fBG\fR\' :\fIChoose_Another_Window/Field_Group\fR
-++\ \ \<\fBG\fR\> :\fIChoose_Another_Window/Field_Group\fR
-+ You will be prompted to enter a number between 1 and 4 designating the
-+ window/field group which should be made the \*(CW.
-+ You will soon grow comfortable with these 4 windows, especially after
-+ experimenting with \*(AM.
-+ 
-+ .TP 7
-+-\ \ \'\fBI\fR\' :\fIIrix/Solaris_Mode_toggle\fR
-++\ \ \<\fBI\fR\> :\fIIrix/Solaris_Mode_toggle\fR
-+ When operating in 'Solaris mode' ('I' toggled \*F), a task's \*(Pu usage
-+ will be divided by the total number of \*(PUs.
-+ After issuing this command, you'll be informed of the new state of this toggle.
-+ 
-+ .TP 7
-+-\ \ \'\fBu\fR\' :\fIselect a user\fR
-++\ \ \<\fBu\fR\> :\fIselect a user\fR
-+ You will be prompted for a UID or username. Only processes
-+ belonging to the selected user will be displayed. This option
-+ matches on the effective UID.
-+ 
-+ .TP 7
-+-\ \ \'\fBU\fR\' :\fIselect a user\fR
-++\ \ \<\fBU\fR\> :\fIselect a user\fR
-+ You will be prompted for a UID or username. Only processes
-+ belonging to the selected user will be displayed. This option
-+ matches on the real, effective, saved, and filesystem UID.
-+ 
-+ .TP 7
-+-*\ \'\fBk\fR\' :\fIKill_a_task\fR
-++*\ \<\fBk\fR\> :\fIKill_a_task\fR
-+ You will be prompted for a PID and then the signal to send.
-+ The default signal, as reflected in the prompt, is SIGTERM.
-+ However, you can send any signal, via number or name.
-+@@ -661,24 +661,24 @@
-+    2) at the signal prompt, type 0
-+ 
-+ .TP 7
-+-\ \ \'\fBq\fR\' :\fIQuit\fR
-++\ \ \<\fBq\fR\> :\fIQuit\fR
-+ 
-+ .TP 7
-+-*\ \'\fBr\fR\' :\fIRenice_a_Task\fR
-++*\ \<\fBr\fR\> :\fIRenice_a_Task\fR
-+ You will be prompted for a PID and then the value to nice it to.
-+ Entering a positive value will cause a process to lose priority.
-+ Conversely, a negative value will cause a process to be viewed more
-+ favorably by the kernel.
-+ 
-+ .TP 7
-+-\ \ \'\fBW\fR\' :\fIWrite_the_Configuration_File\fR
-++\ \ \<\fBW\fR\> :\fIWrite_the_Configuration_File\fR
-+ This will save all of your options and toggles plus the current
-+ display mode and delay time.
-+ By issuing this command just before quitting \*(Me, you will be able restart
-+ later in exactly that same state.
-+ 
-+ .TP 7
-+-\ \ \'\fBZ\fR\' :\fIChange_Color_Mapping
-++\ \ \<\fBZ\fR\> :\fIChange_Color_Mapping
-+ This key will take you to a separate screen where you can change the
-+ colors for the \*(CW, or for all windows.
-+ For details regarding this \*(CI \*(Xt 3d. COLOR Mapping.
-+@@ -694,25 +694,25 @@
-+ of messages and prompts.
-+ 
-+ These commands always impact just the \*(CW/field group.
-+-\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight into
-+-\*(CWs and field groups.
-++\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight
-++into \*(CWs and field groups.
-+ 
-+ .TP 7
-+-\ \ \'\fBl\fR\' :\fIToggle_Load_Average/Uptime\fR \*(EM On/Off
-++\ \ \<\fBl\fR\> :\fIToggle_Load_Average/Uptime\fR \*(EM On/Off
-+ This is also the line containing the program name (possibly an alias) when
-+ operating in \*(FM or the \*(CW name when operating in \*(AM.
-+ 
-+ .TP 7
-+-\ \ \'\fBm\fR\' :\fIToggle_Memory/Swap_Usage\fR \*(EM On/Off
-++\ \ \<\fBm\fR\> :\fIToggle_Memory/Swap_Usage\fR \*(EM On/Off
-+ This command affects two \*(SA lines.
-+ 
-+ .TP 7
-+-\ \ \'\fBt\fR\' :\fIToggle_Task/Cpu_States\fR \*(EM On/Off
-++\ \ \<\fBt\fR\> :\fIToggle_Task/Cpu_States\fR \*(EM On/Off
-+ This command affects from 2 to many \*(SA lines, depending on the state
-+ of the '1' toggle and whether or not \*(Me is running under true SMP.
-+ 
-+ .TP 7
-+-\ \ \'\fB1\fR\' :\fIToggle_Single/Separate_Cpu_States\fR \*(EM On/Off
-++\ \ \<\fB1\fR\> :\fIToggle_Single/Separate_Cpu_States\fR \*(EM On/Off
-+ This command affects how the 't' command's Cpu States portion is shown.
-+ Although this toggle exists primarily to serve massively-parallel SMP machines,
-+ it is not restricted to solely SMP environments.
-+@@ -744,12 +744,12 @@
-+ .in
-+ 
-+ .TP 7
-+-\ \ \'\fBb\fR\' :\fIBold/Reverse_toggle\fR
-++\ \ \<\fBb\fR\> :\fIBold/Reverse_toggle\fR
-+ This command will impact how the 'x' and 'y' toggles are displayed.
-+ Further, it will only be available when at least one of those toggles is \*O.
-+ 
-+ .TP 7
-+-\ \ \'\fBx\fR\' :\fIColumn_Highlight_toggle\fR
-++\ \ \<\fBx\fR\> :\fIColumn_Highlight_toggle\fR
-+ Changes highlighting for the current sort field.
-+ You probably don't need a constant visual reminder of the sort field and
-+ \*(Me hopes that you always run with 'column highlight' \*F, due to the cost
-+@@ -759,7 +759,7 @@
-+ visual reminder.
-+ 
-+ .TP 7
-+-\ \ \'\fBy\fR\' :\fIRow_Highlight_toggle\fR
-++\ \ \<\fBy\fR\> :\fIRow_Highlight_toggle\fR
-+ Changes highlighting for "running" tasks.
-+ For additional insight into this task state, \*(Xt 2a. DESCRIPTIONS of Fields,
-+ Process Status.
-+@@ -768,7 +768,7 @@
-+ The only costs will be a few additional tty escape sequences.
-+ 
-+ .TP 7
-+-\ \ \'\fBz\fR\' :\fIColor/Monochrome_toggle\fR
-++\ \ \<\fBz\fR\> :\fIColor/Monochrome_toggle\fR
-+ Switches the \*(CW between your last used color scheme and the older form
-+ of black-on-white or white-on-black.
-+ This command will alter\fB both\fR the \*(SA and \*(TA but does not affect the
-+@@ -779,20 +779,20 @@
-+ .B CONTENT\fR of \*(TW
-+ .PD 0
-+ .TP 7
-+-\ \ \'\fBc\fR\' :\fICommand_Line/Program_Name_toggle\fR
-++\ \ \<\fBc\fR\> :\fICommand_Line/Program_Name_toggle\fR
-+ This command will be honored whether or not the 'Command' column
-+ is currently visible.
-+ Later, should that field come into view, the change you applied will be seen.
-+ 
-+ .TP 7
-+-\ \ \'\fBf\fR\' and \'\fBo\fR\' :\fIFields_select\fR or \fIOrder_fields\fR
-++\ \ \<\fBf\fR\> and \<\fBo\fR\> :\fIFields_select\fR or \fIOrder_fields\fR
-+ These keys display separate screens where you can change which
-+ fields are displayed and their order.
-+ For additional information on these \*(CIs
-+ \*(Xt 2b. SELECTING and ORDERING Columns.
-+ 
-+ .TP 7
-+-\ \ \'\fBS\fR\' :\fICumulative_Time_Mode_toggle\fR
-++\ \ \<\fBS\fR\> :\fICumulative_Time_Mode_toggle\fR
-+ When 'Cumulative mode' is \*O, each process is listed with the \*(Pu
-+ time that it and its dead children have used.
-+ 
-+@@ -808,7 +808,7 @@
-+ effect, simply ask for help and view the window summary on the second line.
-+ 
-+ .TP 7
-+-\ \ \'\fBu\fR\' :\fIShow_Specific_User_Only\fR
-++\ \ \<\fBu\fR\> :\fIShow_Specific_User_Only\fR
-+ You will be prompted to enter the name of the user to display.
-+ Thereafter, in that \*(TW only matching User ID's will be shown, or possibly
-+ no tasks will be shown.
-+@@ -821,7 +821,7 @@
-+ .B SIZE\fR of \*(TW
-+ .PD 0
-+ .TP 7
-+-\ \ \'\fBi\fR\' :\fIIdle_Processes_toggle\fR
-++\ \ \<\fBi\fR\> :\fIIdle_Processes_toggle\fR
-+ Displays all tasks or just active tasks.
-+ When this toggle is \*F, idled or zombied processes will not be displayed.
-+ 
-+@@ -829,7 +829,7 @@
-+ affect the window's size, as all prior \*(TDs will have already been painted.
-+ 
-+ .TP 7
-+-\ \ \'\fBn\fR\' or \'#\' :\fISet_Maximum_Tasks\fR
-++\ \ \<\fBn\fR\> or \<\fB#\fR\> :\fISet_Maximum_Tasks\fR
-+ You will be prompted to enter the number of tasks to display.
-+ The lessor of your number and available screen rows will be used.
-+ 
-+@@ -868,12 +868,12 @@
-+ .in
-+ 
-+ .TP 7
-+-\ \ \'\fB<\fR\' :\fIMove_Sort_Field_Left\fR
-++\ \ \<\fB<\fR\> :\fIMove_Sort_Field_Left\fR
-+ Moves the sort column to the left unless the current sort field is
-+ the first field being displayed.
-+ 
-+ .TP 7
-+-\ \ \'\fB>\fR\' :\fIMove_Sort_Field_Right\fR
-++\ \ \<\fB>\fR\> :\fIMove_Sort_Field_Right\fR
-+ Moves the sort column to the right unless the current sort field is
-+ the last field being displayed.
-+ 
-+@@ -884,7 +884,7 @@
-+ .in
-+ 
-+ .TP 7
-+-\ \ \'\fBF\fR\' or \'\fBO\fR\' :\fISelect_Sort_Field\fR
-++\ \ \<\fBF\fR\> or \<\fBO\fR\> :\fISelect_Sort_Field\fR
-+ These keys display a separate screen where you can change which field
-+ is used as the sort column.
-+ 
-+@@ -897,7 +897,7 @@
-+ when running \*(Me with column highlighting turned \*F.
-+ 
-+ .TP 7
-+-\ \ \'\fBR\fR\' :\fIReverse/Normal_Sort_Field_toggle\fR
-++\ \ \<\fBR\fR\> :\fIReverse/Normal_Sort_Field_toggle\fR
-+ Using this \*(CI you can alternate between high-to-low and low-to-high sorts.
-+ 
-+ .PP
-+@@ -974,7 +974,7 @@
-+ .\" ......................................................................
-+ .SS 4b. COMMANDS for Windows
-+ .TP 7
-+-\ \ \'\fB-\fR\' and \'\fB_\fR\' :\fIShow/Hide_Window(s)_toggles\fR
-++\ \ \<\fB-\fR\> and \<\fB_\fR\> :\fIShow/Hide_Window(s)_toggles\fR
-+ The '-' key turns the \*(CW's \*(TD \*O and \*F.
-+ When \*O, that \*(TA will show a minimum of the columns header you've
-+ established with the 'f' and 'o' commands.
-+@@ -988,7 +988,7 @@
-+ as the only display element.
-+ 
-+ .TP 7
-+-*\ \'\fB=\fR\' and \'\fB+\fR\' :\fIEqualize_(re-balance)_Window(s)\fR
-++*\ \<\fB=\fR\> and \<\fB+\fR\> :\fIEqualize_(re-balance)_Window(s)\fR
-+ The '=' key forces the \*(CW's \*(TD to be visible.
-+ It also reverses any 'i' (idle tasks) and 'n' (max tasks) commands that might
-+ be active.
-+@@ -999,7 +999,7 @@
-+ except for the 'i' (idle tasks) and 'n' (max tasks) commands.
-+ 
-+ .TP 7
-+-*\ \'\fBA\fR\' :\fIAlternate_Display_Mode_toggle\fR
-++*\ \<\fBA\fR\> :\fIAlternate_Display_Mode_toggle\fR
-+ This command will switch between \*(FM and \*(AM.
-+ 
-+ The first time you issue this command, all four \*(TDs will be shown.
-+@@ -1007,7 +1007,7 @@
-+ chosen to make visible.
-+ 
-+ .TP 7
-+-*\ \'\fBa\fR\' and \'\fBw\fR\' :\fINext_Window_Forward/Backward\fR
-++*\ \<\fBa\fR\> and \<\fBw\fR\> :\fINext_Window_Forward/Backward\fR
-+ This will change the \*(CW, which in turn changes the window to which
-+ commands are directed.
-+ These keys act in a circular fashion so you can reach any desired \*(CW
-+@@ -1018,7 +1018,7 @@
-+ the \*(TD is \*F and many commands will be restricted.
-+ 
-+ .TP 7
-+-*\ \'\fBG\fR\' :\fIChoose_Another_Window/Field_Group\fR
-++*\ \<\fBG\fR\> :\fIChoose_Another_Window/Field_Group\fR
-+ You will be prompted to enter a number between 1 and 4 designating the
-+ window/field group which should be made the \*(CW.
-+ 
-+@@ -1027,15 +1027,15 @@
-+ commands.
-+ 
-+ .TP 7
-+-\ \ \'\fBg\fR\' :\fIChange_Window/Field_Group_Name\fR
-++\ \ \<\fBg\fR\> :\fIChange_Window/Field_Group_Name\fR
-+ You will be prompted for a new name to be applied to the \*(CW.
-+ It does not require that the window name be visible
-+ (the 'l' toggle to be \*O).
-+ 
-+ .IP "*" 3
-+ The \*(CIs shown with an \*(AS have use beyond \*(AM.
-+-    \'=', 'A', 'G'  are always available
-+-    \'a', 'w'       act the same when color mapping
-++    '=', 'A', 'G'  are always available
-++    'a', 'w'       act the same when color mapping
-+ 
-+
-+ .\" ----------------------------------------------------------------------
-+
-+
-+
-+
-+
-+
---- procps-3.1.15.orig/debian/patches/10_sysctl_quiet.dpatch
-+++ procps-3.1.15/debian/patches/10_sysctl_quiet.dpatch
-@@ -0,0 +1,119 @@
-+#! /bin/sh -e
-+## 10_sysctl_quiet by Simon Horman
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Adds quiet -q flag to sysctl
-+
-+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1 < $0;;
-+       -unpatch) patch $patch_opts -p1 -R < $0;;
-+        *)
-+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+diff -ru procps-3.1.8/sysctl.8 procps-3.1.8.new/sysctl.8
-+--- procps-3.1.8/sysctl.8	2002-12-12 07:51:32.000000000 +0900
-++++ procps-3.1.8.new/sysctl.8	2003-04-15 20:30:46.000000000 +0900
-+@@ -12,9 +12,9 @@
-+ .SH SYNOPSIS
-+ .B "sysctl [-n] [-e] variable ..."
-+ .br
-+-.B "sysctl [-n] [-e] -w variable=value ..."
-++.B "sysctl [-n] [-e] [-q] -w variable=value ..."
-+ .br
-+-.B "sysctl [-n] [-e] -p <filename>"
-++.B "sysctl [-n] [-e] [-q] -p <filename>"
-+ .br
-+ .B "sysctl [-n] [-e] -a"
-+ .br
-+@@ -45,6 +45,9 @@
-+ .B "-e"
-+ Use this option to ignore errors about unknown keys.
-+ .TP
-++.B "-q"
-++Use this option to not display the values set to stdout.
-++.TP
-+ .B "-w"
-+ Use this option when you want to change a sysctl setting.
-+ .TP
-+diff -ru procps-3.1.8/sysctl.c procps-3.1.8.new/sysctl.c
-+--- procps-3.1.8/sysctl.c	2002-12-29 08:26:50.000000000 +0900
-++++ procps-3.1.8.new/sysctl.c	2003-04-15 20:35:08.000000000 +0900
-+@@ -15,6 +15,8 @@
-+  * Changelog:
-+  *            v1.01:
-+  *                   - added -p <preload> to preload values from a file
-++ *            Horms: 
-++ *                   - added -q to be quiet when modifying values
-+  *
-+  * Changes by Albert Cahalan, 2002.
-+  */
-+@@ -46,6 +48,7 @@
-+ static bool PrintName;
-+ static bool PrintNewline;
-+ static bool IgnoreError;
-++static bool Quiet;
-+ 
-+ /* error messages */
-+ static const char ERR_UNKNOWN_PARAMETER[] = "error: Unknown parameter '%s'\n";
-+@@ -80,9 +83,9 @@
-+  */
-+ static int Usage(const char *restrict const name) {
-+    printf("usage:  %s [-n] [-e] variable ... \n"
-+-          "        %s [-n] [-e] -w variable=value ... \n" 
-++          "        %s [-n] [-e] [-q] -w variable=value ... \n" 
-+           "        %s [-n] [-e] -a \n" 
-+-          "        %s [-n] [-e] -p <file>   (default /etc/sysctl.conf) \n"
-++          "        %s [-n] [-e] [-q] -p <file>   (default /etc/sysctl.conf) \n"
-+           "        %s [-n] [-e] -A\n", name, name, name, name, name);
-+    return -1;
-+ }
-+@@ -290,13 +293,14 @@
-+       fprintf(fp, "%s\n", value);
-+       fclose(fp);
-+ 
-+-      if (PrintName) {
-++      if(Quiet) {
-++	 ;
-++      } else if (PrintName) {
-+          fprintf(stdout, "%s = %s\n", outname, value);
-++      } else if (PrintNewline) {
-++         fprintf(stdout, "%s\n", value);
-+       } else {
-+-         if (PrintNewline)
-+-            fprintf(stdout, "%s\n", value);
-+-         else
-+-            fprintf(stdout, "%s", value);
-++         fprintf(stdout, "%s", value);
-+       }
-+    }
-+ 
-+@@ -377,6 +381,7 @@
-+    PrintName = true;
-+    PrintNewline = true;
-+    IgnoreError = false;
-++   Quiet = false;
-+ 
-+    if (argc < 2) {
-+        return Usage(me);
-+@@ -419,6 +424,9 @@
-+                  preloadfile = *argv;
-+               }
-+               return Preload(preloadfile);
-++	 case 'q':
-++	      Quiet = true;
-++	   break;
-+          case 'a': /* string and integer values (for Linux, all of them) */
-+          case 'A': /* the above, including "opaques" (would be unprintable) */
-+          case 'X': /* the above, with opaques completly printed in hex */
---- procps-3.1.15.orig/debian/patches/00list
-+++ procps-3.1.15/debian/patches/00list
-@@ -0,0 +1,5 @@
-+10_sysctl_quiet
-+20_procps-fix+attr
-+20_ps.1
-+20_top_manpage
-+30_remove_test_dir
---- procps-3.1.15.orig/debian/patches/30_remove_test_dir.dpatch
-+++ procps-3.1.15/debian/patches/30_remove_test_dir.dpatch
-@@ -0,0 +1,2911 @@
-+#! /bin/sh -e
-+## 30_remove_test-dir by Craif Small
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Removing test directory
-+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1 < $0;;
-+       -unpatch) patch $patch_opts -p1 -R < $0;;
-+        *)
-+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+diff -ruN procps-3.1.15.old/test/clone-army.c procps-3.1.15/test/clone-army.c
-+--- procps-3.1.15.old/test/clone-army.c	2003-10-05 04:46:34.000000000 +1000
-++++ procps-3.1.15/test/clone-army.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,127 +0,0 @@
-+-// ps fTo sess,pgid,pid,tty,ppid,tpgid,args -C a.out
-+-
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-//#include <sys/stat.h>
-+-//#include <fcntl.h>
-+-//#include <stdlib.h>
-+-#include <stdio.h>
-+-#include <sched.h>
-+-
-+-#if 0
-+-#define CLONE_VM             0x00000100 // set if VM shared between processes
-+-#define CLONE_FS             0x00000200 // set if fs info shared between processes
-+-#define CLONE_FILES          0x00000400 // set if open files shared between processes
-+-#define CLONE_SIGHAND        0x00000800 // set if signal handlers and blocked signals shared
-+-#define CLONE_IDLETASK       0x00001000 // set if new pid should be 0 (kernel only)*/
-+-#define CLONE_PTRACE         0x00002000 // set if we want to let tracing continue on the child too
-+-#define CLONE_VFORK          0x00004000 // set if the parent wants the child to wake it up on mm_release
-+-#define CLONE_PARENT         0x00008000 // set if we want to have the same parent as the cloner
-+-#define CLONE_THREAD         0x00010000 // Same thread group?
-+-#define CLONE_NEWNS          0x00020000 // New namespace group?
-+-#define CLONE_SYSVSEM        0x00040000 // share system V SEM_UNDO semantics
-+-#define CLONE_SETTLS         0x00080000 // create a new TLS for the child
-+-#define CLONE_PARENT_SETTID  0x00100000 // set the TID in the parent
-+-#define CLONE_CHILD_CLEARTID 0x00200000 // clear the TID in the child
-+-#define CLONE_DETACHED       0x00400000 // parent wants no child-exit signal
-+-#define CLONE_UNTRACED       0x00800000 // set if the tracing process can't force CLONE_PTRACE on this clone
-+-#define CLONE_CHILD_SETTID   0x01000000 // set the TID in the child
-+-#define CLONE_STOPPED        0x02000000 // Start in stopped state
-+-#endif
-+-
-+-#ifndef CLONE_THREAD
-+-#define CLONE_THREAD         0x00010000
-+-#endif
-+-#ifndef CLONE_DETACHED
-+-#define CLONE_DETACHED       0x00400000
-+-#endif
-+-
-+-
-+-// interesting: VM FS FILES SIGHAND PARENT THREAD SYSVSEM DETACHED
-+-
-+-//#define FLAGS (CLONE_PARENT|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_SYSVSEM)
-+-#define FLAGS (CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_DETACHED)
-+-
-+-// Don't cause rejection: FS FILES SYSVSEM PARENT
-+-// Do cause rejection:
-+-
-+-static void printflags(int pass, unsigned flags){
-+-  printf(
-+-    "%s %08x %s %s %s %s\n",
-+-    pass?"pass":"FAIL",
-+-    flags,
-+-    (flags&CLONE_THREAD) ? "THREAD" : "______",
-+-    (flags&CLONE_DETACHED) ? "DETACHED" : "________",
-+-    (flags&CLONE_SIGHAND) ? "SIGHAND" : "_______",
-+-    (flags&CLONE_SIGHAND) ? "VM" : "__"
-+-  );
-+-}
-+-
-+-static unsigned genflags(unsigned flags){
-+-  return (
-+-    (flags&0x08) ? 0 : CLONE_THREAD
-+-    )|(
-+-    (flags&0x04) ? 0 : CLONE_DETACHED
-+-    )|(
-+-    (flags&0x02) ? 0 : CLONE_SIGHAND
-+-    )|(
-+-    (flags&0x01) ? 0 : CLONE_VM
-+-  );
-+-}
-+-
-+-//static pid_t one;
-+-
-+-//static void die(int signo){
-+-//  (void)signo;
-+-//  _exit(0);
-+-//}
-+-
-+-//static void sigchld_handler(int signo){
-+-//  (void)signo;
-+-//  kill(one,SIGHUP);          // kill parent
-+-//}
-+-
-+-static int clone_fn(void *vp){
-+-  for(;;) pause();
-+-}
-+-
-+-static long clone_stack_data[2048];
-+-#ifdef __hppa__
-+-static long *clone_stack = &clone_stack_data[0];
-+-#else
-+-static long *clone_stack = &clone_stack_data[2048];
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  unsigned u;
-+-  pid_t minime;
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-//  one = getpid();
-+-//  signal(SIGHUP,die);
-+-//  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-  u = 16;
-+-
-+-  while(u--){
-+-    unsigned f = genflags(u);
-+-    minime = clone(clone_fn, clone_stack, f, "arg");
-+-
-+-    printflags(minime!=-1, f);
-+-//    if(minime==-1){
-+-//      perror("no clone");
-+-//      _exit(8);
-+-//    }
-+-
-+-//    printf("%d begat %d\n",getpid(),minime);
-+-  }
-+-
-+-
-+-//  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-//  clone_fn();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/clone-once.c procps-3.1.15/test/clone-once.c
-+--- procps-3.1.15.old/test/clone-once.c	2003-10-20 10:56:12.000000000 +1000
-++++ procps-3.1.15/test/clone-once.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,97 +0,0 @@
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-//#include <sys/stat.h>
-+-//#include <fcntl.h>
-+-//#include <stdlib.h>
-+-#include <stdio.h>
-+-#include <sched.h>
-+-
-+-#if 0
-+-#define CLONE_VM             0x00000100 // set if VM shared between processes
-+-#define CLONE_FS             0x00000200 // set if fs info shared between processes
-+-#define CLONE_FILES          0x00000400 // set if open files shared between processes
-+-#define CLONE_SIGHAND        0x00000800 // set if signal handlers and blocked signals shared
-+-#define CLONE_IDLETASK       0x00001000 // set if new pid should be 0 (kernel only)*/
-+-#define CLONE_PTRACE         0x00002000 // set if we want to let tracing continue on the child too
-+-#define CLONE_VFORK          0x00004000 // set if the parent wants the child to wake it up on mm_release
-+-#define CLONE_PARENT         0x00008000 // set if we want to have the same parent as the cloner
-+-#define CLONE_THREAD         0x00010000 // Same thread group?
-+-#define CLONE_NEWNS          0x00020000 // New namespace group?
-+-#define CLONE_SYSVSEM        0x00040000 // share system V SEM_UNDO semantics
-+-#define CLONE_SETTLS         0x00080000 // create a new TLS for the child
-+-#define CLONE_PARENT_SETTID  0x00100000 // set the TID in the parent
-+-#define CLONE_CHILD_CLEARTID 0x00200000 // clear the TID in the child
-+-#define CLONE_DETACHED       0x00400000 // parent wants no child-exit signal
-+-#define CLONE_UNTRACED       0x00800000 // set if the tracing process can't force CLONE_PTRACE on this clone
-+-#define CLONE_CHILD_SETTID   0x01000000 // set the TID in the child
-+-#define CLONE_STOPPED        0x02000000 // Start in stopped state
-+-#endif
-+-
-+-#ifndef CLONE_THREAD
-+-#define CLONE_THREAD         0x00010000
-+-#endif
-+-#ifndef CLONE_DETACHED
-+-#define CLONE_DETACHED       0x00400000
-+-#endif
-+-
-+-//#define FLAGS (CLONE_PARENT|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_SYSVSEM)
-+-#define FLAGS (CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_DETACHED)
-+-
-+-static pid_t one;
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-//static void sigchld_handler(int signo){
-+-//  (void)signo;
-+-//  kill(one,SIGHUP);          // kill parent
-+-//}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-static int clone_fn(void *vp){
-+-//  const char msg[] = "I think I'm a clone now!\n";
-+-  (void)vp;
-+-//  write(STDOUT_FILENO, msg, sizeof(msg)-1);
-+-  hang();
-+-  return 0; // keep gcc happy
-+-}
-+-
-+-static long clone_stack_data[2048];
-+-#ifdef __hppa__
-+-static long *clone_stack = &clone_stack_data[0];
-+-#else
-+-static long *clone_stack = &clone_stack_data[2048];
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  pid_t minime;
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  one = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  minime = clone(clone_fn, clone_stack, FLAGS, "arg");
-+-
-+-  if(minime==-1){
-+-    perror("no clone");
-+-    kill(one,SIGKILL);
-+-    _exit(8);
-+-  }
-+-
-+-//  printf("%d begat %d\n",getpid(),minime);
-+-
-+-  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-  hang();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/fork-you.c procps-3.1.15/test/fork-you.c
-+--- procps-3.1.15.old/test/fork-you.c	2003-09-05 14:18:30.000000000 +1000
-++++ procps-3.1.15/test/fork-you.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,27 +0,0 @@
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-int main(int argc, char *argv[]){
-+-  pid_t pid;
-+-
-+-  (void)argv;
-+-
-+-  pid = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-  kill(1,9);            // "kill" unkillable init to touch lib pages
-+-  while(argc--) if(!fork()) hang();
-+-  kill(pid,SIGHUP);          // kill parent
-+-  hang();
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/funny-thing.c procps-3.1.15/test/funny-thing.c
-+--- procps-3.1.15.old/test/funny-thing.c	2003-09-08 13:55:57.000000000 +1000
-++++ procps-3.1.15/test/funny-thing.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,38 +0,0 @@
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-
-+-static pid_t one;
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-int main(int argc, char *argv[]){
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  one = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-  // second one exits, to enable setsid(), and the resulting
-+-  // zombie will be reaped by init after 1st process killed
-+-  if(!fork()) _exit(0);
-+-
-+-  if(setsid()==-1){
-+-    kill(one,SIGKILL); // hopefully the shell will complain
-+-    _exit(42); // kind of tough to report errors
-+-  }
-+-
-+-  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-  hang();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/gigabyte.c procps-3.1.15/test/gigabyte.c
-+--- procps-3.1.15.old/test/gigabyte.c	2003-09-11 10:23:56.000000000 +1000
-++++ procps-3.1.15/test/gigabyte.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,74 +0,0 @@
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-//#include <sys/ioctl.h>
-+-//#include <sys/stat.h>
-+-//#include <fcntl.h>
-+-#include <stdio.h>
-+-#include <sys/mman.h>
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-#ifndef MAP_NORESERVE
-+-#define MAP_NORESERVE 0
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  void *vp;
-+-  pid_t pid;
-+-  size_t length = 1024*1024*1024;
-+-  unsigned maps;   // how many mappings to do
-+-
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  if(sizeof(void*)==8){
-+-    maps = 10;
-+-    puts("64bit");
-+-  }else{
-+-    maps = 1;
-+-    puts("32bit");
-+-  }
-+-  fflush(stdout);
-+-
-+-  pid = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  while(maps){
-+-    vp = mmap(
-+-      0,   // start
-+-      length,
-+-      PROT_READ|PROT_WRITE,
-+-      MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS,
-+-      0,   // fd
-+-      0    // offset
-+-    );
-+-    if(vp==MAP_FAILED){
-+-      // try a smaller size; maybe fragmentation stopped us
-+-      length /= 2;
-+-      maps *= 2;
-+-    }else{
-+-      maps--;
-+-    }
-+-    if(maps>200 || length<2*1024*1024){
-+-      kill(pid,SIGKILL); // hopefully the shell will complain
-+-      _exit(88);
-+-    }
-+-  }
-+-
-+-  close(0);
-+-  close(1);
-+-  close(2);
-+-  kill(pid,SIGHUP);          // kill parent
-+-  hang();
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/got-no-tty.c procps-3.1.15/test/got-no-tty.c
-+--- procps-3.1.15.old/test/got-no-tty.c	2003-09-05 14:17:57.000000000 +1000
-++++ procps-3.1.15/test/got-no-tty.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,46 +0,0 @@
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-#include <sys/ioctl.h>
-+-#include <sys/stat.h>
-+-#include <fcntl.h>
-+-#include <stdio.h>
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-int main(int argc, char *argv[]){
-+-  int fd;
-+-  pid_t pid;
-+-
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  pid = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  // Use the TIOCNOTTY ioctl to detach from the tty
-+-  // and, supposedly, set the process group ID to zero.
-+-  // Reality: PGRP unchanged, TPGID becomes -1, TTY lost.
-+-  fd = open("/dev/tty", O_RDONLY);
-+-  if(!fd){
-+-    perror("open /dev/tty");
-+-    _exit(1);
-+-  }
-+-  if(ioctl(fd, TIOCNOTTY)==-1){
-+-    perror("open /dev/tty");
-+-    _exit(1);
-+-  }
-+-
-+-  kill(pid,SIGHUP);          // kill parent
-+-  hang();
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/mini-me.c procps-3.1.15/test/mini-me.c
-+--- procps-3.1.15.old/test/mini-me.c	2003-09-22 05:50:38.000000000 +1000
-++++ procps-3.1.15/test/mini-me.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,97 +0,0 @@
-+-// ps fTo sess,pgid,pid,tty,ppid,tpgid,args -C a.out
-+-
-+-#include <sys/types.h>
-+-#include <unistd.h>
-+-#include <signal.h>
-+-//#include <sys/stat.h>
-+-//#include <fcntl.h>
-+-//#include <stdlib.h>
-+-#include <stdio.h>
-+-#include <sched.h>
-+-
-+-#if 0
-+-#define CLONE_VM             0x00000100 // set if VM shared between processes
-+-#define CLONE_FS             0x00000200 // set if fs info shared between processes
-+-#define CLONE_FILES          0x00000400 // set if open files shared between processes
-+-#define CLONE_SIGHAND        0x00000800 // set if signal handlers and blocked signals shared
-+-#define CLONE_IDLETASK       0x00001000 // set if new pid should be 0 (kernel only)*/
-+-#define CLONE_PTRACE         0x00002000 // set if we want to let tracing continue on the child too
-+-#define CLONE_VFORK          0x00004000 // set if the parent wants the child to wake it up on mm_release
-+-#define CLONE_PARENT         0x00008000 // set if we want to have the same parent as the cloner
-+-#define CLONE_THREAD         0x00010000 // Same thread group?
-+-#define CLONE_NEWNS          0x00020000 // New namespace group?
-+-#define CLONE_SYSVSEM        0x00040000 // share system V SEM_UNDO semantics
-+-#define CLONE_SETTLS         0x00080000 // create a new TLS for the child
-+-#define CLONE_PARENT_SETTID  0x00100000 // set the TID in the parent
-+-#define CLONE_CHILD_CLEARTID 0x00200000 // clear the TID in the child
-+-#define CLONE_DETACHED       0x00400000 // parent wants no child-exit signal
-+-#define CLONE_UNTRACED       0x00800000 // set if the tracing process can't force CLONE_PTRACE on this clone
-+-#define CLONE_CHILD_SETTID   0x01000000 // set the TID in the child
-+-#define CLONE_STOPPED        0x02000000 // Start in stopped state
-+-#endif
-+-
-+-#ifndef CLONE_THREAD
-+-#define CLONE_THREAD         0x00010000
-+-#endif
-+-#ifndef CLONE_DETACHED
-+-#define CLONE_DETACHED       0x00400000
-+-#endif
-+-
-+-//#define FLAGS (CLONE_PARENT|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_SYSVSEM)
-+-#define FLAGS (CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_DETACHED)
-+-
-+-//static pid_t one;
-+-
-+-//static void die(int signo){
-+-//  (void)signo;
-+-//  _exit(0);
-+-//}
-+-
-+-//static void sigchld_handler(int signo){
-+-//  (void)signo;
-+-//  kill(one,SIGHUP);          // kill parent
-+-//}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-static int clone_fn(void *vp){
-+-  const char msg[] = "I think I'm a clone now!\n";
-+-  write(STDOUT_FILENO, msg, sizeof(msg)-1);
-+-  hang();
-+-}
-+-
-+-static long clone_stack_data[2048];
-+-#ifdef __hppa__
-+-static long *clone_stack = &clone_stack_data[0];
-+-#else
-+-static long *clone_stack = &clone_stack_data[2048];
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  pid_t minime;
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-//  one = getpid();
-+-//  signal(SIGHUP,die);
-+-//  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  minime = clone(clone_fn, clone_stack, FLAGS, "arg");
-+-
-+-  if(minime==-1){
-+-//    kill(one,SIGKILL);
-+-    perror("no clone");
-+-    _exit(8);
-+-  }
-+-
-+-  printf("%d begat %d\n",getpid(),minime);
-+-
-+-//  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-  hang();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/module.mk procps-3.1.15/test/module.mk
-+--- procps-3.1.15.old/test/module.mk	2003-12-25 02:02:52.000000000 +1100
-++++ procps-3.1.15/test/module.mk	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,36 +0,0 @@
-+-# This file gets included into the main Makefile, in the top directory.
-+-
-+-#INSTALL += $(bin)test $(man1)test.1 -- some data dump thing maybe?
-+-
-+-# directories for cleaning
-+-DIRS += test/ $(wildcard test/*/*/)
-+-
-+-TEST_C    := fork-you the_living_dead got-no-tty sidious sid-breaks-ttys \
-+-             gigabyte mini-me funny-thing clone-army clone-once
-+-TESTNAMES := $(addprefix test/,$(TEST_C))
-+-TESTOBJ   := $(addsuffix .o,$(TESTNAMES))
-+-TESTSRC   := $(addsuffix .c,$(TESTNAMES)) test/th.c
-+-
-+-# files to create
-+-ALL += $(TESTNAMES)
-+-
-+-# files to remove
-+-TEST_JUNK := stderr stdout header stderr.test stderr.good
-+-CLEAN += $(addprefix test/,$(TEST_JUNK)) $(TESTNAMES) test/th $(wildcard test/*.tmp)
-+-
-+-TEST_X := module.mk script-child onetest runtests
-+-TARFILES += $(TESTSRC) $(addprefix test/,$(TEST_X)) $(wildcard test/*/*)
-+-
-+-$(TESTNAMES): %: %.o
-+-	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^
-+-
-+-# add proc/$(SONAME) on the end later if needed
-+-$(TESTOBJ): %.o: %.c
-+-	$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $< -o $@
-+-
-+-test/th: test/th.o
-+-	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^ -lpthread
-+-
-+-test/th.o: test/th.c
-+-	$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $< -o $@
-+-
-+diff -ruN procps-3.1.15.old/test/onetest procps-3.1.15/test/onetest
-+--- procps-3.1.15.old/test/onetest	2003-12-25 02:02:08.000000000 +1100
-++++ procps-3.1.15/test/onetest	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,70 +0,0 @@
-+-#!/bin/bash
-+-
-+-unset I_WANT_A_BROKEN_PS
-+-unset PS_PERSONALITY
-+-unset CMD_ENV
-+-unset PS_FORMAT
-+-
-+-export LANG=C
-+-export LC_ALL=C
-+-export TZ=GMT
-+-
-+-TESTNAME=$1
-+-
-+-# enlarge as needed in setup to avoid COMMAND becoming COMMA, etc.
-+-export COLUMNS=111
-+-
-+-: ${LD_LIBRARY_PATH:=../proc}
-+-: ${TESTME:=../ps/ps}
-+-export LD_LIBRARY_PATH
-+-export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH  # if ever a darwin port
-+-
-+-
-+-
-+-. $TESTNAME/setup
-+-$TESTME $ARGS > stdout 2> stderr
-+-RESULT=$?
-+-if [ x$KILLFN == x1 ] ; then
-+-  killfn
-+-fi
-+-
-+-
-+-
-+-if [ x$RESULT != x$GOOD ] ; then
-+-  echo FAIL $TESTNAME err-$RESULT
-+-  exit 1
-+-fi
-+-
-+-rm -f stderr.test ; touch stderr.test
-+-if [ -f stderr ] ; then
-+-  head -3 < stderr > stderr.test
-+-fi
-+-rm -f stderr.good ; touch stderr.good
-+-if [ -f $TESTNAME/stderr ] ; then
-+-  head -3 < $TESTNAME/stderr > stderr.good
-+-fi
-+-diff -Naurd stderr.test stderr.good >> /dev/null
-+-if [ x$? != x0 ] ; then
-+-  echo FAIL $TESTNAME wrong-stderr
-+-  exit 1
-+-fi
-+-
-+-if [ -f $TESTNAME/header ] ; then
-+-  (printf ' ' ; head -1 stdout) | tr -s ' ' > header
-+-  diff -Naurd header $TESTNAME/header >> /dev/null
-+-  if [ x$? != x0 ] ; then
-+-    echo FAIL $TESTNAME wrong-header
-+-    exit 1
-+-  fi
-+-fi
-+-
-+-if [ x$EVALFN == x1 ] ; then
-+-  evalfn
-+-  if [ x$? != x0 ] ; then
-+-    echo FAIL $TESTNAME eval-fn
-+-    exit 1
-+-  fi
-+-fi
-+-
-+-echo pass $TESTNAME a-ok
-+-exit 0
-+diff -ruN procps-3.1.15.old/test/ps/LT-mix/header procps-3.1.15/test/ps/LT-mix/header
-+--- procps-3.1.15.old/test/ps/LT-mix/header	2003-10-02 12:38:29.000000000 +1000
-++++ procps-3.1.15/test/ps/LT-mix/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/LT-mix/setup procps-3.1.15/test/ps/LT-mix/setup
-+--- procps-3.1.15.old/test/ps/LT-mix/setup	2003-10-02 12:39:40.000000000 +1000
-++++ procps-3.1.15/test/ps/LT-mix/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-L -T"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/LT-mix/stderr procps-3.1.15/test/ps/LT-mix/stderr
-+--- procps-3.1.15.old/test/ps/LT-mix/stderr	2003-10-02 12:40:03.000000000 +1000
-++++ procps-3.1.15/test/ps/LT-mix/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use both -L and -T.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/O-O/header procps-3.1.15/test/ps/O-O/header
-+--- procps-3.1.15.old/test/ps/O-O/header	2003-10-02 12:01:36.000000000 +1000
-++++ procps-3.1.15/test/ps/O-O/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/O-O/setup procps-3.1.15/test/ps/O-O/setup
-+--- procps-3.1.15.old/test/ps/O-O/setup	2003-10-02 12:02:01.000000000 +1000
-++++ procps-3.1.15/test/ps/O-O/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-O wchan -O sess"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/O-O/stderr procps-3.1.15/test/ps/O-O/stderr
-+--- procps-3.1.15.old/test/ps/O-O/stderr	2003-10-02 12:05:19.000000000 +1000
-++++ procps-3.1.15/test/ps/O-O/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: option -O can not follow other format options.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/O-o/header procps-3.1.15/test/ps/O-o/header
-+--- procps-3.1.15.old/test/ps/O-o/header	2003-10-02 12:06:18.000000000 +1000
-++++ procps-3.1.15/test/ps/O-o/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID WCHAN S TTY TIME COMMAND SESS
-+diff -ruN procps-3.1.15.old/test/ps/O-o/setup procps-3.1.15/test/ps/O-o/setup
-+--- procps-3.1.15.old/test/ps/O-o/setup	2003-10-02 12:05:41.000000000 +1000
-++++ procps-3.1.15/test/ps/O-o/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-O wchan -o sess"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header/header procps-3.1.15/test/ps/aix-pcpu-header/header
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header/header	2003-09-03 07:26:05.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- %CPU
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header/setup procps-3.1.15/test/ps/aix-pcpu-header/setup
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header/setup	2003-09-03 07:24:28.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %cpu"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header2/header procps-3.1.15/test/ps/aix-pcpu-header2/header
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header2/header	2003-09-03 07:26:30.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- COMMAND px
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header2/setup procps-3.1.15/test/ps/aix-pcpu-header2/setup
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header2/setup	2003-09-03 07:25:22.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %cpx"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bad-format-env/header procps-3.1.15/test/ps/bad-format-env/header
-+--- procps-3.1.15.old/test/ps/bad-format-env/header	2003-10-02 12:16:37.000000000 +1000
-++++ procps-3.1.15/test/ps/bad-format-env/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/bad-format-env/setup procps-3.1.15/test/ps/bad-format-env/setup
-+--- procps-3.1.15.old/test/ps/bad-format-env/setup	2003-10-02 12:16:22.000000000 +1000
-++++ procps-3.1.15/test/ps/bad-format-env/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-ARGS=
-+-GOOD=0
-+-export PS_FORMAT=booger
-+diff -ruN procps-3.1.15.old/test/ps/bad-format-env/stderr procps-3.1.15/test/ps/bad-format-env/stderr
-+--- procps-3.1.15.old/test/ps/bad-format-env/stderr	2003-10-02 12:16:13.000000000 +1000
-++++ procps-3.1.15/test/ps/bad-format-env/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-Warning: $PS_FORMAT ignored. (Unknown user-defined format specifier "booger".)
-+diff -ruN procps-3.1.15.old/test/ps/bogus-n-header/header procps-3.1.15/test/ps/bogus-n-header/header
-+--- procps-3.1.15.old/test/ps/bogus-n-header/header	2003-09-02 09:37:07.000000000 +1000
-++++ procps-3.1.15/test/ps/bogus-n-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bogus-n-header/setup procps-3.1.15/test/ps/bogus-n-header/setup
-+--- procps-3.1.15.old/test/ps/bogus-n-header/setup	2003-09-02 09:34:40.000000000 +1000
-++++ procps-3.1.15/test/ps/bogus-n-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-n"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bogus-n-header/stderr procps-3.1.15/test/ps/bogus-n-header/stderr
-+--- procps-3.1.15.old/test/ps/bogus-n-header/stderr	2003-09-02 09:35:37.000000000 +1000
-++++ procps-3.1.15/test/ps/bogus-n-header/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
-+diff -ruN procps-3.1.15.old/test/ps/bsd-T/header procps-3.1.15/test/ps/bsd-T/header
-+--- procps-3.1.15.old/test/ps/bsd-T/header	2003-09-02 11:54:41.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-T/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-T/setup procps-3.1.15/test/ps/bsd-T/setup
-+--- procps-3.1.15.old/test/ps/bsd-T/setup	2003-09-02 11:53:24.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-T/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,11 +0,0 @@
-+-ARGS=T
-+-GOOD=0
-+-EVALFN=1
-+-
-+-# default output is restricted to this tty
-+-MYTTY=`tty`
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}' < stdout | uniq`
-+-  [ /dev/$PSTTY == $MYTTY ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header/header procps-3.1.15/test/ps/bsd-j-header/header
-+--- procps-3.1.15.old/test/ps/bsd-j-header/header	2003-09-02 22:33:49.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header/setup procps-3.1.15/test/ps/bsd-j-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-j-header/setup	2003-09-02 22:32:53.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="j"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header2/header procps-3.1.15/test/ps/bsd-j-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-j-header2/header	2003-09-02 23:16:25.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header2/setup procps-3.1.15/test/ps/bsd-j-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-j-header2/setup	2003-09-02 23:15:16.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-j"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header/header procps-3.1.15/test/ps/bsd-l-header/header
-+--- procps-3.1.15.old/test/ps/bsd-l-header/header	2003-09-02 22:54:09.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header/setup procps-3.1.15/test/ps/bsd-l-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-l-header/setup	2003-09-02 22:53:45.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="l"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header2/header procps-3.1.15/test/ps/bsd-l-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-l-header2/header	2003-09-03 07:26:56.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header2/setup procps-3.1.15/test/ps/bsd-l-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-l-header2/setup	2003-09-03 07:21:19.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-l"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header/header procps-3.1.15/test/ps/bsd-s-header/header
-+--- procps-3.1.15.old/test/ps/bsd-s-header/header	2003-09-02 22:55:32.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PENDING BLOCKED IGNORED CAUGHT STAT TTY TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header/setup procps-3.1.15/test/ps/bsd-s-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-s-header/setup	2003-09-02 22:55:06.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="s"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header2/header procps-3.1.15/test/ps/bsd-s-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-s-header2/header	2003-09-03 07:21:33.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PENDING BLOCKED IGNORED CAUGHT STAT TTY TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header2/setup procps-3.1.15/test/ps/bsd-s-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-s-header2/setup	2003-09-03 07:21:40.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-s"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-selection/header procps-3.1.15/test/ps/bsd-selection/header
-+--- procps-3.1.15.old/test/ps/bsd-selection/header	2003-09-04 16:04:27.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-selection/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-selection/setup procps-3.1.15/test/ps/bsd-selection/setup
-+--- procps-3.1.15.old/test/ps/bsd-selection/setup	2003-09-13 13:47:22.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-selection/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,25 +0,0 @@
-+-ARGS="m"
-+-GOOD=0
-+-EVALFN=1
-+-KILLFN=1
-+-
-+-rm -f misc.tmp ready.tmp typescript.tmp
-+-
-+-./got-no-tty
-+-# this'll do but... WHERE ARE THE MAN PAGES FOR PTY STUFF???
-+-(SHELL=`pwd`/script-child script typescript.tmp &>/dev/null) &
-+-while [ ! -f ready.tmp ] ; do sleep 0.01 ; done
-+-. ready.tmp
-+-
-+-evalfn () {
-+-   THIS_TTY=`tty | colrm 1 5`
-+-   lines2=`awk '{print $2}' < stdout | sort -u | egrep "^($SHELL_TTY|$THIS_TTY)$"   | wc -l`
-+-   lines3=`awk '{print $2}' < stdout | sort -u | egrep "^($SHELL_TTY|$THIS_TTY|\?)$" | wc -l`
-+-   [ $lines2 == 2 ] && [ $lines3 == 2 ]
-+-}
-+-
-+-killfn () {
-+-  killall -9 got-no-tty
-+-  kill -9 $SHELL_PID  # the others should freely die
-+-  rm -f misc.tmp ready.tmp typescript.tmp
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-1/header procps-3.1.15/test/ps/bsd-t-1/header
-+--- procps-3.1.15.old/test/ps/bsd-t-1/header	2003-09-02 11:55:23.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-1/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-1/setup procps-3.1.15/test/ps/bsd-t-1/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-1/setup	2003-09-02 11:56:11.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-1/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,11 +0,0 @@
-+-# default output is restricted to this tty
-+-MYTTY=`tty`
-+-
-+-ARGS=t$MYTTY
-+-GOOD=0
-+-EVALFN=1
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}' < stdout | uniq`
-+-  [ /dev/$PSTTY == $MYTTY ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-2/header procps-3.1.15/test/ps/bsd-t-2/header
-+--- procps-3.1.15.old/test/ps/bsd-t-2/header	2003-09-02 11:55:26.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-2/setup procps-3.1.15/test/ps/bsd-t-2/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-2/setup	2003-09-02 11:56:54.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,12 +0,0 @@
-+-# Ancient usage: t w/o arg is current tty
-+-ARGS=t
-+-GOOD=0
-+-EVALFN=1
-+-
-+-# default output is restricted to this tty
-+-MYTTY=`tty`
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}' < stdout | uniq`
-+-  [ /dev/$PSTTY == $MYTTY ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-3/header procps-3.1.15/test/ps/bsd-t-3/header
-+--- procps-3.1.15.old/test/ps/bsd-t-3/header	2003-09-02 11:55:27.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-3/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-3/setup procps-3.1.15/test/ps/bsd-t-3/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-3/setup	2003-09-02 12:25:44.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-3/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,19 +0,0 @@
-+-MYTTY=`tty`
-+-
-+-# two ways to interpret "ps t 42"
-+-#
-+-# 1. as "ps t" with "ps 42"  (PID 42)
-+-# 2. as "ps t42" (tty /dev/tty42)
-+-#
-+-# The command doesn't seem to be legal BSD syntax, but we try...
-+-# We use interpretation #2, since BSD isn't known for ORing.
-+-# We'll assume PID 1 is "init" and not on /dev/tty1, and that
-+-# nothing on tty1 is named "init".
-+-
-+-ARGS="t 1"
-+-GOOD=0
-+-EVALFN=1
-+-
-+-evalfn () {
-+-  ! egrep ' init' stdout >> /dev/null
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-4/header procps-3.1.15/test/ps/bsd-t-4/header
-+--- procps-3.1.15.old/test/ps/bsd-t-4/header	2003-09-02 11:55:29.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-4/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-4/setup procps-3.1.15/test/ps/bsd-t-4/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-4/setup	2003-09-02 12:15:34.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-4/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,10 +0,0 @@
-+-ARGS=t-
-+-GOOD=0
-+-EVALFN=1
-+-
-+-# Use 'Y' to avoid shell wildcard problems.
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}' < stdout | uniq | tr '?' 'Y'`
-+-  [ $PSTTY == 'Y' ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header/header procps-3.1.15/test/ps/bsd-u-header/header
-+--- procps-3.1.15.old/test/ps/bsd-u-header/header	2003-09-02 22:57:35.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header/setup procps-3.1.15/test/ps/bsd-u-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-u-header/setup	2003-09-02 22:57:20.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="u"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header2/header procps-3.1.15/test/ps/bsd-u-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-u-header2/header	2003-09-03 07:27:09.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header2/setup procps-3.1.15/test/ps/bsd-u-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-u-header2/setup	2003-09-03 07:22:00.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-u"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header/header procps-3.1.15/test/ps/bsd-v-header/header
-+--- procps-3.1.15.old/test/ps/bsd-v-header/header	2003-09-02 22:56:43.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header/setup procps-3.1.15/test/ps/bsd-v-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-v-header/setup	2003-09-02 22:56:10.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="v"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header2/header procps-3.1.15/test/ps/bsd-v-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-v-header2/header	2003-09-03 07:27:16.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID STAT TIME SL RE PAGEIN VSZ RSS LIM TSIZ %CPU %MEM COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header2/setup procps-3.1.15/test/ps/bsd-v-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-v-header2/setup	2003-09-03 07:22:17.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-v"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/dynix-F-header/header procps-3.1.15/test/ps/dynix-F-header/header
-+--- procps-3.1.15.old/test/ps/dynix-F-header/header	2003-09-02 22:31:23.000000000 +1000
-++++ procps-3.1.15/test/ps/dynix-F-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/dynix-F-header/setup procps-3.1.15/test/ps/dynix-F-header/setup
-+--- procps-3.1.15.old/test/ps/dynix-F-header/setup	2003-09-02 22:30:43.000000000 +1000
-++++ procps-3.1.15/test/ps/dynix-F-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-F"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-Q/header procps-3.1.15/test/ps/fail-aix-Q/header
-+--- procps-3.1.15.old/test/ps/fail-aix-Q/header	2003-10-02 11:31:34.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-Q/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-Q/setup procps-3.1.15/test/ps/fail-aix-Q/setup
-+--- procps-3.1.15.old/test/ps/fail-aix-Q/setup	2003-10-02 11:32:11.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-Q/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %Q"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-Q/stderr procps-3.1.15/test/ps/fail-aix-Q/stderr
-+--- procps-3.1.15.old/test/ps/fail-aix-Q/stderr	2003-10-02 11:33:07.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-Q/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unknown AIX field descriptor.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-improper/header procps-3.1.15/test/ps/fail-aix-improper/header
-+--- procps-3.1.15.old/test/ps/fail-aix-improper/header	2003-10-02 11:34:09.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-improper/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-improper/setup procps-3.1.15/test/ps/fail-aix-improper/setup
-+--- procps-3.1.15.old/test/ps/fail-aix-improper/setup	2003-10-02 11:34:22.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-improper/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-improper/stderr procps-3.1.15/test/ps/fail-aix-improper/stderr
-+--- procps-3.1.15.old/test/ps/fail-aix-improper/stderr	2003-10-02 11:34:40.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-improper/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Improper AIX field descriptor.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-sort/header procps-3.1.15/test/ps/fail-improper-sort/header
-+--- procps-3.1.15.old/test/ps/fail-improper-sort/header	2003-10-02 11:47:57.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-sort/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-sort/setup procps-3.1.15/test/ps/fail-improper-sort/setup
-+--- procps-3.1.15.old/test/ps/fail-improper-sort/setup	2003-10-02 11:48:15.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-sort/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="--sort ,,"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-sort/stderr procps-3.1.15/test/ps/fail-improper-sort/stderr
-+--- procps-3.1.15.old/test/ps/fail-improper-sort/stderr	2003-10-02 12:22:31.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-sort/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Improper sort list
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-spec/header procps-3.1.15/test/ps/fail-improper-spec/header
-+--- procps-3.1.15.old/test/ps/fail-improper-spec/header	2003-10-02 11:37:17.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-spec/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-spec/setup procps-3.1.15/test/ps/fail-improper-spec/setup
-+--- procps-3.1.15.old/test/ps/fail-improper-spec/setup	2003-10-02 11:37:34.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-spec/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o ,"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-spec/stderr procps-3.1.15/test/ps/fail-improper-spec/stderr
-+--- procps-3.1.15.old/test/ps/fail-improper-spec/stderr	2003-10-02 11:37:52.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-spec/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Improper format list.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-macro-width/header procps-3.1.15/test/ps/fail-macro-width/header
-+--- procps-3.1.15.old/test/ps/fail-macro-width/header	2003-10-02 11:42:15.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-macro-width/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-macro-width/setup procps-3.1.15/test/ps/fail-macro-width/setup
-+--- procps-3.1.15.old/test/ps/fail-macro-width/setup	2003-10-02 11:42:30.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-macro-width/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o DefBSD:6"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-macro-width/stderr procps-3.1.15/test/ps/fail-macro-width/stderr
-+--- procps-3.1.15.old/test/ps/fail-macro-width/stderr	2003-10-02 11:42:46.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-macro-width/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Can't set width for a macro (multi-column) format specifier.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-sort-key/header procps-3.1.15/test/ps/fail-no-sort-key/header
-+--- procps-3.1.15.old/test/ps/fail-no-sort-key/header	2003-10-02 11:50:26.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-sort-key/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-sort-key/setup procps-3.1.15/test/ps/fail-no-sort-key/setup
-+--- procps-3.1.15.old/test/ps/fail-no-sort-key/setup	2003-10-02 11:50:39.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-sort-key/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="--sort"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-sort-key/stderr procps-3.1.15/test/ps/fail-no-sort-key/stderr
-+--- procps-3.1.15.old/test/ps/fail-no-sort-key/stderr	2003-10-02 11:51:05.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-sort-key/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Long sort specification must follow --sort.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-width/header procps-3.1.15/test/ps/fail-no-width/header
-+--- procps-3.1.15.old/test/ps/fail-no-width/header	2003-10-02 11:40:56.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-width/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-width/setup procps-3.1.15/test/ps/fail-no-width/setup
-+--- procps-3.1.15.old/test/ps/fail-no-width/setup	2003-10-02 11:41:22.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-width/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o pid:,f,comm"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-width/stderr procps-3.1.15/test/ps/fail-no-width/stderr
-+--- procps-3.1.15.old/test/ps/fail-no-width/stderr	2003-10-02 11:40:56.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-width/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Column widths must be unsigned decimal numbers.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-nondecimal/header procps-3.1.15/test/ps/fail-nondecimal/header
-+--- procps-3.1.15.old/test/ps/fail-nondecimal/header	2003-10-02 11:39:38.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-nondecimal/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-nondecimal/setup procps-3.1.15/test/ps/fail-nondecimal/setup
-+--- procps-3.1.15.old/test/ps/fail-nondecimal/setup	2003-10-02 11:40:07.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-nondecimal/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o pid:f,comm"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-nondecimal/stderr procps-3.1.15/test/ps/fail-nondecimal/stderr
-+--- procps-3.1.15.old/test/ps/fail-nondecimal/stderr	2003-10-02 11:40:30.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-nondecimal/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Column widths must be unsigned decimal numbers.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-oj/header procps-3.1.15/test/ps/fail-oj/header
-+--- procps-3.1.15.old/test/ps/fail-oj/header	2003-09-02 13:47:18.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-oj/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-oj/setup procps-3.1.15/test/ps/fail-oj/setup
-+--- procps-3.1.15.old/test/ps/fail-oj/setup	2003-09-02 13:47:54.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-oj/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o pid -j"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-oj/stderr procps-3.1.15/test/ps/fail-oj/stderr
-+--- procps-3.1.15.old/test/ps/fail-oj/stderr	2003-09-02 13:49:02.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-oj/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Can't use output modifiers with user-defined output
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-sort/header procps-3.1.15/test/ps/fail-unknown-sort/header
-+--- procps-3.1.15.old/test/ps/fail-unknown-sort/header	2003-10-02 11:49:27.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-sort/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-sort/setup procps-3.1.15/test/ps/fail-unknown-sort/setup
-+--- procps-3.1.15.old/test/ps/fail-unknown-sort/setup	2003-10-02 11:49:41.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-sort/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="--sort booger"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-sort/stderr procps-3.1.15/test/ps/fail-unknown-sort/stderr
-+--- procps-3.1.15.old/test/ps/fail-unknown-sort/stderr	2003-10-02 11:50:09.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-sort/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unknown sort specifier.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-spec/header procps-3.1.15/test/ps/fail-unknown-spec/header
-+--- procps-3.1.15.old/test/ps/fail-unknown-spec/header	2003-10-02 11:35:33.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-spec/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-spec/setup procps-3.1.15/test/ps/fail-unknown-spec/setup
-+--- procps-3.1.15.old/test/ps/fail-unknown-spec/setup	2003-10-02 11:35:52.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-spec/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o boogers"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-spec/stderr procps-3.1.15/test/ps/fail-unknown-spec/stderr
-+--- procps-3.1.15.old/test/ps/fail-unknown-spec/stderr	2003-10-02 11:36:05.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-spec/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unknown user-defined format specifier "boogers".
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-xx/header procps-3.1.15/test/ps/fail-xx/header
-+--- procps-3.1.15.old/test/ps/fail-xx/header	2003-09-02 09:43:13.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-xx/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-xx/setup procps-3.1.15/test/ps/fail-xx/setup
-+--- procps-3.1.15.old/test/ps/fail-xx/setup	2003-09-02 09:41:38.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-xx/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="x -x"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-xx/stderr procps-3.1.15/test/ps/fail-xx/stderr
-+--- procps-3.1.15.old/test/ps/fail-xx/stderr	2003-09-02 09:42:04.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-xx/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unsupported SysV option.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/hpux-H-simple/setup procps-3.1.15/test/ps/hpux-H-simple/setup
-+--- procps-3.1.15.old/test/ps/hpux-H-simple/setup	2003-09-03 10:15:28.000000000 +1000
-++++ procps-3.1.15/test/ps/hpux-H-simple/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,14 +0,0 @@
-+-ARGS="-HC fork-you -o comm="
-+-GOOD=0
-+-EVALFN=1
-+-KILLFN=1
-+-
-+-./fork-you 3 4 5 6 7 8 9
-+-
-+-evalfn () {
-+-  diff -Naurd stdout $TESTNAME/stdout >> /dev/null
-+-}
-+-
-+-killfn () {
-+-  killall -9 fork-you
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/hpux-H-simple/stdout procps-3.1.15/test/ps/hpux-H-simple/stdout
-+--- procps-3.1.15.old/test/ps/hpux-H-simple/stdout	2003-09-03 09:51:00.000000000 +1000
-++++ procps-3.1.15/test/ps/hpux-H-simple/stdout	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,9 +0,0 @@
-+-fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+diff -ruN procps-3.1.15.old/test/ps/jyclf-header/header procps-3.1.15/test/ps/jyclf-header/header
-+--- procps-3.1.15.old/test/ps/jyclf-header/header	2003-09-02 13:57:34.000000000 +1000
-++++ procps-3.1.15/test/ps/jyclf-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- S UID PID PPID PGID SID CLS PRI RSS SZ WCHAN STIME TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/jyclf-header/setup procps-3.1.15/test/ps/jyclf-header/setup
-+--- procps-3.1.15.old/test/ps/jyclf-header/setup	2003-09-02 13:55:34.000000000 +1000
-++++ procps-3.1.15/test/ps/jyclf-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-jyclf"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/linux-lf-header/header procps-3.1.15/test/ps/linux-lf-header/header
-+--- procps-3.1.15.old/test/ps/linux-lf-header/header	2003-09-02 14:03:14.000000000 +1000
-++++ procps-3.1.15/test/ps/linux-lf-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- F S USER PID PPID C PRI NI P SZ WCHAN STIME TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/linux-lf-header/setup procps-3.1.15/test/ps/linux-lf-header/setup
-+--- procps-3.1.15.old/test/ps/linux-lf-header/setup	2003-09-02 14:04:14.000000000 +1000
-++++ procps-3.1.15/test/ps/linux-lf-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=linux
-+-ARGS="-lf"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix/header procps-3.1.15/test/ps/mH-mix/header
-+--- procps-3.1.15.old/test/ps/mH-mix/header	2003-10-02 12:38:52.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix/setup procps-3.1.15/test/ps/mH-mix/setup
-+--- procps-3.1.15.old/test/ps/mH-mix/setup	2003-10-02 12:39:25.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="mH"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix/stderr procps-3.1.15/test/ps/mH-mix/stderr
-+--- procps-3.1.15.old/test/ps/mH-mix/stderr	2003-10-02 12:40:18.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use H with m or -m.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix2/header procps-3.1.15/test/ps/mH-mix2/header
-+--- procps-3.1.15.old/test/ps/mH-mix2/header	2003-10-02 12:38:58.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix2/setup procps-3.1.15/test/ps/mH-mix2/setup
-+--- procps-3.1.15.old/test/ps/mH-mix2/setup	2003-10-02 12:39:15.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-m H"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix2/stderr procps-3.1.15/test/ps/mH-mix2/stderr
-+--- procps-3.1.15.old/test/ps/mH-mix2/stderr	2003-10-02 12:40:20.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix2/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use H with m or -m.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/mm-mix/header procps-3.1.15/test/ps/mm-mix/header
-+--- procps-3.1.15.old/test/ps/mm-mix/header	2003-10-02 12:37:41.000000000 +1000
-++++ procps-3.1.15/test/ps/mm-mix/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- 
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/mm-mix/setup procps-3.1.15/test/ps/mm-mix/setup
-+--- procps-3.1.15.old/test/ps/mm-mix/setup	2003-10-02 12:37:57.000000000 +1000
-++++ procps-3.1.15/test/ps/mm-mix/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-m m"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/mm-mix/stderr procps-3.1.15/test/ps/mm-mix/stderr
-+--- procps-3.1.15.old/test/ps/mm-mix/stderr	2003-10-02 12:38:11.000000000 +1000
-++++ procps-3.1.15/test/ps/mm-mix/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use both m and -m.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.1/install.patch deleted +0 -16
deleted file mode 100644
index 2d16c26..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.5/pagesz-not-constant.patch deleted +0 -22
deleted file mode 100644
index 8e9e1eb..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/install.patch deleted +0 -27
deleted file mode 100644
index 9f1ef69..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/pagesz-not-constant.patch deleted +0 -22
deleted file mode 100644
index 8e9e1eb..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/procmodule.patch deleted +0 -36
deleted file mode 100644
index fabfaba..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/psmodule.patch deleted +0 -21
deleted file mode 100644
index f298c1c..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.8/install.patch renamed from recipes/procps/procps-3.2.5/install.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/install.patch
rename to recipes/procps/procps-3.2.8/install.patch
recipes/procps/procps-3.2.8/linux-limits.patch renamed from recipes/procps/procps-3.2.7/linux-limits.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/linux-limits.patch
rename to recipes/procps/procps-3.2.8/linux-limits.patch
recipes/procps/procps-3.2.8/pagesz-not-constant.patch renamed from recipes/procps/procps-3.2.1/pagesz-not-constant.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.1/pagesz-not-constant.patch
rename to recipes/procps/procps-3.2.8/pagesz-not-constant.patch
recipes/procps/procps-3.2.8/procmodule.patch renamed from recipes/procps/procps-3.2.5/procmodule.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/procmodule.patch
rename to recipes/procps/procps-3.2.8/procmodule.patch
recipes/procps/procps-3.2.8/procps.init renamed from recipes/procps/procps-3.2.7/procps.init +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/procps.init
rename to recipes/procps/procps-3.2.8/procps.init
recipes/procps/procps-3.2.8/psmodule.patch renamed from recipes/procps/procps-3.2.5/psmodule.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/psmodule.patch
rename to recipes/procps/procps-3.2.8/psmodule.patch
recipes/procps/procps-3.2.8/sysctl.conf renamed from recipes/procps/procps-3.2.7/sysctl.conf +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/sysctl.conf
rename to recipes/procps/procps-3.2.8/sysctl.conf
recipes/procps/procps.inc +58 -3
index 2de32d2..1db030d 100644

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.1.15.bb deleted +0 -9
deleted file mode 100644
index 01114e8..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.1.bb deleted +0 -11
deleted file mode 100644
index 33df399..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.5.bb deleted +0 -45
deleted file mode 100644
index de7524b..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.7.bb deleted +0 -67
deleted file mode 100644
index b31b683..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.8.bb new file +11 -0
new file mode 100644
index 0000000..22f54c3

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2O7MkyGM64RGpERAg3gAJ0YYWj+dVGrXwdq7ERv62G2f6ktTQCfaKJw O559auCge1D5fPy2BIW4FIY=
=iHdV
-----END PGP SIGNATURE-----

Part of the diff is not shown here. View the raw message.

Acked-by on v1 1/1
#12 lore raw

Re: [PATCH][STABLE] procps: added 3.2.8 and dropped older

In reply to Marcin Juszkiewicz
Quoted 5,661 lines · Marcin Juszkiewicz

This version no longer complain about unknown Hz value during boot.

---
  recipes/procps/procps-3.1.15/install.patch         |   16 -
  recipes/procps/procps-3.1.15/procps_3.1.15-2.diff  | 5133 --------------------
  recipes/procps/procps-3.2.1/install.patch          |   16 -
  .../procps/procps-3.2.5/pagesz-not-constant.patch  |   22 -
  recipes/procps/procps-3.2.7/install.patch          |   27 -
  .../procps/procps-3.2.7/pagesz-not-constant.patch  |   22 -
  recipes/procps/procps-3.2.7/procmodule.patch       |   36 -
  recipes/procps/procps-3.2.7/psmodule.patch         |   21 -
  .../{procps-3.2.5 =>  procps-3.2.8}/install.patch   |    0
  .../linux-limits.patch                             |    0
  .../pagesz-not-constant.patch                      |    0
  .../procmodule.patch                               |    0
  .../{procps-3.2.7 =>  procps-3.2.8}/procps.init     |    0
  .../{procps-3.2.5 =>  procps-3.2.8}/psmodule.patch  |    0
  .../{procps-3.2.7 =>  procps-3.2.8}/sysctl.conf     |    0
  recipes/procps/procps.inc                          |   61 +-
  recipes/procps/procps_3.1.15.bb                    |    9 -
  recipes/procps/procps_3.2.1.bb                     |   11 -
  recipes/procps/procps_3.2.5.bb                     |   45 -
  recipes/procps/procps_3.2.7.bb                     |   67 -
  recipes/procps/procps_3.2.8.bb                     |   11 +
  21 files changed, 69 insertions(+), 5428 deletions(-)
  delete mode 100644 recipes/procps/procps-3.1.15/install.patch
  delete mode 100644 recipes/procps/procps-3.1.15/procps_3.1.15-2.diff
  delete mode 100644 recipes/procps/procps-3.2.1/install.patch
  delete mode 100644 recipes/procps/procps-3.2.5/pagesz-not-constant.patch
  delete mode 100644 recipes/procps/procps-3.2.7/install.patch
  delete mode 100644 recipes/procps/procps-3.2.7/pagesz-not-constant.patch
  delete mode 100644 recipes/procps/procps-3.2.7/procmodule.patch
  delete mode 100644 recipes/procps/procps-3.2.7/psmodule.patch
  rename recipes/procps/{procps-3.2.5 =>  procps-3.2.8}/install.patch (100%)
  rename recipes/procps/{procps-3.2.7 =>  procps-3.2.8}/linux-limits.patch (100%)
  rename recipes/procps/{procps-3.2.1 =>  procps-3.2.8}/pagesz-not-constant.patch (100%)
  rename recipes/procps/{procps-3.2.5 =>  procps-3.2.8}/procmodule.patch (100%)
  rename recipes/procps/{procps-3.2.7 =>  procps-3.2.8}/procps.init (100%)
  rename recipes/procps/{procps-3.2.5 =>  procps-3.2.8}/psmodule.patch (100%)
  rename recipes/procps/{procps-3.2.7 =>  procps-3.2.8}/sysctl.conf (100%)

delete mode 100644 recipes/procps/procps_3.1.15.bb delete mode 100644 recipes/procps/procps_3.2.1.bb delete mode 100644 recipes/procps/procps_3.2.5.bb delete mode 100644 recipes/procps/procps_3.2.7.bb create mode 100644 recipes/procps/procps_3.2.8.bb

recipes/procps/procps-3.1.15/install.patch deleted +0 -16
deleted file mode 100644
index 2d16c26..0000000
@@ -1,16 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- procps-3.1.15/Makefile~install	2003-12-24 03:01:55.000000000 +0100
-+++ procps-3.1.15/Makefile	2004-02-11 00:45:59.000000000 +0100
-@@ -147,7 +147,7 @@
- ###### install
-
- $(BINFILES) : all
--	$(install) --mode a=rx --strip $(notdir $@) $@
-+	$(install) --mode a=rx $(notdir $@) $@
-
- $(MANFILES) : all
- 	$(install) --mode a=r $(notdir $@) $@
recipes/procps/procps-3.1.15/procps_3.1.15-2.diff deleted +0 -5133
deleted file mode 100644
index 438fd0f..0000000
@@ -1,5133 +0,0 @@
---- procps-3.1.15.orig/proc/library.map
-+++ procps-3.1.15/proc/library.map
-@@ -4,7 +4,7 @@
-
-   readproc; readtask; readproctab; readproctab2; look_up_our_self; escape_command;
-   escape_str; escape_strlist;
--  openproc; closeproc;
-+  openproc; closeproc; freeproc;
-   tty_to_dev; dev_to_tty; open_psdb_message; open_psdb; wchan;
-   display_version; procps_version; linux_version_code;
-   Hertz; smp_num_cpus;
---- procps-3.1.15.orig/proc/readproc.c
-+++ procps-3.1.15/proc/readproc.c
-@@ -162,7 +162,7 @@
-         // examine a field name (hash and compare)
-     base:
-         if(unlikely(!*S)) break;
--        entry = table[63&  (asso[S[3]] + asso[S[2]] + asso[S[0]])];
-+        entry = table[63&  (asso[(int)S[3]] + asso[(int)S[2]] + asso[(int)S[0]])];
-         colon = strchr(S, ':');
-         if(unlikely(!colon)) break;
-         if(unlikely(colon[1]!='\t')) break;
-@@ -888,6 +888,8 @@
-     else
- 	PT = openproc(flags);
-     va_end(ap);
-+    if (!PT)
-+      return 0;
-     do {					/* read table: */
- 	tab = xrealloc(tab, (n+1)*sizeof(proc_t*));/* realloc as we go, using */
- 	tab[n] = readproc_direct(PT, NULL);     /* final null to terminate */
---- procps-3.1.15.orig/proc/module.mk
-+++ procps-3.1.15/proc/module.mk
-@@ -3,7 +3,7 @@
- # for lib$(NAME).so and /usr/include/($NAME) and such
- NAME      :=  proc
-
--SHARED := 1
-+SHARED ?= 1
-
- SONAME    :=  lib$(NAME).so.$(LIBVERSION)
-
---- procps-3.1.15.orig/debian/README.Debian
-+++ procps-3.1.15/debian/README.Debian
-@@ -0,0 +1,22 @@
-+README for Debian package of procps
-+===================================
-+
-+XConsole gone
-+-------------
-+ XConsole and other X-based programs have been finally removed.  Look in
-+ the x packages for their equivalents.
-+
-+pgrep
-+-----
-+pgrep is a new program, using the Unix standard name for something that
-+greps for processes.  If you are looking for Perl compatible regular
-+expression grep, it is called pcregrep.
-+
-+forks
-+-----
-+Procps upstream is forked.  This one comes from procps.sf.net  I'm really
-+not interested when the others have new versions so please don't bug me about
-+it.  However if you see something neat in the others and would like it in
-+the Debian one, report a *wishlist* level bug about it.
-+
-+ Craig Small<[email protected]>
---- procps-3.1.15.orig/debian/copyright
-+++ procps-3.1.15/debian/copyright
-@@ -0,0 +1,27 @@
-+This is the Debian Linux prepackaged version of the /proc file
-+system utilities.
-+
-+This package was downloaded from:
-+  http://procps.sourceforge.net/
-+
-+
-+Upstream Authors:
-+Werner Almesberger<[email protected]>, Roger Binns, Charles
-+Blake<[email protected]>, Brian Edmonds, David Engel<[email protected]>,
-+Larry Greenfield<[email protected]>, Michael K. Johnson
-+<[email protected]>, Branko Lankester<[email protected]>,
-+Robert Nation<[email protected]>, Michael Shields
-+<[email protected]>, Henry Ware<[email protected]>, Matt
-+Welsh<[email protected]>, Albert D. Cahalan and Jim C. Warner
-+<[email protected]>
-+
-+All programs except ps, skill and snice are copyright by their
-+authors and redistributable under the terms of the GNU General
-+Public License. On Debian Linux systems, the complete text of
-+the GNU General Public License can be found in
-+`/usr/share/common-licenses/GPL'.
-+
-+ps, skill and snice are copyright by their authors and redistributable under
-+the terms of the GNU Library General Public License. On Debian Linux
-+systems, the complete text of the GNU Library General Public License can
-+be found in `/usr/share/common/licenses/LGPL'.
---- procps-3.1.15.orig/debian/dirs
-+++ procps-3.1.15/debian/dirs
-@@ -0,0 +1,12 @@
-+etc
-+lib
-+sbin
-+bin
-+usr/bin
-+usr/sbin
-+usr/lib
-+usr/include/proc
-+usr/share/man/man1
-+usr/share/man/man5
-+usr/share/man/man8
-+
---- procps-3.1.15.orig/debian/docs
-+++ procps-3.1.15/debian/docs
-@@ -0,0 +1,4 @@
-+BUGS
-+TODO
-+README.top
-+
---- procps-3.1.15.orig/debian/examples
-+++ procps-3.1.15/debian/examples
-@@ -0,0 +1,2 @@
-+debian/sysctl.conf
-+
---- procps-3.1.15.orig/debian/libproc-dev.dirs
-+++ procps-3.1.15/debian/libproc-dev.dirs
-@@ -0,0 +1,2 @@
-+usr/lib
-+usr/include/proc
---- procps-3.1.15.orig/debian/menu
-+++ procps-3.1.15/debian/menu
-@@ -0,0 +1 @@
-+?package(procps):needs=text section="Apps/System" title="Top" command="/usr/bin/top" hints="Monitoring"
---- procps-3.1.15.orig/debian/postinst
-+++ procps-3.1.15/debian/postinst
-@@ -0,0 +1,74 @@
-+#!/bin/sh
-+# postinst script for procps
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+# summary of how this script can be called:
-+#        *<postinst>  `configure'<most-recently-configured-version>
-+#        *<old-postinst>  `abort-upgrade'<new version>
-+#        *<conflictor's-postinst>  `abort-remove' `in-favour'<package>
-+#<new-version>
-+#        *<deconfigured's-postinst>  `abort-deconfigure' `in-favour'
-+#<failed-install-package>  <version>  `removing'
-+#<conflicting-package>  <version>
-+# for details, see http://www.debian.org/doc/debian-policy/ or
-+# the debian-policy package
-+#
-+# quoting from the policy:
-+#     Any necessary prompting should almost always be confined to the
-+#     post-installation script, and should be protected with a conditional
-+#     so that unnecessary prompting doesn't happen if a package's
-+#     installation fails and the `postinst' is called with `abort-upgrade',
-+#     `abort-remove' or `abort-deconfigure'.
-+
-+case "$1" in
-+    configure)
-+		if [ -e /etc/psdevtab ] ; then
-+			rm -f /etc/psdevtab
-+		fi
-+		if [ -e /etc/psdatabase ]
-+		then
-+			rm -f /etc/psdatabase
-+		fi
-+		# Remove old /etc/init.d/procps file, Bug #53818
-+		if [ -e /etc/init.d/procps ]
-+		then
-+			rm -f /etc/init.d/procps
-+		fi
-+		# Remove old procps init.d script, if it exists Closes: #55137
-+		if [ -e /etc/rcS.d/S30procps ]
-+		then
-+			update-rc.d procps remove>/dev/null
-+		fi
-+		# and if that didn't work Closes: #92184
-+		if [ -e /etc/rcS.d/S30procps ]
-+		then
-+			rm -f /etc/rcS.d/S30procps
-+		fi
-+		#
-+		# Now to do the alternatives for w and ps
-+		update-alternatives --install /usr/bin/w w /usr/bin/w.procps 50 \
-+			--slave /usr/share/man/man1/w.1.gz w.1.gz /usr/share/man/man1/w.procps.1.gz
-+		
-+    ;;
-+
-+    abort-upgrade|abort-remove|abort-deconfigure)
-+
-+    ;;
-+
-+    *)
-+        echo "postinst called with unknown argument \`$1'">&2
-+        exit 1
-+    ;;
-+esac
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+
-+#DEBHELPER#
-+
-+exit 0
-+
-+
---- procps-3.1.15.orig/debian/prerm
-+++ procps-3.1.15/debian/prerm
-@@ -0,0 +1,11 @@
-+#!/bin/sh
-+
-+if [ "$1" != "upgrade" ]
-+then
-+	update-alternatives --remove w /usr/bin/w.procps
-+fi
-+
-+#DEBHELPER#
-+
-+exit 0
-+
---- procps-3.1.15.orig/debian/sysctl.conf
-+++ procps-3.1.15/debian/sysctl.conf
-@@ -0,0 +1,6 @@
-+#
-+# /etc/sysctl.conf - Configuration file for setting system variables
-+# See sysctl.conf (5) for information.
-+#
-+#kernel.domainname = example.com
-+#net/ipv4/icmp_echo_ignore_broadcasts=1
---- procps-3.1.15.orig/debian/watch
-+++ procps-3.1.15/debian/watch
-@@ -0,0 +1,6 @@
-+# Example watch control file for uscan
-+# Rename this file to "watch" and then you can run the "uscan" command
-+# to check for upstream updates and more.
-+# Site		Directory		Pattern			Version	Script
-+sunsite.unc.edu	/pub/Linux/Incoming	procps-*.tar.gz	debian	uupdate
-+
---- procps-3.1.15.orig/debian/procps.sh
-+++ procps-3.1.15/debian/procps.sh
-@@ -0,0 +1,40 @@
-+#! /bin/sh
-+# /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf
-+#
-+# written by Elrond<[email protected]>
-+
-+# Check for existance of the default file and exit if not there,
-+# Closes #52839 for the boot-floppy people
-+[ -r /etc/default/rcS ] || exit 0
-+. /etc/default/rcS
-+
-+[ -x /sbin/sysctl ] || exit 0
-+
-+
-+case "$1" in
-+       start|reload|restart|force-reload)
-+               if [ ! -r /etc/sysctl.conf ]
-+               then
-+                       exit 0
-+               fi
-+               if [ "$VERBOSE" = "no" ]
-+               then
-+                       n="-n"
-+                       redir=">/dev/null"
-+               else
-+                       echo -n "Setting kernel variables."
-+                       n=""
-+                       redir=""
-+               fi
-+               eval "/sbin/sysctl $n -p $redir"
-+			   echo "."
-+               ;;
-+       stop|show)
-+               ;;
-+       *)
-+               echo "Usage: /etc/init.d/procps.sh {start|stop|reload|restart}">&2
-+               exit 1
-+               ;;
-+esac
-+
-+
---- procps-3.1.15.orig/debian/procps.manpages
-+++ procps-3.1.15/debian/procps.manpages
-@@ -0,0 +1 @@
-+ps/ps.1
---- procps-3.1.15.orig/debian/compat
-+++ procps-3.1.15/debian/compat
-@@ -0,0 +1 @@
-+4
---- procps-3.1.15.orig/debian/libproc-dev.files
-+++ procps-3.1.15/debian/libproc-dev.files
-@@ -0,0 +1,2 @@
-+usr/include/proc/*.h
-+lib/libproc.so
---- procps-3.1.15.orig/debian/libproc-dev.README
-+++ procps-3.1.15/debian/libproc-dev.README
-@@ -0,0 +1,12 @@
-+README for libproc-dev
-+======================
-+
-+This README is for people who want to use the libraries for their own
-+programs.  If you just want to use procps tools you don't need to use this
-+and you can probably remove libproc-dev too.
-+
-+It is generally a bad idea to dynamically link to libproc.  The API changes
-+a fair bit and I cannot guarantee that it will stay the same between minor
-+versions (though it will stay the same between Debian versions).  I've now
-+re-included the libproc.a file so use that.
-+
---- procps-3.1.15.orig/debian/patches/20_procps-fix+attr.dpatch
-+++ procps-3.1.15/debian/patches/20_procps-fix+attr.dpatch
-@@ -0,0 +1,55 @@
-+#! /bin/sh -e
-+## 20_procps-fix++attr by someone
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: SELINUX Attr value in /proc
-+
-+[ -f debian/patches/00patch-opts ]&&  . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo>&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1<  $0;;
-+       -unpatch) patch $patch_opts -p1 -R<  $0;;
-+        *)
-+                echo>&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+diff -urN procps-3.1.15/ps/output.c procps-3.1.15.new/ps/output.c
-+--- procps-3.1.15/ps/output.c	2003-12-23 19:46:32.000000000 -0600
-++++ procps-3.1.15.new/ps/output.c	2003-12-24 13:31:16.000000000 -0600
-+@@ -944,7 +944,7 @@
-+
-+ // wchan file is suitable for testing
-+ //snprintf(filename, sizeof filename, "/proc/%d/task/%d/wchan", pp->tgid, pp->tid);
-+-  snprintf(filename, sizeof filename, "/proc/%d/task/%d/attr/current", pp->tgid, pp->tid);
-++  snprintf(filename, sizeof filename, "/proc/%d/attr/current", pp->tgid);
-+
-+   fd = open(filename, O_RDONLY, 0);
-+   if(likely(fd==-1)) goto fail;
-+diff -urN procps-3.1.15/ps/parser.c procps-3.1.15.new/ps/parser.c
-+--- procps-3.1.15/ps/parser.c	2003-12-23 17:58:06.000000000 -0600
-++++ procps-3.1.15.new/ps/parser.c	2003-12-24 13:45:08.000000000 -0600
-+@@ -315,12 +315,10 @@
-+       exclusive("-V");
-+       display_version();
-+       exit(0);
-+-#if 0
-+-    case 'Z':     /* full Mandatory Access Control level info */
-+-      trace("-Z shows full MAC info\n");
-+-      return "Don't understand MAC on Linux.";
-++    case 'Z':
-++      trace("-Z shows SELinux contexts\n");
-++      format_flags |= FF_Fc;
-+       break;
-+-#endif
-+     case 'a':
-+       trace("-a select all with a tty, but omit session leaders.\n");
-+       simple_select |= SS_U_a;
---- procps-3.1.15.orig/debian/patches/20_ps.1.dpatch
-+++ procps-3.1.15/debian/patches/20_ps.1.dpatch
-@@ -0,0 +1,376 @@
-+#! /bin/sh -e
-+## 20_ps.1.dpatch by Craig Small<[email protected]>
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Fix ps manual page
-+
-+[ -f debian/patches/00patch-opts ]&&  . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo>&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1<  $0;;
-+       -unpatch) patch $patch_opts -p1 -R<  $0;;
-+        *)
-+                echo>&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+--- procps-3.1.15/ps/ps.1	2003-12-24 12:59:47.000000000 +1100
-++++ procps-3.1.15.newps/ps.1	2003-12-26 18:05:01.000000000 +1100
-+@@ -1,3 +1,5 @@
-++'\" t
-++.\" (The preceding line is a note to broken versions of man to tell
-+ .\" Man page for ps.
-+ .\" Quick hack conversion by Albert Cahalan, 1998.
-+ .\" Licensed under version 2 of the Gnu General Public License.
-+@@ -10,8 +12,8 @@
-+ .\" invented this crap in 1973. Oh yeah, they did. Sorry.
-+ .\"
-+ .TH PS 1 "July 5, 1998" "Linux" "Linux User's Manual"
-+-.SH \fRNAME\fR
-+-ps \- report process status
-++.SH NAME
-++ps \- report a snapshot of the current processes.
-+ .ad r
-+ .na
-+ .ss 12 0
-+@@ -19,17 +21,17 @@
-+ .nh
-+ .nf
-+
-+-SYNOPSIS
-++.SH SYNOPSIS
-+ ps [options]
-+
-+
-+-DESCRIPTION
-++.SH DESCRIPTION
-+ ps gives a snapshot of the current processes. If you want
-+ a repetitive update of this status, use top. This man
-+ page documents the /proc-based version of ps, or tries to.
-+
-+
-+-COMMAND-LINE OPTIONS
-++.SH "COMMAND-LINE OPTIONS"
-+
-+ This version of ps accepts several kinds of options.
-+
-+@@ -43,7 +45,9 @@
-+ when options are preceeded by a dash. The PS_PERSONALITY environment
-+ variable (described below) provides more detailed control of ps behavior.
-+
-+-SIMPLE PROCESS SELECTION
-++.SH "SIMPLE PROCESS SELECTION"
-++.TS
-++l l.
-+ -A           select all processes
-+ -N           negate selection
-+ -a           select all with a tty except session leaders
-+@@ -55,8 +59,11 @@
-+ r            restrict output to running processes
-+ x            select processes without controlling ttys
-+ --deselect   negate selection
-++.TE
-+
-+-PROCESS SELECTION BY LIST
-++.SH "PROCESS SELECTION BY LIST"
-++.TS
-++l l.
-+ -C           select by command name
-+ -G           select by RGID (supports names)
-+ -U           select by RUID (supports names)
-+@@ -78,8 +85,10 @@
-+ --user       select by effective user name or ID
-+ -123         implied --sid
-+ 123          implied --pid
-+-
-+-OUTPUT FORMAT CONTROL
-++.TE
-++.SH "OUTPUT FORMAT CONTROL"
-++.TS
-++l l.
-+ -O           is preloaded "-o"
-+ -F           extra full format
-+ -c           different scheduler info for -l option
-+@@ -98,8 +107,10 @@
-+ v            display virtual memory format
-+ --format     user-defined format
-+ --context    display security context format (NSA SELinux, etc.)
-+-
-+-OUTPUT MODIFIERS
-++.TE
-++.SH "OUTPUT MODIFIERS"
-++.TS
-++l l.
-+ -H           show process hierarchy (forest)
-+ -n           set namelist file
-+ -w           wide output
-+@@ -123,31 +134,40 @@
-+ --rows       set screen height
-+ --sort       specify sorting order
-+ --width      set screen width
-+-
-+-THREAD DISPLAY
-++.TE
-++.SH "THREAD DISPLAY"
-++.TS
-++l l.
-+ -L           show threads, possibly with LWP and NLWP columns
-+ -T           show threads, possibly with SPID column
-+ -m           show threads after processes
-+ H            show threads as if they were processes
-+ m            show threads after processes
-++.TE
-+
-+-INFORMATION
-++.SH INFORMATION
-++
-++.TS
-++l l.
-+ -V          print version
-+ L           list all format specifiers
-+ V           show version info
-+ --help      print help message
-+ --info      print debugging info
-+ --version   print version
-++.TE
-++
-++.SH OBSOLETE
-+
-+-OBSOLETE
-++.TS
-++l l.
-+ A           increases the argument space (DecUnix)
-+ M           use alternate core (try -n or N instead)
-+ W           get swap info from ... not /dev/drum (try -n or N instead)
-+ k           use /vmcore as c-dumpfile (try -n or N instead)
-+-
-+-
-+-
-+-NOTES
-++.TE
-++
-++.SH NOTES
-+
-+ User-defined format options ("o", "-o", "O", and "-O") offer
-+ a way to specify individual output columns. Headers may be
-+@@ -249,14 +269,17 @@
-+ will be destroyed by init(8) if the parent process exits.
-+
-+
-+-PROCESS FLAGS
-+-
-++.SH "PROCESS FLAGS"
-++.TS
-++l l l.
-+ FORKNOEXEC   1    forked but didn't exec
-+ SUPERPRIV    4    used super-user privileges
-++.TE
-+
-++.SH "PROCESS STATE CODES"
-+
-+-PROCESS STATE CODES
-+-
-++.TS
-++l l.
-+ D uninterruptible sleep (usually IO)
-+ R runnable (on run queue)
-+ S sleeping
-+@@ -264,23 +287,30 @@
-+ W paging
-+ X dead
-+ Z a defunct ("zombie") process
-++.TE
-+
-+ For BSD formats and when the "stat" keyword is used, additional
-+ letters may be displayed:
-+
-+-W has no resident pages
-+-<  high-priority process
-+-N low-priority task
-+-L has pages locked into memory (for real-time and custom IO)
-++.IP W
-++has no resident pages
-++.IP<
-++high-priority process
-++.IP N
-++low-priority task
-++.IP L
-++has pages locked into memory (for real-time and custom IO)
-+
-+
-+-SORT KEYS
-++.SH "SORT KEYS"
-+
-+ Note that the values used in sorting are the internal values ps uses and not
-+ the `cooked' values used in some of the output format fields. Pipe ps
-+ output into the sort(1) command if you want to sort the cooked values.
-+
-+-KEY LONG       DESCRIPTION
-++.TS
-++l l l.
-++\fBKEY LONG       DESCRIPTION\fR
-+ c   cmd        simple name of executable
-+ C   cmdline    full command line
-+ f   flags      flags as in long format F field
-+@@ -307,14 +337,15 @@
-+ u   user       user name
-+ v   vsize      total VM size in kB
-+ y   priority   kernel scheduling priority
-++.TE
-+
-+-
-+-AIX FORMAT DESCRIPTORS
-++.SH "AIX FORMAT DESCRIPTORS"
-+
-+ This ps supports AIX format descriptors, which work somewhat like the
-+ formatting codes of printf(1) and printf(3). For example, the normal
-+ default output can be produced with this:   ps -eo "%p %y %x %c"
-+-
-++.TS
-++l l l.
-+ CODE  NORMAL    HEADER
-+ %C    pcpu      %CPU
-+ %G    group     GROUP
-+@@ -331,14 +362,16 @@
-+ %x    time      TIME
-+ %y    tty       TTY
-+ %z    vsz       VSZ
-++.TE
-+
-+-
-+-STANDARD FORMAT SPECIFIERS
-++.SH "STANDARD FORMAT SPECIFIERS"
-+
-+ These may be used to control both output format and sorting.
-+ For example:  ps -eo pid,user,args --sort user
-+
-+-CODE         HEADER
-++.TS
-++l l.
-++\fBCODE         HEADER\fR
-+ %cpu         %CPU
-+ %mem         %MEM
-+ alarm        ALARM
-+@@ -459,25 +492,51 @@
-+ vsize        VSZ
-+ vsz          VSZ
-+ wchan        WCHAN
-++.TE
-+
-++.SH "ENVIRONMENT VARIABLES"
-+
-+-
-+-
-+-ENVIRONMENT VARIABLES
-+ The following environment variables could affect ps:
-+-    COLUMNS             Override default display width.
-+-    LINES               Override default display height.
-+-    PS_PERSONALITY      Set to one of posix,old,linux,bsd,sun,digital...
-+-    CMD_ENV             Set to one of posix,old,linux,bsd,sun,digital...
-+-    I_WANT_A_BROKEN_PS  Force obsolete command line interpretation.
-+-    LC_TIME             Date format.
-+-    PS_COLORS           Not currently supported.
-+-    PS_FORMAT           Default output format override.
-+-    PS_SYSMAP           Default namelist (System.map) location.
-+-    PS_SYSTEM_MAP       Default namelist (System.map) location.
-+-    POSIXLY_CORRECT     Don't find excuses to ignore bad "features".
-+-    UNIX95              Don't find excuses to ignore bad "features".
-+-    _XPG                Cancel CMD_ENV=irix non-standard behavior.
-++
-++.TP
-++.B COLUMNS
-++Override default display width.
-++.TP
-++.B LINES
-++Override default display height.
-++.TP
-++.B PS_PERSONALITY
-++Set to one of posix,old,linux,bsd,sun,digital...
-++.TP
-++.B CMD_ENV
-++Set to one of posix,old,linux,bsd,sun,digital...
-++.TP
-++.B I_WANT_A_BROKEN_PS
-++Force obsolete command line interpretation.
-++.TP
-++.B LC_TIME
-++Date format.
-++.TP
-++.B PS_COLORS
-++Not currently supported.
-++.TP
-++.B PS_FORMAT
-++Default output format override.
-++.TP
-++.B PS_SYSMAP
-++Default namelist (System.map) location.
-++.TP
-++.B PS_SYSTEM_MAP
-++Default namelist (System.map) location.
-++.TP
-++.B POSIXLY_CORRECT
-++Don't find excuses to ignore bad "features".
-++.TP
-++.B UNIX95
-++Don't find excuses to ignore bad "features".
-++.TP
-++.B _XPG
-++Cancel CMD_ENV=irix non-standard behavior.
-+
-+ In general, it is a bad idea to set these variables. The one exception
-+ is CMD_ENV or PS_PERSONALITY, which could be set to Linux for normal
-+@@ -485,7 +544,9 @@
-+ of the Unix98 standard.
-+
-+
-+-PERSONALITY
-++.SH "PERSONALITY"
-++.TS
-++l l.
-+     390      like the S/390 OpenEdition ps
-+     aix      like AIX ps
-+     bsd      like FreeBSD ps (totally non-standard)
-+@@ -507,9 +568,9 @@
-+     unix     standard
-+     unix95   standard
-+     unix98   standard
-++.TE
-+
-+-
-+-EXAMPLES
-++.SH "EXAMPLES"
-+ To see every process on the system using standard syntax:
-+     ps -e
-+ To see every process on the system using BSD syntax:
-+@@ -523,13 +584,13 @@
-+ Print only the process IDs of syslogd:
-+     ps -C syslogd -o pid=
-+
-+-SEE ALSO
-+-top(1) pgrep(1) pstree(1) proc(5)
-++.SH "SEE ALSO"
-++.BR top (1), pgrep (1), pstree (1),  proc (5).
-+
-+-STANDARDS
-++.SH STANDARDS
-+ This ps conforms to version 2 of the Single Unix Specification.
-+
-+-AUTHOR
-++.SH AUTHOR
-+ ps was originally written by Branko Lankester<[email protected]>. Michael
-+ K. Johnson<[email protected]>  re-wrote it significantly to use the proc
-+ filesystem, changing a few things in the process. Michael Shields
-+@@ -541,4 +602,4 @@
-+<[email protected]>  rewrote ps for full Unix98 and BSD support, along with
-+ some ugly hacks for obsolete and foreign syntax.
-+
-+-Please send bug reports to<[email protected]>
-++Please send bug reports to<[email protected]>.
---- procps-3.1.15.orig/debian/patches/20_top_manpage.dpatch
-+++ procps-3.1.15/debian/patches/20_top_manpage.dpatch
-@@ -0,0 +1,384 @@
-+#! /bin/sh -e
-+## 20_top_manpage by Randy Hron
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Fix bold in top manual page
-+
-+[ -f debian/patches/00patch-opts ]&&  . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo>&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1<  $0;;
-+       -unpatch) patch $patch_opts -p1 -R<  $0;;
-+        *)
-+                echo>&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+--- procps/top.1.orig	2003-12-24 15:51:35.000000000 -0500
-++++ procps/top.1	2003-12-24 18:57:14.564156176 -0500
-+@@ -52,7 +52,7 @@
-+ .ds CF configuration file
-+ .ds CI interactive command
-+ .ds CO command\-line option
-+-.ds CW \'current' window
-++.ds CW 'current' window
-+ .ds FM full\-screen mode
-+ .ds MP \fBphysical\fR memory
-+ .ds MS \fBshared\fR memory
-+@@ -370,7 +370,7 @@
-+ The task's share of the elapsed \*(PU time since the last screen update, expressed
-+ as a percentage of total \*(PU time.
-+ In a true SMP environment, if 'Irix mode' is \*F, \*(Me will operate in
-+-\'Solaris mode' where a task's \*(Pu usage will be divided by the total
-++'Solaris mode' where a task's \*(Pu usage will be divided by the total
-+ number of \*(PUs.
-+ You toggle 'Irix/Solaris' modes with the 'I' \*(CI.
-+
-+@@ -498,7 +498,7 @@
-+ .\" ......................................................................
-+ .SS 2b. SELECTING and ORDERING Columns
-+ .\" ----------------------------------------------------------------------
-+-After pressing the \*(CIs 'f' (Fields select) or \'o' (Order fields) you will
-++After pressing the \*(CIs 'f' (Fields select) or 'o' (Order fields) you will
-+ be shown a screen containing the current \fBfields string\fR followed by names
-+ and descriptions for all fields.
-+
-+@@ -574,7 +574,7 @@
-+ see current status,
-+
-+ .TP 7
-+-\ \ \'\fB?\fR\' or \'\fBh\fR\' :\fIHelp\fR
-++\ \ \<\fB?\fR\>  or \<\fBh\fR\>  :\fIHelp\fR
-+ There are two help levels available.
-+ The first will provide a reminder of all the basic \*(CIs.
-+ If \*(Me is\fI secured\fR, that screen will be abbreviated.
-+@@ -583,7 +583,7 @@
-+ applicable to \*(AM.
-+
-+ .TP 7
-+-\ \ \'\fB=\fR\' :\fIExit_Task_Limits\fR
-++\ \ \<\fB=\fR\>  :\fIExit_Task_Limits\fR
-+ Removes restrictions on which tasks are shown.
-+ This command will reverse any 'i' (idle tasks) and 'n' (max tasks) commands
-+ that might be active.
-+@@ -593,13 +593,13 @@
-+ When operating in \*(AM this command has a slightly broader meaning.
-+
-+ .TP 7
-+-\ \ \'\fBA\fR\' :\fIAlternate_Display_Mode_toggle\fR
-++\ \ \<\fBA\fR\>  :\fIAlternate_Display_Mode_toggle\fR
-+ This command will switch between \*(FM and \*(AM.
-+-\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight into
-+-\*(CWs and field groups.
-++\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight
-++into \*(CWs and field groups.
-+
-+ .TP 7
-+-\ \ \'\fBB\fR\' :\fIBold_Disable/Enable_toggle\fR
-++\ \ \<\fBB\fR\>  :\fIBold_Disable/Enable_toggle\fR
-+ This command will influence use of the 'bold' terminfo capability and
-+ alters\fB both\fR the \*(SA and \*(TA for the \*(CW.
-+ While it is intended primarily for use with dumb terminals, it can be
-+@@ -611,7 +611,7 @@
-+ there will be no visual confirmation that they are even on.
-+
-+ .TP 7
-+-*\ \'\fBd\fR\' or \'\fBs\fR\' :\fIChange_Delay_Time_interval\fR
-++*\ \<\fBd\fR\>  or \<\fBs\fR\>  :\fIChange_Delay_Time_interval\fR
-+ You will be prompted to enter the delay time, in seconds, between
-+ display updates.
-+
-+@@ -625,32 +625,32 @@
-+ and view the system summary on the second line.
-+
-+ .TP 7
-+-\ \ \'\fBG\fR\' :\fIChoose_Another_Window/Field_Group\fR
-++\ \ \<\fBG\fR\>  :\fIChoose_Another_Window/Field_Group\fR
-+ You will be prompted to enter a number between 1 and 4 designating the
-+ window/field group which should be made the \*(CW.
-+ You will soon grow comfortable with these 4 windows, especially after
-+ experimenting with \*(AM.
-+
-+ .TP 7
-+-\ \ \'\fBI\fR\' :\fIIrix/Solaris_Mode_toggle\fR
-++\ \ \<\fBI\fR\>  :\fIIrix/Solaris_Mode_toggle\fR
-+ When operating in 'Solaris mode' ('I' toggled \*F), a task's \*(Pu usage
-+ will be divided by the total number of \*(PUs.
-+ After issuing this command, you'll be informed of the new state of this toggle.
-+
-+ .TP 7
-+-\ \ \'\fBu\fR\' :\fIselect a user\fR
-++\ \ \<\fBu\fR\>  :\fIselect a user\fR
-+ You will be prompted for a UID or username. Only processes
-+ belonging to the selected user will be displayed. This option
-+ matches on the effective UID.
-+
-+ .TP 7
-+-\ \ \'\fBU\fR\' :\fIselect a user\fR
-++\ \ \<\fBU\fR\>  :\fIselect a user\fR
-+ You will be prompted for a UID or username. Only processes
-+ belonging to the selected user will be displayed. This option
-+ matches on the real, effective, saved, and filesystem UID.
-+
-+ .TP 7
-+-*\ \'\fBk\fR\' :\fIKill_a_task\fR
-++*\ \<\fBk\fR\>  :\fIKill_a_task\fR
-+ You will be prompted for a PID and then the signal to send.
-+ The default signal, as reflected in the prompt, is SIGTERM.
-+ However, you can send any signal, via number or name.
-+@@ -661,24 +661,24 @@
-+    2) at the signal prompt, type 0
-+
-+ .TP 7
-+-\ \ \'\fBq\fR\' :\fIQuit\fR
-++\ \ \<\fBq\fR\>  :\fIQuit\fR
-+
-+ .TP 7
-+-*\ \'\fBr\fR\' :\fIRenice_a_Task\fR
-++*\ \<\fBr\fR\>  :\fIRenice_a_Task\fR
-+ You will be prompted for a PID and then the value to nice it to.
-+ Entering a positive value will cause a process to lose priority.
-+ Conversely, a negative value will cause a process to be viewed more
-+ favorably by the kernel.
-+
-+ .TP 7
-+-\ \ \'\fBW\fR\' :\fIWrite_the_Configuration_File\fR
-++\ \ \<\fBW\fR\>  :\fIWrite_the_Configuration_File\fR
-+ This will save all of your options and toggles plus the current
-+ display mode and delay time.
-+ By issuing this command just before quitting \*(Me, you will be able restart
-+ later in exactly that same state.
-+
-+ .TP 7
-+-\ \ \'\fBZ\fR\' :\fIChange_Color_Mapping
-++\ \ \<\fBZ\fR\>  :\fIChange_Color_Mapping
-+ This key will take you to a separate screen where you can change the
-+ colors for the \*(CW, or for all windows.
-+ For details regarding this \*(CI \*(Xt 3d. COLOR Mapping.
-+@@ -694,25 +694,25 @@
-+ of messages and prompts.
-+
-+ These commands always impact just the \*(CW/field group.
-+-\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight into
-+-\*(CWs and field groups.
-++\*(XT 4. ALTERNATE\-DISPLAY Mode and the 'G' \*(CI for insight
-++into \*(CWs and field groups.
-+
-+ .TP 7
-+-\ \ \'\fBl\fR\' :\fIToggle_Load_Average/Uptime\fR \*(EM On/Off
-++\ \ \<\fBl\fR\>  :\fIToggle_Load_Average/Uptime\fR \*(EM On/Off
-+ This is also the line containing the program name (possibly an alias) when
-+ operating in \*(FM or the \*(CW name when operating in \*(AM.
-+
-+ .TP 7
-+-\ \ \'\fBm\fR\' :\fIToggle_Memory/Swap_Usage\fR \*(EM On/Off
-++\ \ \<\fBm\fR\>  :\fIToggle_Memory/Swap_Usage\fR \*(EM On/Off
-+ This command affects two \*(SA lines.
-+
-+ .TP 7
-+-\ \ \'\fBt\fR\' :\fIToggle_Task/Cpu_States\fR \*(EM On/Off
-++\ \ \<\fBt\fR\>  :\fIToggle_Task/Cpu_States\fR \*(EM On/Off
-+ This command affects from 2 to many \*(SA lines, depending on the state
-+ of the '1' toggle and whether or not \*(Me is running under true SMP.
-+
-+ .TP 7
-+-\ \ \'\fB1\fR\' :\fIToggle_Single/Separate_Cpu_States\fR \*(EM On/Off
-++\ \ \<\fB1\fR\>  :\fIToggle_Single/Separate_Cpu_States\fR \*(EM On/Off
-+ This command affects how the 't' command's Cpu States portion is shown.
-+ Although this toggle exists primarily to serve massively-parallel SMP machines,
-+ it is not restricted to solely SMP environments.
-+@@ -744,12 +744,12 @@
-+ .in
-+
-+ .TP 7
-+-\ \ \'\fBb\fR\' :\fIBold/Reverse_toggle\fR
-++\ \ \<\fBb\fR\>  :\fIBold/Reverse_toggle\fR
-+ This command will impact how the 'x' and 'y' toggles are displayed.
-+ Further, it will only be available when at least one of those toggles is \*O.
-+
-+ .TP 7
-+-\ \ \'\fBx\fR\' :\fIColumn_Highlight_toggle\fR
-++\ \ \<\fBx\fR\>  :\fIColumn_Highlight_toggle\fR
-+ Changes highlighting for the current sort field.
-+ You probably don't need a constant visual reminder of the sort field and
-+ \*(Me hopes that you always run with 'column highlight' \*F, due to the cost
-+@@ -759,7 +759,7 @@
-+ visual reminder.
-+
-+ .TP 7
-+-\ \ \'\fBy\fR\' :\fIRow_Highlight_toggle\fR
-++\ \ \<\fBy\fR\>  :\fIRow_Highlight_toggle\fR
-+ Changes highlighting for "running" tasks.
-+ For additional insight into this task state, \*(Xt 2a. DESCRIPTIONS of Fields,
-+ Process Status.
-+@@ -768,7 +768,7 @@
-+ The only costs will be a few additional tty escape sequences.
-+
-+ .TP 7
-+-\ \ \'\fBz\fR\' :\fIColor/Monochrome_toggle\fR
-++\ \ \<\fBz\fR\>  :\fIColor/Monochrome_toggle\fR
-+ Switches the \*(CW between your last used color scheme and the older form
-+ of black-on-white or white-on-black.
-+ This command will alter\fB both\fR the \*(SA and \*(TA but does not affect the
-+@@ -779,20 +779,20 @@
-+ .B CONTENT\fR of \*(TW
-+ .PD 0
-+ .TP 7
-+-\ \ \'\fBc\fR\' :\fICommand_Line/Program_Name_toggle\fR
-++\ \ \<\fBc\fR\>  :\fICommand_Line/Program_Name_toggle\fR
-+ This command will be honored whether or not the 'Command' column
-+ is currently visible.
-+ Later, should that field come into view, the change you applied will be seen.
-+
-+ .TP 7
-+-\ \ \'\fBf\fR\' and \'\fBo\fR\' :\fIFields_select\fR or \fIOrder_fields\fR
-++\ \ \<\fBf\fR\>  and \<\fBo\fR\>  :\fIFields_select\fR or \fIOrder_fields\fR
-+ These keys display separate screens where you can change which
-+ fields are displayed and their order.
-+ For additional information on these \*(CIs
-+ \*(Xt 2b. SELECTING and ORDERING Columns.
-+
-+ .TP 7
-+-\ \ \'\fBS\fR\' :\fICumulative_Time_Mode_toggle\fR
-++\ \ \<\fBS\fR\>  :\fICumulative_Time_Mode_toggle\fR
-+ When 'Cumulative mode' is \*O, each process is listed with the \*(Pu
-+ time that it and its dead children have used.
-+
-+@@ -808,7 +808,7 @@
-+ effect, simply ask for help and view the window summary on the second line.
-+
-+ .TP 7
-+-\ \ \'\fBu\fR\' :\fIShow_Specific_User_Only\fR
-++\ \ \<\fBu\fR\>  :\fIShow_Specific_User_Only\fR
-+ You will be prompted to enter the name of the user to display.
-+ Thereafter, in that \*(TW only matching User ID's will be shown, or possibly
-+ no tasks will be shown.
-+@@ -821,7 +821,7 @@
-+ .B SIZE\fR of \*(TW
-+ .PD 0
-+ .TP 7
-+-\ \ \'\fBi\fR\' :\fIIdle_Processes_toggle\fR
-++\ \ \<\fBi\fR\>  :\fIIdle_Processes_toggle\fR
-+ Displays all tasks or just active tasks.
-+ When this toggle is \*F, idled or zombied processes will not be displayed.
-+
-+@@ -829,7 +829,7 @@
-+ affect the window's size, as all prior \*(TDs will have already been painted.
-+
-+ .TP 7
-+-\ \ \'\fBn\fR\' or \'#\' :\fISet_Maximum_Tasks\fR
-++\ \ \<\fBn\fR\>  or \<\fB#\fR\>  :\fISet_Maximum_Tasks\fR
-+ You will be prompted to enter the number of tasks to display.
-+ The lessor of your number and available screen rows will be used.
-+
-+@@ -868,12 +868,12 @@
-+ .in
-+
-+ .TP 7
-+-\ \ \'\fB<\fR\' :\fIMove_Sort_Field_Left\fR
-++\ \ \<\fB<\fR\>  :\fIMove_Sort_Field_Left\fR
-+ Moves the sort column to the left unless the current sort field is
-+ the first field being displayed.
-+
-+ .TP 7
-+-\ \ \'\fB>\fR\' :\fIMove_Sort_Field_Right\fR
-++\ \ \<\fB>\fR\>  :\fIMove_Sort_Field_Right\fR
-+ Moves the sort column to the right unless the current sort field is
-+ the last field being displayed.
-+
-+@@ -884,7 +884,7 @@
-+ .in
-+
-+ .TP 7
-+-\ \ \'\fBF\fR\' or \'\fBO\fR\' :\fISelect_Sort_Field\fR
-++\ \ \<\fBF\fR\>  or \<\fBO\fR\>  :\fISelect_Sort_Field\fR
-+ These keys display a separate screen where you can change which field
-+ is used as the sort column.
-+
-+@@ -897,7 +897,7 @@
-+ when running \*(Me with column highlighting turned \*F.
-+
-+ .TP 7
-+-\ \ \'\fBR\fR\' :\fIReverse/Normal_Sort_Field_toggle\fR
-++\ \ \<\fBR\fR\>  :\fIReverse/Normal_Sort_Field_toggle\fR
-+ Using this \*(CI you can alternate between high-to-low and low-to-high sorts.
-+
-+ .PP
-+@@ -974,7 +974,7 @@
-+ .\" ......................................................................
-+ .SS 4b. COMMANDS for Windows
-+ .TP 7
-+-\ \ \'\fB-\fR\' and \'\fB_\fR\' :\fIShow/Hide_Window(s)_toggles\fR
-++\ \ \<\fB-\fR\>  and \<\fB_\fR\>  :\fIShow/Hide_Window(s)_toggles\fR
-+ The '-' key turns the \*(CW's \*(TD \*O and \*F.
-+ When \*O, that \*(TA will show a minimum of the columns header you've
-+ established with the 'f' and 'o' commands.
-+@@ -988,7 +988,7 @@
-+ as the only display element.
-+
-+ .TP 7
-+-*\ \'\fB=\fR\' and \'\fB+\fR\' :\fIEqualize_(re-balance)_Window(s)\fR
-++*\ \<\fB=\fR\>  and \<\fB+\fR\>  :\fIEqualize_(re-balance)_Window(s)\fR
-+ The '=' key forces the \*(CW's \*(TD to be visible.
-+ It also reverses any 'i' (idle tasks) and 'n' (max tasks) commands that might
-+ be active.
-+@@ -999,7 +999,7 @@
-+ except for the 'i' (idle tasks) and 'n' (max tasks) commands.
-+
-+ .TP 7
-+-*\ \'\fBA\fR\' :\fIAlternate_Display_Mode_toggle\fR
-++*\ \<\fBA\fR\>  :\fIAlternate_Display_Mode_toggle\fR
-+ This command will switch between \*(FM and \*(AM.
-+
-+ The first time you issue this command, all four \*(TDs will be shown.
-+@@ -1007,7 +1007,7 @@
-+ chosen to make visible.
-+
-+ .TP 7
-+-*\ \'\fBa\fR\' and \'\fBw\fR\' :\fINext_Window_Forward/Backward\fR
-++*\ \<\fBa\fR\>  and \<\fBw\fR\>  :\fINext_Window_Forward/Backward\fR
-+ This will change the \*(CW, which in turn changes the window to which
-+ commands are directed.
-+ These keys act in a circular fashion so you can reach any desired \*(CW
-+@@ -1018,7 +1018,7 @@
-+ the \*(TD is \*F and many commands will be restricted.
-+
-+ .TP 7
-+-*\ \'\fBG\fR\' :\fIChoose_Another_Window/Field_Group\fR
-++*\ \<\fBG\fR\>  :\fIChoose_Another_Window/Field_Group\fR
-+ You will be prompted to enter a number between 1 and 4 designating the
-+ window/field group which should be made the \*(CW.
-+
-+@@ -1027,15 +1027,15 @@
-+ commands.
-+
-+ .TP 7
-+-\ \ \'\fBg\fR\' :\fIChange_Window/Field_Group_Name\fR
-++\ \ \<\fBg\fR\>  :\fIChange_Window/Field_Group_Name\fR
-+ You will be prompted for a new name to be applied to the \*(CW.
-+ It does not require that the window name be visible
-+ (the 'l' toggle to be \*O).
-+
-+ .IP "*" 3
-+ The \*(CIs shown with an \*(AS have use beyond \*(AM.
-+-    \'=', 'A', 'G'  are always available
-+-    \'a', 'w'       act the same when color mapping
-++    '=', 'A', 'G'  are always available
-++    'a', 'w'       act the same when color mapping
-+
-+
-+ .\" ----------------------------------------------------------------------
-+
-+
-+
-+
-+
-+
---- procps-3.1.15.orig/debian/patches/10_sysctl_quiet.dpatch
-+++ procps-3.1.15/debian/patches/10_sysctl_quiet.dpatch
-@@ -0,0 +1,119 @@
-+#! /bin/sh -e
-+## 10_sysctl_quiet by Simon Horman
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Adds quiet -q flag to sysctl
-+
-+[ -f debian/patches/00patch-opts ]&&  . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo>&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1<  $0;;
-+       -unpatch) patch $patch_opts -p1 -R<  $0;;
-+        *)
-+                echo>&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+diff -ru procps-3.1.8/sysctl.8 procps-3.1.8.new/sysctl.8
-+--- procps-3.1.8/sysctl.8	2002-12-12 07:51:32.000000000 +0900
-++++ procps-3.1.8.new/sysctl.8	2003-04-15 20:30:46.000000000 +0900
-+@@ -12,9 +12,9 @@
-+ .SH SYNOPSIS
-+ .B "sysctl [-n] [-e] variable ..."
-+ .br
-+-.B "sysctl [-n] [-e] -w variable=value ..."
-++.B "sysctl [-n] [-e] [-q] -w variable=value ..."
-+ .br
-+-.B "sysctl [-n] [-e] -p<filename>"
-++.B "sysctl [-n] [-e] [-q] -p<filename>"
-+ .br
-+ .B "sysctl [-n] [-e] -a"
-+ .br
-+@@ -45,6 +45,9 @@
-+ .B "-e"
-+ Use this option to ignore errors about unknown keys.
-+ .TP
-++.B "-q"
-++Use this option to not display the values set to stdout.
-++.TP
-+ .B "-w"
-+ Use this option when you want to change a sysctl setting.
-+ .TP
-+diff -ru procps-3.1.8/sysctl.c procps-3.1.8.new/sysctl.c
-+--- procps-3.1.8/sysctl.c	2002-12-29 08:26:50.000000000 +0900
-++++ procps-3.1.8.new/sysctl.c	2003-04-15 20:35:08.000000000 +0900
-+@@ -15,6 +15,8 @@
-+  * Changelog:
-+  *            v1.01:
-+  *                   - added -p<preload>  to preload values from a file
-++ *            Horms:
-++ *                   - added -q to be quiet when modifying values
-+  *
-+  * Changes by Albert Cahalan, 2002.
-+  */
-+@@ -46,6 +48,7 @@
-+ static bool PrintName;
-+ static bool PrintNewline;
-+ static bool IgnoreError;
-++static bool Quiet;
-+
-+ /* error messages */
-+ static const char ERR_UNKNOWN_PARAMETER[] = "error: Unknown parameter '%s'\n";
-+@@ -80,9 +83,9 @@
-+  */
-+ static int Usage(const char *restrict const name) {
-+    printf("usage:  %s [-n] [-e] variable ... \n"
-+-          "        %s [-n] [-e] -w variable=value ... \n"
-++          "        %s [-n] [-e] [-q] -w variable=value ... \n"
-+           "        %s [-n] [-e] -a \n"
-+-          "        %s [-n] [-e] -p<file>    (default /etc/sysctl.conf) \n"
-++          "        %s [-n] [-e] [-q] -p<file>    (default /etc/sysctl.conf) \n"
-+           "        %s [-n] [-e] -A\n", name, name, name, name, name);
-+    return -1;
-+ }
-+@@ -290,13 +293,14 @@
-+       fprintf(fp, "%s\n", value);
-+       fclose(fp);
-+
-+-      if (PrintName) {
-++      if(Quiet) {
-++	 ;
-++      } else if (PrintName) {
-+          fprintf(stdout, "%s = %s\n", outname, value);
-++      } else if (PrintNewline) {
-++         fprintf(stdout, "%s\n", value);
-+       } else {
-+-         if (PrintNewline)
-+-            fprintf(stdout, "%s\n", value);
-+-         else
-+-            fprintf(stdout, "%s", value);
-++         fprintf(stdout, "%s", value);
-+       }
-+    }
-+
-+@@ -377,6 +381,7 @@
-+    PrintName = true;
-+    PrintNewline = true;
-+    IgnoreError = false;
-++   Quiet = false;
-+
-+    if (argc<  2) {
-+        return Usage(me);
-+@@ -419,6 +424,9 @@
-+                  preloadfile = *argv;
-+               }
-+               return Preload(preloadfile);
-++	 case 'q':
-++	      Quiet = true;
-++	   break;
-+          case 'a': /* string and integer values (for Linux, all of them) */
-+          case 'A': /* the above, including "opaques" (would be unprintable) */
-+          case 'X': /* the above, with opaques completly printed in hex */
---- procps-3.1.15.orig/debian/patches/00list
-+++ procps-3.1.15/debian/patches/00list
-@@ -0,0 +1,5 @@
-+10_sysctl_quiet
-+20_procps-fix+attr
-+20_ps.1
-+20_top_manpage
-+30_remove_test_dir
---- procps-3.1.15.orig/debian/patches/30_remove_test_dir.dpatch
-+++ procps-3.1.15/debian/patches/30_remove_test_dir.dpatch
-@@ -0,0 +1,2911 @@
-+#! /bin/sh -e
-+## 30_remove_test-dir by Craif Small
-+##
-+## All lines beginning with `## DP:' are a description of the patch.
-+## DP: Removing test directory
-+[ -f debian/patches/00patch-opts ]&&  . debian/patches/00patch-opts
-+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-+
-+if [ $# -ne 1 ]; then
-+    echo>&2 "`basename $0`: script expects -patch|-unpatch as argument"
-+    exit 1
-+fi
-+case "$1" in
-+       -patch) patch $patch_opts -p1<  $0;;
-+       -unpatch) patch $patch_opts -p1 -R<  $0;;
-+        *)
-+                echo>&2 "`basename $0`: script expects -patch|-unpatch as argum
-+ent"
-+                exit 1;;
-+esac
-+
-+exit 0
-+@DPATCH@
-+diff -ruN procps-3.1.15.old/test/clone-army.c procps-3.1.15/test/clone-army.c
-+--- procps-3.1.15.old/test/clone-army.c	2003-10-05 04:46:34.000000000 +1000
-++++ procps-3.1.15/test/clone-army.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,127 +0,0 @@
-+-// ps fTo sess,pgid,pid,tty,ppid,tpgid,args -C a.out
-+-
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-//#include<sys/stat.h>
-+-//#include<fcntl.h>
-+-//#include<stdlib.h>
-+-#include<stdio.h>
-+-#include<sched.h>
-+-
-+-#if 0
-+-#define CLONE_VM             0x00000100 // set if VM shared between processes
-+-#define CLONE_FS             0x00000200 // set if fs info shared between processes
-+-#define CLONE_FILES          0x00000400 // set if open files shared between processes
-+-#define CLONE_SIGHAND        0x00000800 // set if signal handlers and blocked signals shared
-+-#define CLONE_IDLETASK       0x00001000 // set if new pid should be 0 (kernel only)*/
-+-#define CLONE_PTRACE         0x00002000 // set if we want to let tracing continue on the child too
-+-#define CLONE_VFORK          0x00004000 // set if the parent wants the child to wake it up on mm_release
-+-#define CLONE_PARENT         0x00008000 // set if we want to have the same parent as the cloner
-+-#define CLONE_THREAD         0x00010000 // Same thread group?
-+-#define CLONE_NEWNS          0x00020000 // New namespace group?
-+-#define CLONE_SYSVSEM        0x00040000 // share system V SEM_UNDO semantics
-+-#define CLONE_SETTLS         0x00080000 // create a new TLS for the child
-+-#define CLONE_PARENT_SETTID  0x00100000 // set the TID in the parent
-+-#define CLONE_CHILD_CLEARTID 0x00200000 // clear the TID in the child
-+-#define CLONE_DETACHED       0x00400000 // parent wants no child-exit signal
-+-#define CLONE_UNTRACED       0x00800000 // set if the tracing process can't force CLONE_PTRACE on this clone
-+-#define CLONE_CHILD_SETTID   0x01000000 // set the TID in the child
-+-#define CLONE_STOPPED        0x02000000 // Start in stopped state
-+-#endif
-+-
-+-#ifndef CLONE_THREAD
-+-#define CLONE_THREAD         0x00010000
-+-#endif
-+-#ifndef CLONE_DETACHED
-+-#define CLONE_DETACHED       0x00400000
-+-#endif
-+-
-+-
-+-// interesting: VM FS FILES SIGHAND PARENT THREAD SYSVSEM DETACHED
-+-
-+-//#define FLAGS (CLONE_PARENT|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_SYSVSEM)
-+-#define FLAGS (CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_DETACHED)
-+-
-+-// Don't cause rejection: FS FILES SYSVSEM PARENT
-+-// Do cause rejection:
-+-
-+-static void printflags(int pass, unsigned flags){
-+-  printf(
-+-    "%s %08x %s %s %s %s\n",
-+-    pass?"pass":"FAIL",
-+-    flags,
-+-    (flags&CLONE_THREAD) ? "THREAD" : "______",
-+-    (flags&CLONE_DETACHED) ? "DETACHED" : "________",
-+-    (flags&CLONE_SIGHAND) ? "SIGHAND" : "_______",
-+-    (flags&CLONE_SIGHAND) ? "VM" : "__"
-+-  );
-+-}
-+-
-+-static unsigned genflags(unsigned flags){
-+-  return (
-+-    (flags&0x08) ? 0 : CLONE_THREAD
-+-    )|(
-+-    (flags&0x04) ? 0 : CLONE_DETACHED
-+-    )|(
-+-    (flags&0x02) ? 0 : CLONE_SIGHAND
-+-    )|(
-+-    (flags&0x01) ? 0 : CLONE_VM
-+-  );
-+-}
-+-
-+-//static pid_t one;
-+-
-+-//static void die(int signo){
-+-//  (void)signo;
-+-//  _exit(0);
-+-//}
-+-
-+-//static void sigchld_handler(int signo){
-+-//  (void)signo;
-+-//  kill(one,SIGHUP);          // kill parent
-+-//}
-+-
-+-static int clone_fn(void *vp){
-+-  for(;;) pause();
-+-}
-+-
-+-static long clone_stack_data[2048];
-+-#ifdef __hppa__
-+-static long *clone_stack =&clone_stack_data[0];
-+-#else
-+-static long *clone_stack =&clone_stack_data[2048];
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  unsigned u;
-+-  pid_t minime;
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-//  one = getpid();
-+-//  signal(SIGHUP,die);
-+-//  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-  u = 16;
-+-
-+-  while(u--){
-+-    unsigned f = genflags(u);
-+-    minime = clone(clone_fn, clone_stack, f, "arg");
-+-
-+-    printflags(minime!=-1, f);
-+-//    if(minime==-1){
-+-//      perror("no clone");
-+-//      _exit(8);
-+-//    }
-+-
-+-//    printf("%d begat %d\n",getpid(),minime);
-+-  }
-+-
-+-
-+-//  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-//  clone_fn();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/clone-once.c procps-3.1.15/test/clone-once.c
-+--- procps-3.1.15.old/test/clone-once.c	2003-10-20 10:56:12.000000000 +1000
-++++ procps-3.1.15/test/clone-once.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,97 +0,0 @@
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-//#include<sys/stat.h>
-+-//#include<fcntl.h>
-+-//#include<stdlib.h>
-+-#include<stdio.h>
-+-#include<sched.h>
-+-
-+-#if 0
-+-#define CLONE_VM             0x00000100 // set if VM shared between processes
-+-#define CLONE_FS             0x00000200 // set if fs info shared between processes
-+-#define CLONE_FILES          0x00000400 // set if open files shared between processes
-+-#define CLONE_SIGHAND        0x00000800 // set if signal handlers and blocked signals shared
-+-#define CLONE_IDLETASK       0x00001000 // set if new pid should be 0 (kernel only)*/
-+-#define CLONE_PTRACE         0x00002000 // set if we want to let tracing continue on the child too
-+-#define CLONE_VFORK          0x00004000 // set if the parent wants the child to wake it up on mm_release
-+-#define CLONE_PARENT         0x00008000 // set if we want to have the same parent as the cloner
-+-#define CLONE_THREAD         0x00010000 // Same thread group?
-+-#define CLONE_NEWNS          0x00020000 // New namespace group?
-+-#define CLONE_SYSVSEM        0x00040000 // share system V SEM_UNDO semantics
-+-#define CLONE_SETTLS         0x00080000 // create a new TLS for the child
-+-#define CLONE_PARENT_SETTID  0x00100000 // set the TID in the parent
-+-#define CLONE_CHILD_CLEARTID 0x00200000 // clear the TID in the child
-+-#define CLONE_DETACHED       0x00400000 // parent wants no child-exit signal
-+-#define CLONE_UNTRACED       0x00800000 // set if the tracing process can't force CLONE_PTRACE on this clone
-+-#define CLONE_CHILD_SETTID   0x01000000 // set the TID in the child
-+-#define CLONE_STOPPED        0x02000000 // Start in stopped state
-+-#endif
-+-
-+-#ifndef CLONE_THREAD
-+-#define CLONE_THREAD         0x00010000
-+-#endif
-+-#ifndef CLONE_DETACHED
-+-#define CLONE_DETACHED       0x00400000
-+-#endif
-+-
-+-//#define FLAGS (CLONE_PARENT|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_SYSVSEM)
-+-#define FLAGS (CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_DETACHED)
-+-
-+-static pid_t one;
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-//static void sigchld_handler(int signo){
-+-//  (void)signo;
-+-//  kill(one,SIGHUP);          // kill parent
-+-//}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-static int clone_fn(void *vp){
-+-//  const char msg[] = "I think I'm a clone now!\n";
-+-  (void)vp;
-+-//  write(STDOUT_FILENO, msg, sizeof(msg)-1);
-+-  hang();
-+-  return 0; // keep gcc happy
-+-}
-+-
-+-static long clone_stack_data[2048];
-+-#ifdef __hppa__
-+-static long *clone_stack =&clone_stack_data[0];
-+-#else
-+-static long *clone_stack =&clone_stack_data[2048];
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  pid_t minime;
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  one = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  minime = clone(clone_fn, clone_stack, FLAGS, "arg");
-+-
-+-  if(minime==-1){
-+-    perror("no clone");
-+-    kill(one,SIGKILL);
-+-    _exit(8);
-+-  }
-+-
-+-//  printf("%d begat %d\n",getpid(),minime);
-+-
-+-  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-  hang();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/fork-you.c procps-3.1.15/test/fork-you.c
-+--- procps-3.1.15.old/test/fork-you.c	2003-09-05 14:18:30.000000000 +1000
-++++ procps-3.1.15/test/fork-you.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,27 +0,0 @@
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-int main(int argc, char *argv[]){
-+-  pid_t pid;
-+-
-+-  (void)argv;
-+-
-+-  pid = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-  kill(1,9);            // "kill" unkillable init to touch lib pages
-+-  while(argc--) if(!fork()) hang();
-+-  kill(pid,SIGHUP);          // kill parent
-+-  hang();
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/funny-thing.c procps-3.1.15/test/funny-thing.c
-+--- procps-3.1.15.old/test/funny-thing.c	2003-09-08 13:55:57.000000000 +1000
-++++ procps-3.1.15/test/funny-thing.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,38 +0,0 @@
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-
-+-static pid_t one;
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-int main(int argc, char *argv[]){
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  one = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-  // second one exits, to enable setsid(), and the resulting
-+-  // zombie will be reaped by init after 1st process killed
-+-  if(!fork()) _exit(0);
-+-
-+-  if(setsid()==-1){
-+-    kill(one,SIGKILL); // hopefully the shell will complain
-+-    _exit(42); // kind of tough to report errors
-+-  }
-+-
-+-  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-  hang();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/gigabyte.c procps-3.1.15/test/gigabyte.c
-+--- procps-3.1.15.old/test/gigabyte.c	2003-09-11 10:23:56.000000000 +1000
-++++ procps-3.1.15/test/gigabyte.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,74 +0,0 @@
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-//#include<sys/ioctl.h>
-+-//#include<sys/stat.h>
-+-//#include<fcntl.h>
-+-#include<stdio.h>
-+-#include<sys/mman.h>
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-#ifndef MAP_NORESERVE
-+-#define MAP_NORESERVE 0
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  void *vp;
-+-  pid_t pid;
-+-  size_t length = 1024*1024*1024;
-+-  unsigned maps;   // how many mappings to do
-+-
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  if(sizeof(void*)==8){
-+-    maps = 10;
-+-    puts("64bit");
-+-  }else{
-+-    maps = 1;
-+-    puts("32bit");
-+-  }
-+-  fflush(stdout);
-+-
-+-  pid = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  while(maps){
-+-    vp = mmap(
-+-      0,   // start
-+-      length,
-+-      PROT_READ|PROT_WRITE,
-+-      MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS,
-+-      0,   // fd
-+-      0    // offset
-+-    );
-+-    if(vp==MAP_FAILED){
-+-      // try a smaller size; maybe fragmentation stopped us
-+-      length /= 2;
-+-      maps *= 2;
-+-    }else{
-+-      maps--;
-+-    }
-+-    if(maps>200 || length<2*1024*1024){
-+-      kill(pid,SIGKILL); // hopefully the shell will complain
-+-      _exit(88);
-+-    }
-+-  }
-+-
-+-  close(0);
-+-  close(1);
-+-  close(2);
-+-  kill(pid,SIGHUP);          // kill parent
-+-  hang();
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/got-no-tty.c procps-3.1.15/test/got-no-tty.c
-+--- procps-3.1.15.old/test/got-no-tty.c	2003-09-05 14:17:57.000000000 +1000
-++++ procps-3.1.15/test/got-no-tty.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,46 +0,0 @@
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-#include<sys/ioctl.h>
-+-#include<sys/stat.h>
-+-#include<fcntl.h>
-+-#include<stdio.h>
-+-
-+-static void die(int signo){
-+-  (void)signo;
-+-  _exit(0);
-+-}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-int main(int argc, char *argv[]){
-+-  int fd;
-+-  pid_t pid;
-+-
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-  pid = getpid();
-+-  signal(SIGHUP,die);
-+-  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  // Use the TIOCNOTTY ioctl to detach from the tty
-+-  // and, supposedly, set the process group ID to zero.
-+-  // Reality: PGRP unchanged, TPGID becomes -1, TTY lost.
-+-  fd = open("/dev/tty", O_RDONLY);
-+-  if(!fd){
-+-    perror("open /dev/tty");
-+-    _exit(1);
-+-  }
-+-  if(ioctl(fd, TIOCNOTTY)==-1){
-+-    perror("open /dev/tty");
-+-    _exit(1);
-+-  }
-+-
-+-  kill(pid,SIGHUP);          // kill parent
-+-  hang();
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/mini-me.c procps-3.1.15/test/mini-me.c
-+--- procps-3.1.15.old/test/mini-me.c	2003-09-22 05:50:38.000000000 +1000
-++++ procps-3.1.15/test/mini-me.c	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,97 +0,0 @@
-+-// ps fTo sess,pgid,pid,tty,ppid,tpgid,args -C a.out
-+-
-+-#include<sys/types.h>
-+-#include<unistd.h>
-+-#include<signal.h>
-+-//#include<sys/stat.h>
-+-//#include<fcntl.h>
-+-//#include<stdlib.h>
-+-#include<stdio.h>
-+-#include<sched.h>
-+-
-+-#if 0
-+-#define CLONE_VM             0x00000100 // set if VM shared between processes
-+-#define CLONE_FS             0x00000200 // set if fs info shared between processes
-+-#define CLONE_FILES          0x00000400 // set if open files shared between processes
-+-#define CLONE_SIGHAND        0x00000800 // set if signal handlers and blocked signals shared
-+-#define CLONE_IDLETASK       0x00001000 // set if new pid should be 0 (kernel only)*/
-+-#define CLONE_PTRACE         0x00002000 // set if we want to let tracing continue on the child too
-+-#define CLONE_VFORK          0x00004000 // set if the parent wants the child to wake it up on mm_release
-+-#define CLONE_PARENT         0x00008000 // set if we want to have the same parent as the cloner
-+-#define CLONE_THREAD         0x00010000 // Same thread group?
-+-#define CLONE_NEWNS          0x00020000 // New namespace group?
-+-#define CLONE_SYSVSEM        0x00040000 // share system V SEM_UNDO semantics
-+-#define CLONE_SETTLS         0x00080000 // create a new TLS for the child
-+-#define CLONE_PARENT_SETTID  0x00100000 // set the TID in the parent
-+-#define CLONE_CHILD_CLEARTID 0x00200000 // clear the TID in the child
-+-#define CLONE_DETACHED       0x00400000 // parent wants no child-exit signal
-+-#define CLONE_UNTRACED       0x00800000 // set if the tracing process can't force CLONE_PTRACE on this clone
-+-#define CLONE_CHILD_SETTID   0x01000000 // set the TID in the child
-+-#define CLONE_STOPPED        0x02000000 // Start in stopped state
-+-#endif
-+-
-+-#ifndef CLONE_THREAD
-+-#define CLONE_THREAD         0x00010000
-+-#endif
-+-#ifndef CLONE_DETACHED
-+-#define CLONE_DETACHED       0x00400000
-+-#endif
-+-
-+-//#define FLAGS (CLONE_PARENT|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_SYSVSEM)
-+-#define FLAGS (CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_VM|CLONE_THREAD|CLONE_DETACHED)
-+-
-+-//static pid_t one;
-+-
-+-//static void die(int signo){
-+-//  (void)signo;
-+-//  _exit(0);
-+-//}
-+-
-+-//static void sigchld_handler(int signo){
-+-//  (void)signo;
-+-//  kill(one,SIGHUP);          // kill parent
-+-//}
-+-
-+-static void hang(void){
-+-  for(;;) pause();
-+-}
-+-
-+-static int clone_fn(void *vp){
-+-  const char msg[] = "I think I'm a clone now!\n";
-+-  write(STDOUT_FILENO, msg, sizeof(msg)-1);
-+-  hang();
-+-}
-+-
-+-static long clone_stack_data[2048];
-+-#ifdef __hppa__
-+-static long *clone_stack =&clone_stack_data[0];
-+-#else
-+-static long *clone_stack =&clone_stack_data[2048];
-+-#endif
-+-
-+-int main(int argc, char *argv[]){
-+-  pid_t minime;
-+-  (void)argc;
-+-  (void)argv;
-+-
-+-//  one = getpid();
-+-//  signal(SIGHUP,die);
-+-//  if(fork()) hang();    // parent later killed as readyness signal
-+-
-+-
-+-  minime = clone(clone_fn, clone_stack, FLAGS, "arg");
-+-
-+-  if(minime==-1){
-+-//    kill(one,SIGKILL);
-+-    perror("no clone");
-+-    _exit(8);
-+-  }
-+-
-+-  printf("%d begat %d\n",getpid(),minime);
-+-
-+-//  kill(one,SIGHUP); // let the shell know we're ready
-+-
-+-  hang();
-+-
-+-  return 0;
-+-}
-+diff -ruN procps-3.1.15.old/test/module.mk procps-3.1.15/test/module.mk
-+--- procps-3.1.15.old/test/module.mk	2003-12-25 02:02:52.000000000 +1100
-++++ procps-3.1.15/test/module.mk	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,36 +0,0 @@
-+-# This file gets included into the main Makefile, in the top directory.
-+-
-+-#INSTALL += $(bin)test $(man1)test.1 -- some data dump thing maybe?
-+-
-+-# directories for cleaning
-+-DIRS += test/ $(wildcard test/*/*/)
-+-
-+-TEST_C    := fork-you the_living_dead got-no-tty sidious sid-breaks-ttys \
-+-             gigabyte mini-me funny-thing clone-army clone-once
-+-TESTNAMES := $(addprefix test/,$(TEST_C))
-+-TESTOBJ   := $(addsuffix .o,$(TESTNAMES))
-+-TESTSRC   := $(addsuffix .c,$(TESTNAMES)) test/th.c
-+-
-+-# files to create
-+-ALL += $(TESTNAMES)
-+-
-+-# files to remove
-+-TEST_JUNK := stderr stdout header stderr.test stderr.good
-+-CLEAN += $(addprefix test/,$(TEST_JUNK)) $(TESTNAMES) test/th $(wildcard test/*.tmp)
-+-
-+-TEST_X := module.mk script-child onetest runtests
-+-TARFILES += $(TESTSRC) $(addprefix test/,$(TEST_X)) $(wildcard test/*/*)
-+-
-+-$(TESTNAMES): %: %.o
-+-	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^
-+-
-+-# add proc/$(SONAME) on the end later if needed
-+-$(TESTOBJ): %.o: %.c
-+-	$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $<  -o $@
-+-
-+-test/th: test/th.o
-+-	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^ -lpthread
-+-
-+-test/th.o: test/th.c
-+-	$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $<  -o $@
-+-
-+diff -ruN procps-3.1.15.old/test/onetest procps-3.1.15/test/onetest
-+--- procps-3.1.15.old/test/onetest	2003-12-25 02:02:08.000000000 +1100
-++++ procps-3.1.15/test/onetest	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,70 +0,0 @@
-+-#!/bin/bash
-+-
-+-unset I_WANT_A_BROKEN_PS
-+-unset PS_PERSONALITY
-+-unset CMD_ENV
-+-unset PS_FORMAT
-+-
-+-export LANG=C
-+-export LC_ALL=C
-+-export TZ=GMT
-+-
-+-TESTNAME=$1
-+-
-+-# enlarge as needed in setup to avoid COMMAND becoming COMMA, etc.
-+-export COLUMNS=111
-+-
-+-: ${LD_LIBRARY_PATH:=../proc}
-+-: ${TESTME:=../ps/ps}
-+-export LD_LIBRARY_PATH
-+-export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH  # if ever a darwin port
-+-
-+-
-+-
-+-. $TESTNAME/setup
-+-$TESTME $ARGS>  stdout 2>  stderr
-+-RESULT=$?
-+-if [ x$KILLFN == x1 ] ; then
-+-  killfn
-+-fi
-+-
-+-
-+-
-+-if [ x$RESULT != x$GOOD ] ; then
-+-  echo FAIL $TESTNAME err-$RESULT
-+-  exit 1
-+-fi
-+-
-+-rm -f stderr.test ; touch stderr.test
-+-if [ -f stderr ] ; then
-+-  head -3<  stderr>  stderr.test
-+-fi
-+-rm -f stderr.good ; touch stderr.good
-+-if [ -f $TESTNAME/stderr ] ; then
-+-  head -3<  $TESTNAME/stderr>  stderr.good
-+-fi
-+-diff -Naurd stderr.test stderr.good>>  /dev/null
-+-if [ x$? != x0 ] ; then
-+-  echo FAIL $TESTNAME wrong-stderr
-+-  exit 1
-+-fi
-+-
-+-if [ -f $TESTNAME/header ] ; then
-+-  (printf ' ' ; head -1 stdout) | tr -s ' '>  header
-+-  diff -Naurd header $TESTNAME/header>>  /dev/null
-+-  if [ x$? != x0 ] ; then
-+-    echo FAIL $TESTNAME wrong-header
-+-    exit 1
-+-  fi
-+-fi
-+-
-+-if [ x$EVALFN == x1 ] ; then
-+-  evalfn
-+-  if [ x$? != x0 ] ; then
-+-    echo FAIL $TESTNAME eval-fn
-+-    exit 1
-+-  fi
-+-fi
-+-
-+-echo pass $TESTNAME a-ok
-+-exit 0
-+diff -ruN procps-3.1.15.old/test/ps/LT-mix/header procps-3.1.15/test/ps/LT-mix/header
-+--- procps-3.1.15.old/test/ps/LT-mix/header	2003-10-02 12:38:29.000000000 +1000
-++++ procps-3.1.15/test/ps/LT-mix/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/LT-mix/setup procps-3.1.15/test/ps/LT-mix/setup
-+--- procps-3.1.15.old/test/ps/LT-mix/setup	2003-10-02 12:39:40.000000000 +1000
-++++ procps-3.1.15/test/ps/LT-mix/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-L -T"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/LT-mix/stderr procps-3.1.15/test/ps/LT-mix/stderr
-+--- procps-3.1.15.old/test/ps/LT-mix/stderr	2003-10-02 12:40:03.000000000 +1000
-++++ procps-3.1.15/test/ps/LT-mix/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use both -L and -T.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/O-O/header procps-3.1.15/test/ps/O-O/header
-+--- procps-3.1.15.old/test/ps/O-O/header	2003-10-02 12:01:36.000000000 +1000
-++++ procps-3.1.15/test/ps/O-O/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/O-O/setup procps-3.1.15/test/ps/O-O/setup
-+--- procps-3.1.15.old/test/ps/O-O/setup	2003-10-02 12:02:01.000000000 +1000
-++++ procps-3.1.15/test/ps/O-O/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-O wchan -O sess"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/O-O/stderr procps-3.1.15/test/ps/O-O/stderr
-+--- procps-3.1.15.old/test/ps/O-O/stderr	2003-10-02 12:05:19.000000000 +1000
-++++ procps-3.1.15/test/ps/O-O/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: option -O can not follow other format options.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/O-o/header procps-3.1.15/test/ps/O-o/header
-+--- procps-3.1.15.old/test/ps/O-o/header	2003-10-02 12:06:18.000000000 +1000
-++++ procps-3.1.15/test/ps/O-o/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID WCHAN S TTY TIME COMMAND SESS
-+diff -ruN procps-3.1.15.old/test/ps/O-o/setup procps-3.1.15/test/ps/O-o/setup
-+--- procps-3.1.15.old/test/ps/O-o/setup	2003-10-02 12:05:41.000000000 +1000
-++++ procps-3.1.15/test/ps/O-o/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-O wchan -o sess"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header/header procps-3.1.15/test/ps/aix-pcpu-header/header
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header/header	2003-09-03 07:26:05.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- %CPU
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header/setup procps-3.1.15/test/ps/aix-pcpu-header/setup
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header/setup	2003-09-03 07:24:28.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %cpu"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header2/header procps-3.1.15/test/ps/aix-pcpu-header2/header
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header2/header	2003-09-03 07:26:30.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- COMMAND px
-+diff -ruN procps-3.1.15.old/test/ps/aix-pcpu-header2/setup procps-3.1.15/test/ps/aix-pcpu-header2/setup
-+--- procps-3.1.15.old/test/ps/aix-pcpu-header2/setup	2003-09-03 07:25:22.000000000 +1000
-++++ procps-3.1.15/test/ps/aix-pcpu-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %cpx"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bad-format-env/header procps-3.1.15/test/ps/bad-format-env/header
-+--- procps-3.1.15.old/test/ps/bad-format-env/header	2003-10-02 12:16:37.000000000 +1000
-++++ procps-3.1.15/test/ps/bad-format-env/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/bad-format-env/setup procps-3.1.15/test/ps/bad-format-env/setup
-+--- procps-3.1.15.old/test/ps/bad-format-env/setup	2003-10-02 12:16:22.000000000 +1000
-++++ procps-3.1.15/test/ps/bad-format-env/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-ARGS=
-+-GOOD=0
-+-export PS_FORMAT=booger
-+diff -ruN procps-3.1.15.old/test/ps/bad-format-env/stderr procps-3.1.15/test/ps/bad-format-env/stderr
-+--- procps-3.1.15.old/test/ps/bad-format-env/stderr	2003-10-02 12:16:13.000000000 +1000
-++++ procps-3.1.15/test/ps/bad-format-env/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-Warning: $PS_FORMAT ignored. (Unknown user-defined format specifier "booger".)
-+diff -ruN procps-3.1.15.old/test/ps/bogus-n-header/header procps-3.1.15/test/ps/bogus-n-header/header
-+--- procps-3.1.15.old/test/ps/bogus-n-header/header	2003-09-02 09:37:07.000000000 +1000
-++++ procps-3.1.15/test/ps/bogus-n-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bogus-n-header/setup procps-3.1.15/test/ps/bogus-n-header/setup
-+--- procps-3.1.15.old/test/ps/bogus-n-header/setup	2003-09-02 09:34:40.000000000 +1000
-++++ procps-3.1.15/test/ps/bogus-n-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-n"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bogus-n-header/stderr procps-3.1.15/test/ps/bogus-n-header/stderr
-+--- procps-3.1.15.old/test/ps/bogus-n-header/stderr	2003-09-02 09:35:37.000000000 +1000
-++++ procps-3.1.15/test/ps/bogus-n-header/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
-+diff -ruN procps-3.1.15.old/test/ps/bsd-T/header procps-3.1.15/test/ps/bsd-T/header
-+--- procps-3.1.15.old/test/ps/bsd-T/header	2003-09-02 11:54:41.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-T/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-T/setup procps-3.1.15/test/ps/bsd-T/setup
-+--- procps-3.1.15.old/test/ps/bsd-T/setup	2003-09-02 11:53:24.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-T/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,11 +0,0 @@
-+-ARGS=T
-+-GOOD=0
-+-EVALFN=1
-+-
-+-# default output is restricted to this tty
-+-MYTTY=`tty`
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}'<  stdout | uniq`
-+-  [ /dev/$PSTTY == $MYTTY ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header/header procps-3.1.15/test/ps/bsd-j-header/header
-+--- procps-3.1.15.old/test/ps/bsd-j-header/header	2003-09-02 22:33:49.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header/setup procps-3.1.15/test/ps/bsd-j-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-j-header/setup	2003-09-02 22:32:53.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="j"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header2/header procps-3.1.15/test/ps/bsd-j-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-j-header2/header	2003-09-02 23:16:25.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-j-header2/setup procps-3.1.15/test/ps/bsd-j-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-j-header2/setup	2003-09-02 23:15:16.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-j-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-j"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header/header procps-3.1.15/test/ps/bsd-l-header/header
-+--- procps-3.1.15.old/test/ps/bsd-l-header/header	2003-09-02 22:54:09.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header/setup procps-3.1.15/test/ps/bsd-l-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-l-header/setup	2003-09-02 22:53:45.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="l"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header2/header procps-3.1.15/test/ps/bsd-l-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-l-header2/header	2003-09-03 07:26:56.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-l-header2/setup procps-3.1.15/test/ps/bsd-l-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-l-header2/setup	2003-09-03 07:21:19.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-l-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-l"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header/header procps-3.1.15/test/ps/bsd-s-header/header
-+--- procps-3.1.15.old/test/ps/bsd-s-header/header	2003-09-02 22:55:32.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PENDING BLOCKED IGNORED CAUGHT STAT TTY TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header/setup procps-3.1.15/test/ps/bsd-s-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-s-header/setup	2003-09-02 22:55:06.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="s"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header2/header procps-3.1.15/test/ps/bsd-s-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-s-header2/header	2003-09-03 07:21:33.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PENDING BLOCKED IGNORED CAUGHT STAT TTY TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-s-header2/setup procps-3.1.15/test/ps/bsd-s-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-s-header2/setup	2003-09-03 07:21:40.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-s-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-s"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-selection/header procps-3.1.15/test/ps/bsd-selection/header
-+--- procps-3.1.15.old/test/ps/bsd-selection/header	2003-09-04 16:04:27.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-selection/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-selection/setup procps-3.1.15/test/ps/bsd-selection/setup
-+--- procps-3.1.15.old/test/ps/bsd-selection/setup	2003-09-13 13:47:22.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-selection/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,25 +0,0 @@
-+-ARGS="m"
-+-GOOD=0
-+-EVALFN=1
-+-KILLFN=1
-+-
-+-rm -f misc.tmp ready.tmp typescript.tmp
-+-
-+-./got-no-tty
-+-# this'll do but... WHERE ARE THE MAN PAGES FOR PTY STUFF???
-+-(SHELL=`pwd`/script-child script typescript.tmp&>/dev/null)&
-+-while [ ! -f ready.tmp ] ; do sleep 0.01 ; done
-+-. ready.tmp
-+-
-+-evalfn () {
-+-   THIS_TTY=`tty | colrm 1 5`
-+-   lines2=`awk '{print $2}'<  stdout | sort -u | egrep "^($SHELL_TTY|$THIS_TTY)$"   | wc -l`
-+-   lines3=`awk '{print $2}'<  stdout | sort -u | egrep "^($SHELL_TTY|$THIS_TTY|\?)$" | wc -l`
-+-   [ $lines2 == 2 ]&&  [ $lines3 == 2 ]
-+-}
-+-
-+-killfn () {
-+-  killall -9 got-no-tty
-+-  kill -9 $SHELL_PID  # the others should freely die
-+-  rm -f misc.tmp ready.tmp typescript.tmp
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-1/header procps-3.1.15/test/ps/bsd-t-1/header
-+--- procps-3.1.15.old/test/ps/bsd-t-1/header	2003-09-02 11:55:23.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-1/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-1/setup procps-3.1.15/test/ps/bsd-t-1/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-1/setup	2003-09-02 11:56:11.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-1/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,11 +0,0 @@
-+-# default output is restricted to this tty
-+-MYTTY=`tty`
-+-
-+-ARGS=t$MYTTY
-+-GOOD=0
-+-EVALFN=1
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}'<  stdout | uniq`
-+-  [ /dev/$PSTTY == $MYTTY ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-2/header procps-3.1.15/test/ps/bsd-t-2/header
-+--- procps-3.1.15.old/test/ps/bsd-t-2/header	2003-09-02 11:55:26.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-2/setup procps-3.1.15/test/ps/bsd-t-2/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-2/setup	2003-09-02 11:56:54.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,12 +0,0 @@
-+-# Ancient usage: t w/o arg is current tty
-+-ARGS=t
-+-GOOD=0
-+-EVALFN=1
-+-
-+-# default output is restricted to this tty
-+-MYTTY=`tty`
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}'<  stdout | uniq`
-+-  [ /dev/$PSTTY == $MYTTY ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-3/header procps-3.1.15/test/ps/bsd-t-3/header
-+--- procps-3.1.15.old/test/ps/bsd-t-3/header	2003-09-02 11:55:27.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-3/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-3/setup procps-3.1.15/test/ps/bsd-t-3/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-3/setup	2003-09-02 12:25:44.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-3/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,19 +0,0 @@
-+-MYTTY=`tty`
-+-
-+-# two ways to interpret "ps t 42"
-+-#
-+-# 1. as "ps t" with "ps 42"  (PID 42)
-+-# 2. as "ps t42" (tty /dev/tty42)
-+-#
-+-# The command doesn't seem to be legal BSD syntax, but we try...
-+-# We use interpretation #2, since BSD isn't known for ORing.
-+-# We'll assume PID 1 is "init" and not on /dev/tty1, and that
-+-# nothing on tty1 is named "init".
-+-
-+-ARGS="t 1"
-+-GOOD=0
-+-EVALFN=1
-+-
-+-evalfn () {
-+-  ! egrep ' init' stdout>>  /dev/null
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-4/header procps-3.1.15/test/ps/bsd-t-4/header
-+--- procps-3.1.15.old/test/ps/bsd-t-4/header	2003-09-02 11:55:29.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-4/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-t-4/setup procps-3.1.15/test/ps/bsd-t-4/setup
-+--- procps-3.1.15.old/test/ps/bsd-t-4/setup	2003-09-02 12:15:34.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-t-4/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,10 +0,0 @@
-+-ARGS=t-
-+-GOOD=0
-+-EVALFN=1
-+-
-+-# Use 'Y' to avoid shell wildcard problems.
-+-
-+-evalfn () {
-+-  PSTTY=`awk '!/TTY/{print $2}'<  stdout | uniq | tr '?' 'Y'`
-+-  [ $PSTTY == 'Y' ]
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header/header procps-3.1.15/test/ps/bsd-u-header/header
-+--- procps-3.1.15.old/test/ps/bsd-u-header/header	2003-09-02 22:57:35.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header/setup procps-3.1.15/test/ps/bsd-u-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-u-header/setup	2003-09-02 22:57:20.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="u"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header2/header procps-3.1.15/test/ps/bsd-u-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-u-header2/header	2003-09-03 07:27:09.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-u-header2/setup procps-3.1.15/test/ps/bsd-u-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-u-header2/setup	2003-09-03 07:22:00.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-u-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-u"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header/header procps-3.1.15/test/ps/bsd-v-header/header
-+--- procps-3.1.15.old/test/ps/bsd-v-header/header	2003-09-02 22:56:43.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header/setup procps-3.1.15/test/ps/bsd-v-header/setup
-+--- procps-3.1.15.old/test/ps/bsd-v-header/setup	2003-09-02 22:56:10.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="v"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header2/header procps-3.1.15/test/ps/bsd-v-header2/header
-+--- procps-3.1.15.old/test/ps/bsd-v-header2/header	2003-09-03 07:27:16.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- PID STAT TIME SL RE PAGEIN VSZ RSS LIM TSIZ %CPU %MEM COMMAND
-+diff -ruN procps-3.1.15.old/test/ps/bsd-v-header2/setup procps-3.1.15/test/ps/bsd-v-header2/setup
-+--- procps-3.1.15.old/test/ps/bsd-v-header2/setup	2003-09-03 07:22:17.000000000 +1000
-++++ procps-3.1.15/test/ps/bsd-v-header2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=bsd
-+-ARGS="-v"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/dynix-F-header/header procps-3.1.15/test/ps/dynix-F-header/header
-+--- procps-3.1.15.old/test/ps/dynix-F-header/header	2003-09-02 22:31:23.000000000 +1000
-++++ procps-3.1.15/test/ps/dynix-F-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/dynix-F-header/setup procps-3.1.15/test/ps/dynix-F-header/setup
-+--- procps-3.1.15.old/test/ps/dynix-F-header/setup	2003-09-02 22:30:43.000000000 +1000
-++++ procps-3.1.15/test/ps/dynix-F-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-F"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-Q/header procps-3.1.15/test/ps/fail-aix-Q/header
-+--- procps-3.1.15.old/test/ps/fail-aix-Q/header	2003-10-02 11:31:34.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-Q/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-Q/setup procps-3.1.15/test/ps/fail-aix-Q/setup
-+--- procps-3.1.15.old/test/ps/fail-aix-Q/setup	2003-10-02 11:32:11.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-Q/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %Q"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-Q/stderr procps-3.1.15/test/ps/fail-aix-Q/stderr
-+--- procps-3.1.15.old/test/ps/fail-aix-Q/stderr	2003-10-02 11:33:07.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-Q/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unknown AIX field descriptor.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-improper/header procps-3.1.15/test/ps/fail-aix-improper/header
-+--- procps-3.1.15.old/test/ps/fail-aix-improper/header	2003-10-02 11:34:09.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-improper/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-improper/setup procps-3.1.15/test/ps/fail-aix-improper/setup
-+--- procps-3.1.15.old/test/ps/fail-aix-improper/setup	2003-10-02 11:34:22.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-improper/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o %"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-aix-improper/stderr procps-3.1.15/test/ps/fail-aix-improper/stderr
-+--- procps-3.1.15.old/test/ps/fail-aix-improper/stderr	2003-10-02 11:34:40.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-aix-improper/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Improper AIX field descriptor.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-sort/header procps-3.1.15/test/ps/fail-improper-sort/header
-+--- procps-3.1.15.old/test/ps/fail-improper-sort/header	2003-10-02 11:47:57.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-sort/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-sort/setup procps-3.1.15/test/ps/fail-improper-sort/setup
-+--- procps-3.1.15.old/test/ps/fail-improper-sort/setup	2003-10-02 11:48:15.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-sort/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="--sort ,,"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-sort/stderr procps-3.1.15/test/ps/fail-improper-sort/stderr
-+--- procps-3.1.15.old/test/ps/fail-improper-sort/stderr	2003-10-02 12:22:31.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-sort/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Improper sort list
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-spec/header procps-3.1.15/test/ps/fail-improper-spec/header
-+--- procps-3.1.15.old/test/ps/fail-improper-spec/header	2003-10-02 11:37:17.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-spec/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-spec/setup procps-3.1.15/test/ps/fail-improper-spec/setup
-+--- procps-3.1.15.old/test/ps/fail-improper-spec/setup	2003-10-02 11:37:34.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-spec/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o ,"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-improper-spec/stderr procps-3.1.15/test/ps/fail-improper-spec/stderr
-+--- procps-3.1.15.old/test/ps/fail-improper-spec/stderr	2003-10-02 11:37:52.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-improper-spec/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Improper format list.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-macro-width/header procps-3.1.15/test/ps/fail-macro-width/header
-+--- procps-3.1.15.old/test/ps/fail-macro-width/header	2003-10-02 11:42:15.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-macro-width/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-macro-width/setup procps-3.1.15/test/ps/fail-macro-width/setup
-+--- procps-3.1.15.old/test/ps/fail-macro-width/setup	2003-10-02 11:42:30.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-macro-width/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o DefBSD:6"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-macro-width/stderr procps-3.1.15/test/ps/fail-macro-width/stderr
-+--- procps-3.1.15.old/test/ps/fail-macro-width/stderr	2003-10-02 11:42:46.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-macro-width/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Can't set width for a macro (multi-column) format specifier.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-sort-key/header procps-3.1.15/test/ps/fail-no-sort-key/header
-+--- procps-3.1.15.old/test/ps/fail-no-sort-key/header	2003-10-02 11:50:26.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-sort-key/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-sort-key/setup procps-3.1.15/test/ps/fail-no-sort-key/setup
-+--- procps-3.1.15.old/test/ps/fail-no-sort-key/setup	2003-10-02 11:50:39.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-sort-key/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="--sort"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-sort-key/stderr procps-3.1.15/test/ps/fail-no-sort-key/stderr
-+--- procps-3.1.15.old/test/ps/fail-no-sort-key/stderr	2003-10-02 11:51:05.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-sort-key/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Long sort specification must follow --sort.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-width/header procps-3.1.15/test/ps/fail-no-width/header
-+--- procps-3.1.15.old/test/ps/fail-no-width/header	2003-10-02 11:40:56.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-width/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-width/setup procps-3.1.15/test/ps/fail-no-width/setup
-+--- procps-3.1.15.old/test/ps/fail-no-width/setup	2003-10-02 11:41:22.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-width/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o pid:,f,comm"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-no-width/stderr procps-3.1.15/test/ps/fail-no-width/stderr
-+--- procps-3.1.15.old/test/ps/fail-no-width/stderr	2003-10-02 11:40:56.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-no-width/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Column widths must be unsigned decimal numbers.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-nondecimal/header procps-3.1.15/test/ps/fail-nondecimal/header
-+--- procps-3.1.15.old/test/ps/fail-nondecimal/header	2003-10-02 11:39:38.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-nondecimal/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-nondecimal/setup procps-3.1.15/test/ps/fail-nondecimal/setup
-+--- procps-3.1.15.old/test/ps/fail-nondecimal/setup	2003-10-02 11:40:07.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-nondecimal/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o pid:f,comm"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-nondecimal/stderr procps-3.1.15/test/ps/fail-nondecimal/stderr
-+--- procps-3.1.15.old/test/ps/fail-nondecimal/stderr	2003-10-02 11:40:30.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-nondecimal/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Column widths must be unsigned decimal numbers.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-oj/header procps-3.1.15/test/ps/fail-oj/header
-+--- procps-3.1.15.old/test/ps/fail-oj/header	2003-09-02 13:47:18.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-oj/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-oj/setup procps-3.1.15/test/ps/fail-oj/setup
-+--- procps-3.1.15.old/test/ps/fail-oj/setup	2003-09-02 13:47:54.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-oj/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o pid -j"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-oj/stderr procps-3.1.15/test/ps/fail-oj/stderr
-+--- procps-3.1.15.old/test/ps/fail-oj/stderr	2003-09-02 13:49:02.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-oj/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Can't use output modifiers with user-defined output
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-sort/header procps-3.1.15/test/ps/fail-unknown-sort/header
-+--- procps-3.1.15.old/test/ps/fail-unknown-sort/header	2003-10-02 11:49:27.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-sort/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-sort/setup procps-3.1.15/test/ps/fail-unknown-sort/setup
-+--- procps-3.1.15.old/test/ps/fail-unknown-sort/setup	2003-10-02 11:49:41.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-sort/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="--sort booger"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-sort/stderr procps-3.1.15/test/ps/fail-unknown-sort/stderr
-+--- procps-3.1.15.old/test/ps/fail-unknown-sort/stderr	2003-10-02 11:50:09.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-sort/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unknown sort specifier.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-spec/header procps-3.1.15/test/ps/fail-unknown-spec/header
-+--- procps-3.1.15.old/test/ps/fail-unknown-spec/header	2003-10-02 11:35:33.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-spec/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-spec/setup procps-3.1.15/test/ps/fail-unknown-spec/setup
-+--- procps-3.1.15.old/test/ps/fail-unknown-spec/setup	2003-10-02 11:35:52.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-spec/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-o boogers"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-unknown-spec/stderr procps-3.1.15/test/ps/fail-unknown-spec/stderr
-+--- procps-3.1.15.old/test/ps/fail-unknown-spec/stderr	2003-10-02 11:36:05.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-unknown-spec/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unknown user-defined format specifier "boogers".
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/fail-xx/header procps-3.1.15/test/ps/fail-xx/header
-+--- procps-3.1.15.old/test/ps/fail-xx/header	2003-09-02 09:43:13.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-xx/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/fail-xx/setup procps-3.1.15/test/ps/fail-xx/setup
-+--- procps-3.1.15.old/test/ps/fail-xx/setup	2003-09-02 09:41:38.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-xx/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="x -x"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/fail-xx/stderr procps-3.1.15/test/ps/fail-xx/stderr
-+--- procps-3.1.15.old/test/ps/fail-xx/stderr	2003-09-02 09:42:04.000000000 +1000
-++++ procps-3.1.15/test/ps/fail-xx/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Unsupported SysV option.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/hpux-H-simple/setup procps-3.1.15/test/ps/hpux-H-simple/setup
-+--- procps-3.1.15.old/test/ps/hpux-H-simple/setup	2003-09-03 10:15:28.000000000 +1000
-++++ procps-3.1.15/test/ps/hpux-H-simple/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,14 +0,0 @@
-+-ARGS="-HC fork-you -o comm="
-+-GOOD=0
-+-EVALFN=1
-+-KILLFN=1
-+-
-+-./fork-you 3 4 5 6 7 8 9
-+-
-+-evalfn () {
-+-  diff -Naurd stdout $TESTNAME/stdout>>  /dev/null
-+-}
-+-
-+-killfn () {
-+-  killall -9 fork-you
-+-}
-+diff -ruN procps-3.1.15.old/test/ps/hpux-H-simple/stdout procps-3.1.15/test/ps/hpux-H-simple/stdout
-+--- procps-3.1.15.old/test/ps/hpux-H-simple/stdout	2003-09-03 09:51:00.000000000 +1000
-++++ procps-3.1.15/test/ps/hpux-H-simple/stdout	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,9 +0,0 @@
-+-fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+-  fork-you
-+diff -ruN procps-3.1.15.old/test/ps/jyclf-header/header procps-3.1.15/test/ps/jyclf-header/header
-+--- procps-3.1.15.old/test/ps/jyclf-header/header	2003-09-02 13:57:34.000000000 +1000
-++++ procps-3.1.15/test/ps/jyclf-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- S UID PID PPID PGID SID CLS PRI RSS SZ WCHAN STIME TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/jyclf-header/setup procps-3.1.15/test/ps/jyclf-header/setup
-+--- procps-3.1.15.old/test/ps/jyclf-header/setup	2003-09-02 13:55:34.000000000 +1000
-++++ procps-3.1.15/test/ps/jyclf-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-jyclf"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/linux-lf-header/header procps-3.1.15/test/ps/linux-lf-header/header
-+--- procps-3.1.15.old/test/ps/linux-lf-header/header	2003-09-02 14:03:14.000000000 +1000
-++++ procps-3.1.15/test/ps/linux-lf-header/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+- F S USER PID PPID C PRI NI P SZ WCHAN STIME TTY TIME CMD
-+diff -ruN procps-3.1.15.old/test/ps/linux-lf-header/setup procps-3.1.15/test/ps/linux-lf-header/setup
-+--- procps-3.1.15.old/test/ps/linux-lf-header/setup	2003-09-02 14:04:14.000000000 +1000
-++++ procps-3.1.15/test/ps/linux-lf-header/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,3 +0,0 @@
-+-export CMD_ENV=linux
-+-ARGS="-lf"
-+-GOOD=0
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix/header procps-3.1.15/test/ps/mH-mix/header
-+--- procps-3.1.15.old/test/ps/mH-mix/header	2003-10-02 12:38:52.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix/setup procps-3.1.15/test/ps/mH-mix/setup
-+--- procps-3.1.15.old/test/ps/mH-mix/setup	2003-10-02 12:39:25.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="mH"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix/stderr procps-3.1.15/test/ps/mH-mix/stderr
-+--- procps-3.1.15.old/test/ps/mH-mix/stderr	2003-10-02 12:40:18.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use H with m or -m.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix2/header procps-3.1.15/test/ps/mH-mix2/header
-+--- procps-3.1.15.old/test/ps/mH-mix2/header	2003-10-02 12:38:58.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix2/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix2/setup procps-3.1.15/test/ps/mH-mix2/setup
-+--- procps-3.1.15.old/test/ps/mH-mix2/setup	2003-10-02 12:39:15.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix2/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-m H"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/mH-mix2/stderr procps-3.1.15/test/ps/mH-mix2/stderr
-+--- procps-3.1.15.old/test/ps/mH-mix2/stderr	2003-10-02 12:40:20.000000000 +1000
-++++ procps-3.1.15/test/ps/mH-mix2/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use H with m or -m.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
-+--O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-+--l,l long          u  user-oriented   --sort --tty --forest --version
-+--F   extra full    X  registers       --heading --no-heading
-+-                    ********* misc options *********
-+--V,V show version       L  list format codes  f  ASCII art forest
-+--m,m show threads       S  children in sum    -y change -l format
-+--n,N set namelist file  c  true command name  n  numeric WCHAN,UID
-+--w,w wide output        e  show environment   -H process hierarchy
-+diff -ruN procps-3.1.15.old/test/ps/mm-mix/header procps-3.1.15/test/ps/mm-mix/header
-+--- procps-3.1.15.old/test/ps/mm-mix/header	2003-10-02 12:37:41.000000000 +1000
-++++ procps-3.1.15/test/ps/mm-mix/header	1970-01-01 10:00:00.000000000 +1000
-+@@ -1 +0,0 @@
-+-
-+\ No newline at end of file
-+diff -ruN procps-3.1.15.old/test/ps/mm-mix/setup procps-3.1.15/test/ps/mm-mix/setup
-+--- procps-3.1.15.old/test/ps/mm-mix/setup	2003-10-02 12:37:57.000000000 +1000
-++++ procps-3.1.15/test/ps/mm-mix/setup	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,2 +0,0 @@
-+-ARGS="-m m"
-+-GOOD=1
-+diff -ruN procps-3.1.15.old/test/ps/mm-mix/stderr procps-3.1.15/test/ps/mm-mix/stderr
-+--- procps-3.1.15.old/test/ps/mm-mix/stderr	2003-10-02 12:38:11.000000000 +1000
-++++ procps-3.1.15/test/ps/mm-mix/stderr	1970-01-01 10:00:00.000000000 +1000
-+@@ -1,23 +0,0 @@
-+-ERROR: Thread flags conflict; can't use both m and -m.
-+-********* simple selection *********  ********* selection by list *********
-+--A all processes                      -C by command name
-+--N negate selection                   -G by real group ID (supports names)
-+--a all w/ tty except session leaders  -U by real user ID (supports names)
-+--d all except session leaders         -g by session leader OR by group name
-+--e all processes                      -p by process ID
-+-T  all processes on this terminal     -s processes in the sessions given
-+-a  all w/ tty, including other users  -t by tty
-+-g  all, even group leaders!           -u by effective user ID (supports names)
-+-r  only running processes             U  processes for specified users
-+-x  processes w/o controlling ttys     t  by tty
-+-*********** output format **********  *********** long options ***********
-+--o,o user-defined  -f full            --Group --User --pid --cols --ppid
-+--j,j job control   s  signal          --group --user --sid --rows
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.1/install.patch deleted +0 -16
deleted file mode 100644
index 2d16c26..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.5/pagesz-not-constant.patch deleted +0 -22
deleted file mode 100644
index 8e9e1eb..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/install.patch deleted +0 -27
deleted file mode 100644
index 9f1ef69..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/pagesz-not-constant.patch deleted +0 -22
deleted file mode 100644
index 8e9e1eb..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/procmodule.patch deleted +0 -36
deleted file mode 100644
index fabfaba..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.7/psmodule.patch deleted +0 -21
deleted file mode 100644
index f298c1c..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps-3.2.8/install.patch renamed from recipes/procps/procps-3.2.5/install.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/install.patch
rename to recipes/procps/procps-3.2.8/install.patch
recipes/procps/procps-3.2.8/linux-limits.patch renamed from recipes/procps/procps-3.2.7/linux-limits.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/linux-limits.patch
rename to recipes/procps/procps-3.2.8/linux-limits.patch
recipes/procps/procps-3.2.8/pagesz-not-constant.patch renamed from recipes/procps/procps-3.2.1/pagesz-not-constant.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.1/pagesz-not-constant.patch
rename to recipes/procps/procps-3.2.8/pagesz-not-constant.patch
recipes/procps/procps-3.2.8/procmodule.patch renamed from recipes/procps/procps-3.2.5/procmodule.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/procmodule.patch
rename to recipes/procps/procps-3.2.8/procmodule.patch
recipes/procps/procps-3.2.8/procps.init renamed from recipes/procps/procps-3.2.7/procps.init +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/procps.init
rename to recipes/procps/procps-3.2.8/procps.init
recipes/procps/procps-3.2.8/psmodule.patch renamed from recipes/procps/procps-3.2.5/psmodule.patch +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.5/psmodule.patch
rename to recipes/procps/procps-3.2.8/psmodule.patch
recipes/procps/procps-3.2.8/sysctl.conf renamed from recipes/procps/procps-3.2.7/sysctl.conf +0 -0
similarity index 100%
rename from recipes/procps/procps-3.2.7/sysctl.conf
rename to recipes/procps/procps-3.2.8/sysctl.conf
recipes/procps/procps.inc +58 -3
index 2de32d2..1db030d 100644

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.1.15.bb deleted +0 -9
deleted file mode 100644
index 01114e8..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.1.bb deleted +0 -11
deleted file mode 100644
index 33df399..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.5.bb deleted +0 -45
deleted file mode 100644
index de7524b..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.7.bb deleted +0 -67
deleted file mode 100644
index b31b683..0000000

Lines of this file are not shown. View the raw message.

recipes/procps/procps_3.2.8.bb new file +11 -0
new file mode 100644
index 0000000..22f54c3

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.