Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 15:06:13 -0800 (PST)
From:      aaron@veritas.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/3101: ps -uc formatting problem
Message-ID:  <199703252306.PAA00699@tau.veritas.com>
Resent-Message-ID: <199703252310.PAA18672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3101
>Category:       bin
>Synopsis:       "command" entry of ps -uc is too wide, output is double spaced
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 15:10:04 PST 1997
>Last-Modified:
>Originator:     Aaron Smith
>Organization:
VERITAS Software
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

	80-column terminal window or 80-column console

>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)
>Audit-Trail:
>Unformatted:



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