HDTenEightyP/NetNews huggingface dataset:
From: grinstei@cs.ulowell.edu (Georges Grinstein)
Subject: monitoring heap memory
Organization: University of Massachusetts at Lowell Computer Science
Date: Thu, 16 Apr 1992 22:38:51 GMT

I am trying yo monitor heap memory and other system resources so
as to understand some memory leakage caused by X.  Does anyone
have a piece of code they can point me to or provide me with?

There are some utilities but these require su privileges.  That's
not a problem, but are there other approaches?  Any help will be
greatly appreciated.

Thanks,

Georges.


Dr. Georges Grinstein - Institute for Visualization and Perception Research
University of Massachusetts at Lowell			Lowell, MA 01854
Internet: grinstein@cs.ulowell.edu			Phone: (508) 934-3627 
UUCP: {(backbones),harvard,mit-eddie,et al}!ulowell!cs.ulowell.edu!grinstein
"The people saw the sounds...", Exodus, Chapter 20, Verse 15.


-- 
Dr. Georges Grinstein - Institute for Visualization and Perception Research
University of Lowell					Lowell, MA 01854
Internet: grinstein@cs.ulowell.edu			Phone: (508) 934-3627 
UUCP: {(backbones),harvard,mit-eddie,et al}!ulowell!cs.ulowell.edu!grinstein
From: senseman@lonestar.utsa.edu (David M. Senseman)
Newsgroups: comp.sys.sgi
Subject: Re: SGI Info Sought
Date: 10 Apr 92 00:26:32 GMT
Organization: University of Texas at San Antonio

In article <ja91ng4@zola.esd.sgi.com> gold@puck.esd.sgi.com (Michael Gold) writes:
>In <01GIM2IDKWGG000EBY@JHMAIL.HCF.JHU.EDU> eboltz@CNDENEXT.MRS.JHU.EDU (Eric S. Boltz) writes:
>
>>Hi,
>>I'm looking for an email address or 800 number to get some info on  
>>SGI systems. Opinions would also be helpful. My main interest is  
>>running Mathematica. Right now I use a NeXT (Mathematica comes with  
>>it you know), but I would love to have something faster!
>
>If you call (800) 800-SGI1, you can get all sorts of info about
>software, peripherals, Indigos, etc.  You can even order Mathematica
>with a credit card!
        ^^^^^^^^^^^^ I hope its a AmX Gold Card (Sorry Michael Gold :)
                     since SGI/Wolfram will demand $1,600+ for a 
                     single-user license. Hmmm.... You say it's
                     "FREE" on NeXT machines?
                    

-- 
              David Senseman (senseman@lonestar.utsa.edu)
From: moss@brl.mil (Gary S. Moss (VLD/VMB) <moss>)
Newsgroups: comp.sys.sgi
Subject: Re: are there virtual window managers for SGI?
Date: 14 Apr 92 20:45:18 GMT
Reply-To: moss@brl.mil
Organization: Ballistic Research Laboratory

In article <jcgnm0g@fido.asd.sgi.com>, rck@fangio.asd.sgi.com (Robert Keller) writes:
|> I can't remember if this applies to building tvtwm, but you may want to 
|> set the SGI_CC environment variable to -cckr (see the cc man page), in
|> cause the tvtwm source isn't quite ansi-fied.

There are at least two versions of tvtwm being maintained currently:

	1) contrib/clients/tvtwm that comes with the MIT X11R5 distribution
	maintained by Chris Ross.

	2) tvtwm (patch level 6) that was originally developed by Tom
	LaStrange, but I'm not sure if he still maintains it.

The latter version seems to work fine under IRIX 4.0.1b.  I compiled it
with the ANSI C flavor of the SGI C compiler; changes were minor, one
trivial change in each of two source modules.  The only problem I'm having
is in naming the number pad keys on a 240GTX keyboard which I like to bind
to virtual desktop scrolling functions.  I successfully bound F keys and
the "Home" and "End" keys in between the number pad and the regular keys,
but can't get the "Pg Up", "Page Up", arrow keys, etc. to work.

Now Chris's version is the one I prefer because it uses M4 to preprocess
the .tvtwmrc file and supports XPM format icons with built in shape masks.
Unfortunately, I can't get it to work under IRIX 4.0.1b; it acts like it
isn't processing the .tvtwmrc file at all.  I get no menus, no icon bitmaps,
no panner window, nuttin.  I can move, iconify and reshape windows, the
default behavior, but I don't even get a default root menu.  It had 3 ANSI
C compiler complaints, one of them was from Tom's version.  I've never
tried Chris's version under earlier versions of IRIX, but it works great on
my Sun3x under SunOS 4.1.1.  If anyone has this working, please get in
touch.  I've been talking to Chris about it, but he doesn't have an SGI and
hasn't seen the problem.

-Gary
Newsgroups: comp.sys.sgi
From: mtoy@mycool.asd.sgi.com (Michael Toy)
Subject: Mixed Model Programming
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Wed, 15 Apr 1992 17:41:51 GMT

In reply to:
>I am trying to write a routine that will take an X Window (no
>widgets here), put it in mixed mode and issue some GL graphics
>calls.  NOTE: I can easily do this by following the examples
>that came with IRIX 4.0.1.  What I have not been able to do
>is allow this to happen for an *arbitrary* child X window.

You can not do GL drawing to an arbitrary X window.  The X window
you choose must have an X visual appropriate for the type of
GL drawing you will be doing.  The answer to what visual is appropriate
changes based on your hardware configuration, but GLXgetconfig() will
tell you which visual to use.

You can change the default visual in which the server runs,
being careful to pick one which the GL will be able to use for
the type of GL drawing you are interested in.  Read the man page
for Xsgi(1) looking at the "-class" and "-depth" flags.

For example, if you have a VGX and you want to be able to do RGB
drawing into most X windows, you should change the line in
/usr/lib/X11/xdm/Xserver to have the flags "-class TrueColor -depth 24".

Note that the normal default visual is the fastest and most memory
efficient one.  Choosing a different default visual may affect
the performance of your X server.


Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Too many open files?
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Distribution: na
Date: Mon, 13 Apr 92 19:04:45 GMT

In <1992Apr13.131532.19696@biome.bio.ns.ca> silvert@biome.bio.ns.ca (Bill Silvert) writes:

| I just tried to send out some mail and got these error messages:
| 
| On the console I got repeated displays of
| 
| NOTICE: File table overflow
| 
| and on a mail message I got
| 
| 451 Cannot reopen dfAA19469: Too many open files in system
| 451 queueup: cannot create temp file tfAA19469: Too many open files in system
| 
| Any ideas what causes this?  PI 4D/25, Irix 4.0.1

Hard to know, since I have no idea what is running on your system.

The symptom is easy to fix (assuming some program isn't running wild);
just increase NFILE in /usr/sysgen/master.d/kernel, run /etc/autoconfig,
and reboot.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: silvert@biome.bio.ns.ca (Bill Silvert)
Newsgroups: comp.sys.sgi
Subject: How do I tell my PI I ain't got YP?
Date: 16 Apr 92 18:10:55 GMT
Distribution: na
Organization: Habitat Ecology Div., Bedford Inst. Oceanography

I just used the System Manager to add some new users, the first since
"upgrading" to 4.0.1 -- and although it seems to work, I get the
message "sh: ypcat: not found" on the console every time I add a user.
Since we have never run YP or NIS, and I think I checked all the
changes in the configuration files pretty carefully when we converted
to 4.0.1, why is the System Manager looking for ypcat?  Any cause for
concern?  And how to I tell it to stop?

There are no files matching /etc/config/yp* or any other files that
seem to correspond to the YP/NIS entries in /etc/init.d/network.
"/etc/chkconfig yp" doesn't return anything.  I didn't install any of
the NIS files, and I have the manual entry for ypcat but not the
executable itself installed.
------------------------------------------------------------------------
William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
InterNet Address: silvert@biome.bio.dfo.ca
-- 
------------------------------------------------------------------------
William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
InterNet Address: silvert@biome.bio.dfo.ca
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Two Disks Better Than One?
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Tue, 14 Apr 92 03:01:38 GMT

In <1992Apr13.215214.15325@ringer.cs.utsa.edu> senseman@lonestar.utsa.edu (David M. Senseman) writes:

| Now that I have decided NOT to wait for 3 1/2 inch, high-capacity
| (> 1.0 GB) drives to make one of my Indigos into a file server,
| the next question is this. Would I get significantly better performance
| by buying two Seagate models ST4767N's (676 MB) and "stripping" them
| compared to one Segate model ST1200N (1.2 GB). Two 676 MByter's are
| going to cost about $3,200 (for both) from a third party supplier
| while a 1.2 GByter will cost about $1K less. I know that I would
| realize the best performance with stripping if I used two SCSI controllers
| but that's obviously out of the question with an Indigo. So the real
| question is how much additional speed do you get with stripping with
| a single SCSI controller?

Well, the 767 spins at 4800, instead of the 3600 for the 1200, so
the latency is lower.  It is also not a zoned drive, so the data
rate is constant across the drive, rather than decreasing from 
block 0 towards the end, unlike the 1200.  The drives are basicly
identical media and head assemblies.  As I recall, the *average*
datarate across the whole disk is higher for the 767 than the 1200,
but I don't remember just how much.

So the answer is that you will definitely get better performance
over all from a pair of 767's.  Whether it is worth the additional
cost to you is hard to say.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: jps8@po.CWRU.Edu (James P. Schwonek)
Subject: Re: URGENT !  Security vulnerability (SGI IRIX 3.3)
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
Date: Sat, 11 Apr 92 01:59:40 GMT


Greetings:


Thanks for the note.

I thought we saw some unauthorized activity.


With thanks,



Jim Schwonek


-- 
James P. Schwonek
SGI Iris Administrator, Case Western Reserve Univeristy School of Medicine
root@dpbiris.phol.cwru.edu    jps8@po.cwru.edu

Newsgroups: comp.sys.sgi
From: raolson@cornflower.wpd.sgi.com (Robert Olson)
Subject: Re: physical security
Reply-To: raolson@cornflower.wpd.sgi.com (Robert Olson)
Organization: sgi
Date: Sat, 11 Apr 1992 00:54:29 GMT

In article <1992Apr6.225850.6451@odin.corp.sgi.com>, zursch@whizkid.corp.sgi.com (Jeff Zurschmeide) writes:
|> David,
|> 
|>     Physical security is a tough issue. The conventional wisdom is that it's 
|> next to impossible to stop a determined hacker if that person has access to
|> the hardware.   Yes, they can press the reset button and unless the Indigos
|> have the passworded boot prom option, they  can put it in single-user mode 
|> and wreak havoc.  

All machines in current production are shipped capable of having the boot prom
passworded as a standard feature.  Crimsons, Indigos and Personal Irises have 
always been shipped this way.  Power Series have been shipped that way since
about last fall.  Upgrade kits are available for earlier Power Series machines.
From: townsend@rainbow.uchicago.edu (R. Michael Townsend)
Newsgroups: comp.sys.sgi
Subject: Re: To compile C and Fortran together
Date: 17 Apr 92 19:51:00 GMT
Article-I.D.: adm.30087

Gregory,
	Below are examples of how to mix C & Fortran (in both calling
directions) from our machine's user help files.   Note that both the
C and f77 compilers recognize source code written in other language.


                                        Dr. R. Michael Townsend
                                        Dir. PSNCL; Proj. Mgr. SSNS, UCCO
                                        University of Chicago
                                        5640 S. Ellis Av., Rm 186-B
                                        Chicago, IL 60637
                                        tele: 312-702-9349
                                        FAX:  312-702-5863
                                        townsend@rainbow.uchicago.edu



---------------- C-main+f77-subroutine.notes below here ----------------------
[158]rainbow% more main.c
#include<stdio.h>
#include<math.h>  

main()
{
  float x;
  int i;

  printf("in C main program now\n");

  for (i=1; i<6; i++)
    printf("%f\n",sin(1.0*i));

  x=4000.;

  sub_(&x);

}

[159]rainbow% more sub.f
        subroutine sub(a)
        write(6,*)'in FORTRAN subroutine now'
        write(6,*)a
        return
        end

[160]rainbow% cc -o j main.c sub.f -lm
main.c:                  
sub.f:

[161]rainbow% ./j
in C main program now
0.841471              
0.909297
0.141120
-0.756802
-0.958924
 in FORTRAN subroutine now
    4000.000    


---------------- f77-main+C-subroutine.notes below here ----------------------

[40]rainbow% more main.f
        write(6,*)'in FORTRAN main program now'
        do i=1,5
        write(6,*)sin(1.*i)
        enddo
        x=4000.
        call sub(x)
        end
[41]rainbow% more sub.c
sub_(a)
float *a;
{
  printf("in C subroutine now\n");
  printf("%f\n",*a);
}
[42]rainbow% f77 -o main main.f sub.c 
main.f:
sub.c:
[43]rainbow% ./main
 in FORTRAN main program now
   0.8414710    
   0.9092974    
   0.1411200    
  -0.7568025    
  -0.9589243    
in C subroutine now
4000.000000
Newsgroups: comp.sys.sgi
From: rck@fangio.asd.sgi.com (Robert Keller)
Subject: Re: are there virtual window managers for SGI?
Organization: Silicon Graphics, Inc., Mountain View, CA
Date: Fri, 10 Apr 1992 16:16:44 GMT

steckner@lri.uwo.ca (Michael Steckner) writes:
>I am trying to install tvtwm, a virtual window manager, on my 4D20. I am
>not having much success. It does not seem to be SGI specific. 

While not being SGI specific, tvtwm still works very well on SGI machines.
I've not had to fiddle with tvtwm at all to get it to compile and run
on IRIX 4.0+. 

Just run xmkmf in the tvtwm directory, that should build the top level
Makefile.  Then follow the tvtwm directions. 

I can't remember if this applies to building tvtwm, but you may want to 
set the SGI_CC environment variable to -cckr (see the cc man page), in
cause the tvtwm source isn't quite ansi-fied.

...robert

...robert
From: larryg@avs.com (Larry Gelberg)
Subject: Re: Questions about Explorer...
Organization: Advanced Visual Systems Inc.
Date: Mon, 13 Apr 1992 14:41:30 GMT

In article <s4ea5INNc03@network.ucsd.edu> spl@alex.uucp (Steve Lamont) writes:
>>  In article <702877201@macbeth.cs.duke.edu> hsg@duke.cs.duke.edu (Henry Greenside) writes:
>>  >
>>  >Can someone please summarize for me what the relation
>>  >between Explorer and AVS is? ...

>   Craig Upson was responsible for both of them.

...NOT!!!

Although Craig was part of the original AVS development team, he left
Stardent shortly after the release of AVS2.  For the past two years,
AVS has been maturing as a product and is now developed and marketed
by Advanced Visual Systems Inc. I do encourage you to read Tom
Stephenson's article in Advanced Imaging - November, 1991 - for a
good history of the products.

However, to get back to the original question...

While it is true that AVS and Explorer use similar techniques (data
flow execution model, similar data structures) and address similar
market needs (scientific visualization) I think that the biggest
differences are: AVS is a more mature product (on it's fourth
release) and is more full-featured; is marketed and supported by an
independent software company; runs distributed on a variety of UNIX
platforms: Convex, CRAY, DEC, Evans & Sutherland, HP, IBM, Kubota
(Stardent), Set Technologies, SGI, SUN, and Wavetracer (alphabetic
order - not importance!); and has a supportive infrastructure with the
AVS Consortium and the International AVS Center located at the North
Carolina Supercomputing Center.  Sure, it costs more (on SGI) but we
think it's worth it!  

larryg


	
-- 

=== Larry Gelberg ============================ larryg@avs.com =======
      Advanced Visual Systems Inc. (AVS Inc.)
===== 300 Fifth Ave, Waltham, MA 02154 ==============================
From: senseman@lonestar.utsa.edu (David M. Senseman)
Newsgroups: comp.sys.sgi
Subject: Re: Scanner Installation on Indigo (was PI)
Keywords: Scanner
Date: 12 Apr 92 11:16:54 GMT
Organization: University of Texas at San Antonio

In article <jeck8n8@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
>In <511@kluge.fiu.edu> sumargoh@serss0.fiu.edu (H. Sumargo) writes:
>| I have a Sharp JX-300 color scanner with scpecification as follows:
>|      Scan Size:   85. x 11.6
>|      Resolution:  300 D.P.I.
>|      I/O:         GPIB IEEE-488 Interface
>| 
>| What I would like to do with the above scanner is to install it on my
>| PI 4D/35.  Does anybody out there have ever done such installation?  As
>| far as I am concerned, the PI 4D/35 does not come with GPIB Interface.
>| However, can we go around with it, so that the scanner can be installed
>| to the PI 4D/35?  Please email your reponse to:
>| sumargoh@serss0.fiu.edu.  Thank you very much.
>
>GPIB is available for all SGI systems with VME.  That doesn't mean
>the 300 will work though.  It depends on how close the command set
>is to the 450.  Since the size is smaller, at a minimum preview mode
>won't work, and you'll have to be careful what part of the bed to
>scan, so the commands sent for the 450 are acceptable range-wise to
>the 300.
>
>--

If the only machines in my lab are Indigos, is there any scanner I can
connect to them that is supported by IRIX? I suspect this is another
way of saying, do SHARP scanners come with a SCSI interface?
-- 
              David Senseman (senseman@lonestar.utsa.edu)
Newsgroups: comp.sys.sgi,comp.unix.bsd,comp.unix.question
From: lebrun@ll.mit.edu (Steven F. LeBrun)
Subject: Socket, binding to reserve port - SGI, IRIX 4.0.0
Keywords: socket
Organization: MIT Lincoln Laboratory, Lexington, MA
Date: Fri, 10 Apr 92 19:06:42 GMT

According to the IRIX Networking Programming Guide, only privileged
users can bind sockets to reserve port numbers.  My program works
correctly if it is owned by root and uses a port number between
721 and 731.  It fails to work correctly if not owned by root or
it uses a port number outside of the required range.

Only our system adminstrator is allowed to have root privileges.
Developing this program is difficult since I need to own the 
executable to recompile it.  I tried setting the access mode 
and ownership to `-rwsrwsrwx root' but the compiler would not
overwrite the file.  [Access mode -r-s--s--x is need to run the
program from another account.]

Is root the only privilege user who can bind sockets to reserved port 
numbers?  Is there a way of setting up my account so that I can bind
sockets to reserved port numbers without being given full root
privileges?

+--------------------------------------------------------------------------+
| Steven F. LeBrun             |      MIT Lincoln Laboratory, Group 91     |
|                              |        244 Wood Street, Room LI-136       |
| lebrun@ll.mit.edu (Internet) |          Lexington, MA 02173-9108         |
| lebruns@rigel     (internal) |  Phone:(617)-981-5742, FAX:(617)-981-0991 |
+--------------------------------------------------------------------------+
|             "I am not a number, I am a free man!" -- No. 6               |
+--------------------------------------------------------------------------+
From: blbates@aero36.larc.nasa.gov (Brent L. Bates ViGYAN AAD/TAB)
Newsgroups: comp.sys.sgi
Subject: Re: monitoring heap memory
Date: 17 Apr 92 15:48:51 GMT


  Is `WorkShop' now the OFFICIAL name for CODEVISION?!  I asked my sales
Rep. and he said he had hear SEVERAL differnt names for CODEVISION, but
his sales literature still says CODEVISION.

P.S. How does the `Try N Buy CD' work?

  Brent L. Bates				Phone:(804) 864-2854
  NASA-Langley Research Center			  FAX:(804) 864-8469
  M.S. 361
  Hampton, Virginia  23665-5225
  E-mail: blbates@aero36.larc.nasa.gov or blbates@aero8.larc.nasa.gov
From: silvert@biome.bio.ns.ca (Bill Silvert)
Newsgroups: comp.sys.sgi
Subject: Help needed with tftp
Date: 8 Apr 92 19:52:37 GMT
Distribution: na
Organization: Habitat Ecology Div., Bedford Inst. Oceanography

Since we have tftp up I figured it might be even easier than anonymous ftp
for simple file exchanges with off-site users, who only need to use get
and put.  Problem is, I have it set up so that tftp users can get files,
but they can't put them.  The manual entry doesn't help me understand
why put doesn't work.

The command in /usr/etc/inetd.conf that starts up tftpd is

tftp    dgram   udp     wait    guest   /usr/etc/tftpd  \
	tftpd -h /usr/ftp/pub/public -s -l

(one line of course), and I thought that meant that all the user had to
do was tftp to my system and get/put to his/her heart's content
(assuming advance knowledge of the available filenames).
Why doesn't put work?  (/usr/ftp/pub/public is mode 0777.)  I always get
"write request for xxx: Access violation", although I've tried various
combinations of relative and absolute filenames.
------------------------------------------------------------------------
William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
InterNet Address: silvert@biome.bio.dfo.ca
-- 
------------------------------------------------------------------------
William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
InterNet Address: silvert@biome.bio.dfo.ca
Newsgroups: comp.sys.sgi
From: parkins@theory.TC.Cornell.EDU (David Parkins)
Subject: Re: 4 Have you ever seen this error.
Organization: Cornell Theory Center
Date: Tue, 7 Apr 1992 11:47:08 GMT

Thanks to everyone who replied, You have been a great help.
Dave Parkins
parkins@theory.tc.cornell.edu


.
From: blbates@aero36.larc.nasa.gov (Brent L. Bates ViGYAN AAD/TAB)
Newsgroups: comp.sys.sgi
Subject: Re:  Morality (was Re: Security for the functionally illiterate)
Date: 13 Apr 92 13:54:05 GMT


  I guess I'll put my 2 cents worth in too.  It don't think it would `break'
anything or make things more difficult for new users if machines were shipped
with everything locked up except root and maybe a demos account.  It wouldn't
be THAT difficult to ad a little extra security to the systems.  If a person
needs to open up some of the accounts, then the documentation should tell them
what they need to know.  Now lets please drop this subject and go on.  I think
the `more security' group has made its point, now its up to SGI to implement it.

  Brent L. Bates				Phone:(804) 864-2854
  NASA-Langley Research Center			  FAX:(804) 864-8469
  M.S. 361
  Hampton, Virginia  23665-5225
  E-mail: blbates@aero36.larc.nasa.gov or blbates@aero8.larc.nasa.gov
From: gaumondp@ERE.UMontreal.CA (Gaumond Pierre)
Newsgroups: comp.sys.sgi
Subject: Definition in <sys/acct.h>
Date: 6 Apr 92 13:45:33 GMT
Organization: Universite de Montreal

In the file /usr/include/sys/acct.h, one can read the following definition:

typedef	ushort comp_t;		/* "floating point" */
		/* 13-bit fraction, 3-bit exponent  */

I would like to know what kind of "floating" point number is this.

Can anyone give me the rules of formating and manipulating this type of number?

Does it exist functions that can help to convert and/or manipulate this type of
number?

Thanks in advance.

-- 
Pierre Gaumond.        gaumondp@ERE.UMontreal.CA
Services Informatiques, Universite de Montreal. 
C.P. 6128, Succursale "A", Montreal,            
Quebec, Canada.   H3C 3J7