Autosizing column widths in ps(1).

Edward Tomasz Napierała trasz at
Fri Jul 22 16:13:39 UTC 2011

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.

If you cut off my head, what would I say?  Me and my head, or me and my body?

More information about the freebsd-hackers mailing list