From owner-freebsd-bugs Tue Mar 25 22:20:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA19430 for bugs-outgoing; Tue, 25 Mar 1997 22:20:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA19397; Tue, 25 Mar 1997 22:20:02 -0800 (PST) Date: Tue, 25 Mar 1997 22:20:02 -0800 (PST) Message-Id: <199703260620.WAA19397@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: bin/3101: ps -uc formatting problem Reply-To: Bruce Evans Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3101; it has been noted by GNATS. From: Bruce Evans To: aaron@veritas.com, FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: bin/3101: ps -uc formatting problem Date: Wed, 26 Mar 1997 17:14:04 +1100 >>Description: > > "ps -uc" is one column too wide for an 80 column display, so the > output ends up double spaced and looks bizarre. the problem is that > the "command" entry in /usr/src/bin/ps/keyword.c, on lines 96 and > 184, are one too wide. the last number in the entry should be 15 > and not 16. this fixes the output problem. > >>How-To-Repeat: > > ps -uc, or -auc > >>Fix: > > decrement the width field of the "command" entries in keyword.c > by one (see description) This won't work in -current, since MAXLOGNAME is 8 larger, so lots of space is usually wasted for login names and the output is 1+8 too wide. The number of columns for the login name should be reduced. Bruce