Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 22:20:02 -0800 (PST)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs
Subject:   Re: bin/3101: ps -uc formatting problem
Message-ID:  <199703260620.WAA19397@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3101; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703260620.WAA19397>