HDTenEightyP/NetNews huggingface dataset:
From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
Subject: Re: what should an arch command return on an indigo?
Reply-To: cmaae47@imperial.ac.uk
Organization: Imperial College of Science, Technology and Medicine
Date: Mon, 16 Nov 92 20:01:37 GMT

In article <grl.721642136@groucho>, grl@brb.dmt.csiro.au (Greg Lehmann) writes:
- SunOS has an arch command that returns a value like sun4 or sun3 depending on
- what the application architecture of the machine is.
- 
- Would mips be an appropriate value for an sgi arch on an indigo?

Probably not, as there are so many other machines having a MIPS processor
(DECstation, CDC 4000, ... ) and which will not run IRIX binaries. We use here
sg3 and sg4, where the diffenrence is that type sg4 will not run on an R3000
machine - we never had a sizeable IRIX 3.x installation.

For system binaries inst sorts out quietly what is required, and the diskless
client support requires separate share trees, so only user compiled binaries
are affected.

By the way, write all your scripts to use the ARCH environment variable rather
than the command, and leave it to those who maintain the cshrc and profile
files to get the variable from the command. This is necessary so that you
can pass the -target- architecture to an install script, rather than having
it use the -current- one.

                                     Thomas

-- 
*** This is the operative statement, all previous statements are inoperative.
*   email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
*   voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
*   snail: Imperial College of Science, Technology and Medicine
*   The Center for Computing Services, Kensington SW7 2BX, Great Britain
From: rose@baby.swmed.utexas.edu (Rose Oguz)
Newsgroups: comp.sys.sgi
Subject: matrix class in C++
Date: 16 Nov 92 20:25:50 GMT

I haven't seen any mention of a matrix class in C++.  I have no information
that tells me that there should be.  I just assume that matrices/2D arrays
are commonly used and there would a class definition.  All I have found is
a complex class and a vector class.  Any chance that I missed the matrix
class?

Rose

!!!!!!!!!!@@@@@@@@@@##########$$$$$$$$$$%%%%%%%%%%^^^^^^^^^^&&&&&&&&&&

Rose Oguz
The University of Texas Southwestern Medical Center at Dallas
rose@baby.swmed.utexas.edu
From: karlton@fudge.asd.sgi.com (Phil Karlton)
Newsgroups: comp.sys.sgi
Subject: Re: IrisGL to GLX changes
Date: 23 Nov 1992 18:44:06 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA
NNTP-Posting-Host: fudge.asd.sgi.com


In article <7013@dove.nist.gov>, fred@poly2.nist.gov writes:
    Where can I find a definative list of the functions that are available in IrisGL,
    but which can't be used in a mixed mode (GLX) application.

This should be fairly close. I got it from the GLXwinset man page.

PK
=======================================================================
BUGS
     All of the GL routines which access window system controlled features are
     illegal to call for a mixed model window.  Not all of these routines
     report errors, so here is a list of the routines which mixed model
     programs cannot call.

     qdevice, qread, qtest, qenter, getbutton, getvaluator, setvaluator,
     noise, unqdevice, mapcolor, getmcolor, gconfig, doubelbuffer,
     singlebuffer, RGBmode, cimode, overlay, underlay, acsize, curstype,
     defcursor, setcursor, winopen, wintitle, winposition, winmove,
     foreground, noborder, noport, iconsize, icontitle, keepaspect, maxsize,
     minsize, step, fudge, prefposition, prefsize

     The following routines will work, but execute much slower for mixed model
     windows, and this information should be obtained from the window system
     if at all possible.  Avoid these routines.

     getsize, getorigin, reshapeviewport, getviewport
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Setting the screen-saver...
Date: 24 Nov 92 02:34:25 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <TSHIN.92Nov22224924@husc8.harvard.edu> tshin@husc8.harvard.edu (Tae Shin) writes:

| Does anyone know how the set the screen saver on the Indigo XS24/Elan such 
| that it will appear on the pandora screen?  Right now the default seems to 
| be a blank screen.  Any help or suggestions would be greatly appreciated.

In /usr/lib/X11/xdm/Xlogin, just before the visuallogin check, add this:
	(/your/screen/saver stuff here < /dev/null >/dev/null 2>&1 &)
The i/o redirection and backgrounding are necessary; I don't remember
if running it in the subshell (parens) is.

You could of course change the resources to use your own copy of the
Xlogin file.  The Xlogin file is not marked as a config file, and will
get replaced if you install new OS releases, so make a copy if you
don't change the resources to use an alternate Xlogin.
--
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: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: How to install external SCSI disk drives
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Wed, 18 Nov 92 21:02:33 GMT

In <1992Nov18.182742.14268@ncar.ucar.edu> chuck@sage.cgd.ucar.edu (Chuck D'Ambra) writes:

| Can anyone provide some pointers on how to make external SCSI disks known
| to the system (R4000 Indigo w/ Elan)?  All I can find in the mound of
| documentation received with the system is that Disk and File Tool will
| automatically recognize them.  Well, it doesn't (though hinv reports their
| existence).  MAKEDEV doesn't create the devices either.

The disk tool will recognize all disk drives.  It won't do anything
to set them up, unless they already have volume headers (use fx) and
filesystems (use mkfs).

If it doesn't show a disk at all, then it isn't in the hardware
inventory (hinv), which means the OS didn't recognize it at boot
time.  If that is the case, you have problems with the SCSI ID,
cabling, or termination, most likely.

| If it matters, we have two 2GB (formatted) Seagate drives.  I logged a call
| with the Technical Assistance Center and was told that drives larger than
| 1.2GB are not yet supported.  Is this true?

Not *officially* supported; some platforms support 1.6 GB (unformatted)
officially.  Up to 2GB work fine, and > 2GB work fine except that fx
(due to a bug in my changes to support > 2GB drives before I had one to
work with) won't exercise drives past the 2GB point.  The max size of a
single filesystem is 8 GB.
--
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: naiming@eng.umd.edu (Naiming Shen)
Subject: What are the SPECmarks for sgi machines?
Date: Wed, 18 Nov 92 15:24:22 GMT
Organization: Electrical Engineering, University of Maryland


The specs from SGI computers have the number for SPECmarks, I'm wondering
how the SPECmarks are tested. 

Naiming,
From: rovero@bird.oc.nps.navy.mil (Josh Rovero)
Newsgroups: comp.sys.sgi
Subject: Re: Wanted: Map display package
Date: 20 Nov 92 06:26:55 GMT
Organization: Naval Postgraduate School,Monterey CA

ADRG stands for ARC DIGITIZED RASTER GRAPHIC.  

DTED is provided on a regular grid; ARDG is scanned in from
actual maps, on which the scale varies from point to point
depending on the projection.  But ADRG *looks* like a map, with
colors and cultural features, while DTED has to be contoured or
displayed on a wireframe.

-- 
Josh Rovero   (rovero@oc.nps.navy.mil) | or Internet 5346p@cc.nps.navy.mil 
Department of Oceanography, Code OC/Rv |      Bitnet 5346p@NAVPGS 
Naval Postgraduate School              |              
Monterey, CA  93943   (408) 646-2084   |
Newsgroups: comp.sys.sgi
From: kleinren@sun1.ruf.uni-freiburg.de (Rainer Kleinrensing)
Subject: 3.10 Compilers (was: Re: Makefile and head headers)
Organization: Rechenzentrum der Universitaet Freiburg, Deutschland
Date: Mon, 16 Nov 92 09:05:43 GMT

olson@anchor.esd.sgi.com (Dave Olson) writes:

>If you have the 3.10 compilers, there is also -MDupdate, which
>does libraries as well as header files.

...

>The advantage of the 3.10 compilers (4.1 IDO) is that the headers
>dependencies automatically get updated every time the files
>get recompiled, so they are always as correct as possible.

Where do I get the 3.10 compilers ? Our 405 maint CD lists
maint_c as Version 2.0.4 and maint_dev as 4.0.5. Do I have to ask my 
sales rep for another update ?
('file /usr/lib/accom' says 'version 2.10')

Thanks,
-- 

   Rainer Kleinrensing,    rainer@indigo.mathematik.uni-freiburg.de
   Institute for Applied Mathematics
   Freiburg University
Newsgroups: comp.sys.sgi
From: b4101ai@sun1.LRZ-Muenchen.DE (Holger Busse)
Subject: wanted: Xw - Widgets for SGI
Summary: wanted: Xw-widgets for SGI
Keywords: X11R4 XWindows Xw-Widgets
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Thu, 19 Nov 1992 23:33:47 GMT

Hello SGI-Netters,
Does anybody know where I could find the X11R4 Xw-Widgets for SGI-Machines.
I need it for the compilation of xpic.

Thanx in advance

Holger Busse

please mail to b4101ai@cd1.lrz-muenchen.de
Newsgroups: comp.sys.sgi
From: davea@quasar.mti.sgi.com (David B.Anderson)
Subject: Re: dbx question.
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Mon, 16 Nov 1992 18:17:00 GMT

In article <BxtKHF.4wK@news.cso.uiuc.edu> dsong@ncsa.uiuc.edu (Deyang Song) writes:
>
>
>I came across a problem with dbx that I think may be a bug. The
>problem is that dbx does not handle nested blocks properly. I have
>a simple C test program below:
>
>     1  #include <stdio.h>
>     2
>     3  main()
>     4  {
>     5     int p=2;
>     6
>     7     {
>     8        int p=4;
>     9
>    10        printf("\tp=%d\n", p);
>    11     }
>    12
>    13     printf("p=%d\n",p);
>    14  }
>
>I compiled it with -g and loaded it into dbx. When I stepped to
>line 13, the visible p is still the one in the inner block. Can
>someone tell me if it's a bug or there's an explanation for it?

It's a bug.  I believe that Workshop/Codevision handles this correctly.
Only dbx gets it wrong.

The problem is that while dbx notices the beginnings of block scopes
and the end of functions, dbx does not notice the end of inner-block
scopes.

The scope data exists in the a.out. dbx has no excuse.  dbx has been
this way a long time.

I hope get it fixed for the next major release (but the work is not done
and I cannot promise....)
[ David B. Anderson             (415)390-4263             davea@sgi.com ]



Newsgroups: comp.sys.sgi
From: mikey@sgi.com (Mike Yang)
Newsgroups: comp.sys.sgi
Subject: Re: C++ or Motif or X ?
Date: 22 Nov 92 17:43:03 GMT
Organization: Silicon Graphics, Inc.
NNTP-Posting-Host: eukanuba.wpd.sgi.com

In article <1992Nov22.063149.27541@nuscc.nus.sg> isc30092@nusunix1.nus.sg (CHOO GING YANG) writes:
>	I ran into a runtime error when I was on a Silicon Graphics Indigo 
>	using C++ 2.1.1, X11R4 and Motif.  After much tracing, I discovered 
>	the Motif function "XmStringCreateSimple" routine was giving the 
>	segmentation fault message.

Either you're calling XmStringCreateSimple with the wrong number or
kind of arguments (it takes a single NULL-terminated string), or you
have a memory corruption problem before the call which trashes the
memory heap.

If it's the latter, look for a double free or memory overrun before
the call.  If you don't notice anything, try using a debugging malloc
library like WorkShop's libmalloc_cv.a or the package available as:

	sgi.com:/sgi/src/malloc-debug.tar.Z

-----------------------------------------------------------------------
                 Mike Yang        Silicon Graphics, Inc.
               mikey@sgi.com           415/390-1786
Newsgroups: comp.sys.sgi
From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
Subject: Re: simple sysid(3) question
Keywords: sysid unique
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Mon, 23 Nov 1992 15:22:00 GMT

In article <416@conan.UUCP>, scott@conan.UUCP (Scott Weitzenkamp) writes:
> 
>   Is the sysid(3) function available on both IRIX 3.X and 4.0.X?  We
> only have IRIX 4.0.1 in-house, so I can't easily check.  Does sysid(3)
> return a number that is unique for that specific computer, or unique
> for that *model* of computer?  I assume the number is unique for that
> specific computer, but wasn't 100% sure.


sysid() is around 6 years old.  It long predates IRIX 3.0.

The number is supposed to be unique for each machine.



Vernon Schryver,  vjs@sgi.com
Newsgroups: comp.sys.sgi
From: root@itnsg1.cineca.it (Valter Cavecchia)
Subject: sproc (a question)
Keywords: sproc, child
Organization: Laboratorio di Fisica Computazionale, INFM. Trento Italia
Date: Mon, 16 Nov 1992 16:15:58 GMT


I have the following problem: I use sproc to create a new share group
process. Now I would like that if the child dies the parent receives (and
handles) a SIGCLD signal.
The following program does work fine. BUT, if I subsitute the _exit function
with the exit one the parent dies when the child exits (without any signal...)
Is there someone that may explain to me such a behavior?

	Thanks a lot in advance.
	valter

----------------------------------cut here---------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/prctl.h>
#include <sys/sysmp.h>
#include <sys/wait.h>

char * global;

void Receiver(char * name) 
{ 
  int ppid = getppid();
 
  printf("C - Parent id: %d\n", ppid);
  printf("C - %s - global is: %s\n", name, global);
  fflush(stdout);
  unblockproc(ppid);
  kill(ppid, SIGUSR1);
  global[12] = '!';
  sleep(5);
  printf("C - exiting\n");
  _exit(0);
}

void Handler(int sig, int code, struct sigcontext * sc)
{
  printf("P - Got signal %d\n", sig); fflush(stdout);
  switch(sig) {
    case SIGUSR1:
      signal(sig, Handler);
      break;
    case SIGCLD:
      printf("P - Child is dead :-(\n");
      exit(0);
  }
}

void main(int argc, char ** argv)
{
  int pid;
  struct sigaction action;

  global = (char *) malloc(1024 * sizeof(int));
  strcpy(global, "Hello, World?\n");

  printf("Maximum number of processes: %d\n", prctl(PR_MAXPROCS));
  printf("Maximum parallel processes : %d\n", prctl(PR_MAXPPROCS));
  printf("Available processors       : %d\n", sysmp(MP_NAPROCS));

  signal(SIGUSR1, Handler);
  signal(SIGCLD, Handler);

  prctl(PR_SETEXITSIG, SIGCLD);

  pid = sproc(Receiver, PR_SALL|PR_BLOCK, "MDT Share Group Process");

  printf("P - Global is: %s\n", global); fflush(stdout);
  for(;;);

----------------------------------cut here---------------------------------} 
  
Newsgroups: comp.sys.sgi
From: jhsherk@gfx.engga.uwo.ca (John H. Sherk)
Subject: lpd Print Utilities
Organization: University of Western Ontario, London
Date: Sun, 22 Nov 1992 00:47:09 GMT

We are having problems getting lpd print utilities to run on our SGI Indigo
network. The printer is a QMS815. One of the Indigoes on the network is used
as the print server for it. We are currently using 4.0.1 operating system.
The problem seems to be that after the job has been sent to the printer,
the job prints, but is not removed from the queue.

Is anyone successfully using lpd on an Indigo for a local printer? We ran
across a note in the system documentation that indicated that SGI is not
supporting the Berkeley print utilities with IRIX 4.0.1 (or 4.0.5 for that
matter).

I would appreciate any input, tips, or responses with regard to how you got
it to work. Thanks.

_______________________________________________________________________________
                      |                                      |
John H. Sherk         | The University of Western Ontario    | 
                      |                                      | I could fix it
(519)679-2111 ex 8282 | Department of Mechanical Engineering |   
                      |                                      |   if I had a
(519)661-3020 FAX     | London, Ontario N6A 5B7              |
----------------------|--------------------------------------|  bigger hammer!
jhsherk@engrg.uwo.ca  | jhsherk@gfx.engga.uwo.ca             |
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
John H. Sherk         | The University of Western Ontario    | 
(519)679-2111 ex 8282 | Department of Mechanical Engineering | I could fix it  
(519)661-3020 FAX     | London, Ontario N6A 5B7              |   if I had a
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Limit core dump size
Date: 24 Nov 92 02:48:41 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Nov24.001133.23442@eng.umd.edu> ashish@eng.umd.edu (Ashish Nedungadi) writes:


| Hello,
| 	Maybe someone form SGI can answer this question for me.  There are times
| when I run an application and it bombs.  When it bombs the disk goes berserk and then
| writes out huge (appr. 200Mbytes) core file.  Is there any way to limit the size of a
| core dump. Like maybe 
| 		
| 		limitcoredumpsize

Very close!  For both /bin/sh and /bin/csh, see the limit command.
With no options, you get this:
	cputime 	unlimited
	filesize 	unlimited
	datasize 	60000 kbytes
	stacksize 	16000 kbytes
	coredumpsize 	unlimited
	memoryuse 	12000 kbytes

limit coredumpsize 100k would limit it to 100 kbytes.  Unlike some
OS's (Sun) you can't prevent the creation of the core file altogether,
but limit coredumpsize 0 will only create an empty file.

| 		-  When you log out, you get a window asking asking you
| 		   whether you are sure you want to log out.  The question
|                    is, can you avoid this window from coming up ie when you
| 		   choose logout, you get logged out w/o any questions.  I was
| 		   thinking  that maybe you could put some statement in your
|                    .Xdefaults file.

See the uses of 'endsession' (found in /usr/bin/X11) in /usr/lib/X11/system.*
Yes, this can be changed (either there, or in your own private copies
in your home directory).

| 		-  If in the unforeseen circumstance you have to reboot the
| 		   machine w/o going through proper channels is it better to
| 			- hit the reset button on the CPU box

This really resets the system.  You chance losing any files that
have not been flushed to disk.

| 					OR
| 			- press <Ctrl>,<Shift>,<F12>,and the </> on the keypad
| 		   Which is safer and recommended more?

This only terminates the X server (and therefore any programs running
on the graphics tube).
--
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,comp.mail.mh
From: hshamans@magnus.acs.ohio-state.edu (Harry T Shamansky)
Subject: Re: MH (actually inc) on IRIX 4.0.5
Keywords: MH 
Organization: The Ohio State University
Date: Sat, 21 Nov 1992 13:41:27 GMT

   Hi Dave...

   Yup... I see it also. I don't know where it comes from, but inc
   seems to add junk to my mail. I'm going to look more closely at the
   inc sources....

   harry
Organization: Penn State University
Date: Sun, 22 Nov 1992 01:23:21 EST
From: <SML108@psuvm.psu.edu>
Newsgroups: comp.sys.sgi
Subject: Graphics rendering speed

Hi, a quick question.  I am about to write some GL code.  I have noticed
that one can feed in coordinates as either float, double, or int.
Which is the most efficient if such a differtence exists?

Scott
From: engel@vms.huji.ac.il
Newsgroups: comp.sys.sgi
Subject: VERTICAL TITLES IN GL?
Date: 15 Nov 92 20:22:59 GMT
Organization: The Hebrew University of Jerusalem

Hello,
How can one use GL for drawing titles so that they
will not be located horizontally on the screen?
There is no indication otherwise in chapter 3 of the GL library.
Rotation does not affect the orientation of characters and titles.
Thanks,
Micky Engel
(e-address: engel@vms.huji.ac.il  OR engel@hujivms.bitnet)
From: jprovo@gnu.ai.mit.edu (Genetic Jones)
Newsgroups: comp.sys.sgi
Subject: gcc; lack of space; bin for 4d30 r3k?
Date: 18 Nov 1992 07:28:57 GMT
Organization: Russell Street UN*X Consultations
NNTP-Posting-Host: geech.gnu.ai.mit.edu
X-Newsreader: TIN [version 1.1 PL6]

..so, we have constricted space on our machine and I want to build gcc. I had
a friend strip out the non-4d/30 files and bundle it up and send it along to
me; I think I still don't have the space, but what the hey I thought. I linked 
things and tweaked makefiles to utilize sysgen-things, but was balked at a lack
of cccp [well, of course it is gone, what with the end of the cold war and
all...]. 
   The crux of the matter being that if anyone has gcc 2.3.1 built for a 4d/30
I would be appreciative to grab binaries [yes, I can get sources thru prep
(parse my address :-) -- this is public expression of desiring bin-only, so
don't worry about GPL-breakage].  Please email to my second address
[jzp@gene.ummed.edu] below ASAP on this...

joe "honest, it was working fine until the upgrade" provo

ps- this is under 4.0.1, hopefully soon to be 4.0.5

--
Disclaimer: "I'm the only one foolish enough to claim these opinions as mine."
jprovo@gnu.ai.mit.edu                                       jzp@gene.ummed.edu
    Russell Street UN*X Consultations and Development     (NIC handle: JZP)
                            Rev. Dkr. Nick LaRG0, ASC
From: steve@denali (steve)
Newsgroups: comp.sys.sgi
Subject: Re: Printer Parallel port misery
Summary: our 4D30 has parallel problems also
Date: 19 Nov 92 18:27:17 GMT
Organization: CAD MicroSystems, Los Angeles, CA

In article <1992Nov16.141604.16853@eurohub.neu.sgi.com>, joe@spectrum.neu.sgi.com (Joe Elliott) writes:
> I have been having problems with printers for some time now. All of them
> with PostScript printers and parallel ports.
> Things are great for small print jobs but given a reasonable load, the port
> just stops and the jobs keep queueing up. The only solution is to reboot
> the machine.
> On busy printers this can happen 1/2 dozen times in a day. 
> I have tried all sorts of things to restart printing, but only reboot is
> the guaranteed method. In some cases I have to stop the indigo, turn it
> off, then cycle the printer, then when its idling turn on the indigo. 
> Seems like the port gets itself pretty confused and hangs.
> 
> I have tried all OS versions from 4.0.1 to 4.0.5F
> stopping / restarting the scheduler does no good
> /etc/init.d/lp stop/start is no good.
> 
> This has happenned on at least a dozen indigos, One indigo finally stopped
> working on the parallel port altogether.
> 
> The printers are Brother HL-8PS and QMS-PS-410 which do work fine on MACS.
> Is it a memory problem?, all machines have been 16M entry models.
> osview is typically giving only 1-2M free when running a basic session with
> no heavy applications running.
> Maybe  a comms problem as it only happens on large jobs when the job
> possibly exceed the printers memory capacity,Handshaking maybe Xon/Xoff not
> stopping the data flow.
> But the problem lies at the indigo end I am sure.
> 
> Any Ideas .. Thanx in advance.
> -- 
> joe@neu.sgi.com  (VM# 9083)   Tel. +41 38 433 698  Fax. +41 38 43 39 74

We have had a similar problem since at least 3.3 on our PI.

If a job is sent while the printer is off, the port locks and it
is necessary to reboot.  Someone posted a program to reset the
port here before, but I've had limited success with it.  Our
solution was to put a sign on the printer asking to never turn it off.

Comments, SGI?

srice@cadmicro.com