HDTenEightyP/NetNews huggingface dataset:
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi.hardware
Subject: Re: 110/220V switching on R4000 INDIGO
Keywords: Power supply, switching, INDIGO
Date: 22 Jan 93 08:34:46 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <C182G5.CJu@dscomsa.desy.de> brkic@zeeman.desy.de (Milos Brkic) writes:

| We just got an R4000 INDIGO delivered from North America to Germany. The 
| problem is nowhere does it say how to switch the voltage from 110 to 220V.
| Is it self switching? The same goes for its monitor.
| Thanks for the help.

Self switching.  This is in the owners guide that comes with the system.
--
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
Xref: sparky comp.sys.sgi:19063 comp.sys.sgi.apps:101
From: arthur@sgi.com (Arthur Evans)
Newsgroups: comp.sys.sgi,comp.sys.sgi.apps
Subject: Re: help with IPC
Date: 23 Jan 93 02:29:51 GMT
Reply-To: arthur@chiba.esd.sgi.com (Arthur Evans)
Organization: Silicon Graphics, Inc.


In article <1jkqu9INNqf8@news.cerf.net> pete@ent-img.com writes:
>In article <uslbhsg@zola.esd.sgi.com> arthur@chiba.esd.sgi.com (Arthur Evans) writes:
>>This works because msgbuf and msgbuf1 are essentially
>>the same structure.  Both consist of a long and a char 
>>pointer (that is, an array of char).  
>NO NO NO - This is a common misconception which K&R unwittingly
>lead people into, since you can pass an array name as if it were
>a pointer to char, but a char pointer and an array of char are NOT
>the same thing at all.

You're right, of course.  I knew there was some
reason that the example code in question would work 
(at least before ANSI) but I clearly wasn't thinking
too hard when I tried to explain it.

>You aren't alone with this misconception - K&R's explanation leaves
>a lot to your imagination (or prior knowledge).
>The name of an array of char has the syntactic type of "pointer to char"
>in most contexts (but not the same semantics at all - try sizeof() on
>both and see what you get)...  This particular struct really does use the
>"array of char" meaning.
>
>>Now, it's a mystery to me why mtext is declared as
>>char mtext[1] in the header file, as opposed to 
>>char *mtext, but I suppose there's some good reason
>>for it (like everything else in UNIX ;-).
>This is because the array is itself IN THE STRUCTURE, not in remote
>memory pointed to from the structure.  
 [  ... ]

Alright, now I feel stupid.  Someone explained this to
me once, and I had the vauge unsettling feeling while
I was posting the article that I should *know* why 
mtext was declared that way.

In light of this, a better answer to the original question
would be that the example program should be rewritten 
such that it dynamically allocates space for the msgbuf
structures, with the appropriate amount of added space
for the message text.

>>By the way, if you have any other comments about the 
>>IRIX Programming Guide, please forward them to me,
>>arthur@esd.sgi.com--I'm in charge of revising this
>>book for IRIX 5.0.  [ ... ] Any thoughts on what 
>>could use more or less coverage in a new version of this
>>book would also be welcome.
>Well, please talk to a programmer who understands the reasons
>behind some of these kluges (yes, they are kluges) before writing
>it up.  

I assure you that the manual will receive both more thought
and more review that my average netnews posting ;-).

Anyway, thanks for keeping me honest.

>-- Pete

-arthur
Newsgroups: comp.sys.sgi
From: doswangx@nuscc.nus.sg (Wang Xi (Ms))
Subject: WANTED: c++ source code for 3D graphics
Organization: National University of Singapore
X-Newsreader: Tin 1.1 PL4
Date: Wed, 27 Jan 1993 04:21:50 GMT


Hi, I am looking for FTPsizes with c++ source code for 3D graphics & graphical
user interfaces using SGI GL. The platform I use is Silicon Graphics 
Workstation IRIS 4D/35. Please help me.

Thank you in advance!

Esther.X.Wang

Internet:doswangx@nuscc.nus.sg

Newsgroups: comp.sys.sgi
From: senseman@lucy.brainlab.utsa.edu (David M. Senseman)
Subject: PostScript "Editor"
Organization: University of Texas at San Antonio
Date: Wed, 27 Jan 1993 01:51:12 GMT

A friend of mine asked me to find out if there are any
software packages (hopefully free :) that can used to
"edit" a PostScript file on an Indigo (4.0.5F).

He's using Mathematica to generate graphs of data sets
and wanted something that could be used to manipulate
titles, arrows, etc.

As I remember, ShowCase won't import EPS files but only
output such files. There was some mention of a EPS import
facility in some future release? (It's been awhile :)

Thanks for the help.

-- 
David M. Senseman, Ph.D.              | Imagine the Creator as a low 
(senseman@lonestar.utsa.edu)          | comedian, and at once the world 
Center for Information Visualization  | becomes explicable.
University of Texas at San Antonio    |               H.L. Mencken
From: silvert@biome.bio.ns.ca (Bill Silvert)
Subject: Inst issue
Reply-To: silvert@biome.bio.dfo.ca (Bill Silvert)
Organization: Habitat Ecology Div., Bedford Inst. Oceanography
Distribution: na
Date: Fri, 22 Jan 1993 15:06:42 GMT

Noting the postings about inst, I would like to add a comment, which could
be considered a request for a change.  Recently I installed a package
which put stuff under /usr/local, and in the process changed some
permissions and overwrote some files that I had put there.

It would be nice if one could get inst to ask before making thse kinds
of changes.  They are OK if the changes affect /bin or other system
directories that system administrators are not likely to mess around
with (although I tend to install shells in /bin), but I don't want my
/usr/local/bin directory screwed up without warning!
-- 
------------------------------------------------------------------------
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
From: beyer@bflsgu.fl.bs.dlr.de (Ralf Beyer DLR)
Newsgroups: comp.sys.sgi
Subject: DMA transfers between machines
Date: 25 Jan 93 13:58:12 GMT


Hi,

we would like to DMA transfer data from a SGI machine to another
machine (DEC LSI11). Both machines are connected by Ethernet and
have Ethernet controllers.

On the LSI11 there is no room for the overhead required by TCP/IP
or UDP. The LSI11 initiates a DMA request (memory address, block
size etc.) and expects the SGI machine to listen and to respond
with a DMA transfer.

QUESTION: What is to do or how must the SGI machine be configured
	  to be able to receive the DMA request via the Ethernet
	  and then in turn make the DMA transfer ?

Any hint would be very much appreciated.

Ralf Beyer

----------------------------------------------------------------------
Ralf Beyer
German Aerospace Research Establishment (DLR), Institute for Flight
Guidance, Flughafen, D-3300 Braunschweig, Fed. Rep. of Germany
Internet: beyer@bflsgu.fl.bs.dlr.de (EARN/BITNET: fl17@dlrvmbs.bitnet) 
----------------------------------------------------------------------
From: samuel@cs.ubc.ca (Stephen Samuel)
Newsgroups: comp.sys.sgi
Subject: Re: SGI FILE FORMAT
Date: 22 Jan 1993 17:09:17 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
NNTP-Posting-Host: larry.cs.ubc.ca

scotth@oniboshi.corp.sgi.com (Scott Henry) writes:


>>>>>> In article <1993Jan22.145252.17916@alchemy.chem.utoronto.ca>, mbersohn@alchemy.chem.utoronto.ca (M. Bersohn) writes:

>mbersohn>     Does anyone know where I can find a detailed description of the
>mbersohn> file format of the SGI image files? This appears to be a closely
>mbersohn> guarded secret. Plenty of books will tell you about TIFF, PCX

>Ahh, but will they ship source code on your machine?
If you want the file formats, try looking in the gl/*.h files that the 
demo sources call.  One of them describes the file format.
-- 
-- 
Stephen Samuel 		(604)822-9248		samuel@cs.ubc.ca
The first prerequisite to winning is playing the game.
From: duong@chestnut.chem.upenn.edu (Duc Duong)
Newsgroups: comp.sys.sgi
Subject: [HELP] machine hang up?
Date: 21 Jan 93 14:24:00 GMT
Organization: NMR Biochemistry Graduate Research Lab

hi..

I am using a 310VGX/R4000 machine as a file server and I mount the
PI/35, an indigo disk on the 310. I've been doing this for a long time
with IRIX4.01 and they're all working fine. Now, I just upgrade to
4.05 and 4.05F for the indigo, and they frequently hang up..
.sometimes for 5min, sometimes just died.. So how can I detect the
problem and fix it??E-mail please. thank you.

duc
From: samuel@cs.ubc.ca (Stephen Samuel)
Newsgroups: comp.sys.sgi
Subject: Re: Does an Indigo make read-only text segments?
Date: 22 Jan 1993 17:02:50 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
NNTP-Posting-Host: larry.cs.ubc.ca

gml4410@ggr.co.uk (Lack Mr G M) writes:

>Replying to:
>   Frank Perdicaro <frank@marvin.contex.com>

>     NO.   There  are  2  things  here.   If you declare something to be
>"const" then the compiler should  complain  at  *compile*  time  if  you
>attempt   to   modify   it.    It  is  *NOT*  writeable.   However,  the

Isn't always doable.. 

.... 
char *astring="a constant string";
...
playwith(astring);
....

playwith(char * somestring; ){
...
	strcpy(somestring,"something else");
...
}

This gets especially difficult if the call and function are in different
files.  Granted, we could define type rules that make this impossible, 
but then... It might not be C anymore...
-- 
-- 
Stephen Samuel 		(604)822-9248		samuel@cs.ubc.ca
The first prerequisite to winning is playing the game.
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: multi-processor Indigo??
Date: 24 Jan 93 07:11:11 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <93023.231134COOCHE@QUCDN.QueensU.CA> COOCHE@QUCDN.QueensU.CA writes:
| One of my colleagues is suggesting we buy a SPARC 10, since it can ultimately
| be upgraded to multi-processors. I've been considering an Indigo,
| but don't have enough info on them yet to know if multi-pro is an option for
| the Indigo series (perhaps the R4000)? Can anyone help me out here? All the SGI
|  reps in my part of the world are off at trainning, so I figured this would be
| faster.

It is extremely unlikely that the current Indigo chassis will ever
support MP.  There simply isn't enough room in the chassis.

There may possibly be a 'low end' MP machine in the future.  (Obviously
engineering has kicked the idea around in the past, and will continue
to so for future machines during the design phase, but that is a long
way from a product).
--
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: ajp2o@crocus.medicine.rochester.edu (Anthony J. Persechini)
Newsgroups: comp.sys.sgi
Subject: Re: PostScript "Editor"
Date: 28 Jan 93 14:40:43 GMT
Reply-To: ajp2o@crocus.medicine.rochester.edu
Organization: University of Rochester

In article <1993Jan28.125022.11787@ringer.cs.utsa.edu>,
senseman@lucy.brainlab.utsa.edu (David M. Senseman) writes:
|> A number of persons have responded to my request for a 
|> PostScript "editor". I now see that my wording wasn't 
|> quit right. I know that is would very difficult if
|> not impossible to "really" edit a PostScript file.
|> 
|> What I was asking (for a friend) was there a program
|> that could read in a PostScript object IN TOTO (e.g.
|> a graph, etc) and then allow a user to make NEW
|> graphical objects (like labels) around the previous
|> item?  What about FrameMaker or Corel Draw?
|> 
|> 
|> 
|> 
|> 
|> -- 
|> David M. Senseman, Ph.D.              | Imagine the Creator as a low 
|> (senseman@lonestar.utsa.edu)          | comedian, and at once the world 
|> Center for Information Visualization  | becomes explicable.
|> University of Texas at San Antonio    |               H.L. Mencken 

If you have DPS extensions on your server and a DPS compile time environment you
can do this quite well with xfig. Check out the version on
crocus.medicine.rochester.edu. Corel Draw will also let you do this, but can
only read AI format PostScript files. This may mean you will have to do some
conversion. I have been doing this recently with simple PostScript vector images
instead of using the xfig approach. 

---
Anthony Persechini
Assistant Professor
University of Rochester School of Medicine
ajp2o@crocus.medicine.rochester.edu
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi.bugs
Subject: Re: Minor inst complaint
Date: 22 Jan 93 08:31:29 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1993Jan21.164324.15214@alias.com> chk@alias.com (C. Harald Koch) writes:

| The other day, I needed to install the cdsio software from the 4.0.5
| distribution. Since I've installed this option many times before, I know
| that it contains a single file, /usr/sysgen/boot/cdsio.o.
| 
| Inst claims that the file must be installed from the mini-root, and
| absolutely refuses to install it while running multi-user. Now, I know that
| there's only one file in there, and I know how to type '/etc/autoconfig -f'
| and 'telinit q' to build a new kernel and install it.
| 
| Instead, I had to take the machine down, load the mini-root (across the net,
| ugh), install, and reboot. This took much longer than it should have.
| 
| For my future reference, Is there an "Expert Administrator" option for inst?
| (I know this is all fixed in The Next Release, so I'm not going to bother
| asking for a fix...)

No.  There was much internal debate about 'miniroot required' subsystems.
The 'experts' lost on this one.  Any subsystem that requires kernel
reconfiguration, and even a number that just have /etc/init.d scripts
require miniroot installs, for the time being.  A future release is
likely to relax these requirements, except across major O/S releases.
--
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: mmcohen@cats.ucsc.edu (Michael M Cohen)
Newsgroups: comp.sys.sgi.bugs
Subject: winpop not functional?
Date: 27 Jan 1993 13:04:18 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: si.ucsc.edu


On crimson-vgx 4.0.5, displaying several audio
signals in separate overlapping windows.
winpop(wid); does not pop windows to the top
(or show any change at all). Any hints?
Is winpop obsolete in Xwin environ?
	MMCohen

======================================================================
=   Dr. Michael M. Cohen                   mmcohen@dewi.ucsc.edu     = 
=   Program in Experimental Psychology     mmcohen@fuzzy.ucsc.edu    =
=   433 Clark Kerr Hall                    408-459-2655 LAB          = 
=   University of California - Santa Cruz  408-459-2700 MSGS         = 
=   Santa Cruz, CA 95064                   408-459-3519 FAX          = 
======================================================================
-- 

======================================================================
=   Dr. Michael M. Cohen                   mmcohen@dewi.ucsc.edu     = 
=   Program in Experimental Psychology     mmcohen@fuzzy.ucsc.edu    =
=   433 Clark Kerr Hall                    408-459-2655 LAB          = 
=   University of California - Santa Cruz  408-459-2700 MSGS         = 
=   Santa Cruz, CA 95064                   408-459-3519 FAX          = 
======================================================================
From: pj@sam.wpd.sgi.com (Paul Jackson)
Newsgroups: comp.sys.sgi.bugs
Subject: Re: rcsfreeze & IRIX 4.0.5F
Date: 28 Jan 1993 09:57:32 GMT
Organization: Silicon Graphics, Research & Development
Distribution: world
Reply-To: pj@sgi.com
NNTP-Posting-Host: sam.wpd.sgi.com

In article <acas.728206597@manda.cgl.citri.edu.au>, acas@cgl.citri.edu.au (Andrew Cassin) writes:
|> /usr/sbin/rcsfreeze seems to contain a bug where it tries to execute
|> "rcs", but the bin directory is not included in the path set by the
|> script (/usr/sbin).

Right you are.  This is fixed in the next major release,
by changing the PATH setting in rcsfreeze to include /usr/sbin.

-- 

				I won't rest till it's the best ...
				Software Production Engineer
				Paul Jackson (pj@sgi.com), x1373
From: billc@bigbird.llnl.gov (Bill Crutchfield)
Newsgroups: comp.sys.sgi.bugs
Subject: /usr/lib/fixade.o
Keywords: bus error, alignment, fixade
Date: 22 Jan 93 19:13:09 GMT
Organization: Lawrence Livermore National Laboratory

I'm trying to track down a bus error on a code being ported to a R4000 SGI Crimson.
Per the documentation fixade(3f) and unaligned(3x), I'm trying to
link in /usr/lib/fixade.o which will catch and provide documentation
on alignment errors in the code.  The problem is that I cant link it
in!!  When I try, the compiler/linker complains:

/usr/bin/ld:
No symbolic information for: /usr/lib/fixade.o

Running nm on the file also gives:
nm: Error: no symbol table in /usr/lib/fixade.o

But 'file /usr/lib/fixade.o' returns the information
/usr/lib/fixade.o:      mipseb executable stripped (R4000 fpdiv unchecked) - version 3.10

What needs to be done to link this code in?


Newsgroups: comp.sys.sgi.bugs
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: /usr/lib/fixade.o
Keywords: bus error, alignment, fixade
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Sat, 23 Jan 93 19:35:54 GMT

In <147267@lll-winken.LLNL.GOV> billc@bigbird.llnl.gov (Bill Crutchfield) writes:

| I'm trying to track down a bus error on a code being ported to a R4000 SGI Crimson.
| Per the documentation fixade(3f) and unaligned(3x), I'm trying to
| link in /usr/lib/fixade.o which will catch and provide documentation
| on alignment errors in the code.  The problem is that I cant link it
| in!!  When I try, the compiler/linker complains:
| 
| /usr/bin/ld:
| No symbolic information for: /usr/lib/fixade.o
| 
| Running nm on the file also gives:
| nm: Error: no symbol table in /usr/lib/fixade.o
| 
| But 'file /usr/lib/fixade.o' returns the information
| /usr/lib/fixade.o:      mipseb executable stripped (R4000 fpdiv unchecked) - version 3.10
| 

Sounds like somebody tried to save space on your system by stripping
all binaries, but forgot to exclude /usr/lib.  If you reinstall the
dev product you should get an unstripped fixade.o

By the way, if you are compiling with -mips2, and use malloc/calloc for
data with doubles in it, use -lmalloc also.  The libc malloc bogusly
returns memory that is only word (4 byte) aligned, not 8 byte.  That
never showed up until the true 64 bit loads and stores on the r4k
systems.
--
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.bugs
From: amys@TheImprov.ncsa.uiuc.edu (Amy Swanson)
Subject: m_fork() failure under 4.0.5
Organization: University of Illinois at Urbana
Date: Mon, 25 Jan 1993 15:31:49 GMT


One of my user's has run into a problem since we upgraded our OS to
IRIX 4.0.5C - is this a bug? 

Thanks,
Amy

=====================
Has anybody had any problems with the subroutine m_fork() since the upgrade
of the OS? I have a simple test program that used to work but failed after 
the upgrade. The source code is included at the end.  Any help would be 
appreciated.


Chris

----------------------------- test_mfork.c ------------------------------
#include <stdio.h>
#include <sys/types.h>
#include <sys/prctl.h>
#include <ulocks.h>
#include <task.h>
#include <errno.h>

#define Min(X,Y) ( (X) < (Y) ? (X) : (Y) )
#define NUM	200000

static void compute();

static int f[NUM];

static int nprocs, chunk;

main()
{
	int	i, ret; 

	for (i=0; i<NUM; i++)
	    f[i] = i;

	print_array(f);

	nprocs = prctl(PR_MAXPPROCS);
	ret = m_set_procs(nprocs);
	if (ret != 0)
	{
	    fprintf(stderr, "m_set_procs returned errno(%d)\n", errno); 
	    exit (-1);
	}
	chunk = NUM/nprocs;

    	ret = m_fork(compute);
	if (ret != 0)
	{
	    fprintf(stderr, "m_fork returned errno(%d)\n", errno); 
	    exit (-1);
	}
    	m_kill_procs();

	print_array(f);
}

static void compute()
{
	int	i, j, start, end;

	while ( (i = m_next()) < nprocs)
	{
	    start = i*chunk;
	    end = Min((i+1)*chunk, NUM);
	    for (j=start; j<end; j++)
		f[j] = j;
	}
}

print_array(f)
int *f;
{
	printf("f[] = (%d ... %d)\n", f[0], f[NUM-1]);
}

--
=========
Amy K. Swanson
SGI Systems Administrator, NCSA
amys@ncsa.uiuc.edu
From: LEVINE%FIDLER.decnet@sunman.chinalake.navy.mil
Newsgroups: comp.sys.sgi.bugs
Subject: Text/Icons randomly have wrong size
Date: 26 Jan 93 21:10:32 GMT


	I have an IRIS 4D/240 (twin tower) recently upgraded from
4.0.4 to 4.0.5(a) that now exhibits (randomly) the following strange 
behavior on the graphics tube.
	The login screen ( with visual logins enabled).
		-border surrounding icons oversized
		-user names under icons too large
		-login/password prompt strings over sized
		-text in login username/password windows oversized
		-system_id name in lower left had corner oversized
	  any combination or permuation of the above from no distortion
	  to usually no more that 2 of the above at one time.


	Logged in
		-Workspace - 0/1/2/3 folder or other icons oversized.
		-EMACS-  ocassionaly a window comes up oversized with
			oversized characters. Quit and restart, and
			it comes up proper sized.
		-calendar - sometimes the month days are oversized while
			the date numbers are microscopic.
		-Subscreens under system manager tool, sometimes icons are
			over sized and letters on buttons microscopic.

I can go on but you can see the pattern. This whole thing seems to have 
started about the time I upgraded from 4.0.4 to 4.0.5. There are 3 other 
systems also that have been upgraded from 4.0.4. to 4.0.5 (280,PI,240) 
and show no signs of this problem.

	In a fit of desperation, I brought up miniroot and removed
all vestiges of IRIX and any layered products and went to the miniroot
shell to find and remove any system files that might be left over (includeing
the installation history files but not the files read by chkconfig). 
Then I installed everything from scratch from IRIX through layered products 
to maint tapes. Before leaving miniroot, I restored such files as
passwd,hosts,groups,sys_id. Then I booted up the new system, 
the problem showed up again. The only positive note is that I seem to have
freed up a surprizeing amount of disk space (unused stuff that has 
accumulated since 3.3.1).
	What could cause random Icon oversize or text over/under size???
Any sugestions as to what else to try????

Michael N. LeVine  Naval Air Weapons Station, China Lake, Ca 93555, USA
Internet: levine%fidler.decnet@chinalake.navy.mil
(619) 939-2614  avn  437-2614 

 "Waiter, there's a bug in my soup!"        
 "No, Sir, it's not a bug, it's a feature!"
From: salkm@solomon.technet.sg (Lee Kuok Ming)
Subject: mixing GL and Motifs
X-Newsreader: TIN [version 1.1 PL8]
Date: Thu, 21 Jan 1993 09:19:30 GMT

I am trying to write a code that uses multiple windows.  Certain windows
will contain MOTIF GUI, and certain windows contain graphics done using GL.

Anyone has an example program?  I need this urgently.

I can be reached at the following e-mail address:

	saoly@solomon.technet.sg

Many Thanks.



Mr L. Y. Ong
Singapore
21 Jan 93