HDTenEightyP/NetNews huggingface dataset:
From: roberts@nimrod.wpd.sgi.com (roberts)
Subject: Re: sendmail and timed problems. [2nd bug FIXED]
Keywords: sendmail-lost mail-timed-machine not responding
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Mon, 27 Jul 1992 06:31:13 GMT

Patrick HURT writes:
> A reply by mail gave me the fix (and problem) for this:
> 
> 4.0.1 shipped with a defective sendmail.cf. If you change it, SGI won't
> support it. Here's the bug:
> 
> Line 477 in the supplied /usr/lib/sendmail.cf file is:
> 
> R$*<$*..$Y>$*           $1<$2.$Y>$3                     tidy any double dot
> 
> That line should be:
> 
> R$*<$*..$Y>$*           $1<$2.$Y>$4                     tidy any double dot

WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG!
WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG!
WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG!
WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG!

The "fix" is completely wrong.  The second rewrite line is illegal and
sendmail will tell you so if it ever tries to execute it.  Note that
the $Y on the LHS of the rewrite rule is a macro not a class so it
does not increment the indefinite token match index, therefore there is
*no* $4 to substitute on the RHS.

> Now it works fine. Seems that sgi won't support a sendmail.cf which is
> not theirs, even though THEIRS doesn't work. Quite strange, huh?

What is strange is that this fraudulent advice is still being passed
around on comp.sys.sgi even though I've posted this warning before.

I'm glad to hear your mail works, but I can assure you that the "fix"
above was not responsible.  If you doubt me, I'll be glad to show
you how to set up a test case.  Installing the "fix" may have caused
you to re-freeze the configuration file or take some other, unrelated,
action that actually fixed things.

The supplied sendmail.cf file is not broken.  It works just fine for
literally hundreds of customers.  It does require proper configuration,
and that is not always a trivial matter.  Did you try the autoconfiguring
version?
 
> Anyway... Thanks to Doctor Math who gave me the answer.

Whoever this "Doctor Math" is he's no sendmail.cf programmer.  (This
statement is not intended as a slight.  Most normal humans would, rightly,
take it as a compliment.)  I repeat, the above change should NOT be made
to your sendmail.cf file.  "Doctor Math" would you PLEASE STOP telling
people to do this.

	- Robert Stephens
	  Silicon Graphics Inc.
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: opticals and fx
Date: 22 Jul 92 01:43:21 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <31479@adm.brl.mil> steve@chaos.ocean.fsu.edu (Steve Van Gorder) writes:

| More optical disk problems, this time with fx.
| 
| Can anyone help me with some problems I'm having with my optical disk
| and fx.  Below is a session where I am exercising the disk in extended mode.
| During the first exercise fx just hangs.  I retry I again and even though
| there are apparently some errors during the exercise, fx errlog reports none
| and there are no new bad blocks found. 
| 
| ..... 290.......... 300.......... 310.......... 320.......... 330.......... 340
| .......... 350.......... 360.dks0d5s10: Media error: No addr mark found in Data field,. Block #347122
| 
| (fx locks up and in SYSLOG we find)

It isn't locking up, it is trying to find the block that was bad, one
block at a time, because some drives don't report the actual block in
error.  A (minor :) bug on my part made this take far longer than
it should have, but it will eventually find it or give up.  If you
start fx with -r0, it won't retry before looking for the bad block,
which will speed things up.  4.0.5 fx has the bug fixed.

| Jul 20 17:49:59 chaos unix: dks0d5s10: Media error: No addr mark found in Data \field,. Block #347122

Not surprising they match, it is a kernel message that is displayed
on the console, and logged via syslogd.

| .......... 910.......... 920.......... 930.........dks0d5s10: Media error: Unrecovered data block read error,. Block #902359
| fx/exercise/complete: Error 0 -- Couldn't find bad block on track starting with block 901440 after 2 tries

Tends to indicate a transient error, which for optical disks usually
indicates that the drive is running too hot.

| ----- error summary-----
| (bn)  rretries(rfail) wretries/wfail
| TOTAL ERR BLOCKS r0(0 hard) w0(0 hard)

Hmm; the soft error count for reads should have been non-zero here;
I haven't seen that problem before.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: scotth@hoshi.corp.sgi.com (Scott Henry)
Subject: Re: /etc/exports & 4.0.5
Organization: Silicon Graphics Inc, Mountain View, CA
Distribution: usa
Date: Fri, 24 Jul 1992 19:07:53 GMT


>>>>> In article <1992Jul23.210526.29772@riscsm.scripps.edu>, jwk@riscsm.scripps.edu (John W. Kupec) writes:

jwk> I'm trying to restrict access to filesystems mounted on
jwk> an Elan running 4.0.5.  This machine is my primary nameserver
jwk> and is connected to the Internet.  I'm not running NIS so
jwk> no netgroups. 

jwk> A basically wide-open /etc/exports similar to this works ok:

jwk> /usr/local/sysmgr -root=humbert,lolita #/usr/local separate filesystem
jwk> /usr/local/lib/faces -ro
jwk> /usr/spool/news			#/usr/spool/news separate filesystem

jwk> But if I explicitly name hosts to which I want to export:

jwk> /usr/spool/news -access=humbert:lolita

jwk> (or)

jwk> /usr/spool/news humbert lolita

jwk> I can't mount the filesystem on either/any machine.

You probably need the FQDN (Fully Qualified Domain Name):

/usr/spool/news humbert.foo.bar.edu lolita.foo.bar.edu

=-=-=
--
 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: sundar@fiber-one.ai.mit.edu (Sundar Narasimhan)
Newsgroups: comp.sys.sgi
Subject: DGL question
Date: 24 Jul 92 19:33:43 GMT
Reply-To: sundar@ai.mit.edu
Organization: MIT Artificial Intelligence Laboratory

Hi, Is there a function in DGL that will allow me to query
if a particular machine on the network supports GL or not?
From: mdgerha@aplcen.apl.jhu.edu (EA Gerhardt michael d)
Newsgroups: comp.sys.sgi
Subject: 6u->9u VME adapter (solution), uimx question
Date: 21 Jul 92 01:15:19 GMT
Organization: Johns Hopkins University

I knew that I could stick a 6u card in a 9u VME slot, but when
you have to pull it out, your knuckles get very bloody. My
solution will be to have a machine shop build me one. I am
sorry it will not help the rest of you, but other alternatives
were too expensive (they were all >$400). 

I would like to hear responses to UIMX for the SGI machines and
any other Motif development kits available for the SGI. I will
post a summary.

                                Thanks in advance.
From: tdn@foo.esd.sgi.com (Todd Newman)
Newsgroups: comp.sys.sgi
Subject: Re: Setting the X Window Visual Class
Date: 23 Jul 92 00:45:49 GMT
Organization: Silicon Graphics Inc.

In article <2084@pvi.UUCP>, gmhm@pvi.UUCP (Mike Mayer) writes:

|> I need to know how to set the visual class and display depth
|> of an SGI workstation (more accurately, the root window, window:0).

The file is /usr/lib/X11/xdm/Xservers
Mine looks like this:
:0 secure /usr/bin/X11/X -bs -c -pseudomap 4sight
You can add -class <classname> and -depth <depth> to change the default
class and depth for the root window.  (which is not called window:0).
If you run xdpyinfo on your workstation, you can find out which classes are
supported at which depths.  I'd tell you, but it differs from machine to
machine.
(For your info, -bs turns off backing store.  You WANT to do this because
backing store doesn't work.  -c turns off keyclick, -pseudomap 4sight
loads the first several entries of the default colormap (which is 8 bits
 PseudoColor if you don't specify otherwise) to look the way it did under
IRIX 3.3. 

Also note that you can find out all the server command line options by
typing Xsgi -help.

	/tdn
From: sumargoh@serss0.fiu.edu (H. Sumargo)
Newsgroups: comp.sys.sgi
Subject: How to link C object with Fortran library?
Keywords: Linkingobject with library
Date: 26 Jul 92 13:38:35 GMT
Reply-To: sumargoh@fiu.edu
Organization: FIU Electrical & Computer Engineering


I guess that the above subject explained it all.  FYI, I would like to be able to
write a program in C language that has the capability of doing complex math.  I know
that C language does not support complex math (If I am not mistaken) without additional
library, i.e. from research.att.com.  I tried to write a simple subroutine in ForTran
to perform the task, complex math.  The program I wrote in ForTran was compiled and
archived to a library called 'sub.a'.  In order to facilitate this library, I wrote
a C program that calls this subroutine.  I compiled my C program and linked with the
'sub.a' library and the linker complained that it could not find some functions.  Below
is the source code for the C and Fortran codes as well as the linker error.

C Program:
#include <stdio.h>
#include <math.h>
struct complex
{
        float Real [5][3];
        float Imag [5][3];
};
struct complex x, y;
int i, j, k=5, l=3;
main ()
{
        fprintf (stderr, "In C main program:\n");
 
        for (j=0; j<k; j++)
        {
                for (i=0; i<l; i++)
                {
                        x.Real [j][i] = cos(j*i) * cos(j*i) - sin(i*j) * sin(i*j);
                        x.Imag [j][i] = - 2 * cos (i*j) * sin (j*i);
                        fprintf(stderr, "%+f%+fj\t", x.Real [j][i], x.Imag [j][i]);
                }
                fprintf (stderr, "\n");
        }
        fprintf (stderr, "\n");
        sub_(&k, &l, y.Real, y.Imag);
        for (j=0; j<k; j++)
        {
                for (i=0; i<l; i++)
                        fprintf(stderr, "%+f%+fj\t", y.Real [j][i], y.Imag [j][i]);
                 fprintf (stderr, "\n");
        }
}

ForTran subroutine:
        subroutine sub (k1, k2, a1, a2)
        complex a
        real a1 (k2, k1), a2 (k2, k1), tmp
        integer i, j, k1, k2
 
        write (6, *) 'In FORTRAN subroutine'
         do j = 1, k1
           do i = 1, k2
              tmp = (j-1.0) * (i-1.0)
              a = cos (tmp) - (0.0, 1.0) * sin (tmp)
              a = a * a
              a1 (i, j) = real (a)
              a2 (i, j) = imag (a)
           end do
        end do
        return
        end
-----------

Compiling the source code:
        cc -c main.c
        f77 -c sub.f

Generating ForTran library:
        ar rc sub.a sub.o

Linking the C object with the ForTran library:
        cc -O3 -o main main.o sub.a -lm
        /usr/bin/ld:
        Undefined:
        s_wsle
        do_lio
        e_wsle
-----------

Can someone please tell what I did wrong with the above procedures?  On the other hand,
I would also like to know if there is a better way of writing a complex function in C
language than the above programs so that I can put all the complex math that I need in
a library.  Please email your response to sumargoh@fiu.edu.  Thank you very much in 
advanced.

P.S.  Do I need to create a header file for the ForTran subroutine?
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Turbo Graphic board swap?
Date: 29 Jul 92 01:46:35 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <2825@contex.contex.com> frank@marvin.contex.com (Frank Perdicaro) writes:

| In article <1529ebINNr4c@agate.berkeley.edu> dasilva@mies.ced.berkeley.edu (Ruieta Da Silva) writes:
| >Does anyone know how to take a turbo graphics option board from
| >one 25TG and put it in another 25? I hear that there are some
| >resistors to cut, etc. Also how would you pull it out?
| >
| Contrary to Dave O's note, some early PIs do not have the required,
| soldered on tapped standoffs on the main graphics board and thus
| cannot get a turbo upgrade without a swap of the graphics board.  This
| is unlikely, but has happened more than once to me.

My note was in response to *SWAPPING* the graphics boards as a unit,
not to grabbing pieces from one board and putting them on the other.
Since several people seem to have misread my response, I thought I'd
better follow this up.  Do *NOT* try to mix and match.  Several of the
boards and chips have rev dependencies.  It may work, it may not.

Of course, if you change graphics board types, you probably need
to reinstall software to match the different type, as well (with
'set neweroverride'!)
--
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: wsj@triton.wpd.sgi.com (Bill Johnson)
Newsgroups: comp.sys.sgi
Subject: Re: c optimizer?
Date: 29 Jul 92 20:45:37 GMT
Reply-To: wsj@wpd.sgi.com
Organization: Silicon Graphics, Inc.

In article <1992Jul29.123704.17190@news.iastate.edu>, raeker@tc4.fi.ameslab.gov (Todd J. Raeker) writes:
|> I just saw mention in this newsgroup about a c optimizer called copt.  I am running
|> IRIX 4.0.4 on 4D/25 machine and a 4D/380 and don't have this in my /usr/lib directry.
|> I have the developers option, do I need to buy this thing or does it come with new
|> releases?  Thanks for any info that is sent my way.

I should have made this clear.  /usr/lib/copt (invoked using cc -sopt) is new
with the latest release of the Irix development option (SC4-IDO-4.1).  This
must be ordered separately, and requires the latest OS, 4.0.5 (4D1-4.0.5).

-- 
Bill Johnson                    9U-530                   wsj@wpd.sgi.com
Silicon Graphics, Inc.                             Office:(415) 390-1440
Systems Software Technology Center                    Fax:(415) 969-2314
From: mikey@sgi.com (Mike Yang)
Newsgroups: comp.sys.sgi
Subject: Re: OpenGL and Motif Widgets
Date: 26 Jul 92 00:52:53 GMT
Organization: Silicon Graphics, Inc.

In article <1992Jul25.225817.22269@ringer.cs.utsa.edu> senseman@ricky.brainlab.utsa.edu (David M. Senseman) writes:
>If I had had a chance to see OpenGL, I'm sure I wouldn't be asking
>this question, but does OpenGL support Motif widgets and/or
>does it have it's own widget library? Perhaps another way of
>asking this is there a "GL" widget library available to
>users? When the "big boys" at SGI write gl code with buttons,
>sliders, scroll bars, etc., what do they use?
>
>The reason I'm asking is that we are training students to
>write graphic programs for our Indigos and I would rather
>teach them IrixGL than Motif -- if learning IrixGL is 
>more similar to the forthcoming OpenGL than Motif. However
>I'm alittle tired of writing my own widgets. (Yeah I know
>about the FORMS library). 

OpenGL is an X server extension -- like the Display Postscript
extension.  Both allow you to do a different kind of rendering while
still using the X client/server event model.

Motif is a widget set and includes buttons, menus, etc.  Motif is not
a different kind of rendering.

Before (before IRIX 4.0), GL applications were forced to build their
own "widgets" because they couldn't easily integrate GL rendering with
the native window system and its available widget sets, if any.  Now
(IRIX 4.0 and later), the preferred method is to do "mixed model"
applications which use X and its widget sets (e.g. Motif) for the
basic user interface, but render in GL using the GLX widget.

When OpenGL comes around, it will replace the GLX widget and provide
another, more standard, mechanism for "mixed model."  You will still
probably want to use a standard toolkit like Motif for the basic look
and feel, but use the OpenGL extensions to do the GL rendering.

So, for now I would suggest using Motif for the basic inteface and the
GLX widget for the GL rendering.  This way, your students won't be
encumbered by the details of buttons and menus and can instead
concentrate on the GL portions of their applications.  Later, OpenGL
will be used instead of the GLX widget but the basic
primitives/functions should be similar or the same.

-----------------------------------------------------------------------
                 Mike Yang        Silicon Graphics, Inc.
               mikey@sgi.com           415/390-1786
From: beyer@bflsgu.fl.bs.dlr.de (R. Beyer)
Newsgroups: comp.sys.sgi
Subject: blankscreen
Date: 22 Jul 92 09:09:16 GMT


Hi,

I want to turn-on/turn-off the screens of remote workstations from a 
master host. Running Indigos/4.0.1 the C routine 'blankscreen' works
as expected if a program employing 'blankscreen' is started from
the (local) console. However, if the program is started from a remote 
login 'blankscreen' does nothing.

Any hint would be very much appreciated.

Regards

-----------------------------------------------------------------------------
Ralf Beyer                              | 
German Aerospace Research Establishment | Phone:    (0531) 395-2530  
Institute for Flight Guidance           | Fax:      (0531) 395-2550
Flughafen                               | BITNET:   fl17@dlrvmbs.bitnet 
3300 Braunschweig, Fed. Rep. of Germany | Internet: beyer@bflsgu.fl.bs.dlr.de
-----------------------------------------------------------------------------
Newsgroups: comp.sys.sgi
From: bryan@pi.eai.iastate.edu (Bryan Manske)
Subject: Need help with /usr/etc/lpd...
Originator: bryan@IRIX
Reply-To: bryan@pi.eai.iastate.edu (Bryan Manske)
Organization: EAI, Iowa State University, Ames, IA
Distribution: na
Date: Wed, 22 Jul 1992 16:04:33 GMT


...and DOS machines over ethernet.


Dear Net.People:

In the endless quest for a better network I find myself with yet another
set of problems.  The burden has fallen on me to coerce several dos machines
with WD8003E ethernet bords to use a DOS LPR executable to send print jobs
to a particular SGI which has a serial line to a laser printer (which is
configured properly, I might add).  Permissions are set up correctly for the
DOS machines to log in, /usr/etc/lpd -l is running, and SYSLOG looks like:

...
Jul 21 20:12:08 pi lpd[12111]: ann.eai.iastate.edu requests recvjob pips
[...entries for other things...]
Jul 21 20:16:54 pi lpd[12111]: pips: Lost connection
...

Then, nothing happens,... waiting a bit longer, nothing continues to happen.
The DOS machine burps out: "ERROR: CONNECTION CLOSED BY SERVER"

I've R'd T F M, but either can't find the right F M, or am missing the
obvious.  (Belive me, I still remember how to read.  SPELLING, now thats
a different matter.)  I have also read in its entirity the DOS documentation.

Vitals on the whole mess:

-Personal Iris 4D/35 running 4.0.1
-NCSA TELNET ~ CLARKSON UNIVERSITY TCP PACKAGE  (CUTCP/CUTE) (for DOS)
-A fleet of various SGI rendering monsters already properly printing
 via network printer connection to the PI using lp.
-One slightly frazzled individual (Me) trying to keep all of these
 wonderful toys working and playing well with each other.


Any comments or pointers would be appreciated.

Thanks.

Bryan


-- 
Bryan Manske  (515) 296-9908        . Images of sorrow,
Engineering Animation, Inc.         . pictures of delight,
bryan@pi.eai.iastate.edu            . things that go to make up a life...
#include <caveat_opinion.h>         . 
#include <standard_disclaimer.h>    . 	         Home by the Sea, Genesis
Newsgroups: comp.sys.sgi
From: amg8408@uxa.cso.uiuc.edu (Avijit  Moitra)
Subject: IRIX error message (Need help)
Organization: University of Illinois at Urbana
Date: Tue, 28 Jul 1992 14:25:22 GMT

 Hi,  
    I have an IRIS4D/35 with on external hard drive (andataco) and one
external 8mm tape drive.  My system sometimes goes down with the following
error message on the sreen :
-----------------------------------------------------------------------

PANIC : IRIX killed due to bus error
	at PC : 0x8000CFFC  ep: 0x800EF57C
Dumping to device 0x1621 at block 49083 numpages 4096
.......................................................................
dump completed
[Press reset to restart the machime]

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

Has anyone experienced with this type of problem?  Any help on this
will be highly appreciated.
Newsgroups: comp.sys.sgi
From: roy@zooks.eng.mcmaster.ca (Roy Underhill)
Subject: How do I know if a window recieves console output?
Keywords: window, console
Organization: Dept. of Mech. Eng., McMaster University
Date: Tue, 28 Jul 1992 18:19:37 GMT

I would like to be able to tell whether any particular window (xwsh,
xterm, etc) is receiving the console output.  Previously the first wsh 
started on the main screen would answer /dev/console to tty.  Now I
get told which ttyq it is.  Is there some way to tell whether a
particular xwsh (or xterm) window is recieving the console output?

Thanks to all,


Roy
-- 
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  Roy Underhill,  (416) 525-9140 x4395   roy@zooks.eng.mcmaster.ca 
  Department of Mechanical Engineering,  McMaster University, 
  Hamilton,  Ontario,  Canada            L8S 4L7
Newsgroups: comp.sys.sgi
From: chuckb@milton.u.washington.edu (Chuck Bass)
Subject: Genlock won't work under 4.0.1?
Organization: University of Washington
Date: Thu, 23 Jul 1992 00:21:10 GMT

We have a 4D-25 with a genlock NTSC output.  Everything worked
fine under 3.3.3 but with the upgrade to 4.0.1 the genlock no
longer works.  The manpage suggests that programs need to be
rewritten for it to work under the new OS.  However the
confidence test on the system toolchest also does not seem to
work.  All I get is static screen.  Any Ideas?

Chuck Bass
University of Washington

Newsgroups: comp.sys.sgi
From: thant@void.esd.sgi.com (Thant Tessman)
Subject: Re: Shadows in GL
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Fri, 24 Jul 92 16:48:32 GMT


In article <1992Jul24.140112.8528@samba.oit.unc.edu>, soltys@phoenix.radonc.unc.edu writes:

> Could someone tell me how to go about casting shadows as in the
> "ideas" demo.

There is an article in the Winter 1989 issue of the Iris Universe
called "Casting Shadows onto Flat Surfaces" that describes how
the shadows were done in the 'ideas' demo.

thant