freebsd-dev/bin/ps
Mike Karels 30417f2cd4 Change ps(1) output width to unlimited if not interactive
Apply patch submitted with PR 217159 to make ps use unlimited
width when not associated with a terminal (i.e., none of stdout, stdin,
or stderr is a tty). Update comments and man page correspondingly.
This change was requested to work around lack of -ww in scripts from
third-party packages, including Hadoop, and adds a small measure of
Linux compatibility. Hopefully few if any non-interactive scripts
depend on the old default of 79.

PR:		217159
Submitted by:	n.deepak at gmail.com
Reviewed by:	vangyzen jhb
Differential Revision:	https://reviews.freebsd.org/D14614
2018-03-10 00:10:47 +00:00
..
extern.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
fmt.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
keyword.c Remove some KSE references from ps(1). 2018-01-23 22:48:06 +00:00
Makefile Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nlist.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
print.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ps.1 Change ps(1) output width to unlimited if not interactive 2018-03-10 00:10:47 +00:00
ps.c Change ps(1) output width to unlimited if not interactive 2018-03-10 00:10:47 +00:00
ps.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00