NetBSD Problem Report #1489

From gnats  Thu Sep 21 00:08:36 1995
Received: from sol.pci.on.ca (sol.pci.on.ca [199.0.18.52]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id AAA29366 for <gnats-bugs@gnats.netbsd.org>; Thu, 21 Sep 1995 00:08:31 -0400
Message-Id: <199509210413.VAA18465@sol.pci.on.ca>
Date: Wed, 20 Sep 1995 21:13:05 -0700
From: dgilbert@pci.on.ca
Reply-To: dgilbert@pci.on.ca
To: gnats-bugs@gnats.netbsd.org
Subject: atq output misaligned when strlen($USERNAME) is 8
X-Send-Pr-Version: 3.95

>Number:         1489
>Category:       bin
>Synopsis:       When length of user name is 8, output of atq misaligned.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 21 00:20:01 +0000 1995
>Closed-Date:    Sun Jun 25 13:43:03 +0000 2000
>Last-Modified:  Sun Jun 25 13:43:03 +0000 2000
>Originator:     David Gilbert
>Release:        19950916
>Organization:
PCI
>Environment:
System: NetBSD sol 1.0A NetBSD 1.0A (SOL) #2: Sat Sep 16 17:28:25 EDT 1995 dgilbert@sol:/u/dgilbert/src/sys/arch/sparc/compile/SOL sparc


>Description:
	When the user name is 8 characters long, it takes up the
whole field and the following filed (queue) is pushed over a whole tab.
>How-To-Repeat:
	My username is 'dgilbert'.  I queue one job, and type atq.	
>Fix:
	Shorter usernames seem to work.  I have not investigated the
source yet.
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: jtc
State-Changed-When: Tue Oct 10 01:41:58 1995
State-Changed-Why:
"bug" is caused by columns being separated by tabs, thus an 8 char username
pushes the output over one tab stop.

The correct fix is to align our at subsystem with the POSIX.2 standard.

State-Changed-From-To: analyzed->feedback 
State-Changed-By: simonb 
State-Changed-When: Sun Jun 25 06:36:27 PDT 2000 
State-Changed-Why:  
This and other username >= 8 char problems should be fixed with 
at.c rev 1.15 and atrun.c rev 1.8.  Are you happy with these 
changes? 
State-Changed-From-To: feedback->closed 
State-Changed-By: simonb 
State-Changed-When: Sun Jun 25 06:42:33 PDT 2000 
State-Changed-Why:  
Mail bounced to originator. 
>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.