NetBSD Problem Report #2459

From gnats  Wed May 22 14:30:23 1996
Received: from NetBSD.easynet.co.uk by pain.lcs.mit.edu (8.7.4/8.6.12) with ESMTP id OAA09218 for <gnats-bugs@gnats.netbsd.org>; Wed, 22 May 1996 14:12:49 -0400 (EDT)
Message-Id: <199605221809.TAA09784@NetBSD.easynet.co.uk>
Date: Wed, 22 May 1996 19:09:04 +0100 (BST)
From: "Neil J. McRae" <neil@easynet.co.uk>
Reply-To: neil@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: w needs better handling of headers.
X-Send-Pr-Version: 3.95

>Number:         2459
>Category:       bin
>Synopsis:       w needs better handling of headers.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    neil
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 14:35:03 +0000 1996
>Closed-Date:    Wed Mar 07 22:17:44 +0000 2001
>Last-Modified:  Wed Mar 07 22:17:44 +0000 2001
>Originator:     Neil J. McRae
>Release:        1.1B
>Organization:
Neil J. McRae.                                          Easynet Group plc
>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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->neil 
Responsible-Changed-By: fair 
Responsible-Changed-When: Wed Mar 17 12:30:16 PST 1999 
Responsible-Changed-Why:  
"Coming soon"? 
State-Changed-From-To: open->feedback 
State-Changed-By: simonb 
State-Changed-When: Sun Jun 25 06:52:09 PDT 2000 
State-Changed-Why:  
This should be fixed in -current with w.c rev 1.37.  Are you happy 
with this fix? 
State-Changed-From-To: feedback->closed 
State-Changed-By: garbled 
State-Changed-When: Wed Mar 7 14:17:07 PST 2001 
State-Changed-Why:  
PR has sat in feedback for almost a year.  Closing PR unless the author 
responds with wishes for it to remain open. 

Tim 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.