HDTenEightyP/NetNews huggingface dataset:
From: dyoung@gizmo.wpd.sgi.com (Doug Young)
Newsgroups: comp.sys.sgi
Subject: Re:  motif and pipes
Date: 11 Jan 93 17:47:19 GMT
Reply-To: dyoung@1.com
Organization: Silicon Graphics, Inc.

In article <34849@adm.brl.mil>, beyer@bflsgu.fl.bs.dlr.de (Ralf Beyer DLR) writes:
|> 
|> 	1. How do I attach a callback functon to the close button of a 
|> 	   dialog win?
|> 	
|>  	  	ie XtAddCallback (dialog, XmN..., myfunction, NULL)
|> 	
|> 	   what goes in the ...?
|> 
|> XmNactivateCallback


No, if you are adding a callback to a button directly, you can use
XmNactivateCallback.  But when adding a callback to a dialog, motif dialogs
support XmokCallback, XmNcancelCallback, etc.  However, if you are asking
about the window manager close button on the dialog's window manager frame,
that's different. For that, you need to use something like the following:

        Atom WM_DELETE_WINDOW = XInternAtom( XtDisplay(dialogshell),
					    "WM_DELETE_WINDOW", 
					    FALSE);

	XmAddWMProtocolCallback( dialogshell, WM_DELETE_WINDOW,
				&VkSimpleWindow::deleteWindowCallback, 
				NULL);

	XtVaSetValues( dialogshell, 
		      XmNdeleteResponse, XmDO_NOTHING, 
		      NULL);


Doug Young
Newsgroups: comp.sys.sgi
From: bobw@gdstech.GRUMMAN.COM (Bob Waffenschmidt)
Subject: Automatic Backup & DAT 
Organization: Grumman Corporation
Distribution: comp.sys.sgi
Date: Wed, 6 Jan 1993 16:55:13 GMT


I would like to get a storage tape drive and appropriate software for
automatic & unattened backups of our network of SGI's.  I'd like to
here about your experiences good AND bad about your tape systems and
what software your use.  I have a definite preference for DAT (a.k.a
4mm tape systems)

I am looking for the following information:(Don't knock yourself out
ANY info is appreciated:)
Tape drive model:
Reliablity:
Density & Storage formats:
Cost:
Speed:
Available from (Name /Phone/address): 
Backup Software:

Thanks in advance :)
Bob Waffenscmidt
bobw@gdstech.grumman.com
From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
Newsgroups: comp.sys.sgi
Subject: Re: Timeslave bug?
Date: 4 Jan 93 18:15:13 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In article <1993Jan4.140318.29296@erenj.com>, srfergu@rufus.erenj.com (Scott Ferguson) writes:
> I get the following message in my SYSLOG every 4 minutes:
> 
> Jan  4 09:00:33 rufus timeslave[121]: recvfrom(date read): Connection refused
> 
> I'm trying to get the time from a host on our site that is slaved to a real
> internet time server. The host on our site is serving many many hosts with 
> no problem, but all SGI systems get this error. Apparently I'm getting the
> correct time, but the "Connection refused" comes from trying to get the
> date (according to our internet guru)
> ...


This particular "bug" is in your other host, not timeslave.

The error message means that the host from which timeslave has been
told to get the time and date does not support the UDP "time"
protocol.  The other host does not do the right thing when it receives
a UDP packet for port 37.  I bet that if you snoop on the wire,
you'll discover your time serving host is responding with an ICMP
port unreachable message.  (If you don't have a network analyzer, such
as the SGI product, then `ping -v` on an IRIS can often be used to
see ICMP messages.)

If your other machine is using a different port number, then the
"-p" arg. might help.

What are the "many many hosts with no problem" that get time from your
other machine?  Do they use the Internet time service?  Or do they use
something based on "rsh"?


Vernon Schryver,  vjs@sgi.com
Newsgroups: comp.sys.sgi
From: spencer@hailwood.asd.sgi.com (Paul Spencer)
Newsgroups: comp.sys.sgi
Subject: Re: Animation and Genlock questions
Date: 11 Jan 93 23:11:09 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA
NNTP-Posting-Host: hailwood.asd.sgi.com

n303bn@tamsun.tamu.edu (Jason Rosson) says:
> 
>  He wants to do some type of computer animation,
>  but does he need a VTR?  Or is there some way to play the frames fast
>  enough without one.

A VTR is usually used, since it (a) is convenient storage, and (b) lets
you send your animations to other people. However, you could animate 
your frames and save them to disk; then to play them back, you'd have 
to read them all into memory and blast them to the graphics screen (via
lrectwrite()) as fast as possible. There are a few drawbacks: you need
about 27 megabytes of RAM per second of animation you want to see; you
need a lot of extra disk storage; and you aren't garanteed to view the
animation `real' time.

On the other hand, you can reduce the resolution, and reduce the number
of frames per second, something you can't do with a VTR.

> Secondly, how does the genlock port on the back
>  of the machine function.  Does it go in, out or both ways?

It is an input. If you are trying to synchronize several Irises together,
or synchronize your Iris to some external video equipment, you'd use this
input. See the setmon(3G) man page, especially the -g flag.

>  When I try to use the Genlock Confidence Test it tells me I have no hardware

That test is for the CG2/CG3, older hardware that you don't have (or need).

....paul

-- 
Paul Spencer                 Silicon Graphics Advanced Graphics Division
spencer@sgi.com                                Mountain View, California
From: jonim@peanut.sgi.com (Joni Mehler)
Newsgroups: comp.sys.sgi
Subject: Re: Frustrated with SGI support..
Date: 5 Jan 93 00:18:22 GMT
Reply-To: jonim@peanut.sgi.com (Joni Mehler)
Organization: Silicon Graphics, Inc.


||> In <1993Jan1.173056.23814@arbi.Informatik.Uni-Oldenburg.DE>
Thomas.Weihrich@arbi.informatik.uni-oldenburg.de (Thomas Weihrich) writes:
||> 
||> | BTW: I did not get a quote for a 1.2 GR chip or an upgrade to a 4D25 or
||> | 4D30 or just a couple of additional bitplanes. If SGI USA is remarketing
||> | used items or upgrades, I'd appreciate it if someone from SGI US could
||> | give me a quote on these items.
||> 
||> I don't think upgrades to the 25 are available anymore, since they haven't
||> been built for quite a while (almost a year now?) but there are still be
||> boards in inventory for system repair, and they may be available for
||> upgrades as well.
||> 
||>We still sell upgrades from 4D/20s to 4D/25s or 4D/35s and 4D/25s to 4D/35s,
||>but no upgrades to 4D/30s.


Actually, I forwarded this email to Anita Romero in CSD Re-marketing. 
She is going to follow up with Thomas directly....

|SGI Express does handle upgrades (hardware and software), but we don't
|handle "international" orders (we make an exception for Canada :-). There
|are "SGI Express" offices starting in Europe and Germany will have one soon

Until then, you might try the office in Munich, which is the regional
office for Germany.  I know they handle software updates/upgrades.



Joni Mehler 
Customer Support Division
International Software Logistics
(415) 390-3712		jonim@relay.sgi.com
From: jack@cwi.nl (Jack Jansen)
Newsgroups: comp.sys.sgi
Subject: Re: xcdplayer-2.2 - X11 CD player for Sun and SGI
Date: 12 Jan 93 15:53:58 GMT

vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:

>In article <1993Jan11.204230.3699@eagle.lerc.nasa.gov>, drich@sandman.lerc.nasa.gov (Daniel Rich) writes:
>> ...
>> As for reading the CD over the network, it doesn't do it.  It might be
>> an interesting feature, but there would probably be performance
>> problems (you would probably get pauses in the sound trying to put
>> 44.1K/s across the network), and it would only work on machines with
>> audio hardware (ie. 4D/35 or Indigo).


>44kByte/sec is trivial, less than 0.5% of ethernet bandwidth on modern
>machines.

Uhm.... Not really. 44Kbyte/s is 3% of the *theoretic* maximum
bandwidth, and about 10-15% of the actual maximum bandwidth (going
through UDP, etc). To make matters worse, CD output is not
44.1Kbyte/second but 44.1*(2 channels)*(2 bytes)/second, for a grand
total of 176.4Kbyte/second, about half the available bandwidth.

Listening to CDs over the network is possible, though, if you don't
mind loosing some quality. I'm now listening to Talking Heads
transmitted at 4Kb/second (mono, 8K samples/second, 4bit ADPCM coding)
and it sounds fine, about AM radio quality. The audio data is actually
broadcast to all interested stations on the net, using our 'radio'
software, so a lot of people can listen while the data is only sent
over the net once.

You can ftp the radio stuff from ftp.cwi.nl, file /pub/radio2.0.1.tar.Z.
(Hmm, I'm not sure if the SGI CD reader is already incorporated in the
distribution. If not contact me).
-- 
--
Jack Jansen        | If I can't dance I don't want to be part of
Jack.Jansen@cwi.nl | your revolution             -- Emma Goldman
uunet!cwi.nl!jack    G=Jack;S=Jansen;O=cwi;PRMD=surf;ADMD=400net;C=nl
Newsgroups: comp.sys.sgi
From: patel@iiasa.ac.at (Deepan PATEL)
Subject: Help needed(2): Xlib
Organization: IIASA, Laxenburg, Austria
X-Newsreader: TIN [version 1.1 PL6]
Date: Thu, 7 Jan 1993 09:29:50 GMT



This is an addendum to an earlier posting. I am restating my problem.


I have Xlib based applications which I port to different architectures
(sun4, rs/6000, ultrix, hp-ux, dg-aviion, etc.). I am having difficulty
porting it to the SG-irix.

The problem (simplified) is:

My application, together with my libraries compiles fine on the SG
(IRIX Release 4.0.5F System V). If I rlogin to the SG from a different
machine, and run the SG-compiled-application off the SG but display it
on the remote machine, things are fine.

But I cannot run AND display the SG-compiled-application on the SG.
It crashes on X(Load)QueryFont() with a bus error.

If I have the sun4-compiled-application run off the sun4, but display
on the SG, it crashes at the very same point, with an error  
"BadAlloc: insufficient resources".

I tried this with various other applications (all XLib-based) with
the very same crash at the same point. In each case, XLoadFont() goes
through allright. XQueryFont() does not. XLoadQueryFont() does not.

***
My first guess is that the problem lies with the Xsgi. Probably I need
to configure it in a different way, or am missing something.

Any help is greatly appreciated, since the deadline is approaching fast.


----
Deepan Patel
patel@iiasa.ac.at
From: sinkwitz@ifi.unizh.ch (Rainer Sinkwitz)
Newsgroups: comp.sys.sgi
Subject: Re: PVM and XDR routines
Date: 7 Jan 93 15:13:27 GMT
Organization: University of Zurich, Department of Computer Science


In article <34881@adm.brl.mil>, englund@gdstech.grumman.com (Dave Englund) writes:
> I'm running on a Crimson under 4.0.4. (I usually forget to say that)
> 
> Has anyone had any success using the PVM library on SGI machines.
> Getting the pvmd demon running was no problem, but the example
> applications included with the distribution use the XDR library
> routines from Sun. Are these libraries public domain? If so, how can I
> get them? If not, what do I do now? Thanks for any help you can give me!
> 
The only thing needed for linking programs using PVM on SGI
is the -lsun option. 

At least with release 2.3 of PVM this is automatically added if
you use the "aimk" script instead of "make". 

I'm using PVM here with great pleasure across some SGI's and SUN's. 
But it seems SGI is coming out with something much better called
NCK, the Network Computing Kernel. The network license system NetLS
already uses it, see "relnotes netls_eoe" (Using NCK).

Rainer

-- 
oooooo    oooo  Rainer Sinkwitz, Multimedia Lab         sinkwitz@ifi.unizh.ch
 $   $   $   "  University of Zurich, Switzerland        VOICE +41-1-257-4346
 $"$$    """"$  Inst.f.Informatik, Winterthurerstr. 190   FAX +41-1-363-00-35
o$o "$o  $ooo"  CH-8057-Z\"urich
Newsgroups: comp.sys.sgi.bugs
From: greendog@insti.physics.sunysb.edu (Michael D. Fischer)
Subject: Any fix for diskless idle times?
Organization: Institute for Theoretical Physics, SUNY at Stony Brook.
Date: Mon, 11 Jan 1993 16:12:27 GMT

Well, I think it's a pretty well known bug that diskless indigos
have problems with such things as idle times of users, etc.
Just as a quick summary, "w" reports:

greendog  q0  greendog@max  10:04pm  32days     3     1   w

The idle time always seems to be the amount of time since we installed
the operating system!

Is there some quick/dirty fix for this?  Like some file that needs
to be 'touched' or something?  Will SGI ever fix this in 4.x.x?
It screws up our accounting and some other things (like condor, rwho)...

Mike
--
-------------------------------------------------------------------------
- Michael D. Fischer - greendog@max.physics.sunysb.edu - (516) 632-7966 -
- System Manager - Institute for Theoretical Physics - SUNY Stony Brook -
-------------------------------------------------------------------------
- Somewhere a door is opening; Somewhere a door is closing;             -
- Somewhere somebody dies; Somewhere a newborn baby cries;   -Kate Bush -
-------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------
- Michael D. Fischer - greendog@max.physics.sunysb.edu - (516) 632-7966 -
- System Manager - Institute for Theoretical Physics - SUNY Stony Brook -
-------------------------------------------------------------------------
Newsgroups: comp.sys.sgi.bugs
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Disk problem
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Wed, 6 Jan 93 17:56:19 GMT

In <63171@mimsy.umd.edu> dong@umiacs.umd.edu (Dong Chen) writes:

| I just moved my computer to another room.
| When I was trying to edit a file, it just hang there and the disk made some
| strange noise .
| But when I killed the process and try to open the same file again,
| everything seems fine.
| The part of SYSLOG is shown as below:
| 
| Jan  6 03:57:28 fuzzy unix: sc0,1,0: cmd=0x2A timeout after 30 sec.
| Resetting SCSI bus
| Jan  6 03:57:30 fuzzy unix: dks0d1s0 (/): retrying request
| Jan  6 03:57:31 fuzzy unix: dks0d6s6 (/home): retrying request

You probably have a loose connector or terminator somewhere as a
result of the move, or somebody didn't reinstall something after
the move.

| Does anybody know what happened ?
| 
| Also I noticed some time early, there're another  message :
| 
| Jan  5 17:44:02 fuzzy unix: dks0d1s1: Media error: ID CRC or ECC error,.
| Block #37722 (72957)
| Jan  5 17:44:02 fuzzy unix: dks0d1s1: Swap out failed blkno 0x92A8 (page
| still in memory)

The media error definitely indicates a problem on the disk.  Since this
was on a write, it is a real media error.  Whether it happened as part
of your move or not would be tough to say.  Since it is in the swap
partition, you could *carefully* run an fx wr-cmp exercise pass
over *just the swap area* to find and spare any bad blocks.  Use
the standalone fx, or run it in single user mode, being careful to
do nothing that would cause any swapping while you do the fx.
--
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: meyering@cs.utexas.edu (Jim Meyering)
Newsgroups: comp.sys.sgi.bugs
Subject: manual for psignal doesn't describe returned `int'
Date: 7 Jan 1993 08:54:38 -0600
Organization: U of TX at Austin CS Dept
Distribution: world
NNTP-Posting-Host: ai.cs.utexas.edu


The on-line manual for psignal (as of 4.0.5) gives this prototype

     int psignal(unsigned sig, char *s);

but doesn't describe the returned `int'.
-- 
Jim Meyering             | Member of the League for Programming Freedom
meyering@cs.utexas.edu   | Contact me or lpf@uunet.uu.net for more info.
Newsgroups: comp.sys.sgi.bugs
From: jamison@yuma.ACNS.ColoState.EDU (Jamie Gulden)
Subject: panic faulting when out of memory
Date: Tue, 05 Jan 1993 22:05:29 GMT
Distribution: usa
Organization: Colorado State University, Fort Collins, CO  80523


This probably isn't a bug but...

Does IRIX (4.0.4) normally panic fault if it runs out of swap
space?  I've got a short 5-7 line program that I try to find
out how much memory I can allocate and it keeps panic faulting.

The syslog has a bunch of these:

Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C514 (page still in memory)
Jan  5 13:52:35 nagel unix: 
Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C834 (page still in memory)
Jan  5 13:52:35 nagel unix: 
Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3CA9C (page still in memory)
Jan  5 13:56:53 nagel syslogd: restart


And then the system comes up with this:

Jan  5 13:57:04 nagel syslogd: restart
Jan  5 13:57:05 nagel savecore: reboot after panic: 
Jan  5 13:57:05 nagel PANIC: swapoutpts - i/o error in swap


So, is there a disk I/O problem, did we tell it to use more blocks
than there actually are, or something else I'm missing.

Thanks, Jamie
From: hzatz@cco.caltech.edu (Harold Zatz)
Newsgroups: comp.sys.sgi.bugs
Subject: C++ atexit() doesn't work
Date: 4 Jan 1993 22:17:25 GMT
Organization: Rhythm & Hues, Inc.
Distribution: world
NNTP-Posting-Host: alumni.caltech.edu

On an Elan R4000, running 4.0.5F, with a version of the C++ library
that looks like:
krazy % ll /usr/lib/libC.a
-r--r--r--   1 root     wheel     161188 Oct  2 19:48 /usr/lib/libC.a

atexit() doesn't work with C++. Try this program:
-----test.c-----
#include <stdlib.h>
#include <stdio.h>

void doMe() {
    fprintf( stderr, "atexit() works!\n" );
    }

main() {
    atexit( doMe );
    exit( 0 );
    }
-------
krazy % cc -o test test.c
krazy % test
atexit() works!
krazy % CC -o test test.c
krazy % test

	Fixes? Workarounds? Anyone?

	--Harold Zatz
Newsgroups: comp.sys.sgi.bugs,comp.sys.sgi.graphics
From: goza@norm.JSC.NASA.GOV (Mike Goza)
Subject: Potential bug in dither() on PIs
Organization: IGOAL
Date: Thu, 7 Jan 1993 14:05:45 GMT

I recently posted in comp.sys.sgi.graphics a question concerning 
dithering on PIs.  I wished to turn it off.  I received some 
replies which suggested using dither(DT_OFF).  This had no effect
on the PI.  The PI still did some form of dithering.  I have found
a solution though.  The following snippet of code will produce the
solid color polygon without dithering.

unsigned long colid;
int MLV_colorHL_id;
shademodel(FLAT);
MLV_colorHL_id = 10;   /*  range of numbers 0<colid<4096  */
colid = (( (MLV_colorHL_id & 0xF00)<<12 ) |
         ( (MLV_colorHL_id & 0x0F0)<< 8 ) |
         ( (MLV_colorHL_id & 0x00F)<< 4 );
cpack(colid);
bgnpolygon();
v3f(pnt1);
v3f(pnt2);
...
endpolygon();


The following code DID NOT work properly.  Dithering still took place...

unsigned long colid;
shademodel(GOURAUD);
dither(DT_OFF);
colid = 10;     /*  range of numbers 0<colid<4096  */
cpack(colid);
bgnpolygon();
v3f(pnt1);
v3f(pnt2);
...
endpolygon();


Turning shademodel(FLAT) automatically turns off dithering and packing 
the higher order bits of the color id took care of the colors not changing
like I though they would.  It seems that cpack only looks at the higher order 
bits when it has less than 24 bit planes.  A nuisance, but something I can
work around.  The dither(DT_OFF) code should have worked just the same as
the shademodel(FLAT) code except for maybe incorrect colors, but it didn't.
It just kept on dithering.  Any clues anyone?

If it is truely a bug, then I will report it.  If it is my fault, I would
like to know what I did wrong.

Thanks,
Mike Goza
goza@cheers.jsc.nasa.gov

Newsgroups: comp.sys.sgi.bugs
From: Philip Machanick <philip@concave.cs.wits.ac.za>
Subject: bug in syms.h (building SPIM)?
X-Xxdate: Tue, 12 Jan 93 15:05:54 GMT
Organization: Computer Science Dept, Wits University
X-Useragent: Nuntius v1.1.1d16
Date: Tue, 12 Jan 1993 13:19:34 GMT

I tried compiling a public domain MIPS architecture (SPIM), and ran
into several problems. Here is one that appears to be a bug in an
SGI header file, syms.h (4.0.5F; in 4.0.1, the "__mips" is replaced by
"mips"):

There is a line

#if __mips

followed a few lines down by

#else  /* !defined(__mips) */

Surely "#if X" is not the same as "#if defined(X)" - so either the
"#if" or the comment is wrong.

More important - between the "#if" and the "#else" is

#include "cmplrs/stsupport.h"

which header file doesn't exist (nor does the directory cmplrs).

Any hints on how to work around this would be welcome. I would rather
not patch the header file unless reassured that this won't break
anything else.

For that matter if anyone has built SPIM or any other architecture
simulator it would be useful for a course I am giving soon.
--
Philip Machanick                   philip@concave.cs.wits.ac.za
Department of Computer Science, University of the Witwatersrand
2050 Wits, South Africa
phone 27(11)716-3309***<-NEW PHONE NUMBER***fax 27(11)339-7965
From: lau@sunset.ai.sri.com (Stephen Lau)
Newsgroups: comp.sys.sgi.bugs
Subject: CaseVision gripe (minor)
Date: 4 Jan 93 20:42:01 GMT
Distribution: comp
Organization: SRI International, Menlo Park, CA


This is a minor gripe about CaseVision/WorkShop. I often rebuild the
executable from the build view window while running the debugger.
The debugger reattaches itself to the new exectuable automatically which
is wonderful, but while it reattaches, it will announce itself by raising the
entire debugger to the top level with a dialog box saying "Reattaching Executable."

My gripe is that it sometimes takes a while for it to rebuild the executable and I'm
one of those who has more than 5 things running at the same time. While it's recompiling
I'm usually doing something else. The way the debugger forces itself to the top 
is very distracting. Is there any way to turn it off?

There may be a work around out there for it. If anyone knows, please tell me.

Steve

-------------------------------------------------------------------------------
Stephen Lau                 lau@ai.sri.com| "I'm not sure if you're a 
SRI International                         |  mysterious person or just still
333 Ravenswood Ave., Menlo Park, CA. 94025|  water that doesn't run very deep."
(415) 859-2925              (415) 326-6200|               - Gene Kelly
-------------------------------------------------------------------------------

Newsgroups: comp.sys.sgi.bugs
From: lms@swl.msd.ray.com (LEE MARDEN {79509})
Subject: ls_admin (Problems under 4.0.5?)
Organization: Raytheon Company, Tewksbury, MA
Date: Wed, 6 Jan 1993 12:08:15 GMT

Is there a known problem with the license administration utility ls_admin
under 4.0.5?  I think we have 4.0.5a and our system person said that
she called the TAC and they told her it was broken under 4.0.5.  I
spent about a week trying to figure out why I couldn't get ls_admin to
take our new codevision and workshop passwords.  If this is true, does
any maintain a list of known bugs and could post?


-- 
  AdvThanksance,

  Lee S. Marden, lms@swl.msd.ray.com
  Raytheon Company, Missile Systems Division, Tewksbury, MA 01876