Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: source-changes
Date: 04/28/2000 17:18:49
Module Name: basesrc
Committed By: abs
Date: Sat Apr 29 00:18:48 UTC 2000
Modified Files:
basesrc/bin/ps: ps.c
Log Message:
If ps cannot get the terminal size from STDOUT, it tried STDERR and STDIN.
What this does to the POLS when a script that is parsing ps output just happens
to run in a narrow terminal cannot be described in polite company.
If STDOUT is not a tty, leave width at 80.
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 basesrc/bin/ps/ps.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.