In message to <[email protected]> sent Wed, 11 May 2005 13:50:07 +0100 you wrote:
>> Ah, yes! Good thought. This could affect the width of the USERNAME >> column and push everything too far to the right. If this is the case, >> I'd probably vote for optionally limiting the length of the username >> column to, say, 8 columns at most.
GA> I would also vote for limiting it to 8 characters. Even with longer GA> usernames, I suspect 8 characters will be enough to identify particular GA> users (and if it's not there is always they UID view).
GA> Doing this would also allow us to eliminate the nasty code in GA> src/usr.bin/top/machine.c which causes top to be unusable on a machine GA> with a significant number of user accounts. See GA> http://lists.freebsd.org/pipermail/freebsd-stable/2005-April/014275.htm GA> l for details.
Another idea, may I?
Make USERNAME column 8-char's wide first, and expand it later whenever longer username needs to be displayed
- no built-in length limit - no need to scan all usernames at start
--
Slawomir Piotrowski
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
