HDTenEightyP/NetNews huggingface dataset:
From: davea@quasar.mti.sgi.com (David B.Anderson)
Subject: Re: c-compiler false diagnostic.
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Wed, 23 Dec 1992 21:32:10 GMT

In article <1992Dec23.163608.24772@bernina.ethz.ch> hoesel@igc.ethz.ch (Frans van Hoesel) writes:
>Hi ,
>
>the c compiler on my indigo (4.0.1) gives the following warning on the
>following program.
>#include <stdio.h>
>
>int main() {
>
>        int i;
>        int p[] = { 1,2,3,4,5};
>        for (i = 0; i<5; i++ ) printf("%d ", p[i]);
                                                   ^
>        ;
>        return 0;
>}
>
>> cc -fullwarn -ansi t4.c
>accom: Warning 302: t4.c, line 8: bodyless for statement
>        ;
>       -^
>
>This seems incorrect to me. (the warning I got was the result from some

The line it shows is, clearly, wrong (the scanner has already gotten to
the next line by the time the parser has recognized the situation).  On
the other hand, the preceeding for is bodyless.

FYI:
If you use {} instead of ; after the 'for()' the message will vanish,
since  {} stands out enough that it is surely not a normal human typing 
mistake.

Sorry about the line shown being the wrong line....
[ David B. Anderson             (415)390-4263             davea@sgi.com ]



Newsgroups: comp.sys.sgi.bugs
From: ori@marvin.technion.ac.il (Ori Degani)
Subject: X Hebrew Support
Organization: Heart of Gold Institute
Date: Sun, 27 Dec 1992 12:04:42 GMT



--
   |  ----      Ori Degani
   |  |___      ori@eddie.technion.ac.il   (Ship Computer on the HOG)
   |  |         ori@marvin.technion.ac.il  (Who else) 
   |  ----      s2973229@techst02.technion.ac.il (Ech..)   
Newsgroups: comp.sys.sgi.bugs
From: wes@uf.msc.edu (Wes Barris)
Subject: Soundfiler kills all of my windows
Reply-To: wes@msc.edu
Organization: AHPCRC, Minnesota Supercomputer Center
Date: Tue, 29 Dec 1992 15:10:37 GMT

I have the following line in my .chestrc file:

    "SoundFiler"        f.checkexec "/usr/sbin/soundfiler"

This way I can use the toolchest to start this program.  If I do so, then
use the "Quit" button to terminate it, all of my xwshs are removed as well!

This only happens if the soundfiler program is started as shown above.  If
I start it by typing "soundfiler" in a window, I can terminate it without
disasterous results.

I am running IRIX 4.0.5 on a 4D/35.

-- 
===============================================================================
Wes Barris                                                   PH: (612) 626-8090
Minnesota Supercomputer Center, Inc.                         Email: wes@msc.edu
Newsgroups: comp.sys.sgi.bugs
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: new bug in 4.0.5 /usr/etc/dump
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Wed, 30 Dec 92 21:48:45 GMT

In <1hsvc8INN9h@network.ucsd.edu> sd@chem.ucsd.edu (Steve Dempsey) writes:

| /usr/etc/dump in IRIX 4.0.5 does not correctly parse the "raw" field of the
| entries in /etc/fstab.  If any other options follow the 'raw' device name
| they are picked up as part of the name by "dump".  For example, this entry:
| 
|     /dev/dsk/dks1d5s6 /data1 efs rw,raw=/dev/rdsk/dks1d5s6,quota 0 0
| 
| causes "dump" to try to open the file "/dev/rdsk/dks1d5s6,quota".
| This was NOT the case with IRIX 4.0.1.  The workaround is to make sure the
| 'raw' field is the last in the list.

It isn't dump per se.  It is the generic library code that
parses /etc/fstab, and a number of apps suffer from it (there
is an open bug on it).  Reorder the options field, and things
will start working again.  It is a pain, but at least there is
a workaround.
--
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: aschaffe@holodeck.csd.sgi.com (Allan Schaffer)
Newsgroups: comp.sys.sgi.bugs
Subject: Re: Pandora Login Failure
Date: 23 Dec 92 22:45:31 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA
NNTP-Posting-Host: holodeck.csd.sgi.com

spec01@solomon.technet.sg (Quak Wan Ling) said..
>I'm presently  using Iris Indigo running on OS 4.0.1
>Suddenly one day nobody is able to log into the Indigo
>using the pandora screen, even the root user !!!
>However, other unix machines(not SGI) are able to rlogin
>into the system. I tried using the diagnostic test when
>rebooting the system  to check the system. It turns out no
>error... Kindly help me out what's wrong with the system ???

Check to see if /etc/config/system.glGammaVal has a length of 0.  
If so, edit the file and put the number 1.700000 into it.

The next login attempt will fail, but all subsequent login attempts
should be fine.

Allan
-- 
Allan Schaffer
aschaffe@sgi.com
aschaffe@netcom.com
Newsgroups: comp.sys.sgi.bugs
From: davea@quasar.mti.sgi.com (David B.Anderson)
Subject: Re: c-compiler false diagnostic.
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Thu, 24 Dec 1992 00:26:27 GMT

In article <tvk5d44@sgi.sgi.com> davea@quasar.mti.sgi.com (David B.Anderson) writes:
>In article <1992Dec23.163608.24772@bernina.ethz.ch> hoesel@igc.ethz.ch (Frans van Hoesel) writes:
[ ]
>>the c compiler on my indigo (4.0.1) gives the following warning on the
>>following program.
[ ]
>>        for (i = 0; i<5; i++ ) printf("%d ", p[i]);
[ ]
>>accom: Warning 302: t4.c, line 8: bodyless for statement
>>        ;
>>       -^
>>This seems incorrect to me. (the warning I got was the result from some

And you are right.

>The line it shows is, clearly, wrong (the scanner has already gotten to
>the next line by the time the parser has recognized the situation).  On
>the other hand, the preceeding for is bodyless.

NO NO NO!
	I saw what I expected to see, not what Frans van Hoesel wrote!

There IS NO bodyless for-statement here.
There is no justification for a warning!

What there is is a compiler botch: a variable is not getting reinitialized.
A {} does it, but not a plain statement.

[ So now two botches:  misreading the original post plus the compiler is 
  wrong.  								]

My apologies.   
[ David B. Anderson             (415)390-4263             davea@sgi.com ]
From: rodrigol@ulrik.uio.no (Rodrigo Lopez)
Newsgroups: comp.sys.sgi.bugs
Subject: Ftp problems
Keywords: ftp
Date: 29 Dec 92 15:55:18 GMT
Reply-To: rodrigol@ulrik.uio.no (Rodrigo Lopez)
Organization: University of Oslo


Hello everybody!

I'm new to this group and new to using my Indigo (entry level R4000). 
Recently I've been experiencing problems with ftp. Ftp transfer of
files larger than 50-60K seem to hang the ftp session. I'm not sure
if this is a network or setup problem but any pointers anyone may have
are deeply appreciated.

R:-)

***************************************************************************
* RODRIGO LOPEZ SERRANO              Biotechnology Centre of Oslo         *
* Tel: XX-47-2-958756                Gaustadalleen 21                     *
* Fax: XX-47-2-694130                P.B. 1125 Blindern                   *
*                                    0316 Oslo 3 Norway                   *
* rodrigol@biomed.uio.no                                                  *
* rodrigol@ulrik.uio.no                                                   *
***************************************************************************
Newsgroups: comp.sys.sgi
From: cmumford@iat.holonet.net (Chris Mumford)
Subject: Launch program at boot time??
Organization: HoloNet National Internet Access BBS: 510-704-1058/modem
Date: Wed, 30 Dec 1992 16:27:38 GMT

Does anyone know how to launch a program at boot time.  This would be
valuable for a turn-key system where the power button is pressed and the
system comes right up into the simulation.

Any suggestions will be appreciated.
From: roy@mchip00.med.nyu.edu (Roy Smith)
Newsgroups: comp.sys.sgi
Subject: Re: Hard drives...
Date: 30 Dec 92 02:53:38 GMT
Organization: New York University, School of Medicine
NNTP-Posting-Host: mchip00.med.nyu.edu

sgi.com!pdi!shoshana@BRL.MIL (Shoshana Abrass) writes:
>  With the sgi's, every time we attach a new disk drive we run 
>  the risk of encountering scsi bus errors, timeouts, etc. When
>  we get above four scsi devices, we need to start messing around
>  with cables - a few inches in cable length can make all the 
>  difference.  We've never had this problem on the macs.

	Can't say I agree with your Mac experience.  I've always had trouble
with any more than about two SCSI devices on a Mac SCSI bus.  We can usually
manage to get 4 or so working by being very careful to use the shortest
cables we can get, but it's often a crapshoot as to whether it will work or
not.  I once had to put 6 CD-ROM drives (and an internal hard disk) on an
SE/30 file server.  We banged our heads against the wall for weeks on that
one, including fighting with Apple tech support on the phone for what seemed
like forever.  Our dealer tried swapping CPU boards, CD-ROM drive guts, etc,
and eventually we ended up building a bus that had 1 FX (black) terminator
at the end and a second FX terminator *in the middle of the bus*, plus of
course the internal termination at the CPU end.  This was on advice from
somewhere deep inside Apple engineering, and I never heard a good
explanation of why it worked (yes, I know it violates specs), but amazingly
enough, it works reliably.  Without that extra feed-through terminator, we
could never get more than about 4 drives on the bus before it started to
flake out (with all Apple drives, cables, etc).

	On the other hand, we've got this twin-tower SGI box that only works
because SGI field service removed the top two sections of the SCSI tower,
and which we're unable to plug any external devices into at all.  Feh!

	As far as I'm concerned, SCSI means Some Crappy Stupid Interface.  I
guess it beats SMD, but it sure doesn't live up the the wonderful promises
it made (not to mention the random connector confusion; I know of 3 commonly
used connectors, and I havn't even mentioned the wierdo PowerBook SCSI
connector, but I guess that's understandable).
-- 
Roy Smith <roy@nyu.edu>
Hippocrates Project, Department of Microbiology, Coles 202
NYU School of Medicine, 550 First Avenue, New York, NY 10016
"This never happened to Bart Simpson."
Newsgroups: comp.sys.sgi,comp.sys.sgi.admin
From: marcouil@ireq.hydro.qc.ca (Luc Marcouiller)
Subject: RDIST, what version?
Keywords: rdist
Reply-To: marcouil@ireq.hydro.qc.ca
Organization: Hydro-Quebec
Distribution: na
Date: Mon, 21 Dec 1992 22:05:28 GMT

Hi folks,

We are currently thinking about using rdist for the propagation of site
specific files (passwd, hosts, printcap,...) on our network of SGI's.  The
site administrator (for the SUN's ...) here showed me some documentation
about a new public release called rdist 6.0 which has some new features,
better performances, bug fixes, so on and so forth.  The old version they
are talking about is related to 4.3BSD.  So here it is: Is this old version
the one implemented in IRIX (4.0.5)? Also if not; Is there a compiled rdist
6.0 for SGI lurking on some ftp site somewhere on netland?

Thanx
R'gards Luc
-- 
---------------------------------------------------------------------------
   Luc Marcouiller,                  Institut de Recherche d'Hydro-Quebec,
   Chercheur                         1800 Montee Ste-Julie, Varennes,
   Service Mecanique                 P. Quebec, Canada, J3X 1S1
                                     Tel: 514-652-8152 Fax: 514-652-8309
   Repondre a: /  Reply to: -------> marcouil@ireq.hydro.qc.ca
Newsgroups: comp.sys.sgi
From: drich@sandman.lerc.nasa.gov (Daniel Rich)
Subject: xcdplayer-2.2 - X11 CD player for Sun and SGI
Organization: NASA Lewis Research Center
Date: Wed, 30 Dec 1992 22:53:32 GMT

I have posted the latest release of XCdplayer to alt.sources.  The current
version will now run on SGI and Sun, and has a set of color defaults.
With the SGI version, you also gain the ability to play through either
the CDROM drive audio jack, or through the SGI audio board (for those
systems so equiped).  This has been tested on both IRIX 4.0.2 and
4.0.5, and will *NOT* work on 4.0.1 (apparently, there are problems
with the audio libraries).

Things to look for in future releases:
    o Motif support (I hope!)
    o Record capibilities (on SGI only)
    o Track and Artist labeling
    o A better programming interface
    o AIX and Ultrix support (maybe....)

For more information, take a look at the man page and README file.  If
you do run into problems or know of any other features you would like to
see (or implement, for that matter :-), please let me know.

Here is the description from the man page:
Xcdplayer is a graphical user interface for controlling the Sun or SGI cdrom
drive under the X Window System.  It provides visual feedback and 
gives the user facilities for mode selection, device control, scanning, and
programming.

Xcdplayer allows previously stored cd title and program information to 
be read from a specified directory and loaded into the player on startup 
or at disc changes.  This directory can be specified either on the command 
line, by using the -cdInfoDir option, by using a customized personal resource 
file, or by setting the environment variable XCDINFODIR.

-- 
Dan Rich                    | drich@lerc.nasa.gov   |  (216) 433-4000
Sr. Systems Engineer        | "Danger, you haven't seen the last of me!"
RMS Technologies, Inc.      |    "No, but the first of you turns my stomach!"
NASA Lewis Research Center  | -- The Firesign Theatre's Nick Danger
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: sh/csh/tcsh and TMPDIR
Date: 4 Jan 93 01:21:53 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <34854@adm.brl.mil> karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu)) writes:
| How can I get the various shell commands to respect the value
| in TMPDIR ?
| 
| sh keeps clogging up /tmp/ with
| sh$PID temp files.

Sorry, but it is hardcoded in all 3 (both currently, and in the
SVR4 code).  Same for ksh.

About all you can do is find a place with a name equally short
and patch the binary ;)

I don't think it likely anybody will view it as worth the effort
it would be to make the mods to do otherwise (you'd have to
check the variable at startup, and also in the code where variables
are set; not a huge amount of effort, but...)

You could ignore all files with the sh suffix in the main body
of the script, and then check the sh* files with fuser to see
if they are in use later on.
--
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: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Exception Handling in SGI Fortran 3.4.1
Date: 29 Dec 92 19:38:42 GMT
Distribution: na
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Dec29.134402.24607@eng.umd.edu> dynaflow@eng.umd.edu (Georges Chahine @ Dynaflow Inc.) writes:

| Is there any way to control IEEE floating point exceptions (which
| generate NaN and Infinity etc.) in the FORTRAN from SGI? I know Sun fortran
| allows you to call several system routines which allow one to control 
| this.
| 
| I have not been able to find if there are similar routines in SGI
| FORTRAN (3.4.1). Any help on this would be greatly appreciated.

% apropos fpe
handle_sigfpes (3C)     - floating-point exception handler package
handle_sigfpes (3F)     - floating-point exception handler package

--
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.admin
From: ori@marvin.technion.ac.il (Ori Degani)
Subject: shutdown when UPS signals...
Organization: Heart of Gold Institute
Date: Sun, 3 Jan 1993 17:58:08 GMT

Hi,
  I think I posted this question a while ago, but I didn't have
all the information.  Well, now I do.

  I want to run a shutdown process whenever my UPS system signals 
the computer.  It uses the serial port to signal a shutdown request.
It uses DTYPE "9" (whatever that means).  When there is a blackout
it (shorts out I guess) pins 2, 4.  And pins 4,5: 5 minutes before
the battery runs out.

If anyone knows how to handle this, please let me know.

Thanks,
Ori

--
   |  ----      Ori Degani
   |  |___      ori@eddie.technion.ac.il   (Ship Computer on the HOG)
   |  |         ori@marvin.technion.ac.il  (Who else) 
   |  ----      s2973229@techst02.technion.ac.il (Ech..)
From: duong@chestnut.chem.upenn.edu (Duc Duong)
Newsgroups: comp.sys.sgi.admin
Subject: Re: letting users choose their login shells
Date: 29 Dec 92 17:25:05 GMT
Organization: NMR Biochemistry Graduate Research Lab

The shell script chsh just posted is not working on my machine. After
successfully compile it, I always get the message "sorry, passwd file
busy" when I run the program..is there any one getting the same
problem?
From: knobi@knobi.munich.sgi.com (Martin Knoblauch)
Newsgroups: comp.sys.sgi.admin
Subject: Re: Forgotten root password
Date: 22 Dec 1992 15:34:20 GMT
Organization: Silicon Graphics, Inc.
Distribution: world
NNTP-Posting-Host: knobi.munich.sgi.com

In article <9949@fs3.cam.nist.gov>, blue@cam.nist.gov (Jim_Blue_x3809)
writes:
|> On my 4D25, 4.0.5, how do I recover if I forget the root password?
|> Is recovery different on the Indigo that I am ordering to replace
|> it?

  My favourite solution (in case you can log in into a non-
root account):

a) cp /etc/passwd /tmp/passwd
b) remove root passwd from /tmp/passwd using your 
   favourite editor
c) bring system into single user mode. You might have to reset
   the system for that. In the PROM monitor "setenv initstate s"
   and "auto" boot.
d) In single user mode, copy /tmp/passwd into /etc/passwd. Bring
   system into multi user state and set a new root password.
e) Don't forget the new password.

  If the procedure does not work, because you have no open/known
account, you have to reset the system, bring it into single user
and try to generate a password file with a open root account. You
can try to do:

cat >>/etc/passwd
root1::0:0:Super-User:/:/bin/csh
^D

  then go multiuser, log in as root1, set a new password for root,
remove root1 for security reasons and continue with e) from above.
Do a few sync's before you reset the system in order to minimize
the risk of disc corruption during that procedure.

  On an Indigo the procedure is identical. The only problem is that
you can set and forget a ROOT password also. If you forget both
passwords, things get messy and you should contact your support
office to avoid destroying your hardware and warranty.


  Hope this helps
Martin
-- 
+---------------------------------+----------------------------------+
|Martin Knoblauch                 | Silicon Graphics GmbH            |
|Application Support              | Am Hochacker 3 - Technopark      |
|Silicon Graphics Computer Systems| W-8011 Grasbrunn-Neukeferloh, FRG|
|                                 | Phone: (+int) 89 46108-179 or -0 |
|                                 | Fax:   (+int) 89 46108-222       |
+---------------------------------+----------------------------------+
|Network: <knobi@sgi.com>         | V-Mail: 8935   | M/S: IMU-315    |
+--------------------------------------------------------------------+
Newsgroups: comp.sys.sgi.admin
From: kaurinko@lk-hp-6.hut.fi (Petri M Kaurinkoski)
Subject: Re: Pandora Login Failure
Organization: Helsinki University of Technology
Date: Tue, 22 Dec 1992 06:56:46 GMT

In article <BzK2wD.3Lp@newsserver.technet.sg> spec01@solomon.technet.sg (Quak Wan Ling) writes:
>
>Help.. suddenly the  login screen of the pandora doesn't allow
>anyone to log in at all.. including the root user ??
>What can go wrong ??? pse post ASAP... Thannks
>

Try rebooting the whole computer. We had a problem like this caused by
abnormal killing of processes started from the console. If this does not
help one would need more info about how you got into this situation.

Good luck!

Petri
Newsgroups: comp.sys.sgi.admin
From: doctor@kronos.arc.nasa.gov (Terry Fong)
Subject: /usr/lib/X11/xdm/Xsession
Summary: why are resources loaded from ".Xresources" instead of ".Xdefaults"?
Keywords: xrdb, Xdefaults
Organization: NASA/ARC Information Sciences Division
Date: Tue, 22 Dec 1992 01:15:56 GMT

Can anyone tell me why /usr/lib/X11/xdm/Xsession loads from
".Xresources" instead of ".Xdefaults" by default? This is most
annoying since the on-line documentation (i.e., "xrdb(1)" or the
Showcase "Customizing Your Environment" slide)?

Thanks.

-terry

P.S. I have, of course, edited Xsession to load from $HOME/.Xdefaults
on all my systems...

-- 
_______________________________________________________________________________
blah, sb. colloq. (orig US) Also bla,| Terry Fong <terry@ptolemy.arc.nasa.gov>
blaa. [Imitative]. Meaningless, in-  | NASA-AMES M/S 269-3, Moffett Field, CA
sincere, or pretentious talk. -- OED | (415) 604-6063 office, 604-6081 lab
Newsgroups: comp.sys.sgi.admin
From: wes@uf.msc.edu (Wes Barris)
Subject: What is the correct gamma value?
Reply-To: wes@msc.edu
Organization: AHPCRC, Minnesota Supercomputer Center
Date: Tue, 22 Dec 1992 23:04:29 GMT

The man page for gamcal says:

   "Normally the gamma of the display should be set to
    2.4 using the program /usr/sbin/gamma."

However, the following lines are found in /usr/lib/X11/xdm:

   Xlogin:glGammaDefault="1.7"
   Xstartup:glGammaDefault="1.7"

NOTE: These files (Xlogin and Xstartup) do not seem to be setting the gamma
      anyway but that is a separate issue.


Using the gamcal program to help calibrate the gamma leads me to believe
that 2.4 is the "correct" value.

I am running IRIX 4.0.5 on a 4D/35.  Is there a reason for the two
different gamma values found on my system?


===============================================================================
Wes Barris                                                   PH: (612) 626-8090
Minnesota Supercomputer Center, Inc.                         Email: wes@msc.edu
From: rck@fangio.asd.sgi.com (Robert Keller)
Newsgroups: comp.sys.sgi.admin
Subject: Re: IRIX Login
Date: 31 Dec 92 00:25:04 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA
NNTP-Posting-Host: fangio.asd.sgi.com

In article <C03Iyq.Fn2@rahul.net> jonathan@mecca.epri.com writes:
>   How does one change the login screen to something more of a 
>
>hostname:%

check out the visuallogin(4) man page, as well as the
xdm configuration files in /usr/lib/X1/xdm.  

If you're not interested in running graphics at all you 
should:

    1) make sure your prom 'console' environment variable 
	is set to 'G' or 'g', see nvram(1M),

    2) run 'chkconfig windowsystem off' as root,
	
    3) and reboot.  

*steps 2 and 3 can be replaced by running /usr/gfx/stopgfx.

If, for some reason, you want graphics on the console again:
run /usr/gfx/startgfx (as root of course).

...robert
Newsgroups: comp.sys.sgi.admin,comp.sys.sgi.misc
From: trant@shire.corp.sgi.com (Ken Trant)
Subject: Re: Help with Logical Volumes, Please...
Reply-To: trant@sgi.com
Organization: Silicon Graphics Inc. Server Technologies
Date: Mon, 28 Dec 1992 21:57:14 GMT

 Logical volumes work fine on the Indigo, if lvck lv0 reports
no problems then umount /dev/dsk/dks0d1s6 (/usr?), run mklv to
create the lv device and have the disk labels updated then run
growfs on /dev/rdsk/lv0 and remount. Piece of cake.
-- 
 -----
 Ken Trant <trant@sgi.com>     / I think that I shall never see
 Senior Systems Administrator / A billboard lovely as a tree
 Information Services,       / Indeed, unless the billboards fall
 Silicon Graphics, Inc      / I'll never see a tree at all
Newsgroups: comp.sys.sgi.admin