HDTenEightyP/NetNews huggingface dataset:
From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
Newsgroups: comp.sys.sgi
Subject: Re: 3.10 Based C++/Fortran 77
Date: 4 Sep 92 23:30:01 GMT
Organization: Silicon Graphics, Customer Support Division

In article <gregc.715642054@cgl.ucsf.edu>, gregc@socrates.ucsf.edu (Greg Couch%CGL) writes:
|> wsj@triton.wpd.sgi.com (Bill Johnson) writes:
|> 
|> >In general, you'll find the 3.10 compilers to be significantly more reliable
|> >than the 2.20 compilers.  There is no easy way to run both simultaneously.
|> >Mixing and matching 2.20 pieces with 3.10 pieces will not work, in general.
|> 
|> We have found the 3.10 optimizer (-O, -O2) to be less reliable than the
|> 2.20 optimizer.  In particular, watch out for loops where the increment is
|> done somewhere within the loop.  For example (bug already filed with customer
|> support),
|> 
|> 	result = 0;
|> 	len = strlen(s);
|> 	while (len > 0)
|> 		if (s[--len] == '*')
|> 			result = 1;
|> 	return result;
|> 
|> returns 1 even when the string doesn't have an asterix in it.
|> 
|> Unfortunately, we have inherited 10's of thousands of lines of code, that used
|> to work, with the above idiom scattered everywhere.  And rather than examine
|> each line, we now compile it -O1 with the consequential slower performance.
|> 

There is a bug in the 3.10 optimizer with respect to doing loop unrolling.
The following workaround should give you all of the benefits of -O2
optimization while working around the loop unrolling bug. (It worked for
me here when I tested it.)

	 cc -O2 -Wo,-loopunroll,0 foo.c -o foo

----- foo.c ------------------------------------------------------------------
#include <stdio.h>
#include <string.h>

int
foo(const char* s)
{
        int result;
        int len;
        result = 0;
        len = strlen(s);
        while (len > 0)
                if (s[--len] == '*')
                        result = 1;
        return result;
}

main()
{
        printf("Should be 1: %d\n", foo("*"));
        printf("Should be 0: %d\n", foo(" "));
}
----- foo.c ------------------------------------------------------------------


-- 

    __   * __   _  __  ___			
   /  \ / / /  / \/  \/   \ 	He was a man like any other man, however, not
  /    /  \/  /  /\  /    /	quite like any other man.
  \___/\__/\_/  /_/ / \__/	
	           *
From: mikey@eukanuba.wpd.sgi.com (Mike Yang)
Newsgroups: comp.sys.sgi
Subject: Re: Need help configuring xrn
Date: 10 Sep 92 20:08:54 GMT
Reply-To: mikey@sgi.com
Organization: Silicon Graphics, Inc.

In article <32507@adm.brl.mil>, fred@poly2.nist.gov (Frederick R. Phelan Jr.) writes:
|> xrn -nntpServer enh.nist.gov
|> 
|> I get ...
|> 
|> connect: Connection refused
|> giving up ...
|> Thu Sep 10 08:38:11 1992: Failed to reconnect to the NNTP server (server_init), sleeping...

This is what xrn does when it can't connect to your news server.  
Your problem (so far) is with your NNTP server, not xrn.

|> So I just control C out ... also, no window ever appears,
|> which makes me wonder if I need to modify config.h (what
|> modifications are commonly used?? (besides DOMAIN_NAME)).

Xrn builds on SGI machines right out of the box, and doesn't bring up
a window if it can't initially connect to the news server.

-----------------------------------------------------------------------
                 Mike Yang        Silicon Graphics, Inc.
               mikey@sgi.com           415/390-1786
From: shui@mutt.asd.sgi.com (Simon Hui)
Newsgroups: comp.sys.sgi
Subject: Re: DGL refuses connection from SPARCStation
Keywords: DGL Sun
Date: 9 Sep 92 02:56:24 GMT
Organization: Silicon Graphics, Inc.

>We recently ran into a perplexing problem after I upgraded our
>4D/30 to 4.0.1.
>
>A user on a SPARCStation 2 had previously been able to do a remote
>shell to the SGI to run some graphics programs. Now his TCP connection
>is refused.  The error can be replicated by trying to a "rsh blanktime 0"
>from the command line. The most interesting part of this problem is that
>the command CAN be executed from another SGI machine. It seems to be a
>Sun/SGI problem. (Yes, both the Sun and the second SGI are in the .rhosts
>file). Rsh's to do such things as execute the date command work fine.
>
>From Sun(bette) to SGI(kate):
>
>  %rsh kate blanktime 0
>  (long pause)
>  %dgl error (TCP connect): Connection refused
>  %dgl error (default init): default dglopen(brackett@bette,4) returned -127 
>
>From SGI(hermes)to SGI(kate):
>
>   %rsh kate blanktime 0
>   %

My guess is that the SGI is trying to display a GL program (blanktime) on a non-SGI
machine (the Sun), causing the DGL error.  (In this case, blanktime doesn't really
display anything, but it uses GL to affect a screen.  The same idea applies to GL
programs that actually do display graphics.)  This would happen if, in your remote shell on kate, either of the environment variables DISPLAY or REMOTEHOST pointed at
bette rather than kate.  Do this to make sure that neither of them points to bette:

	%rsh kate
	kate% printenv DISPLAY
	kate% printenv REMOTEHOST

I'd guess that DISPLAY is not being set to anything, and that REMOTEHOST points to
bette.  When DISPLAY is not set, the GL sees if REMOTEHOST is set and uses that as the
host to display to.  You can put a hack such as this in your .login on kate to make
sure DISPLAY points to kate when you are logging in from bette:
	
	if ($?DISPLAY == 0 && $REMOTEHOST == "bette") then
        	setenv DISPLAY ":0"
	endif

There are probably more creative and cleaner solutions to this problem, but this is 
all I've come up with right now.

You ran into this problem while upgrading to 4.0.1 because, as of 4.0, the GL gained
the ability to display on remote machines.  Before, the GL always displayed to the
local machine, so you never had a problem with blanktime trying to display on the Sun.

Simon Hui
--
From: ccoprrm@prism.gatech.EDU (Robert E. Minsk)
Newsgroups: comp.sys.sgi
Subject: OpenRN returned -1
Date: 10 Sep 92 00:10:49 GMT
Organization: Information Technology - High Performace Computing

Background:
  4D/70 - 4.0.5 - 16 Mbytes memory - 48 Mbytes swap

  We have a program that runs on all of our machines except the 4D/70.  On the
4D/70 the program dies with an error message "OpenRN returned -1: Not enough
space".  From the core dump it dies in the routine _GLmapwindow.  To be
specific _GLmapwindow(0x0, 0x1, 0x3000, 0x9, 0x101921c0, 0x6c).  We do not
have source to the program.  Does anyone know what this error message refers
too?
-- 
Robert E. Minsk - Information Technology | After WREKage their is Ruins...   |
ARPA: ccoprrm@prism.gatech.edu           | Fridays at 10pm WREK Atlanta 91.1 |
uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!ccoprrm
Georgia Institute of Technology, Atlanta Georgia, 30332
From: prt@festival.ed.ac.uk (Paul Taylor)
Newsgroups: comp.sys.sgi
Subject: using lpr with showcase etc
Summary: How do I use showcase with lpr rather than lp
Keywords: lp lpr network-printing
Date: 9 Sep 92 07:19:03 GMT
Distribution: comp

I recently got an Indigo to go with my ESV-20 (another mips type
graphics box) and my vms MV3100. I manage all the printers I have from the
microvax and use CMU-TEK as the tcp/ip transport for it. Now this uses
lpr/lpd to allow printing. Is it possible to get showcase + other things
that use the IRIX print manager to use lpr rather than lp ? or at the
very least have the print manager direct stuff to files rather than
devices ?

                        Paul Taylor
From: cullip@pooh.cs.unc.edu (Timothy Cullip)
Newsgroups: comp.sys.sgi
Subject: getting z-buffer value for a given (x,y) window coordinate.
Date: 15 Sep 92 20:37:22 GMT
Distribution: usa

I'm trying to do something that ought to be real simple: given a GL
window that I've rendered something into (using RGBmode and zbuffer
turned on) how do I get the z (or RGBA) value for a given screen (x,y)?

I've tried lrectread(x,y,x,y,my_array) where x,y are the Screencoord
variables of the (x,y) point I'm interested in and my_array is an
array of unsigned longs (a few thousand in length even though I'm
only wanting one value back). 

The program dies with:

WARNING: Process [sphere] pid 8994 sent SIGSEGV because it exceeded its maximumprocess/stack size

I tried readsource(SRC_ZBUFFER) and pixmode() with no help.

-- 

   Tim Cullip
   cullip@cs.unc.edu
From: blbates@aero36.larc.nasa.gov (Brent L. Bates ViGYAN AAD/TAB)
Newsgroups: comp.sys.sgi
Subject: Re: Please put s/w title on CDROM spine
Date: 14 Sep 92 12:22:24 GMT


     Our system admin. prints the names of the CD's on small strips of
`sticky back' paper and puts that on the edge of the cases.  A lot easier
than taking the case apart and trying to writing on the label.

  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
From: lgt1@ohm.york.ac.uk (Laurence Tyler (Guest - CompServ))
Newsgroups: comp.sys.sgi
Subject: Pandora - alternate images?
Date: 13 Sep 92 20:28:31 GMT
Organization: Electronics Department, University of York, UK

Hi, folks... Here are two rather unimportant and low-priority
problems I've been having with Pandora:

I've just upgraded to 4.0.5 and had to turn off pandora's icon login
option. Why? Because I cannot duplicate the old behaviour of only
showing a few selected user icons on each Indigo. Before, pandora
would show icons only for explicit entries in /etc/passwd, so I
could tailor the display for each workstation whilst still allowing
others to log in via the '+' entry at the end.

Now pandora looks through all the NIS entries as well, and I can't
stop it. As we have *lots* of users, this takes a rather long time
and creates a humungously big login icon box (and no, we don't use
automounter). The new options to ignore users with specific homedir
paths is no good because there isn't a /allow switch as well, and
anyway I would like to select an arbitrary subset of users by name.

Any neat way round this? Ideally, a switch or configuration option
to set the behaviour would be nice...

Now that I'm using the 'noiconlogin' option instead, the second
problem I have come across is that there isn't a (documented) way
to override the pandora image file name, which seems to be hard-coded
as '/usr/demos/data/images/pandora.rgb'. Sadly, we have /usr/demos
mounted on a file server to save disk space on the workstations, so
all the workstations get the same picture (and even a symlink won't
help). I would like them to be different.

Anyone know of some way of changing this, short pf patching the
executable? I'm sure there must be some X-resource or environment
variable that will do the trick...

Laurence Tyler
York University Computing Service, UK
Newsgroups: comp.sys.sgi
From: wsherman@ncsa.uiuc.edu (William Sherman)
Subject: Re: Please put s/w title on CDROM spine
Organization: National Center for Supercomputing Applications
Distribution: na
Date: Tue, 8 Sep 1992 22:00:40 GMT

larry@turing.abbott.com (Larry Pajakowski) writes:
> ...
> Put the title of the enclosed s/w on the spine of the jewel case.  If
> that isn't possible how about at least making the spine white so a marker
> can be used to identify the s/w.  This was on the very first CD's from SGI
> I saw at least had the white background!

Here Here!!

I've actually thought about posting this very senitment for months.  When
we first started receiving CD-ROMs from SGI, I had to take apart the cases
and write the software name on the spines - a pain, but at least they were
identified.  I couldn't believe it when SGI went to dark blue at the color
of the jackets, now I can't even add write the name on each CD case.

Sorry to basically post a me-too message, but I've been teetering as to
whether this was worth posting, and now that someone brought it up, I'm
willing to add my voice so those at SGI who have a say will know that it
is more that a one person complaint.

	Bill

/************************************************************************/
/* Bill Sherman								*/
/* National Center for Supercomputing Applications			*/
/* University of Illinois						*/
/* Champaign-Urbana							*/
/*									*/
/* Internet: wsherman@ncsa.uiuc.edu					*/
/*									*/
/*   "You want to do mankind a real service?  Tell funnier jokes."	*/
/* 		Og							*/
/************************************************************************/
Newsgroups: comp.sys.sgi
From: serafini@amelia.nas.nasa.gov (David B. Serafini)
Subject: 8bit character input
Organization: NAS, NASA Ames Research Center, Moffett Field, CA
Date: Fri, 11 Sep 92 00:15:07 GMT
Summary: Alt keys under xwsh

Another probable FAQ:
What's the easiest way to get xwsh to generate 8bit character using
the ALT keys?  I prefer xwsh to xterm, so don't suggest that.

please e-mail responses to me. 

Thanks.

-David

--
David B. Serafini			serafini@ralph.arc.nasa.gov
Rose Engineering and Research		   or   @amelia.nas.nasa.gov
NASA/Ames Research Center MS 227-6	(415)604-6233   FTS: 464-6233
Moffett Field, CA 94035-1000		==<all standard disclaimers apply>==
Newsgroups: comp.sys.sgi
From: amoss@huji.ac.il (Amos Shapira)
Subject: Re: Need a Unix program that will send an e-mail on a specific date
Organization: Mail to News Gateway at Wang Labs
Date: 8 Sep 92 10:21:44 GMT

amg8408@uxa.cso.uiuc.edu (Avijit  Moitra) writes:

>Hi,
>     I am looking for an unix macro that will send an e-mail to a specific
>person (with an alias of user-id@node in .mailrc file) on a specific date
>.  If someone has written a similar program and does not mind giving me a
>copy (I am not a C person), I would highly appreciate that.  Any help on
>this will be highly appreciated.

>P.S. I will be running it on a SGI 4D35 PI.

>Thanks in advance.

Look at at(1).  This is just the tool for you.

Cheers,
--
--Amos Shapira (Jumper Extraordinaire)
C.S. System Group, Hebrew University, Jerusalem, Israel
amoss@cs.huji.ac.il
From: beyer@bflsgu.fl.bs.dlr.de (R. Beyer)
Newsgroups: comp.sys.sgi
Subject: cdromd runs away
Date: 14 Sep 92 15:41:58 GMT


Hi,

on an Indigo/Entry running IRIX 4.0.1 and owning a CDROM drive with
CD inserted the cdromd runs away some hours after reboot, i.e. cdromd
eats up all processor time. Running 'top' produces this output:

IRIX bflsgg 4.0.1 11150233 IP12 Load[1.32,1.48,1.21] 16:25:34   48 procs
    user   pid  pgrp  %cpu proc  pri  size   rss    time  command        
    root   224     0  96.6    *  100    45    15  134:33  cdromd
   beyer   402   401   1.4    *  +39   531   179   13:33  gr_osview
    root   232   232   0.6    *   26  1089   362    5:46  Xsgi
   beyer  1233  1233   0.6    0  +65    50    50    0:00  top
   beyer   445   267   0.2    *   26   211    97    0:03  xwsh
    root   340   112   0.2    *   26    48    25    0:18  fam

What is going wrong here ? Any hint would be very much appreciated.

Best regards

Ralf Beyer


---------------------------------------------------------------------
Ralf Beyer - German Aerospace Research Establishment, Institute for 
Flight Guidance, Flughafen, D-3300 Braunschweig, Fed. Rep. of Germany
	  Phone: 0049-531-395-2530  Fax: 0049-531-395-2550
EARN/BITNET: fl17@dlrvmbs.bitnet Internet: beyer@bflsgu.fl.bs.dlr.de
---------------------------------------------------------------------
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: How do I configure a separate disk for /usr?
Date: 10 Sep 92 00:43:34 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <32498@adm.brl.mil> kim@arthur.ama.ttu.edu (Kim Andersen) writes:

| Due to a shortage of disk space, I am forced to try to use a separate
| disk for the /usr filesystem.  I have set /etc/fstab to point to the
| new disk for mounting /usr.  However, the system doesn't seem to be
| able to find the new disk.  It's hanging halfway through boot (right
| after "root on dev 0x1620, swap on dev 0x1621").  The system console
| never responds, but a terminal on another port comes up and I can login
| and see that the mounting of /usr has failed.

Presumable /dev/usr is still pointing to partition 6 on your system
drive, and you didn't modify /etc/fstab to point to the new location.
I'd recommend booting the system in single user mode, and using ed
to change /etc/fstab.
--
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,comp.windows.x.motif
From: lgt1@ohm.york.ac.uk (Laurence Tyler (Guest - CompServ))
Newsgroups: comp.sys.sgi
Subject: Easy inst question - maintenance products
Date: 10 Sep 92 10:18:58 GMT
Organization: Electronics Department, University of York, UK

Hi.. Two easy questions about inst and maintenance products. I
_think_ I know the answers but I'm not 100% sure from the manual and
would appreciate a definitive 'yes' or 'no' on them. They both
relate to version numbers of software products and maintenance
products.

------------------------------------------------------------------

Question 1:  When the system is upgraded, maintenance products for
already installed software options are applied. Does this mean the
software product is effectively upgraded? A concrete example:
'versions' says:

I   ftn         09/23/91   Fortran 77, 3.4
I   maint_ftn   09/09/92   Fortran 77 Maint, 3.4.4

Is this functionally the same as having installed Fortran 3.4.4? Can
I regard my Fortran 3.4.1 CD-rom as being redundant?

---------------------------------------------------------------------

Question 2:  The installation instructions for IRIX state that when
installing new software products _after_ the upgrade, you must
re-apply the maintenance products that came with the IRIX upgrade,
and that it must be done non-selectively, i.e. just 'list' and 'go'.
By default, this means inst will re-apply *all* the maintenance
products for everything you have installed, not just the new
product, which can take a *LONG TIME* and seems quite unnecessary.

So, if I install, say, C++ some time after the upgrade, do I
*really* need to let inst re-apply the maint products for pascal,
fortran, motif etc; or is it permissible in this case to just apply
the maint_c++ product? If so, why doesn't inst itself recognise that
some maint products need not be re-applied?

-------------------------------------------------------------------

If someone knows the definitive answers, I'd appreciate an email
response to the address below in addition to/instead of a followup
news article, as I need to know before the weekend.

Many thanks for helping a novice Unix manager!

Laurence Tyler
York University Computing Service, UK

email:	lgt1@tower.york.ac.uk
Newsgroups: comp.sys.sgi
From: atems@hal.physics.wayne.edu (Dale Atems)
Subject: Recovering original configuration files
Summary: I modified my config files. Can I recover the originals? 
Organization: Dept. of Physics, Wayne State Univ.
Date: Wed, 9 Sep 1992 18:57:45 GMT

Hi everyone,
	Yesterday I received and installed the 4.0.5A update on my Indigo. I've
tried to set a policy of always holding onto a copy of the original system
configuration files (/etc/init.d/{mail,network}, etc.) since I must modify
them extensively to make my system work properly on the network here. Well,
this time I screwed up and kept only my modified versions.
	Question: is there anywhere I can get a copy of the originals? Is it
possible to extract individual files from inst images? All of the modified
files are in eoe1.sw.unix. Would there be anything wrong with forcing inst to
reinstall just this subsystem?
	Sorry to post an "I messed up, somebody please help me" message. Any
help will be appreciated.

-----
Dale Atems
Wayne State University, Department of Physics and Astronomy

E-mail replies welcome.
Send e-mail to atems@igor.physics.wayne.edu
From: starbuck@ucrmath.ucr.edu (starbuck)
Newsgroups: comp.sys.sgi
Subject: Tape Drive Question
Date: 11 Sep 92 19:29:46 GMT
Distribution: usa
Organization: University of California, Riverside

Our Machine is a SGI 320VGX running Irix v 4.0.1 with a 150 megabyte internal
tape drive.

On our VAX regardless of the tape drive ( be it reel or cassette ) I can do
the following.

Create a archive ( vax save_set ).  This archive can be of any size.  I may
put different archives ( vax save_sets ) on a tape.  Archives ( vax save_sets )
may span multiple tapes.

When I wish to extract data I need only start on the tape that the data is
on. Not like tar where I have to go though n tapes to get at the data.  Also
on the VMS BACKUP untility one can append archives ( vax save_sets ) to
the end of a tape.  This saves money.  At this time I have unload partial a
tape and reload with the new data just to get some value out of the tapes.

Are their Unix utilites as advanced as the VMS BACKUP utility for saving
data?   Are their any tricks or tips to get this job done?

Thank you,

Aaron Greenwood                   email: starbuck@ucrac1.ucr.edu
McPherson Lab
University of California
Riverside, Ca. 92521
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Pandora - alternate images?
Date: 14 Sep 92 02:40:17 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Sep13.202831.10895@ohm.york.ac.uk> lgt1@ohm.york.ac.uk (Laurence Tyler (Guest - CompServ)) writes:
| 
| I've just upgraded to 4.0.5 and had to turn off pandora's icon login
| option. Why? Because I cannot duplicate the old behaviour of only
| showing a few selected user icons on each Indigo. Before, pandora
| would show icons only for explicit entries in /etc/passwd, so I
| could tailor the display for each workstation whilst still allowing
| others to log in via the '+' entry at the end.
| 
| Now pandora looks through all the NIS entries as well, and I can't
| stop it. As we have *lots* of users, this takes a rather long time
| and creates a humungously big login icon box (and no, we don't use
| automounter). The new options to ignore users with specific homedir
| paths is no good because there isn't a /allow switch as well, and
| anyway I would like to select an arbitrary subset of users by name.
| 
| Any neat way round this? Ideally, a switch or configuration option
| to set the behaviour would be nice...

See 'man pandora' for both of these.  They can be controlled via
passwd.sgi.  It is possible that your old passwd.sgi, is now
passwd.sgi.O, and you didn't take care of all of the output
from 'versions changed' after upgrading.  (NIS users can be
excluded if they all have home dirs that don't exist on the system,
or are NFS mounted in a different place from the local users).

| Now that I'm using the 'noiconlogin' option instead, the second
| problem I have come across is that there isn't a (documented) way
| to override the pandora image file name, which seems to be hard-coded
| as '/usr/demos/data/images/pandora.rgb'. Sadly, we have /usr/demos
| mounted on a file server to save disk space on the workstations, so
| all the workstations get the same picture (and even a symlink won't
| help). I would like them to be different.

Can't be done, unfortunately, without using a binary editor on
the pandora executable.
--
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