bin/27798: /usr/bin/w cannot format the output correctly

[ Available lists | Index of freebsd-bugs | Month of May 2001 | Week of 31 May 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
<jhluo@kimo.com.tw>
Date
31 May 2001 11:10:07
Subject
bin/27798: /usr/bin/w cannot format the output correctly
Message-ID
200105311803.f4VI39N26539@freefall.freebsd.org


[ Hide this part ]
 
>Number: 27798
>Category: bin
>Synopsis: /usr/bin/w cannot format the output correctly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 31 11:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Jenghung Luo
>Release: 4.3-20010520-STABLE
>Organization:
NCTU, Taiwan
>Environment:
FreeBSD Avatar.EE.NCTU.edu.tw 4.3-20010520-STABLE FreeBSD 4.3-20010520-STABLE #3
: Tue May 29 15:39:19 GMT 2001 root@Avatar.EE.NCTU.edu.tw:/usr/src/sys/compi
le/Avatar i386

>Description:
When someone's process name or host name longer than certain bytes,
the w/uptime can't format correctly and gerenates an output:
Note that two users are missed in the list since "No such file or directory"

w: /dev/a;ttyp: No such file or directory
w: /dev/ar: No such file or directory
1:42AM up 26 mins, 5 users, load averages: 0.03, 0.06, 0.06
USER TTY FROM LOGIN@ IDLE WHAT
sob pb ccsun32.cc.nctu. 1:35AM - bbs absolt /dev/ttypb
av P4 Nerv.Dorm-GD2.NC 1:23AM - w
sob P7 ccsun34.cc.nctu. 1:41AM - -

>How-To-Repeat:
Login with long long hostnames

>Fix:
data sorting problem?
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Elapsed time: 0.166 seconds