Date: Fri, 22 Jul 2011 17:51:28 +0200 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Autosizing column widths in ps(1). Message-ID: <0CEA161B-6767-4379-B923-585B3D4EA74E@freebsd.org>
index | next in thread | raw e-mail
Patch below changes ps(1) to automatically size column widths according to their contents. From the user point of view, it prevents breaking layout with too wide values and in most cases makes output narrower. From the developer point of view, it removes the need to specify widths. Testing is welcome - the patch shouldn't change ps(1) behaviour except slightly changing the widths, but the code changes are pretty large and it's quite possible I've missed something. http://people.freebsd.org/~trasz/ps-8.diff -- If you cut off my head, what would I say? Me and my head, or me and my body?help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0CEA161B-6767-4379-B923-585B3D4EA74E>
