From xemacs-m  Thu Apr  3 08:29:10 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA21482
	for <xemacs-beta@xemacs.org>; Thu, 3 Apr 1997 08:29:09 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id GAA09115;
	Thu, 3 Apr 1997 06:42:10 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: load display on IRIX-5.3
References: <9704031554.ZM3057@melody.cs.huji.ac.il>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: "Itay Gat"'s message of Thu, 3 Apr 1997 15:54:51 +0000
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 03 Apr 1997 06:42:09 -0800
Message-ID: <m2encstbge.fsf@altair.xemacs.org>
Lines: 37
X-Mailer: Gnus v5.4.40/XEmacs 20.1(beta11)

Itay Gat <itay@cs.huji.ac.il> writes:

> which says something cryptic in the description:
> On most systems, this won't work unless the emacs executable is installed
> as setgid kmem (assuming that /dev/kmem is in the group kmem).

So *that's* where it's documented.

> Can anyone help on this ??

You can't use the load average stuff on your system in XEmacs 19.
When we restore loadst in 20.2 you will be able to use it.

Thanks for the pointer.  Vinnie this is one for the patches page.

Index: src/fns.c
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/src/fns.c,v
retrieving revision 1.3
diff -u -r1.3 fns.c
--- fns.c	1997/02/27 06:08:44	1.3
+++ fns.c	1997/04/03 14:41:38
@@ -3296,8 +3296,8 @@
 If the 5-minute or 15-minute load averages are not available, return a
 shortened list, containing only those averages which are available.
 
-On most systems, this won't work unless the emacs executable is installed
-as setgid kmem (assuming that /dev/kmem is in the group kmem).
+On some systems, this won't work due to permissions on /dev/kmem in
+which case you can't use this.
 */
        ())
 {

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

