Subject: CVS commit: src/usr.bin/w
To: None <source-changes@NetBSD.org>
From: Kimmo Suominen <kim@netbsd.org>
List: source-changes
Date: 01/08/2005 05:08:53
Module Name:	src
Committed By:	kim
Date:		Sat Jan  8 05:08:53 UTC 2005

Modified Files:
	src/usr.bin/w: w.1 w.c

Log Message:
Make -w flag apply to the WHAT field also (command and args).

Use at most half of ttywidth for WHERE field (hostname) instead
of a hardcoded maximum width.  (XXX: this is still not a good
default for displays under 80 columns.  Should probably count
the width of all the other columns, using 8 for the WHAT field.)


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/usr.bin/w/w.1
cvs rdiff -r1.66 -r1.67 src/usr.bin/w/w.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.