Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 05:00:55 -0600
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        hackers@FreeBSD.ORG
Subject:   rwho idle time limit
Message-ID:  <19981217050055.O5698@futuresouth.com>

next in thread | raw e-mail | index | archive | help
Is there a reason rwho limits idle time displayed?  The precision would
seem, from a quick glance at rwhod.c, to be there, and certainly w and
finger don't seem to have any troubles.
/usr/src/usr.bin/rwho.c:
                        if (aflg) {
                                if (mp->myidle >= 100*60)
                                        mp->myidle = 100*60 - 1;
                                if (mp->myidle >= 60)
                                        printf(" %2d", mp->myidle / 60);
                                else
                                        printf("   ");
                        } else
                                printf(" ");
                        printf(":%02d", mp->myidle % 60);



Matt -- Patron Saint of Subsystems-Nobody-Gives-A-Flying-Donkey-Turd-About

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|       FreeBSD; the way computers were meant to be       |
* "The only reason I'm burning my candle at both ends, is *
| that I haven't figured out how to light the middle yet."|
*    fullermd@futuresouth.com      :-}  MAtthew Fuller    *
|      http://keystone.westminster.edu/~fullermd          |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


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



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