HDTenEightyP/NetNews huggingface dataset:
From: lgt1@ohm.york.ac.uk (Laurence Tyler (Guest - CompServ))
Newsgroups: comp.sys.sgi
Subject: Re: Bug in SGI's malloc?
Date: 15 Oct 92 19:01:23 GMT
Organization: Electronics Department, University of York, UK

In <1992Oct14.141028.23584@sol.ctr.columbia.edu> shenkin@still3.chem.columbia.edu (Peter Shenkin) writes:

>I have a question:  does this bind-real-space-on-access scheme also
>apply to statically allocated arrays?  For example, if I have a
>large Fortran program which statically allocates arrays too large
>to fit in phys+swap, but I only use part of them, will this program
>also load uneventfully, but die if I try to access what doesn't fit?

>And now that I come to think of it, isn't this the way VMS works?

>	-P.
>-- 

Sort of... as I remember it, VMS has 'demand zero' pages which are
allocated in virtual address space, but only created in real memory
when accessed. VMS also has several other ways of getting more
useable memory, including mapping sections of vitual memory onto
your own disk file and paging your memory pages to that rather than
the system pagefile - sort of a private swap partition.

In general, users can't allocate unlimited
amounts of real memory - they have a 'pagefile limit' set by the
administrator, which keeps them under control - and even the size of
virtual memory they can reference is limited by the maximum size of
their page table. All these can be set on a per-user basis.

In VMS, if you can't get the memory you asked for, either your
system service call status value tells you it failed, so you can
recover gracefully, or you hang waiting for resources to become
available. If the system pagefile fills up right to the top, VMS
dies. That doesn't normally happen, though, unless you've been too
generous to the users...  ;-)
-- 
Laurence Tyler (Systems Group)
University of York Computing Service, UK
email: lgt1@york.ac.uk
Newsgroups: comp.sys.sgi
From: super@evax0.eng.fsu.edu
Subject: How to recorve /unix file
Organization: Famu/Fsu College of Engineering
Date: 6 Oct 92 20:28:00 EST


Hi fellows,

   I got a problem with my SGI about sending a mail. I accidently deleted
the file /unix. So when I try to send a mail by typing "mail", I simply 
got the following error message:

libmld: ldopen:cannot open /unix

As I knew, the executive file libmld.a is located in /usr/lib, what does the
extertion .a  mean ?  How can I recorve the file /unix (How can I create /unix
file). 

Thanks for your help

Zhiyun 
super@evax0.eng.fsu.edu
---
 
Newsgroups: comp.sys.sgi
From: senseman@ricky.brainlab.utsa.edu (David M. Senseman)
Subject: Re: /dev/plp on PIs and Indigos
Organization: University of Texas at San Antonio
Date: Wed, 7 Oct 1992 11:29:00 GMT

In article <qp65hmg@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
>
[ mucho stuff deleted]

>For what it is worth, the Indigo parallel port runs faster...

Now that you mention the parallel port on the Indigo...
We have a computer-driven 16 mm movie camera system used for making
stop frame animation. On our old 4D/80GT we used one of the I/O
pins on the Genlock board to provide a +5v pulse to trigger the
shutter opening/closing. Now that we have replaced our 4D/80 with
an Indigo, we need another source for the trigger pulse. Would /dev/plp
be the best place or is there another user programmable device that
would be easier to get at (maybe some audio device?). BTW, we can
build a simple circuit to buffer/amplify/etc the "event" coming out of
the Indigo to match what the camera system needs.

Thanks.
-- 
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)
Newsgroups: comp.sys.sgi
From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: Bug in SGI's malloc?
Organization: FWI, University of Amsterdam
Date: Tue, 13 Oct 1992 16:13:00 GMT

vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:

>Vernon Schryver,  vjs@sgi.com
>This policy also makes it possible to add RAM to a system without
>having to buy another disk (since almost no one is be able in practice
>to expand the the swap partition(2) on an installed machine.)

>Doesn't even SunOS use this policy now that they have embraced the
>DeathStar?

No, I don't think so. Remember that SysV.4 got the SunOS VM system,
so it has happened the other way around. This is specifically
mentioned in the UNIX System V/SPARC Release 4 software notes:
(This is not Solaris, but the SPARC reference port):

[...] Under SVR4.0, swap space is needed for all anonymous memory. [...]

The reason given is ``to avoid deadlock'', but the real reason probably
is ``to sell more disks''.

Of course, only the data & stack segment must fit in swap, but those
are usually the biggest in big applications. I think that SunOS 5.0
no longer reserves swap space in the cases SunOS 4.0 does
(e.g., for copy on write pages), but I may be wrong.

Extra memory on Suns will only be used for non-anonymous pages.
(Text segments, file buffers).

Casper
From: frank@marvin.contex.com (Frank Perdicaro)
Newsgroups: comp.sys.sgi
Subject: Re: trouble with dd and exabytes
Date: 13 Oct 92 16:06:57 GMT
Organization: Xyvision Design Systems

In article <1992Oct9.194651.4782@dxcern.cern.ch> burow@dxcern.cern.ch (Burkhard Burow) writes:
>
>We're having trouble using dd to read/write to some exabyte drives. 
>
Although this is a long shot, this may be another symptom of the bug
that we found in pio.c causing non-page-aligned io to cause R4000 and
some R3000 systems with VME to halt.  Try doing the io in a different
order.  It can matter.

Before any of the SGI folk flame me, I urge them to look up the issue,
and cringe...

-- 
	 Frank E Perdicaro, Systems Admin, etc.		Xyvision Color Systems
      Legalize guns, drugs and cash...today.		101 Edgewater Drive
   inhouse: frank@marvin, x5572				Wakefield MA
outhouse: frank@contex.com, 617-245-4100x5572		018801285
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: requesting swap-in of certain pages
Date: 15 Oct 92 05:59:47 GMT
Distribution: na
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Oct15.034927.8303@CSD-NewsHost.Stanford.EDU> todd@sparcy.Stanford.EDU (Todd Koumrian) writes:
| I'm working with data structures which are several times the size of
| the RAM in my 4D/35 (I have a lot of swap space).  My algorithms frob
| with the data in steps where the total size of the chunk being worked
| on will fit into RAM at once, before moving on to the next chunk.
| 
| I'm experiencing quite a bit of swapping activity because during the
| processing of each chunk, the pages are swapped-in to RAM in a somewhat random
| order because of a sort-of ping-pong access.  I am trying to rewrite the
| algorithm, but it may not help much.
| 
| Can I request that a range of address-space be swapped in prior to
| the processing of a certain chunk of data?

Yes, by reading one byte in each page.  Other than that, no.  Well,
you might be able to get somewhat similar behavior by using
mpin and munpin, but that may in fact have higher overhead.

Trying to improve your locality of reference is probably your
best bet in terms of return for effort invested.
--
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: cychong@magnus.acs.ohio-state.edu (Chi Yin R Chong)
Subject: Any POPmail and Gopher available for SGI??
Organization: The Ohio State University
Date: Wed, 14 Oct 1992 18:17:14 GMT

Hi, every comp.sys.sgi subscriber,

     Does anyone know if there are POPmail and Gopher software available
for SGI machines? I know that they have a UNIX version in boombox.micro.umn.edu
but I am not sure whether I can use them in the SGI machines.

     Thank you so much. Your help will be appreicated.

.................................................................
:                                                               :
:   Chi Yin Robert Chong                                        :
:   Computational Fluid Dynamics Laboratory                     :
:   Robinson Laboratory, Department of Mechanical Engineering   :
:   The Ohio State University                                   :
:                                                               :
:   E-mail: cychong@magnusug.acs.ohio-state.edu  or             :
:           robert@chagall.eng.ohio-state.edu                   :
:                                                               :
.................................................................
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Soundfiles? How do I get from DAT to SGI?
Date: 11 Oct 92 21:10:04 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <81503@ut-emx.uucp> menoche@ccwf.cc.utexas.edu (Charles Paul Menoche) writes:

| The answer to this question is probably very easy and I'm just missing
| something.  I want transfer (record) some sounds from a DAT to the 
| SGI at school.  However, I want to do it through the Digital ins and
| outs of the respective machines.  I've got the cable situation working
| ok and have done DAT to DAT transfers, so the only question is what
| program or command is needed to do this on the SGI.  I also need to
| be able to save each soundfile in a way that they can be transfered and
| manipulated individually. Thanks for any answers.  The e-mail address
| above works or a follow-up to this news group.  Thanks. 

Start with 'man ALintro' and go from there.  If you have an Indigo,
you can also just read the data directly off the tape over the
SCSI bus, without going through the audio system at all.  If you
have 4.0.5{MM,E,F} you can use datman for this.  Otherwise you have
would have to write a program to do it yourself, and get the
new development libraries to read DAT audio data over SCSI (I'm
not even sure what they are calling the release that the libraries
are on).  See 'man DTintro' for info on this library.
--
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: ledwards@leland.Stanford.EDU (Laurence James Edwards)
Subject: Re: SCANF CRASHES PI (was: HELP: PI hangs on callobj)
Organization: DSG, Stanford University, CA 94305, USA
Date: Thu, 15 Oct 92 08:04:52 GMT

In article <r3kbujk@zuni.esd.sgi.com>, olson@anchor.esd.sgi.com (Dave Olson) writes:
|> In <1992Oct15.002122.27855@leland.Stanford.EDU> ledwards@leland.Stanford.EDU (Laurence James Edwards) writes:
|> 
|> | In article <1992Oct12.074443.26150@leland.Stanford.EDU>, ledwards@leland.Stanford.EDU (Laurence James Edwards) writes:
|> | |> My PI 25TG (IRIX 4.0.1, 16MB mem, GR1.2) keeps crashing when
|> | |> I try to draw 16 display list objects with the following number of
|> | |> faces, vertices and edges:
|> | |> [.....]
|> | |> When I say "crash" I mean the cursor freezes, I get no response from
|> | |> keyboard or mouse buttons and I can't log in remotely. I get no panic
|> | |> messages or anything ... its just completely frozen.
|> | |> [......]
|> | 
|> | Turns out that the problem was caused by scanf. I was using %d when I should
|> | have been using %f. I thought this kind of thing wasn't supposed to happen on
|> | a workstation with memory protection!?
|> 
|> It shouldn't.  I don't remember any similar bugs being filed/fixed
|> either.  If the program is small, please post it here, and we will
|> see if the bug is fixed in the current releases, otherwise someone
|> will put it on the buglist (or just call the TAC, if you prefer).
|> 
|> I'm assuming the problem was reproducible, at least to some degree.

Yes it was quite reproducible. The program is too big too post on the net,
I'll try to reduce it in size to just that which causes the crash
and then post. If I can't reduce the size enough and still get the bug I'll
contact TAC.

-Larry
From: eonu24@castle.ed.ac.uk (I Reid)
Newsgroups: comp.sys.sgi
Subject: Cross compilation for a 4D/35
Date: 12 Oct 92 21:35:11 GMT
Distribution: comp
Organization: Edinburgh University

I have access to a 4D/35 with no compiler/development stuff and a Sequent
machine (BSD 4.3 I think) which has gcc etc. Can I cross compile/assemble/link
binaries on the Sequent for use on the 4D/35. My feeling is that this is not
possible but I'm getting a little desperate to get some code running on the SGI
(and there's no money for the development stuff yet :-() so I thought I'd ask.

Many thanks,

Iain
From: po0o+@andrew.cmu.edu (Paul Andrew Olbrich)
Newsgroups: comp.sys.sgi
Subject: /dev/plp
Date: 10 Oct 92 23:52:50 GMT
Article-I.D.: andrew.UepxpGu00VAt8566tz
Organization: Doctoral student, Computer Science, Carnegie Mellon, Pittsburgh, PA

I hooked the data pins on the parallel port up to 
some LEDs (through appropriate resistors) with the
intention of making them flash by dumping random
characters to /dev/plp.

(Hooked them up to ground, too.)

Code that tries to write to the port just blocks
indefinitely.  What do I have to do to control
the pins?  Do I have to build hardware to make me
look like a printer?  How? 
Is there anyway to get around that?  It was so
simple back in the old days on my PC when I could
just push bytes out through port 03BC and nobody
would try to force me to stick to an
annoying protocol.

plp man pages are noninformative.

Drew Olbrich
po0o@andrew.cmu.edu
(please reply to this address)
From: tdn@orient.asd.sgi.com (Todd Newman)
Newsgroups: comp.sys.sgi
Subject: Re: Running X Programs
Date: 15 Oct 1992 21:56:54 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA
NNTP-Posting-Host: orient.asd.sgi.com

The default colormap for that workstation is 8 bits deep.  It's got
256 colors in it, of which 32 are pre-allocated (so that color index mode
GL applications can use the default colormap), leaving 224 free.

What else are you running on the workstation? If you run /usr/bin/X11/xshowcmap
what do you see?  I'd expect that most of the cells will be black.  I'm
running lots of windows in different colors and the default colormap is
still mostly empty.

Is this software you wrote or did you buy it?  If you wrote it, you can answer
some of these questions -- if you bought it, you probably don't know.  
What visual and depth is the CAD software using for creating its windows?
The first two paragraphs assume it's just using the default.  If you used
one of the 2 bit deep visuals, you'd only have four colors available.

Speaking of which, I don't understand the "could not allocate enough colors
only 4 available" error message.  The X server doesn't tell you how many
colors are available when AllocColors fails.  So where is that coming from?

More questions than answers,
	/tdn
From: mark@coombs.anu.edu.au (Mark)
Newsgroups: comp.sys.sgi
Subject: Re: protect except for one other person
Date: 15 Oct 92 04:42:22 GMT
Organization: Australian National University
NNTP-Posting-Host: 150.203.76.2
Organisation: Wassat?!

posse@masg6.epfl.ch (Christian Posse) writes:

>Is is possible to protect a directory so that only one other
>person can go in it ???
>I don't want to give access to the whole group according to the
>partition considered by chmod. How can only two persons read a directory ??

Have a subdirectory that only yourself and the other user knows about.

e.g.:

 /home/my_home ----> bin
				|--> lib
				|--> secretdir
				|--> work

The permissions on 'my_home' would be 710 (drwx--x---) so that anyone in the
group could go through your directory but not _read_ the file/directory names.
Then your other user could just cd my_home/secretdir and share the files in
there assuming they were readable and writable to the group.

It's 'security' through obscurity sure but it works none the less. Just make
sure you both keep the name of the directory secret.

Mark
markm@rmit.edu.au
mark@gnu.ai.mit.edu
Newsgroups: comp.sys.sgi
From: thc@iss.nus.sg (Tan Hooi Chuan - with gsingh)
Subject: Video Developer's tools, library,sample programs
Organization: Institute of Systems Science, NUS, Singapore
X-Newsreader: Tin 1.1 PL4
Date: Wed, 14 Oct 1992 09:54:10 GMT

Hi,


	I`m about to develop a simple video editor on my ELAN.  Can
	anyone please tell me where I can find public domain video
	developing tools, library etc etc ...  or any sample video
	editor.

	Any articles and documentation on video are needed also.

	If you know the whereabouts the above, kindly send me a email.


	Thanks in advance.


	thc


Xref: sparky comp.sys.sgi:14957 comp.unix.questions:12008
From: posse@masg6.epfl.ch (Christian Posse)
Newsgroups: comp.sys.sgi,comp.unix.questions
Subject: protect except for one other person
Date: 12 Oct 92 07:05:18 GMT
Followup-To: comp.sys.sgi
Organization: Swiss Federal Institute of Technology

Dear gurus !

I have a question I think with no answer, but not sure

Is is possible to protect a directory so that only one other
person can go in it ???

I don't want to give access to the whole group according to the
partition considered by chmod. How can only two persons read a directory ??

Our Unix is SYSV based.

Thanks a lot in advance !

Christian

-------------------------------------------------------------------------------
     ____/  __  /  ____/   /   Christian POSSE
    /      /   /  /       /    Swiss Federal Institute of Technology
   ____/  ____/   ____/  /     DMA-Ecublens                                   
  /      /       /      /      CH-1015 Lausanne (Switzerland)
_____/ _/      _/     _____/   
  			       e-mail : posse@masg6.epfl.ch  or
					posse@dma.epfl.ch

 ... Trying to establish voice contact ... please yell into keyboard ....
-------------------------------------------------------------------------------
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: PLEASE!  read the group before asking questions.
Date: 13 Oct 92 00:40:22 GMT
Expires: Fri, 1 Jan 1993 00:00:00 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

Recently there have been a series of requests for various pieces of
information that have already been asked within the past few weeks.

I realize that some places expire news quickly, but surely most
places most keep the 'important' groups for at least a couple of
weeks.

I know that we don't have an FAQ for the group, but still, please
check the recent articles before asking again.  I'm starting to
reach the point where I won't answer some questions, just because
they are too frequent (or were just answered recently).

Probably the people asking repeat questions won't see or remember
this, but you never know.

There are archive sites for comp.sys.sgi (on sgi.com in
~ftp/comp.sys.sgi, among others) if you can't find them on your own
news machines.
--
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: portuesi@tweezers.esd.sgi.com (Michael Portuesi)
Newsgroups: comp.sys.sgi
Subject: Re: Need help in Showcase!!
Date: 7 Oct 92 17:12:53 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA


In article <1992Oct5.180906.25818@eos.arc.nasa.gov>, prevost@eos.arc.nasa.gov writes:
> portuesi@tweezers.esd.sgi.com (Michael Portuesi) writes:
> 
> 
> >You have now created two linked text blocks which go across
> >pages.  Any text that will not fit on the first page will
> >automatically flow to the next.
> 
> What if you are reading in a 50 page RTF file and want to view
> it as 50 linked pages ( if they are in a scrollable window I 
> can't print it! ). Do you have to go through this process 50 
> times? Even if you use templates, and you should or the pages 
> will not be exactly aligned, it a lot of effort.

Here is what you would do:

	1. Create a template, with an editable text block on
	   the page, which is automatically connected to the
	   preceding page.  To do this, put down your text
	   block on the template and select it.  Then hold
	   down the Alt key while clicking the left and right
	   hand sides of the "Connect blocks:" icon in the Text
	   Gizmo.

	2. Open the first page of your document, and apply
	   the template to the page.

	3. Open the text block for editing.  Choose
	   "Import...RTF" from the File menu.  Enter your
	   RTF file name.

	   At this point, all 50 pages of the RTF file will
	   be placed into the text block.  You will only see
	   the first page.  Green arrows at the bottom of the
	   text block indicate unseen material.

	4. Close the text block (Alt-E or choose "Done Editing")
	   from the File menu.  Choose "New Page" off
	   the Page menu.  Each time you choose "New Page", a
	   new page is inserted, automatically linked to the
	   page before it, and filled with another page of text
	   from your RTF file.

	5. Continue choosing "New Page" until enough pages have
	   been created to contain the entire file.

> I'd like to use Showcase for online documentation but I'm not
> going to do this for all the files we have.

Admittedly, step 5 is tedious, but it is not as much effort as
you initially descirbe, and it's not like you have to
retype the entire document or anything.

Ideally, if you are creating online documentation, you should
take advantage of the Showcase hyperlink capabilities.  This
involves more work than mechanically importing documents, so
you will be tending to your entire document set anyway, finding
proper places to insert hyperlinks for document navigation.

--
Michael Portuesi   Silicon Graphics, Inc.   portuesi@sgi.com
Newsgroups: comp.sys.sgi
From: randy@tessa.iaf.uiowa.edu (randy frank)
Subject: Is there a bug in lRGBra (Fortran)?
Date: Thu, 8 Oct 1992 16:08:31 GMT
Distribution: na
Organization: University of Iowa, Image Analysis Facility

Hello,
	I was playing with some RGB depth cued renderings the other day
and I think I found a problem with the man pages or the routine: lRGBra

The man pages say: 
FORTRAN 77 SPECIFICATION
     subroutine lRGBra(rmin, gmin, bmin, rmax, gmax, bmax, znear, zfar)
     integer*2 rmin, gmin, bmin, rmax, gmax, bmax
     integer*4 znear, zfar

     However, if I pass an integer*2 variable for any of the mins or maxs,
the program drops core.  If I pass an integer*4 variable or a value,
the routine works fine.  I touched up the depthcue.f example for RGBmode
to verify it was not a problem with my code.  I have the example which
illustrates the problem should anyone want it.  I have worked around it
by declaring my variables as I*4 and my code works just fine, it just
seems that the parameters are documented wrong in the man pages.

This was found to be true in IRIX 4.0.1,4.0.2,4.0.4, I have not checked
4.0.5.


--
rjf.
Randy Frank, Engineer                       |  (319) 335-6712       
University of Iowa, Image Analysis Facility |  73 EMRB              
randy@tessa.iaf.uiowa.edu                   |  Iowa City, IA 52242  
Newsgroups: comp.sys.sgi,comp.sys.hp,comp.unix.admin