From owner-cvs-src@FreeBSD.ORG Sat Mar 4 16:27:11 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2DF516A422; Sat, 4 Mar 2006 16:27:10 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E28BA43D6B; Sat, 4 Mar 2006 16:27:06 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BF1D346BAD; Sat, 4 Mar 2006 11:26:46 -0500 (EST) Date: Sat, 4 Mar 2006 16:31:49 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Pawel Jakub Dawidek In-Reply-To: <20060304162108.GF11030@garage.freebsd.pl> Message-ID: <20060304162902.X61086@fledge.watson.org> References: <200603041613.k24GDHcJ055133@repoman.freebsd.org> <20060304162108.GF11030@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/finger sprint.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 16:27:11 -0000 On Sat, 4 Mar 2006, Pawel Jakub Dawidek wrote: > On Sat, Mar 04, 2006 at 04:13:16PM +0000, Robert Watson wrote: > +> Reduce number of spaces for full name by four, and reduce padding > +> after tty entry by one space in order to provide extra spaces for > +> the tty entry. As a result, full pts names are now visible (up > +> to 999 pts's anyway): > > I object!:) > > +> Before: > +> Login Name TTY Idle Login Time Office Phone > +> robert Robert Watson *v0 3:55 Fri 02:54 > Pawel Jakub Dawidek > > +> After: > +> Login Name TTY Idle Login Time Office Phone > +> robert Robert Watson *v0 5:08 Fri 02:54 > Pawel Jakub Daw I was thinking that the only really *useful* information here anyway was the pty name, so how about the following layout: Login TTY Idle robert pts/383261947927375619273649127464589123912498712439124723947 always BTW, the Linux layout solution is to allow the line to wrap, which I think is pretty ugly. One place we could crib additional space is that we put two-space gaps between columns, and could reduce that universally to one space. This might reduce readability for data that involves spaces, such as login date. Another possibility is to trim the username a little earlier -- right now we have a very wide user column compared to other systems due to making room for 16-character usernames, which are not supported on on some other systems. You didn't need those four letters anyway. :-) Robert N M Watson