HDTenEightyP/NetNews huggingface dataset:
From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
Subject: Re: matrix class in C++
Organization: Silicon Graphics, Customer Support Division
Date: Tue, 17 Nov 1992 05:07:52 GMT

In article <34113@adm.brl.mil>, rose@baby.swmed.utexas.edu (Rose Oguz) writes:
|> 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
|> 

Nope, there isn't one.  Some people out there may have written some but there
isn't one that comes with the C++ compiler. The Vector and Complex classes
are just traditional C++ classes that were created by AT&T to demonstrate
classes as much as anything else.  It is pretty obvious how a Complex class
can be used to demonstrate overloading of operators such as operator+().
Notice that the term "vector" is use more in a data structure sense by the
Vector classes than in the sense of a vector used in linear algebra.  I think
the name was chosen to avoid confusion with intrinsic "array" structures.

Writing your own Matrix class was left as an exercise to the user by
Stroustrup and company.

-- 

    __   * __   _  __  ___			
   /  \ / / /  / \/  \/   \ 	He was a man like any other man, however, not
  /    /  \/  /  /\  /    /	quite like any other man.
  \___/\__/\_/  /_/ / \__/	
	           *		
Newsgroups: comp.sys.sgi
From: bpb9204@tamsun.tamu.edu (Brent)
Subject: Net Services and backdoors
Organization: Institute for Scientific Computation
Date: Wed, 18 Nov 1992 16:29:16 GMT

Hello, all.

We have a lab with SGIs, RS6Ks, and Suns, and some of the machines
have subtle network software problems.  Fortunately, I've been
able to track down all the problems (except for mail).

One minor problem was that you could not "finger @machine" because
finger would print "connection refused."  This simple problem boiled
down to "machine" (an SGI) running fingerd as user "guest."  Guest
was a nonexistent user on the system.  I edited /usr/etc/inetd.conf
to change the finger entry to run as root.

Now my main question.  Which of these network services do you NOT
want to run as root?  Does finger have any backdoors or other holes
into the system?

Is there documentation someplace about which network services can
spawn shells or otherwise allow somebody access to your system
(by not using telnet/rlogin)?

I'd appreciate any comments you may think of.

-Brent
-- 
------------------------------------------------------------------------------
Brent P. Burton, N5VMG
bpb9204@tamsun.tamu.edu
From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
Newsgroups: comp.sys.sgi
Subject: Re: Indigo as server for a RS600 client - was: NFS links from RS6000 server to SGI client
Date: 20 Nov 92 19:28:29 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In article <1992Nov20.172633.26750@cc.ic.ac.uk>, vulture@imperial.ac.uk (Thomas Sippel - Dau) writes:
> In article <1992Nov19.230854.5523@sunova.ssc.gov>, lroberts@bottom.ssc.gov (Lee Roberts) writes:
> -
> - Apparently, Sun's tar performs a chown on the extracted file before writing
> - the file contents.  On a BSD system such as the Sun, this chown fails for the
> - non-superuser and uid/gid match the user.  When writing to the SGI NFS server,
> - the chown command succeeds (it's being performed on a System V system) and
> - changes the ownership to match the uid/gid in the tar archive.   Since the
> - file ownership has changed, tar cannot write the contents.
> 
> Sounds like "standard compliance by cock-up", which of course does not make
> it unbelievable. The POSIX standard (IEEE 1003.1) actually addresses this
> to some length on pp 274-9, section B10, i.e. in the rationale rather than 
> the formal standard)
> 
> The gist there is that for system security (if nothing else) tar processors
> should behave differently when run by root than when run by a user, users 
> should not, for example, be able to create special files. Just relying on
> the chown to fail when executed for a user seems like a broken tar to me.


A process can be running as root on the client, but not be root as far
as the NFS server is concerned.


You don't really want each and every application including backup or
archive utility to duplicate the kernel suser() check.  The messiness
of real, effective, and other flavors of UID and GID are not the sort
of thing you really want to spread into every application that might be
called upon to do things that are priviledged.

Moreover, creating a special file is innocent and safe in some
circumstances.  Consider creating a named pipe.  Do you want all backup
and archiving utilities to avoid making nodes just in case the thing is
a block or character device but not if it is a directory, simple file,
or named pipe, but ok if it is a socket and who knows for new kinds of
nodes?

Should the backup or achiving utility check to see that it is sufficiently
priviledge to write ordinary files where directed?  Or should it just
let the operating system worry about it?


Vernon Schryver,  vjs@sgi.com
From: akin@tuolumne.asd.sgi.com (Allen Akin)
Newsgroups: comp.sys.sgi
Subject: Re: NT programs under IRIX????
Date: 19 Nov 92 00:24:04 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA
NNTP-Posting-Host: tuolumne.asd.sgi.com


In article <1e9plpINN4hl@werple.apana.org.au>, hunter@werple.apana.org.au writes:
> akin@tuolumne.asd.sgi.com (Allen Akin) writes:
> >I haven't heard of any plans to build a Win32 environment subsystem
> >under IRIX.
> 
> Well Allen, its easy to see that such an subsystem under IRIX would
> improve its sales.  Worth considering.

I agree.  Just wanted to make sure that no false expectations were raised.

Allen
Newsgroups: comp.sys.sgi
From: joe@spectrum.neu.sgi.com (Joe Elliott)
Subject: Re: Printer Parallel port misery
Organization: Silicon Graphics S.A., Neuchatel, Switzerland
Date: Mon, 16 Nov 1992 14:16:04 GMT

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
Newsgroups: comp.sys.sgi
From: loesch@bl.physik.tu-muenchen.de (Andi Loesch)
Subject: Experience with entry graphics' 60 Hz
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Mon, 23 Nov 1992 12:06:16 GMT

Hi netters!

The problem is we have only a limited amount of money available (who
has more ? 8), but our preference is best computing performance prior
to excellent graphics speed. So SGI's Iris Indigo R4K with entry
graphics would be our choice ... BUT only 60 Hz vertical refresh rate.
My personal opinion is that 70 Hz is the minimum refresh rate for a
good display one can work with without getting tired/headached. SGI
claimes to have a special technique for obtaining better results even
with 60 Hz. On the other hand some workstations (HP 7xx, IBM RS/6000)
offer 70+ Hz displays for reasonable prices (even a $2000 PC has
already at least a 1025x768 256 colors 70 Hz display). So here is my
question:

Are there any experiences with the low (60 Hz) refresh rate of the SGI
Iris Indigo Entry Graphics.

If there is enough interest I'll post a summary

Thanx

Andi
--
  Andreas Loesch	Phone   : (+49 89)3209 4086
  Univ. Muenchen	FAX     : (+49 89)3209 4059
  Am Coulombwall 1	E-mail  : Andi.Loesch@Physik.Uni-Muenchen.DE
W-8046 Garching
From: wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius)
Newsgroups: comp.sys.sgi
Subject: Wanted: Map display package
Date: 20 Nov 92 05:10:40 GMT
Organization: Lawrence Livermore Nat'l Lab.


I am looking for mapping packages that run on an SGI.  The maps
would not only be Digital Terrain Elevation Data (DTED), but
also ADRG (I forgot what this stands for, but these are scanned
in paper Rand McNally type maps) and other geo-rectified images
(SPOT, LandSat, etc).

Ideally, such a package would also allow "fly-by"s and would access
an extensible set of maps.

We wish to develop our own applications using this map package
and hence are not looking for a canned, map display application.

Please respond by email.  Thanks much.
  Dave Wiltzius
  Lawrence Livermore Nat'l Lab
  wiltzius@llnl.gov
Newsgroups: comp.sys.sgi
From: scotty@eos-prog.whoi.edu (Scott J. McCue)
Subject: Lucid emacs compile- different from emacs 18.58?
Organization: Woods Hole Oceanographic Institution
Date: Thu, 19 Nov 92 20:37:23 GMT

   With the help of the file emacs-sgi-patches produced by Scott Henry,
I built the X windows version of emacs 18.58 a while back. Since that time,
I've cast my jealous eye at a colleague using Lucid GNU emacs 19.3. It's
apparently very similar to emacs 18.58 except that it's got mouse-related
enhancements such as text hightlighting, cut n' paste, and the like. Those
of my users who dislike the (keyboard intensive) emacs 18.58 may find the
Lucid version easier to swallow. So, I retrieved the sources from
labrea.stanford.edu.
   Upon untar'ing, I noticed that the build instructions were almost
word-for-word the same as the straight GNU version. Being inherently
lazy, it caused me to wonder if anyone has used or adapted Scott Henry's
patch file to build Lucid emacs, or created a similar patch. Of course,
I'll try the old-fashioned way as well, but that almost never goes smoothly.
   I did notice that the patch file causes the compiler to use the -cckr
switch, while the Lucid version expects an ANSI C (gcc) compiler. If
that's the only change, then using the patch file would be a piece of cake.
   SGI-related experiences building Lucid are solicited as well.

Thanks in advance
scotty@eos-prog.whoi.edu

Newsgroups: comp.sys.sgi
From: acas@cgl.citri.edu.au (Andrew Cassin)
Subject: Re: Unruly timed
Organization: Collaborative Information Technology Research Institute
Date: 18 Nov 92 03:56:35 GMT

If you are on the internet (or really trust the time on a particular 
machine or your network), you can use ntpdate (part of the xntp
distribution) to sync the client machines to the master(s). Just run ntpdate 
periodically via cron on your slave machines and your clocks should 
be quite accurate. You dont need to use either timeslave/timed at all.

The xntp distribution contains good documentation on how to configure the
ntp software to best suite your site, perhaps you might want to give it a try.
You *dont* need to port the ntp software, thats already done for you. 

Try the following ftp sites (which have been extracted from the SGI 
anon ftp listing posted a while back) for the xntp software:
	archive.cs.ruu.nl (131.211.80.17) /pub/SGI
	sgigate.sgi.com   (192.82.208.1)  /net-services


Andrew Cassin
email address: acas@cgl.citri.edu.au
From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
Newsgroups: comp.sys.sgi
Subject: Re: Putting disk in an R4000 Indigo
Date: 16 Nov 92 19:00:30 GMT
Reply-To: cmaae47@imperial.ac.uk
Organization: Imperial College of Science, Technology and Medicine

In article <s9pd1so@zuni.esd.sgi.com>, olson@anchor.esd.sgi.com (Dave Olson) writes:
-
- The external connector is the standard SCSI centronics connector.
-
aargh.

At the risk of beinb called pedantic, Centronics is an interface definition,
(and a printer company), not a plug. The Plug is an Amphenol plug, 50 Pin
in this case, where the Centronics interface uses a 36-pin Amphenol plug, 
and the HP-IB interfas a 24 pin one.

It would not be so bad, but many people now take "Centronics plug" as referring
to the 25 pin Cannon plug which is a printer connector on the IBM-PC/AT
and ISA architecture and which Apple uses - you guessed it - for the SCSI
connector. Get a few gender changers and a random selection of "Centronics
cables" plug it all together and we are talking blue smoke!

So get this into your fingers, everyone:

     plug (physical)           interface (logical)
     25 pin Cannon             Serial Port
          "                    PC non-standard Centronics-type printer interface
          "                    Apple non-standard SCSI-type interface
     36 pin Amphenol           Centronics interface
     50 pin Amphenol           SCSI interface (or even "SCSI Port")
     50 pin IDC                on-board SCSI port connector
     60 pin I5F6743            YAFST (yet another funny SCSI terminator)

(pedantic off)                            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
Newsgroups: comp.sys.sgi
From: chuck@sage.cgd.ucar.edu (Chuck D'Ambra)
Subject: How to install external SCSI disk drives
Reply-To: chuck@sage.cgd.ucar.edu
Organization: The Big Cracker
Date: Wed, 18 Nov 1992 18:27:42 GMT

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.

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?

--------------------
Chuck D'Ambra
National Center for Atmospheric Research
P.O. Box 3000
Boulder, CO 80307-3000
USA

chuck@sage.cgd.ucar.edu
From: BABINB@vax1.dseg.ti.com
Newsgroups: comp.sys.sgi
Subject: Pixmode and the Indigo
Date: 18 Nov 92 22:42:22 GMT


I would like to know what pixmode operations are valid on each flavor of the
Indigo (Entry, ..., ELAN).  It is my hope that the versions with hardware
Z-buffers will allow the use of the PM_ZDATA operation, since I use that
mode in code I have for a VGX.  I also use PM_SIZE, PM_OFFSET, PM_STRIDE, and
PM_TTOB, so if there are any problems/differences between flavors regarding
these modes, I'd like to know that as well.

By the way, did the graphics hardware for the Indigo come before or after
IRIX 4.0.1 released?  I'm curious because the man pages don't refer to
the different graphics options now available.

Thanks.

Brad Babin
Texas Instruments, Inc.
Visualization and Simulation Technology Development (believe it, or else!)
Newsgroups: comp.sys.sgi
From: portuesi@tweezers.esd.sgi.com (Michael Portuesi)
Subject: Re: Port mapcolor() to regular Xlib??
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Mon, 16 Nov 92 18:58:41 GMT


In article <1992Nov15.033646.2844@socrates.umd.edu>, wu@socrates.umd.edu writes:
> Hello netters:
> 
> 	I am trying to port mapcolor() function in GL to X.  Is there 
> any way to specify a index into a color map to load a color into the 
> color cell using Xlib calls?  
> 
> Current colormap in application program: 12 planes
> 
> 0-255 - regular colormap
> 256-511 - gray scale
> 512-767 - red
> 768-1023 - blue 
> etc

Yes, there is, though it's not as simple as it is in GL.
(The benefit is that it is much more powerful).  GL has
a very simple colomap model with one colormap for all of
the GL windows on the display.

Xlib allows you to either allocate entries in the default
color map provided for your window.  Or, you can allocate
an entirely new colormap just for your window.

You can allocate cells in the current color map either
as read-only (meaning no other program using the same
color map can change them), or as read-write (meaning you
own the colormap entry as with read-only, but you can
change the contents).  Take a look at XAllocColor() and
XAllocColorCells() calls to do each of these operations,
respectively.  To change an entry(ies) in a color map
once you've allocated them, see XStoreColor() and
XStoreColors().

Given the application you've described, you may just
want to ask the X server for a color map private to your
application window.  To do this, take a look at the
XCreateColorMap() and XSetWindowColorMap() calls in
Xlib.

Full information about these calls can be found in
"The X Window System" by Schiefler and Gettys.  This
is the authoritative reference to the X Window
System.  Like any reference, it's not long on tutorial
information, but it does tell you everything you need
to know, and it is authoritative.  For explanations,
you can read the chapter on color management
(chapter 7 in my copy) contained in the O'Reilly
"Xlib Programming Manual," Vol. 1, by Adrian Nye.

--
Michael Portuesi   Silicon Graphics, Inc.   portuesi@sgi.com
Newsgroups: comp.sys.sgi
From: garrick@acsu.buffalo.edu (sean garrick)
Newsgroups: comp.sys.sgi
Subject: Ocean Background Program
Date: 20 Nov 92 16:22:17 GMT
Organization: UB
Originator: garrick@cfd11.eng.buffalo.edu


I recently obtained a copy of ocean2.5. Can someone please tell me how to use it.
I have the background going, but no fish. I am using an Iris 4D/310GTX and Irix 4.0.?
Thanks in advance.

PLEASE REPLY TO: garrick@cfd10.eng.buffalo.edu

Thank You. 
Sean Garrick
From: wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius)
Newsgroups: comp.sys.sgi
Subject: RPC and DCE on SGIs?
Date: 22 Nov 92 18:09:31 GMT
Organization: Lawrence Livermore Nat'l Lab.


I am interested is using RPC for an application.  Several questions
arise: Is the RPC on the SGI compatible with any other's such as Sun's
(I realize the SGI does use XDR so there is hope)?

Are there any sources of programs available on IRIX that uses RPC?

When will DCE (specifically the DCE's RPC and Threads, if it makes a difference)
on SGI/IRIX be commercially available or as a beta?  This is actually
the most interesting option for us.  The availability of DFS will be
of great interest in a year or so.

Please respond by email.  Thanks much.
  Dave Wiltzius
  Lawrence Livermore Nat'l Lab
  wiltzius@llnl.gov
Newsgroups: comp.sys.sgi
From: dsg@blackbird.mitre.org (David S. Goldberg)
Subject: GDB 4.6 on IRIX 4.0.5
Organization: The Mitre Corp., Bedford, MA.
Date: Thu, 19 Nov 1992 18:55:54 GMT



We've been running gdb 3.5 from a distribution we got from our local
SGI support group.  I'd like to upgrade to gdb 4.6, but for every
possible configuration name I can think of (mips-sgi, mips-sysv,
mips-irix) the configure script tells me gdb doesn't support it.  Is
there really no configuration that works?  It seems that if gcc (and
every other FSF tool I've tried) can easily be built for the SGI,
gdb ought to be also.  Any help appreciated.


--
Dave Goldberg                      UNIX Systems Programmer/Administrator
Post: The Mitre Corporation MS B020 202 Burlington Rd. Bedford, MA 01730
Phone: 617-271-2460
Domain: dsg@mbunix.mitre.org  UUCP: {your neighborhood}!linus!mbunix!dsg
From: spsisira@sdrc.COM (spsisira)
Newsgroups: comp.sys.sgi
Subject: How to lower the default sound level in Indigo
Date: 19 Nov 92 15:30:32 GMT
Organization: Structural Dynamics Research Corporation, Milford OH 45150 USA
X-Newsreader: TIN [version 1.1 PL7]

I am having hard time trying to lower the default speaker output level.
Can somebody please send me how and where I can do that.

I tried using Audio Control tool, but that setting goes away once I log out.

Many thanks in advance.

Sisira.

Sisira.jayasinghe@sdrc.com

-- 
Sisira Jayasinghe Ph.D.
Sr. Technical Development Engineer

uunet!sdrc!cvg!spsisira      Structural Dynamics Research Corporation
spsisira@sdrc.com            2000 Eastman Dr.
spsisira@cvg.sdrc.com        Milford OH 45150 USA
Newsgroups: comp.sys.sgi
From: senseman@ricky.brainlab.utsa.edu (David M. Senseman)
Subject: Re: How to lower the default sound level in Indigo
Organization: University of Texas at San Antonio
Date: Fri, 20 Nov 1992 21:25:22 GMT

In article <sj68t5o@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
>In <2281@sdrc.COM> spsisira@sdrc.COM (spsisira) writes:
>
>| I am having hard time trying to lower the default speaker output level.
>| Can somebody please send me how and where I can do that.
>
>If you have 405F or later:
                 ^^^^^^^^^^
                 Hmmm....Is there now a 4.0.5G or are we up to "H" yet?

-- 
David M. Senseman, Ph.D.     | A man who has never gone to school may steal 
(senseman@lonestar.utsa.edu) | from a freight car; but if he has a university
Division of Life Sciences    | education, he may steal the whole railroad.
UT San Antonio               |             Theodore Roosevelt (1858-1919)
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: R4000 Indigo power-up problem
Date: 22 Nov 92 00:33:50 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Nov21.192405.29137@cs.wayne.edu> atems@plasma.physics.wayne.edu (Dale Atems) writes:
| Our new R4000 Indigo occasionally fails to power up properly: the LED
| on the front of the CPU box turns green immediately, flashes briefly
| orange then turns solid orange. The chord ("tune") is never played and
| the monitor screen remains blank. I plan to ask the TAC about this,
| but I was wondering whether anyone here had any ideas about what could
| be wrong.  I've checked the obvious things already: cables,
| connections, seating of SIMMs.

The most common cause of this is an upgrade where the power
supply wasn't replaced.  The r3k indigo doesn't have enough
power to run an r4k system.  The more loaded your system is,
the more likely this is to happen.
--
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