Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 11:03:09 -0700 (PDT)
From:      jhluo@kimo.com.tw
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/27798: /usr/bin/w cannot format the output correctly
Message-ID:  <200105311803.f4VI39N26539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105311803.f4VI39N26539>