Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 10:40:28 GMT
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/76089: The "-n" option in /usr/bin/w is broken
Message-ID:  <200501111040.j0BAeS0b005181@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/76089; it has been noted by GNATS.

From: Edwin Groothuis <edwin@mavetju.org>
To: Jesper Wallin <jesper@hackunite.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/76089: The "-n" option in /usr/bin/w is broken
Date: Tue, 11 Jan 2005 21:40:13 +1100

 > The "-n" (do not resolve hosts) in /usr/bin/w seems to be broken in 5.3 ..  works fine in 5.2.1 and 4.10
 
 I think it has to do with the way it's logged in utmp:
 
 [/usr/src/usr.bin/w] edwin@k7>uname -a
 FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #8: Wed Dec 15 16:58:01 EST 2004     edwin@k7.mavetju:/usr/src-5.2.1/sys/i386/compile/k7  i386
 [/usr/src/usr.bin/w] edwin@k7>last -20
 edwin            ttypp    203.220.9.178    Tue Jan 11 21:32   still logged in
 edwin            ttypt    203.220.9.178    Mon Jan 10 14:27 - 15:07  (00:40)
 edwin            ttyps    203.220.9.178    Mon Jan 10 14:14 - 14:54  (00:39)
 
 [/usr/src/usr.bin/w] root@mag>uname -a
 FreeBSD mag.barnet.com.au 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Mon Dec 13 13:18:03 EST 2004     root@mag.barnet.com.au:/usr/src/sys/i386/compile/mag  i386
 root             ttyp0    edwin-3.int      Tue Jan 11 21:30   still logged in
 root             ttyp0    tim.direct.int   Tue Jan 11 09:49 - 09:49  (00:00)
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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