Subject: bin/2459: w needs better handling of headers.
To: None <gnats-bugs@NetBSD.ORG>
From: Neil J. McRae <neil@easynet.co.uk>
List: netbsd-bugs
Date: 05/22/1996 19:09:04
>Number:         2459
>Category:       bin
>Synopsis:       w needs better handling of headers.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 14:35:03 1996
>Last-Modified:
>Originator:     Neil J. McRae
>Organization:
Neil J. McRae.                                          Easynet Group plc
>Release:        Current.
>Environment:
System: NetBSD NetBSD.easynet.co.uk 1.1B NetBSD 1.1B (NETBSD) #0: Fri Apr 26 10:52:05 BST 1996 neil@NetBSD.easynet.co.uk:/usr/src/sys/arch/i386/compile/NETBSD i386


>Description:
	w has this to print the headers:

#define HEADER  "USER    TTY FROM              LOGIN@  IDLE WHAT\n"

This is fine if you have usernames at 8 chars. w should compile this
from UT_NAMESIZE and or MAXLOGNAME

>How-To-Repeat:
	Increase MAXLOGNAME or UT_NAMESIZE.

>Fix:
	Coming soon.
>Audit-Trail:
>Unformatted: