Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 12:02:51 -0800
From:      Studded <Studded@dal.net>
To:        Blaz Zupan <blaz@gold.amis.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Messed up "w" output
Message-ID:  <3506EDEB.EC837AF6@dal.net>
References:  <Pine.BSF.3.96.980311192916.431A-100000@gold.amis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Blaz Zupan wrote:
> 
> Did anybody notice that the output of "w" is messed up in the latest
> 2.2.6-BETA (built an hour ago)?
> 
> /home/blaz> uname -a
> FreeBSD gold.amis.net 2.2.6-BETA FreeBSD 2.2.6-BETA #0: Wed Mar 11
> 18:31:09 CET 1998
> root@gold.amis.net:/usr/home/blaz/FreeBSD-2.2/src/sys/compile/GOLD  i386
> /home/blaz> w
>  7:29pm  up 26 mins, 2 users, load averages: 0.56, 0.74, 0.78
> USER             TTY FROM              LOGIN@  IDLE WHAT
> root     v0  -                 7:28pm     - -tcsh (tcsh)
> blaz     p0  :0.0              7:26pm     - w
> 
> I guess this was caused by Jordan's merges and he probably accidentally
> merged the "USER TTY FROM LOGIN IDLE WHAT" line in /usr/src/usr.bin/w/w.c
> from -CURRENT. This line is a bit longer in -CURRENT because of
> the 16 char username support.

	Heh, I didn't notice this because I do have 16 char usernames on my
-Stable system. :)  Actually I would really like to see more flexibility
in spacing for the various displays that involve usernames. At compile
time these apps should take the spacing from /usr/src/include/utmp.h (or
maybe /sys/sys/param.h, I'm still not sure how those two work together)
instead of making any assumptions about the size of usernames, even in
-Current. 

> Also, I had to do a MAKEDEV after upgrading to 2.2.6-BETA from a
> two-week-old 2.2.5-STABLE because the keyboard was dead in X11 othwerise.
> I think this should be mentioned in the documentation somewhere (that a
> MAKEDEV is needed after an upgrade).

	It is. Take a look at the "Upgrading freebsd from source" tutorial,
http://www.freebsd.org/docs.html.

Doug

-- 
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud operator, designer and maintainer of the world's largest
*** Internet Relay Chat server.  5,328 clients and still growing.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)

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



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