HDTenEightyP/NetNews huggingface dataset:
From: emmerik@utrcu1.civ.utwente.nl (Emmerik P.J.L. van)
Subject: FILE *yyin=stdin; not ANSI-C??
Organization: University of Twente
Date: Thu, 8 Oct 1992 22:10:26 GMT

The following looks to me perfectly legal ANSI-C code.

sgi-cad> cat test.c
# include <stdio.h>
FILE *yyin = {stdin}, *yyout = {stdout};
main()
{
}

Nevertheless i get the following results when compiling on a
Silicon Graphics workstation:

sgi-cad> cc -cckr test.c
sgi-cad> cc -ansi test.c
accom: Error: test.c, line 2: integer constant expected
       FILE *yyin = {   (__stdin) }, *yyout = { (__stdout) };
       ---------------------------^
sgi-cad> cc -xansi test.c
sgi-cad> cc -ansiposix test.c
accom: Error: test.c, line 2: integer constant expected
       FILE *yyin = {   (__stdin) }, *yyout = { (__stdout) };
       ---------------------------^

Who is wrong, me or the SGI C-compiler?
If i am wrong, how do i initialize a FILE pointer to point to
standard input/output.

I am working with version 4.0.1 of the IRIS operating system.

Pleace Email to emmerik@utwente.nl

-- 
Pieter van Emmerik                    | Phone:  +31-74-464231
HDS info management                   | FAX:    +31-74-464110
P.O.box 23                            | E-mail: emmerik@utwente.nl
7550 AA  Hengelo, The Netherlands     |         hp4nl!utrcu1!emmerik
From: arka@spiro.princeton.edu (Arka Mukherjee)
Newsgroups: comp.sys.sgi
Subject: (none)
Date: 10 Oct 92 05:02:18 GMT

Dave,

I'm having a problem that I just can't figure out.

In my /debug directory, I have a bunch of files that are taking   
up quite a bit of space.

spiro 2# du /debug
62452   /debug

The permissions of these files are :

-rw-------   1 root     sys      2527232 Oct  9 20:38 09783
-rw-------   1 root     sys      2068480 Oct  9 20:38 09788

So I should be able to delete them if I login as root, right?

When I try that, here's what I get :

spiro 3# cd /debug
spiro 4# whoami
root
spiro 5# rm *
rm: 00001 not removed.
No permission match
rm: 00002 not removed.
No permission match
rm: 00003 not removed.
No permission match
rm: 00028 not removed.
No permission match
rm: 00069 not removed.
...............................

What's going on here? 

Arka
From: schuman@eacces.wpd.sgi.com (Aaron Schuman)
Newsgroups: comp.sys.sgi
Subject: Re: Looking for someone - please read
Date: 13 Oct 92 20:53:59 GMT
Organization: Silicon Graphics 415-390-1901
NNTP-Posting-Host: eacces.wpd.sgi.com

>  I only wish the SGI computers had an undelete feature or program
>  (like Norton's Utilities).

How about this:  alias rm '/bin/mv \!* /tmp'

Then you just have to remember to clean up /tmp occasionally.



					Aaron

.............................................................................
Aaron Schuman     415-390-1901     schuman@sgi.com     Silicon Graphics, Inc.
Newsgroups: comp.sys.sgi
From: geomagic@seismo.do.usbr.gov (Dan O'Connell)
Subject: How many powerchannels boards can fit in a Crimson?
Organization: USBR, Seismotectonics & Geophysics, Denver
Date: Fri, 9 Oct 1992 15:51:02 GMT

Newsgroups: comp.sys.sgi
From: geomagic@seismo.do.usbr.gov (Dan O'Connell)
Subject: How many Power Channels in a Crimson?
Organization: Seismotectonics Group, U.S. Bureau of Reclamation.
Date: Thu, 8 Oct 1992 17:14:02 GMT


We have a Crimson with the standard IO3B PowerChannel board.

(1) Can we add a second IO3B PowerChannel board to get two more
    SCSI channels?

(2) If yes to (1), will we be able to purchases a fast SCSI-2
    version of the IO3B anytime soon?

(3) Or is the differential VME dual-channel SCSI board our only option?

Thanks for any info.

-- 
Dan O'Connell
geomagic@seismo.do.usbr.gov
Seismotectonics Group, U.S. Bureau of Reclamation
-- 
Dan O'Connell
geomagic@seismo.do.usbr.gov
Seismotectonics Group, U.S. Bureau of Reclamation
Newsgroups: comp.sys.sgi
From: carsten@Informatik.TU-Muenchen.DE (Carsten Trinitis)
Subject: gnu emacs
Originator: carsten@vega
Reply-To: carsten@hsa.e-technik.tu-muenchen.de
Organization: Lehrstuhl fuer Hochspannungstechnik, TU Munich
Date: Wed, 7 Oct 1992 16:52:02 GMT


Hi,
has anyone treid or managed to install
GNU emacs 18.58 on an INDIGO R4000?
What macros do i have to define?
Thanx
  Carsten

-- 
| Carsten Trinitis  (carsten@hsa.e-technik.tu-muenchen.de)  |
| Lehrstuhl fuer Hochspannungs- und Anlagentechnik,         |
| Technical University of Munich, Arcisstrasse 21,          |
| D-8000 Muenchen 2,                 WEST Germany           |
From: shah@fnsony.fnal.gov (Hemant Shah)
Newsgroups: comp.sys.sgi
Subject: How to find which system (4D/30, Indigo,etc) am I logged onto ?
Date: 7 Oct 1992 22:46:40 GMT
Organization: Fermi National Accelerator Laboratory, Batavia, IL
Distribution: world
Reply-To: shah@fnalb.fnal.gov
NNTP-Posting-Host: fnsony.fnal.gov

Is there a way that I can find out the which type of the machine am I on ?
For example - Suppose I telnet to an SGI system, how can I tell whether it is a
4D/25 or Indigo, or any other SGI model. 

What does it mean by CPU type is IP6, or IP7 are these CPU types unique for
each model ??
-- 
-------------------------------------------------------------------------------
Hemant Shah                            | All the opinions expressed are my own
Fermi National Accelerator Laboratory  | and does not necessarily reflect
Systems Integration Group              | those of Fermilab.
E-mail :shah@fnal.fnal.gov             |
 Voice : (708) 840-8071	               | I haven't lost my mind
   Fax : (708) 840-2783                | it's backed on tape somewhere.
-------------------------------------------------------------------------------
Newsgroups: comp.sys.sgi
From: patg@imp.ch (Patrick Guelat)
Subject: Re: Bug in SGI's malloc?
Organization: Improware AG, Fuellinsdorf, Switzerland
Date: Thu, 15 Oct 1992 15:32:25 GMT


Talking about malloc and sbrk leads to one of the general problems of unix VM : 

-->  SBRK !

The sbrk() method to gather more dataspace is very poor and predates VM.
Although sbrk doesn't allocate all the pages I think this method is outdated.

Consider the following : 

A process (e.g. Xserver) allocates a VERY large chunk of memory for a huge pixmap.
This pixmap is used during a few minutes, but in between the segment has been 
enlarged again by sbrk() for some smaller chunks. Now the pixmap is freed, but
the pages are not, since the datasegment can't be shortened because there is
still memory in use 'after' that big chunk..

Instead of sbrk there should be systemcalls to aquire / release pages directly.
That lead to far more efficient VM-usage.

I'm not an operating system builder, nor expert in VM, so I don't know if
such an implementation is feasible, but I sometimes just get angry when
I see that Xsgi eats up 50 MB of VM space after working with large pixmaps
(e.g. 24 bit color-tiff-pictures) and the only method to free this is to 
KILL (!!) the X-server.

  --Patrick

-- 
Patrick Guelat, Improware AG Switzerland, CH-4414 Fuellinsdorf
Internet: patg@imp.ch 
Newsgroups: comp.sys.sgi
From: apas611@chpc.utexas.edu (David Boles)
Subject: using non-default visuals and colormaps under Motif and/or X
Organization: The University of Texas System - CHPC
Date: Sun, 11 Oct 92 20:48:18 GMT

Hello,

I've been trying to write some display code on my SGI (310/VGX, running
4.0.1) that will display graphics in the non-default visual and using
a nondefault colormap.  I am unable to open a window in anything other
than the default depth (24 bits normally).  After I restart the server
in 8 bit mode, I can open the windows (using the default depth in this
case).  However, although I can create a colormap using XCreateColormap,
my attempts to attach this colormap to my window (DrawingArea widget)
are refused by the server with a BadMatch error.

This appears to be extraordinarily poorly documented by the O'Reilly
books and the OSF docs.  Virtually all of the examples and sample code
uses default depths and/or colormaps.  Why is this the case?  If you are
writing a front-end for a spreadsheet that makes sense, but if you are
doing something techinical like I would guess most users of X are, you
need to be able to manipulate colormaps in clear, well defined ways.
Opening an 8-bit window with it's own grayscale colormap on a 24-bit
system _should_ be hysterically easy, but it's not even mentioned and
appears to be rather complicated.

Could some of you seasoned X/Motif programmers send me some examples of
code that when started on a 24-bit SGI, will display images that are 8 bits
deep using a colormap of the applications own construction?  It would be
_very_ much appreciated; this has been a very frustrating 30 hours.

Cheers,

David Boles
From: lgt1@ohm.york.ac.uk (Laurence Tyler (Guest - CompServ))
Newsgroups: comp.sys.sgi
Subject: Quotas: Pathname to block dev - how??
Date: 9 Oct 92 10:02:13 GMT
Organization: Electronics Department, University of York, UK

Hi,

I'm trying to write some tools for manipulating disk quotas using
the quotactl interface, so we can batch up modifications/updates -
we have a lot of users so edquota is not an appropriate way to do
things. I've hit a few programming problem with it and would
appreciate any suggestions:

1) quotactl requires as a parameter the block special device name of
the filesystem whose quotas are to be modified. What is the
best/recommended way of translating a filesystem name (or in
general, a pathname in that filesystem) into the appropriate block
special device name? The 'devnm' command seems to do this but I
can't find a programming interface for such a function.

2) On a similar note, how does one test to see if a filesystem (or
pathname in a filesystem) is local or remote? Again, I would like to
include such a test in my utility.

3) One other quotactl problem I need to solve: there is apparently no
program interface to read *all* the disk quota entries - only entries
for specified uids can be read. Obviously I could do a repquota and
then process the resulting file, but that's rather messy. Is there a
suppported interface to do what I want, or would I have to write
something to read the quota file directly?

Thanks in advance for any advice,

Laurence Tyler.
-- 
Laurence Tyler (Systems Group)
University of York Computing Service, UK
email: lgt1@york.ac.uk
Newsgroups: comp.sys.sgi
From: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
Subject: Re: multiply-defined symbols
Reply-To: cmaae47@cc.ic.ac.uk
Organization: Imperial College of Science, Technology and Medicine
Date: Mon, 12 Oct 92 10:27:13 BST

In article <1b4gtjINN9an@travis.csd.harris.com>, daver@amber.csd.harris.com (Dave Ray) writes:
- 
- We observed a "feature" in the compilation system of 4.0.1.  If a function
- is defined in two files, and the files are linked together, the SGI link
- editor gives a warning of the multiply-defined symbol and produces an 
- executable.  Both copies of the function are included in the executable, and 
- references to the named function are directed to the first copy seen by the
- linker.

- Many UNIX link editors fatally error out when encountering this kind of 
- multiple definition.  Could someone explain the rationale behind SGI's
- implementation?

It is a very good feature. Say you have a prelinked object which includes a
dummy device driver for a graphics terminal (a Tektronix, say). But you have a
a different terminal. You can just create a file containing the move(), plot()
or whatever functions the packege calls, thus implementing the device driver 
for your own terminal. You load them first, so the external references in 
the prelinked object get satisfied by your entry points.

For a particular package I could (on a NOS/VE system) reduce linking times
from about a minute CP time to 1.5 seconds, cutting about 5 minutes out of
each iteration of a testing cycle.

                                        Thomas

-- 
*** This is the operative statement, all previous statements are inoperative.
*   email: cmaae47 @ cc.ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic.cc 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: bpja@codex.com.au (Brett Adam)
Subject: a.out file format - just what the heck is it anyway?
Reply-To: bpja@codex.com.au
Organization: Codex Software Development Pty Ltd
Date: Fri, 16 Oct 92 10:21:23 GMT

I thought it was going to be easy to parse the structures of standard object  
files on the SGI. (Someone told me it was COFF)

Boy, was I wrong!

Does anybody have any good references - or insights - into the particular  
'usage' of COFF that SGI use? I'm trying to adapt a generalised XCOFF  
parser/munger to port some shared library name-changing tools.

The header files look like COFF until one reaches /usr/include/sym.h
The files parse like COFF until I try and read the symbol table and string  
table.

Any help at all greatly appreciated.

Regards,

-- 
-------------------------------------------------------------------
Brett Adam                                      Director, Marketing
Xedoc Software Development Pty. Ltd.           Melbourne, Australia
Phone    :                                           +61 3 696 2490
Newsgroups: comp.sys.sgi
From: daniel@vcp1.vcp.monash.edu.au
Subject: Problem with cc and errno.h
Organization: 
Date: Wed, 7 Oct 1992 08:05:01 GMT




I am currently attempting to compile sendmail5.65c+IDA-1.4.4.1 under IRIX 4.0.1

However, right at the start of compilation I have struck a strange problem.
The following errors appear, and I can't figure out why.

=====

chem1 34% make
        cc -O -I.   -c alias.c
accom: Error: /usr/include/errno.h, line 47: Qualifier mismatch in prototype,   
pointer to const  char  versus   pointer to char
       extern void      perror(   char *);       
       ----------------------------------^
accom: Error: /usr/include/errno.h, line 47: inconsistent prototypes for functio
n perror
       extern void      perror(   char *);       
       ----------------------------------^
*** Error code 1

=====

The file being compiled is alias.c, and it begins

#include "sendmail.h"
#include <sys/stat.h>
#include <errno.h>

The function/prototype perror() is not mentioned in sendmail.h or sys/stat.h

Line 47 in errno.h actually looks like:

       extern void      perror( const char *);       

It is as if the keyword 'const' is being translated to ' ', but I have found no
nothing to suggest that in sendmail.h or sys/stat.h

Can anybody suggest a reason for this behaviour, and a solution?

Thanks,

Danny
From: mmcohen@cats.ucsc.edu (Michael M Cohen)
Newsgroups: comp.sys.sgi
Subject: cdrom problem?
Date: 14 Oct 1992 13:04:28 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: si.ucsc.edu


Trying to mount new explorer 1.0 modules cdrom is failing...

cdromd -a
(/etc/fsd.auto = "/dev/scsi/sc0d6l0 /cdrom ro 0 0")

on insertion we get:
cdromd[1332]: mount: /dev/dsk/dks06d6s7 on /cdrom: Device or resource busy
cdromd[1332]: mount: giving up on:
cdromd[1332]: mount: /cdrom

/etc/sbin/eject or cdromd -k /dev/scsi/sc0d6l0
will cause eject of caddy.
same problem with hot mix cdrom (which used to work fine)

However, inst has no problem reading
cdrom "from /CDROM/dist" e.g. 4.0.4 maint.

Am I doing something wrong? Or should I log a call?

One recent change on system since hotmix last worked
was addition of exabyte 8200 to second IO3 scsi
(which works fine for bru).

S16123: 510-vgx, 4.0.5
---------------hinv---------------------
1 50 MHZ IP17 Processor
FPU: MIPS R4010 Floating Point Chip Revision: 0.0
CPU: MIPS R4000 Processor Chip Revision: 2.2
On-board serial ports: 4
Data cache size: 8 Kbytes
Instruction cache size: 8 Kbytes
Secondary unified instruction/data cache size: 1 Mbyte
Main memory size: 32 Mbytes
I/O board, slot F: IO3B
async serial controller: cdsio0, firmware version 1007
Integral Ethernet: et0, IO3
VGX Graphics option installed
Tape drive: unit 5 on SCSI controller 1: 8mm cartridge
Integral SCSI controller 1: Version WD33C93A, revision 9
Tape drive: unit 7 on SCSI controller 0: QIC 150
CDROM: unit 6 on SCSI controller 0
Disk drive: unit 2 on SCSI controller 0
Disk drive: unit 1 on SCSI controller 0
Integral SCSI controller 0: Version WD33C93A, revision 9
---------------------------------------------

some possibly relevant info from versions...
---------------------------------------------
I  eoe1                710627999  Execution Only Environment 1, 4.0.5
I  eoe1.sw            1006000731  eoe1 Software
I  eoe1.sw.unix       1006000731  Basic IRIX

I  eoe2                709536188  Execution Only Environment 2, 4.0.5
I  eoe2.man           1006000730  eoe2 Documentation
I  eoe2.sw            1006000730  eoe2 Software
I  eoe2.sw.cdrom      1006000730  CD-ROM software

I  eoe2                701468571  Execution Only Environment 2, 4.0.4

I  maint_dev           708662418  Development System Maint, 4.0.5
I  maint_dev.dev_sw.cdrom 1006000729 CD-ROM Development Environment
---------------------------------------------
I note 2 eoe2, wonder if that's in error?

Hope someone can advise...
	TIA, MMCohen
-- 

======================================================================
=   Dr. Michael M. Cohen                   mmcohen@dewi.ucsc.edu     = 
=   Program in Experimental Psychology     mmcohen@fuzzy.ucsc.edu    =
=   433 Clark Kerr Hall                    408-459-2655 LAB          = 
=   University of California - Santa Cruz  408-459-2700 MSGS         = 
=   Santa Cruz, CA 95064                   408-459-3519 FAX          = 
======================================================================
Newsgroups: comp.sys.sgi
From: ram@ramsgi.erenj.com (ram rajagopalan)
Subject:  FAX on SG's
Organization: Exxon Research & Engineering Co.
Date: Fri, 9 Oct 1992 17:01:57 GMT

HI,
  
   Does anyone know of any public domain software to send and receive fax
   from SG's.  Thanks in advance.


-- 
regards,

Ram.

==============================================================================

Ram  Rajagopalan
Senior Mathematiican
Exxon Research & Engineering Co.
RT 22 East Annandale, NJ - 08865
(908) 730 - 2556
email: ram@erenj.com

==============================================================================

Newsgroups: comp.sys.sgi
From: jeremy@classic.asd.sgi.com (Jeremy Higdon)
Subject: Re: How many powerchannels boards can fit in a Crimson?
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Fri, 16 Oct 1992 06:40:41 GMT

In article <1992Oct9.155102.2052@seismo.do.usbr.gov>, geomagic@seismo.do.usbr.gov (Dan O'Connell) writes:
> Newsgroups: comp.sys.sgi
> From: geomagic@seismo.do.usbr.gov (Dan O'Connell)
> Subject: How many Power Channels in a Crimson?
> Organization: Seismotectonics Group, U.S. Bureau of Reclamation.
> Date: Thu, 8 Oct 1992 17:14:02 GMT
> 
> 
> We have a Crimson with the standard IO3B PowerChannel board.
> 
> (1) Can we add a second IO3B PowerChannel board to get two more
>     SCSI channels?

Not in the deskside crimson.  The rack server model could take one.

> (2) If yes to (1), will we be able to purchases a fast SCSI-2
>     version of the IO3B anytime soon?

I know of no plans for this.  We have a fast SCSI VME board instead.

> (3) Or is the differential VME dual-channel SCSI board our only option?

This is the best option.  Unfortunately, you have to get a rack
with it, I think.  Currently, this board has 2 10MB/s channels.

jeremy

Newsgroups: comp.sys.sgi
From: dragon@nscvax.princeton.edu (Mighty Firebreather)
Newsgroups: comp.sys.sgi
Subject: RE: purchase recommend
Date: 9 Oct 92 20:15:56 GMT


	alan kennedy <alan.kennedy@canrem.com> writes:

>
>I have come to the conclusion that insted of upgrading our existing
>platforms (4D70, 4D60 and 4D20), that it would be better to invest in a
>new system altogether.
>
>We are an animation company running Wavefront Advanced Visualizer.
>
>I need the following;
>
>         - Must have a life of 5 or more years
>         - At least 80 mips.
>         - at least 48 MB
>         - 32 bit colour
>
>I am leaning towards a Crimson. It has all I need and is more open than
>an Indigo. I want to be able to upgrade and add as needed.
>
>I'd like to hear from anyone who is in the animation biz, (or from
>anyone who has an opinion for that matter).
>
>Also, has anyone heard anything about a "black box" or "black star"
>Indigo? I heard somone mention something the other day, but I'm not sure
>what they were referring to.
>

	Resign yourself!  Anything you buy today will be obsolete in 12 
months or less and will not even be manufactured two years from now!

	If you need a system today, buy the best one you can today and just
accept the fact that progress will not stop for your convenience.  Whatever
you buy will be as good a computer five years from now as it is today.  You
will still be able to run today's applications five years from now.  

	Tomorrow's applications are being written for a machine that you
can't buy today, that will be obsolete in two years and that will no longer be
manufactured in three years. 

"		1.  You can't win.
		2.  You can't break even.
		3.  You can't get out of the game. "

				Dwight Wayne Bateau

*************************************************************************
*                                                                       *
*                        Here, there be dragons!                        *
*                      dragon@nscvax.princeton.edu                      *
*                                                                       *
*                                                Richard B. Gilbert     *
*************************************************************************
Newsgroups: comp.sys.sgi
From: ziehmer@rhrk.uni-kl.de (Thomas Ziehmer [E-Technik])
Subject: get ethernet-adresse on Powerstation
Followup-To: ziehmer@rhrk.uni-kl.de
Organization: University of Kaiserslautern, Germany
Distribution: eunet
Date: Sun, 11 Oct 1992 01:01:06 GMT

Hey
Can anyone told me, where I can get the Ethernet-adresse of the 
Workstation (Powerstation under IRIX 4.0.1).
bye
   Thomas Ziehmer
From: gray@celia.UUCP (Steve Gray)
Newsgroups: comp.sys.sgi
Subject: netls
Date: 12 Oct 92 23:00:46 GMT
Reply-To: celia!gray@usc.edu (Steve Gray)
Organization: Rhythm & Hues, Inc., Hollywood

(My second post today!... thanks for the rapid reply on the previous one.)

We have CASEVision/Workshop and just recieved our password.  However, I can't
get netls to run.  It keeps spitting out this message saying the version
number in the lic_db is wrong.

I can find no documentation on how to fix this.

I sent mail to license@sgi.com for help but haven't heard back.

Help!  I really like CASEVision/Workshop and now I can't use it since the
temporary license expired!
Newsgroups: comp.sys.sgi