HDTenEightyP/NetNews huggingface dataset:
From: blbates@aero36.larc.nasa.gov (Brent L. Bates ViGYAN AAD/TAB)
Newsgroups: comp.sys.sgi
Subject: Re:  Help for my binary read !!!
Date: 20 Aug 92 14:21:20 GMT


   You didn't say how you were opening the file in FORTRAN, what IRIX level
you are running or what type of machine you are using.

   You probably opened the file as `unformatted' under FORTRAN.  Unformatted
files have record marks in them, that would account for extra bytes.
I think the results would be similar if you openned the file as form="BINARY".
This isn't REALLY a binary file.  Under IRIX > 4.0, use form="SYSTEM", this
will give you a REAL binary file that you can read in your C application.
Hope this helps.

(Third mail attempt.  Posting now since your machine refuses to accept mail,
and responds with the following error message:
421 paul.rutgers.edu.inet... Deferred: Connection refused by paul.rutgers.edu
)

  Brent L. Bates				Phone:(804) 864-2854
  M.S. 361			  		  FAX:(804) 864-8469
  NASA Langley Research Center
  Hampton, Virginia  23681-0001
  E-mail: blbates@aero36.larc.nasa.gov or blbates@aero00.larc.nasa.gov
Newsgroups: comp.sys.sgi
From: Jim Barrett <Barrett_Jim@ial3.jsc.nasa.gov>
Subject: How do I re-direct a symbol at link time?
X-Xxdate: Thu, 13 Aug 92 16:35:21 GMT
Organization: Lockheed Engineering & Sciences Co.
X-Useragent: Nuntius v1.1.1d7
Date: Thu, 13 Aug 1992 15:36:06 GMT

I would like to tell the linker to remap a symbol at load time.

Specifically, if I am calling a  subroutine named 'x', I would like to tell
the linker to load subroutine 'y' in place of 'x'.  Can I do this?

I'm trying this in fortran, but would also like to do it in C, if possible.

Advance thanks,

Jim
--
Jim Barrett                Lockheed Engineering & Sciences Co., Houston, TX
Barrett_Jim@ial3.jsc.nasa.gov                                  713-333-6103
Newsgroups: comp.sys.sgi,comp.sys.mips,comp.unix.misc,comp.unix.questions
From: underdog@leland.Stanford.EDU (Dwight Joe)
Subject: Summary of (Re: Grep-ing for Constants (Re: Assembler Syntax...))
Keywords: recap of "EXPORT", grep, UTLB exception handler
Organization: Miners for a Heart of Gold
Date: Wed, 19 Aug 92 23:54:43 GMT

In article <1992Aug18.060851.11721@leland.Stanford.EDU>
underdog@leland.Stanford.EDU (Dwight Joe) writes:
>...  In the handler, there are some constants
>which have symbolic labels that are defined else.  For example,
>consider the following:
>           #define VALUE_1   8888
>In the past, when I needed to locate the actual value of a symbolic label
>like VALUE_1, I could just do "grep VALUE_1 *.*", which would search
>all files at my current level of the directory for a match with "VALUE_1".
>Then, usually, the line "#define VALUE_1 8888" would appear.
>Unfortunately, the code for the OS is distributed across multiple
>directories.  Is there a way to use grep (or some other command)
>to do the search across all files at my current level of the directory
>_and_ subdirectories below the current level--all at once?
>It is also important that the path name of the file with a match
>appear so that I can find the file producing the match.
>Please respond by e-mail.  I will produce a summary of any replies that I
>receive.

I received numerous replies.

The one with the simplest explanation was

   Try:
     find . -exec grep your_string {} \; -print | pg

I've tried it, and it works.  Most of the other replies had
variations on combining "find" and "grep".

The only trouble with the suggestions is that they don't filter
files for ones in which I do not want to search for a string.
For example, obviously, I don't want to search in an executable
file.

Is there a way to specify "search everything _but_ object files
and executable files"?



-------------------------------------------------------------------------------
Seikatsu no imi wa nan desu ka.            \|  |`      | Don't buy from Toyota;
Shitte itara oshiete kuremasen ka.          | -+-      | especially, don't buy
                                           /| / \      | from Capitol Toyota in
Copyright 1992.                                        | San Jose, California.
-------------------------------------------------------------------------------
From: senseman@ricky.brainlab.utsa.edu (David M. Senseman)
Newsgroups: comp.sys.sgi
Subject: Modem Question
Date: 15 Aug 92 01:53:13 GMT
Organization: University of Texas at San Antonio

I have an IBM 5842 modem (2400 baud) attached to an Indigo
running IRIX 4.0.5 on ttym2. The modem works fine receiving
calls. 

My question is this. I would like to set a status register to
a new value (S0=5) so it answers on the 5th ring. How can I send
a simple ASCII command to the modem? I tried the following:
	echo "AT S0=6" > /dev/ttym2
but nothing happens. 

Any suggestions?

Thanks.
-- 
David M. Senseman (senseman@lonestar.utsa.edu)
Division of Life Sciences
The University of Texas at San Antonio
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: 4.0.5 A/B/C/D ???
Date: 14 Aug 92 20:52:01 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <BszLxJ.7s6@helios.physics.utoronto.ca> sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:

| Gack!  If I read this correctly, this means that I'll need to keep *two* sets
| of CDs kicking around, one for my R4K Indigos, and one for everything else.

Well, one for all of your indigo's (r3k and r4k), and one for everything
else.  4.0.5D will only install on supported hardware; it will refuse
to install elsewhere.

| And not only will I have to keep track of what's what, but I presume that I'll
| actually have *three* things to deal with:  The full 4.0.5D release for the R4K
| Indigo we recently ordered; the 4.0.1=>4.0.5 maintenance release for our PIs and
| R3K Indigos; and a different 4.0.1=>4.0.5 maintenance release for the R3K=>R4K
| Indigo upgrade that we ordered.

4.0.5D will contain all of the maint images up through and including 
4.0.5B (maybe C?), as well as one or 2 r4k indigo specific maint images.
The r4k indigo maint images will require you to have 4.0.5D already
installed, since the version # in the images changed; the others are
the identical images that went with 4.0.5.

| Anyway, is there any particular reason that 4.0.5D couldn't have been made to
| support the old hardware, so that a common set of CDs could be used for all our
| systems?  When *will* there be a common release that supports both R4K Indigos
| and the older stuff?  4.0.5E?  4.0.6?  Any time estimate?

Yes, the reason is we would have had to do far more extensive testing, and
a number of our geometry partners and VARs would have been very upset at
having to qualify yet another new release.

4.0.6, should there be such a release, will probably be a general release
for all platforms, including r4k indigo and RE.
--
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: mash@mips.com (John Mashey)
Newsgroups: comp.sys.sgi
Subject: Re: R4000 compiler directive, is there one ???
Date: 18 Aug 92 01:54:46 GMT
Organization: MIPS Computer Systems, Inc.
NNTP-Posting-Host: winchester.mips.com

In article <olujgk4@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
>| It's my understanding that MIPS specifically did NOT want to use
>| code optimized specifically for the R4000 in the Specmark suite.
>| To wit: I believe the code wasn't even compiled -mips2 (which
>| is clearly supported), much less with -r4000.

Well, actually we used both the last time we did the benchmarks,
and put out the results on the ARCsystems...

There is an ongoing argument about flags within SPEC, which is
what you may have been thinking of.

Personally, I'd love to see people provide both numbers:
	a) With a minimal set of options that you'd likely use across
	almost everything by default.
	b) All-out tuning.
But, for the time being, b) is what everybody is doing; maybe there will
get to be a good set of rules for a), but so far, there aren't.
In particular, for SGI's customer base, I don't see any great problem
with b), as at least some people will commit *vile acts* if needed
to make things go faster :-)  This was less so with MIPS' customer base,
but there were some there who would do anything, too...
-- 
-john mashey	DISCLAIMER: <generic disclaimer, I speak for me only, etc>
UUCP: 	 mash@mips.com [soon to be mash@sgi.com, but not quite moved yet].
DDD:  	408-524-7015,  or 524-8253
USPS:	(soon) Silicon Graphics, 2011 N. Shoreline Blvd, Mountain View, CA 94043
From: karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu))
Newsgroups: comp.sys.sgi
Subject: 4.0.5 distribution bottleneck
Date: 23 Aug 92 04:04:35 GMT


It seems that you have to ask for the 4.0.5 update, but now that
EVERYONE is asking, the TAC is giving ship date into next month.

Now, why not distribute it by a one time only anon ftp account
on sgi.com ? You get a password that expires one day after you
use it with your paid subscription. 

That should reduce the cost of the distribution to almost nothing. No
tapes, no CD's. Only the cost of telling someone a one shot password,
and the procedure to ftp an inst'able image from the net.

While this may enrage some who who do not have ftp access, it
will make us net creatures very happy.

I am certain some bright fellow at sgi can engineer one shot distribution
accounts. Sort of a public/private key distribution system. If I even
think about it for a few min, I can see how simple it would be...

And I know how much SGI likes to save money!

Dan.
| karron@nyu.edu (e-mail alias )         Dan Karron, Research Associate      |
| Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  |
| 560 First Avenue                       Digital Pager <1> (212) 397 9330    |
| New York, New York 10016               <2> 10896   <3> <your-number-here>  |
``Too busy doing to write about it, too busy writing to do anything about it.''
Newsgroups: comp.sys.sgi
From: gln@iti.org (Glen Niebur)
Subject: DXF Reader
Summary: I want a routine to read DXF files
Keywords: AutoCAD DXF
Organization: Mayo Foundation, Rochester MN. Campus
Date: 21 Aug 92 19:29:32 GMT

I know this has been asked before, and i apologize for not having listened.
Does anyone have some code to read an AutoCAD DXF file.  We want to read
the geometry in and do all of the things you can't do on a PC.  (e. g. get
a decent picture of it)

TIA

glen

--
Glen Niebur     | These sobering sights i've seen in the city of angels
Mayo Clinic     | have all been one rude awakening that was due to me
Biomechanics Lab|  ...in heaven
gln@mayo.edu    |            ~Natalie Merchant
From: pxb@leicester.ac.uk (P. Burnham)
Newsgroups: comp.sys.sgi
Subject: UK User Group
Date: 19 Aug 92 08:29:44 GMT

SILICON GRAPHICS UK ACADEMIC USER GROUP

This user group has been set up to deal with the needs of SGI users within
UK Academic institutions. A management group has been established and is open
to Directors, or their delegated representative, of centrally managed
services.

Two Special Interest Groups have been established and will hold their
inaugural meetings in the latter half of 1992. The Systems SIG will deal 
with issues of systems administration, networking and operations. The 
Applications SIG will deal with applications software and all other 
user-related issues. 

Anyone interested in the above should contact the following:

Management Group: John Wilson, Computer Centre, University of Leicester, 
LE1 7RH. Email: JDW@uk.ac.leicester

Applications SIG: Paul Ellison, Computer Centre, University of Exeter, Laver
Building, North Park Road, Exeter, EX4 4QE. Email: P.A.Ellison@uk.ac.exeter

Systems SIG: Peter Burnham, Computer Centre, University of Leicester, LE1 7RH.
Email: PXB @uk.ac.leicester
Newsgroups: comp.sys.sgi
From: scotth@hoshi.corp.sgi.com (Scott Henry)
Subject: Re: /etc/passwd gone or corrupted: what now?
Organization: Silicon Graphics Inc, Mountain View, CA
Date: Thu, 13 Aug 1992 16:13:01 GMT


>>>>> In article <1992Aug13.162916.13009@gdr.bath.ac.uk>, chpetk@gdr.bath.ac.uk (Toby Kelsey) writes:

chpetk> I needed to change my login shell. So I logged in as root
chpetk> and performed
chpetk> 	passmgmt -m -s /bin/sh toby
chpetk> When I logged out there was a kernel panic with a message
chpetk> 	"software detected SEGV"
chpetk> and the system wrote a corefile.
chpetk> We reset the machine as requested. When checking the disk
chpetk> using fsck all was OK apart from
chpetk> 	su: unknown id: sys
chpetk> 	chown: unknown id: root
chpetk> The login screen showed no users at all.
chpetk> Trying to start it in single-user mode gave something like
chpetk> 	su: no such user: root
chpetk> repeatedly.  We can ping the machine, but cannot ftp or
chpetk> telnet or rlogin to it.

chpetk> This is with Irix 4.0.1 on a 4D/35

It sounds like you hosed /etc/passwd. The only way I know to recover
is to boot the miniroot (like you were loading software), then run a
sh. Look to see if there is a backup copy in /root/etc, otherwise
you'll have to `cp /etc/passwd /root/etc` and then restore /etc/passwd
after quiting & rebooting (you do do backups, don't you?).

Any further problems, you should call the TAC if you are on
maintenance.

=-=-=
--
 Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
 Networking Services,        / Help! My disclaimer is missing!
 Silicon Graphics, Inc      / GIGO *really* means: Garbage in, Gospel Out
Newsgroups: comp.sys.sgi
From: dave@master.chem.yale.edu (David Maxwell)
Subject: Re: BattleZone + DogFight = WARZONE ?
Organization: Yale University, Department of Computer Science, New Haven, CT
Date: Thu, 13 Aug 1992 21:34:08 GMT

From article <Bsxu6L.Iy6@acsu.buffalo.edu>, by stein-c@acsu.buffalo.edu (Craig Steinberger):
> Just out of curiosity, is it possible to have the binaries of the latest
> versions of the game-type demos (i.e. flight/dog, bz, and whatever else)
> avaliable at a FTP site? I realize it's not a priority to release them
> quickly in OS updates, but this would be kind o' neat.
> 
> -Craig
> -- 
> Craig Steinberger                               stein-c@eng.buffalo.edu
>               SUNY at Buffalo, Computational Fluid Dynamics Lab

Speaking of games, are there new versions that run on the Indigo?
I'm speaking of those such as in the Irisgames collection, 3-D
asteroids, etc.  Is sound implemented also?

BTW, I have noticed that some programs that compile with in IRIX 3.0.x
give a number of errors when trying to compile with 4.0.x.  Changing
the switch settings doesn't help (Ex. -cckr).  The programs that I'm
mainly speaking of residue at the normal sgi ftp sites.  What is
major reason for this?
From: senseman@ricky.brainlab.utsa.edu (David M. Senseman)
Newsgroups: comp.sys.sgi
Subject: Re: Videos from the screen?
Date: 18 Aug 92 02:42:11 GMT
Distribution: na
Organization: University of Texas at San Antonio

In article <1992Aug17.223534.4239@imax.imax.com> dave@imax.imax.com (Dave Martindale) writes:
>
>I tried "setmon ntsc" on my XS24 and looked at the video output on an
>oscilloscope.  It sure looked like properly-timed NTSC, within the
>measurement accuracy of the 'scope.  All three of RGB have embedded sync.
>So it *looks* like you could connect this directly to a video recorder
>with RGB inputs, such as the Sony LVR-5000 or LVR-3000 write-once videodisc.
>Has anyone actually tried this?
>
>A smaller issue: Does anyone know of a source of reasonably-priced
>video cables to do this?  They'd need a 13W3 connector on one end
>and BNC RGB connectors on the other end.  And how should the other
>pins on the 13W3 be connected when there isn't a monitor on the far end?
>

Funny you ask this -- I was on the phone today with SGI Express about this 
very issue. SGI does make a cable that is a "13W3-to-BNC" (Part number
0188105001). I think the cost is about $100 (but don't quote me :)

The small pins are used to code for the monitor type. They form a
passive circuit so they don't have to be connected BUT if they
aren't connected, the Indigo defaults to the 19 inch Hitachi.
If you have a smaller SONY monitor (like us) this is not good :-(
Someone from SGI correct me if I'm wrong, but I think I was told that 
you CAN'T set the monitor type in software. (Doesn't sound right but 
that's what I'm told).

One idea we had was to buy two of these 13W3-to-BNC cables and use
3 BNC "T" connectors to split-off the RGB signals into a CHEAP
encoder box we are building using the new Motorola MC13077 encoder chip.
However $200 just for cables seems a bit much since we only plan to
spend $30 - $50 dollars for the whole encoder box. 

A better idea would be to buy two (2) panel mount female AMP 13W3 connectors
and wire them pin-for-pin and run your existing SGI monitor cable from
the Indigo into one connector and a home-made cable from the second
connector to the monitor (i.e. you buy 2 male and 2 female connectors
from AMP). Now, you can easily pick off the RGB signals and run them
through some Radio Shack video ampfilers (to avoid signal degradation)
on their way to the MC13077 encoder chip. Buy a small power supply,
a couple of resistors, a switch, etc. and your making videos! 

I haven't received the Spec's on the MC13077 but I think it supports 
S-VHS as well as VHS.

We are still in the design stage of our CHEAP ELAN VIDEO OPTION and
would welcome any comments and/or suggestions. We will post the
success (or failure) of our project if anyone shows the slightest
interest.


-- 
David M. Senseman (senseman@lonestar.utsa.edu)
Division of Life Sciences
The University of Texas at San Antonio
From: senseman@ricky.brainlab.utsa.edu (David M. Senseman)
Newsgroups: comp.sys.sgi
Subject: Re: Video Card RGB
Date: 22 Aug 92 01:50:23 GMT
Organization: University of Texas at San Antonio

In article <1992Aug21.205054.23835@odin.corp.sgi.com> mohsen@pele.csd.sgi.com (Mohsen Hosseini) writes:
>In article <1992Aug20.233402.3335@news.nd.edu>, pbays@bach.helios.nd.edu (phil bays) writes:
>|> In order to make the cable to connect to the 9 pin 
>|> RGB input of the projection TV I need to know the 
>|> RGB pin outs for the video bard.  I have talked to my 
>|> local sales and tech people, the hot line, e mail to 
>|> California tech, etc.  In every case, the initial 
>|> statement is "that should be easy, we'll get back to 
>|> you tomorrow."   The has been going on for three of 
>|> four weeks and no one - NO ONE has called me back 
>|> yet.  I keep calling and getting the same response - 
>|> "we'll call you back" - but alas my phone remains 
>|> silent.  Classes start next week.  I would really like to 
>|> get this going.  Can anyone out there help???
>
>
>If you are talking about the pinout for the 15pin connector without the
>startervideo option, here it is:
>
>Pin	Signal
>1	red
>2	green
>3	blue
>4	-not used
>5	GND
>6	GND
>7	GND
>8	GND
>10	GND
>11	GND
>12	- Not used
>13	H sync
>14	V sync
>15	- not used
>
>

What pins are we talking about here? Is this the pins on the
AMP 13W3 pins from the back of the Indigo to the monitor?
If it is, why was I told by an SGI techie that the small pins
were used to signal the monitor type? Are the GND pins used for
this or are the UNUSED pins used for this?  Gaack!

Boy, it sure would be nice for if there was a Dave or a Vernon
for the video stuff.
-- 
David M. Senseman (senseman@lonestar.utsa.edu)
Division of Life Sciences
The University of Texas at San Antonio 
Newsgroups: comp.sys.sgi,comp.sys.mips,comp.unix.misc,comp.unix.questions
From: rogerk@queernet.org (Roger B.A. Klorese)
Subject: Re: Summary of (Re: Grep-ing for Constants (Re: Assembler Syntax...))
Organization: QueerNet
Date: Thu, 20 Aug 92 00:47:48 GMT
Keywords: recap of "EXPORT", grep, UTLB exception handler

In article <1992Aug19.235443.21099@leland.Stanford.EDU> underdog@leland.Stanford.EDU (Dwight Joe) writes:
>Is there a way to specify "search everything _but_ object files
>and executable files"?

Yes, there (pretty much) is.

I'll give you a hint:

* Object files have names ending in ".o"
* Executable files have the executable bit on in their permissions

--- Or use the following facts:

* Source files have a ".c" suffix
* Include files have a ".h" suffix

Now see how these are used in the find(1) man page.
-- 
ROGER B.A. KLORESE                                              +1 415 ALL-ARFF
rogerk@unpc.QueerNet.ORG                 {ames,decwrl,pyramid}!mips!unpc!rogerk
"Normal is not something to aspire to, it's something to get away from."
                                                                   -- J. Foster
From: cullip@pooh.cs.unc.edu (Timothy Cullip)
Newsgroups: comp.sys.sgi
Subject: Marketing Triangle performance (how do I acheive it)
Date: 19 Aug 92 14:34:07 GMT
Distribution: usa

I'm sure this has been covered in the past (probably several times), but
I am looking for example code that gives the 1 Mega tris/sec for a VGX 
that the marketing pamplets all talk about.

We have a PowerSeries 4D/340 VGX with 128 Megs of memory.

I've written a program that opens a 500x500 pixel window in RGBmode,
double buffered with zbuffer off.
It uses triangle meshes (200 meshes of 400 triangles each).
Each triangle typically covers about a 3x3 pixel area (very small).
It makes no calls to n3f (just v3f for the vertices) and uses shademodel(FLAT).
It does no lmdef or lmbinds to define material or ligh properties.

It only gets 450 K tris/sec.


Interestingly, if I use an lmdef and lmbind to define a material and light,
(use phong lighting with gouraud shading) and use n3f() and v3f() at each 
vertex and turn the zbuffer on I still get about 400 K tris/sec.

I'm not surprised that with all the bells and whistles turned on I get
400 K tris/sec, but I am surprised that with them turned off I only
get 450 K tris/sec.

Have I missed something? 

Does someone have an example program that puts out 1 Mega tris/sec on a 
VGX machine? Even though such performance isn't realizable in a real 
world program that would be useful to me, I'd like to see my machine 
perform at that level just once to satisfy my curiosity.



-- 

   Tim Cullip
   cullip@cs.unc.edu
From: srp@babar.mmwb.ucsf.edu (Scott R. Presnell)
Newsgroups: comp.sys.sgi
Subject: Re: How to build a System-Disk ??
Date: 17 Aug 92 05:07:21 GMT
Organization: UCSF Computer Graphics Lab

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

>In <vC+vr*Qw0@video1.bs.open.de> achim@video1.bs.open.de (Joachim Gothe) writes:
>| Is there anywhere a complete discription, how to build a System-disk
>| for a 4D/xx or Indigo???
>| 
>| There are many commands like fs, mkfs and the miniroot in the manuals,
>| but nowhere a description, how to make a System-Disk with an empty
>| SCSI-Disk and a CD-Rom or Tape.

>The instructions are quite clear.  It is called 'installing software'
>(well, > 95% of it is).  The Installation Guide is quite clear on all
>of that.  That process will make filesystems if required, so you
>don't need to worry about that much.

>The Installation Guide even contains instructions on how to boot
>the standalone fx from the various types of installation media,
>and how to determine which fx to boot (there are several different
>versions, depending on your hardware type).

>If after reading the Installation Guide, something still isn't clear,
>please let me know.  I spent a lot of time working with the author
>if the I.G. to make it very straightforward and simple.

Indeed. I just wanted to comment that I felt the Software Installation
Guide is now really a usable piece of reference material.  A much better
guide than was available during the IRIX 3.* days.  I spent some time
recently repartitioning and rebuilding several of our drives.  I appreciate
the time that was put into this guide.

	Thanks.
-- 
Scott Presnell				        +1 (415) 476-9890
Pharmaceutical Chemistry, S-926			srp@cgl.ucsf.edu
University of California
San Francisco, CA 94143-0446			
Newsgroups: comp.sys.sgi