HDTenEightyP/NetNews huggingface dataset:
From: story@sgi.com (David (Duis) Story)
Newsgroups: comp.sys.sgi
Subject: Re: How do I dump a window to a color postscript printer?
Date: 2 Sep 92 23:14:11 GMT
Organization: Silicon Graphics, Inc.

In article <1992Aug31.025607.18478@murdoch.acc.Virginia.EDU> spm2d@uvacs.cs.Virginia.EDU (Steven Miale) writes:
>We currently have an SGI running IRIX 4.0.1, and wish to convert
>a given window to color postscript so that it can be printed.

The most straightforward way is to use "snapshot" to take a snapshot
of the screen, saving it to an SGI RGB file.  If you are running 4.0.1
or later, you should simply be able to lp that RGB file to the
printer.

so:

snapshot
lp snap.rgb

Done.

Cheers,

David Story                        	        Silicon Graphics, Inc.
story@bent.wpd.sgi.com				Mountain View, California

I've changed my name, so duis@sgi.com may bounce, please use story@sgi.com.
From: stanj@ferrari.corp.sgi.com (Stan Jensen)
Newsgroups: comp.sys.sgi
Subject: Re: totiff.c dource
Date: 28 Aug 92 15:42:52 GMT
Followup-To: comp.sys.sgi
Organization: Silicon Graphics, Inc.

In article <32204@adm.brl.mil>, bob@caw2.4950tw.wpafb.af.mil (Bob Plested) writes:
|> Does anyone know where to find the source code (or even an executable)
|> for the rgb to tiff conversion? I think it used to exist on sgi.com,
|> but I can't find it on any of the usual ftp sites.

I think you'll still find it on sgi.com in ~ftp/graphics/tiff
-------------------------------------------------------------------------
Stan Jensen, Systems Engineer                          stanj@corp.sgi.com
Silicon Graphics Inc., M/S 14L-120                    Phone:(415)390-5822
P.O. Box 7311, 1350 Charleston Road                   FAX:  (415)962-1589
Mt. View, CA  94039-7311                                "I (heart) Tonks"
-------------------------------------------------------------------------
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: ENP0 problems on a 4D 240S
Date: 27 Aug 92 04:52:00 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Aug26.161813.27834@aristo.tau.ac.il> yaron@ARISTO.TAU.AC.IL (Yaron Zabary) writes:
|  Every time I reboot the machine, it complains that it cannot configure enp0 as
| ccsg-es (that is the output of echo "\n*** WARNING: failed to configure $1 as $2\n"
| from /etc/init.d/network). I once even got an error message from a manual ifconfig
| I issued. If I manually ifconfig enp0, everything is just fine, but that is a pain.
| Can someone help ? Will it help to put a sleep 30 as the first line of this rc file,
| to let some driver to load ?

Sounds like you don't have ccsg-es in your hosts file, and have some
networking interface other than enp0, and that the name is being
resolved by DNS or NIS through that other interface.  You really
need your local host entries in the /etc/hosts file.
--
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: pal@xanadu.wpd.sgi.com (Anil Pal)
Newsgroups: comp.sys.sgi
Subject: Re: cvbuild problem in Workshop
Date: 3 Sep 92 00:45:01 GMT
Reply-To: pal@wpd.sgi.com
Organization: Silicon Graphics, Inc.
Cc: alan@hal.larc.nasa.gov

In article <BtysG2.AsC@news.larc.nasa.gov>, alan@hal.larc.nasa.gov (alan dare) writes:
|> 
|> I having a problem with cvbuild under workshop. It will not correctly
|> interpret my makefile.
[...]
|> 
|> $(OBJ_FILES) : $$R
|> 	cc -c $(OPT)  $R -o $@ 

cvbuild is complaining about $$R.  I find that make will accept this,
but smake will not.  cvbuild is aimed at recognizing smake syntax, so
I'm not too surprised that it falls on the smake side of the fence on
this one.

Replacing the $$R with $$(R) seems to fix the problem:

	$(OBJ_FILES) : $$(R)
		cc -c $(OPT)  $R -o $@ 

is accepted by both make and cvbuild.

-- 
Anil A. Pal
pal@sgi.com	(415)-390-5279
Newsgroups: comp.sys.sgi
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: Re: IRIX 4.0.4 include bugs
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Fri, 4 Sep 1992 14:03:42 GMT

olson@anchor.esd.sgi.com (Dave Olson) writes:
>mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
>
>| This program:
>| 
>| #include <pwd.h>
>| main()
>| {
>| }
>| 
>| ...produces three compilation warnings while it's reading the file
>| "/usr/include/pwd.h".
>
>I don't have 4.0.4, but it works fine for me under 4.0.5.  What
>warnings do you get, and what compiler flags are you using?

Using "cc -o x x.c":

accom: Warning 315: /usr/include/pwd.h, line 64: struct/union __file_s  declared within and limited to this function prototype. Any later function prototype type matching will fail.
       extern struct passwd *	fgetpwent(struct __file_s *);
       ---------------------------------------------------^
accom: Warning 315: /usr/include/pwd.h, line 65: struct/union __file_s  declared within and limited to this function prototype. Any later function prototype type matching will fail.
       extern int		putpwent(const struct passwd *, struct __file_s *);
       -------------------------------------------------------------------------^
accom: Warning 315: /usr/include/pwd.h, line 68: struct/union __file_s  declared within and limited to this function prototype. Any later function prototype type matching will fail.
       extern struct passwd *	_pw_interpret(char *, int, struct __file_s *);
       --------------------------------------------------------------------^

--

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | This is a
University of Waterloo, Ontario, Canada                        | machine that
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | goes PING!
---------------------------------------------------------------+--------------
From: avdk@cwi.nl (Aad v/d Klaauw)
Newsgroups: comp.sys.sgi
Subject: How do i use ide subcommands?
Date: 3 Sep 92 23:07:32 GMT
Organization: CWI, Amsterdam

In order to service and maintain our sgi machines (mostly indigo's) ourselves
i would like to learn about all separate ide commands like 'inet2 -e', 
graphics tests etc., and in which order they are being executed during selftest 
and diagnostics. I played a while with a broken transceiver, unterminated
network and inet2 but couldn't produce any diagnostics messages.

Any help or pointers to documentation will be appreciated.

Aad.
------
Aad van der Klaauw                   avdk@cwi.nl
Centre for Mathematics and Computer Science (CWI)
Kruislaan 413, 1098 SJ Amsterdam, The Netherlands
From: story@sgi.com (David (Duis) Story)
Newsgroups: comp.sys.sgi
Subject: Re: anyone have any caveats/hints for installing HPljIII on a 4D/35???
Date: 26 Aug 92 18:43:27 GMT
Organization: Silicon Graphics, Inc.

In article <fish.714769975@news2.gsfc.nasa.gov> fish@daacdev1.stx.com writes:
>i was just wondering if anybody had run into any problems - we have
>the extra laser printer support - i haven't tried installing it yet
>but thought i'ld put out a feeler for folks with prev experience

The "Laser Printer Support" package is a misnomer, it is really
TranScript, and really is meant to support only Apple LaserWriter I
and II printers via the serial port.  While the HP LaserJet with an
additional Apple-compatible PostScript cartridge *may* be compatible
when hooked up via the serial port, there is a much better solution
available now.

SGI has recently begun shipping Impressario, which includes explicit
support for the HP LaserJet IIP, IIP+, IIIP, and III WITHOUT a
PostScript cartridge.  Impressario includes host-based rendering for
SGI Image, text, and PostScript, and uses the parallel port to
download simple raster bitmaps to the LaserJet.  This means that on a
4D/35 your rendering can go a LOT faster for those images and complex
PS documents, and that you needn't spend $$ on a PS cartridge for the
LaserJet.  

In addition, Impressario printers report detailed status back to the
end user via a new Printer Status Panel, and a suite of graphical end
user tools allow each user to customize the settings for their print
jobs when sent to each Impressario printer.  All of these functions
work across the network, transparently.

I highly recommend Impressario for HP LaserJets connected to any SGI
machine which has a parallel port.  Check it out!

Cheers,

David Story                        	        Silicon Graphics, Inc.
story@bent.wpd.sgi.com				Mountain View, California
Newsgroups: comp.sys.sgi
From: srikant@skorpio.usask.ca (Srikant Subramaniam)
Subject: Problem with sproc()
Organization: University of Saskatchewan, Saskatoon, Canada
Date: Thu, 3 Sep 1992 22:38:15 GMT

Hello:

I've been unable to figure this compiler error :-( Could somebody pl help?

Code fragment follows:
-----------------------

class Worker {
..
..
public: Worker() {
		....
		sproc(get_to_work, PR_SALL); // ERROR HERE
		...
	}

	void get_to_work() {
	...
	..
	}
} // Class Worker

When I compile this code, I get these errors:

1. error: bad argument  1 type for sproc(): void (Worker::*)() ( void (*)(void *)
   expected)  (in the line marked as "ERROR HERE" above.)

Thanks ...

-- 
----- 
 |\/\/\/|      Srikant Subramaniam.
 |      |      srikant@cs.usask.ca 
 |	|
 |      |      Disclaimer: This is not what really I look like. 	
 | (o)(o)      Disclaimer: I didn't do it, nobody saw me do it, 
 C      _)                  can't prove anything. 
  | ,___|             
  |   /     
  /---\
From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
Newsgroups: comp.sys.sgi
Subject: Thanks for tips.
Date: 2 Sep 92 15:16:13 GMT

Thanks to all who responded to my hard disk problem inquiry.
Unfortunately, the disk crashed totally before we could do 
anything.  I appreciate the help.

---
Fred Phelan
fred@poly2.nist.gov
/*___________________________________________________
   ____ __  ___  __    ___       ___        ___ 
  /__  /_/ /__  / /   /__/ /__/ /__   /    /__/ /\  /  
 /    / ( /__  /_/   /    /  / /___  /___ /  / /  \/
___________________________________________________*/
Newsgroups: comp.sys.sgi
From: raeker@tc4.fi.ameslab.gov (Todd J. Raeker)
Subject: are gl objects faster?
Reply-To: raeker@tc4.fi.ameslab.gov (Todd J. Raeker)
Organization: Iowa State University
Date: Wed, 26 Aug 1992 13:48:05 GMT

  I am writting a gl program that draws about 100 animated rames of 200 16 sided 
polygons all the same size and shape using tmesh.  I thought that if I used 
makeobj(obj) once to create the object and then callobj to draw all the polygons 
it would be faster than doing the tmesh 200 times.  Am I wrong or are there just 
a few case that using an object is faster the drawing the same over over and over 
again with the same hard code?  Any advice would be appreciated on speeding this 
up also.  I am not using z-buffering since I can easily sort, w/r to z, the polgons 
first.  This gave me at least a 30% speedup.

-- 


Dr. Todd J. Raeker           |      307B Wilhelm Hall
raeker@tc4.fi.ameslab.gov    |      Iowa State University
Phone (515)-294-9927         |      Ames Laboratory, USDOE
FAX   (515)-294-5204         |      Ames, Iowa 50011
Newsgroups: comp.sys.sgi
From: cohen@lindsay.psychiatry.uiowa.edu
Subject: dopup
Date: Mon, 31 Aug 1992 16:13:30 GMT
Organization: University of Iowa

Does anyone have any information about the levels and number of entries that
are available for the pop-up menuing systems?  We have some relatively complex
menus that seem to run the pup into the ground.  Is there a limit to the number
of total entries/entries per level/levels?

thanks
 
Newsgroups: comp.sys.sgi
From: schachar@chemsg1.tau.ac.il (Schachar Levin)
Subject: reading the file table
Organization: Tel-Aviv University
Date: Wed, 26 Aug 1992 13:47:28 GMT

Hello,
I was trying to read the file table in order to find which user owns
what socket to write RFC 931 for IRIX problem is that I can't find
the library where the routines described in /usr/include/sys/file.h
are.
can any one help (about reading file table or RFC 931 for IRIX)

-- Schachar.

Newsgroups: comp.sys.sgi
From: alek@spatial.com (Alek O. Komarnitsky)
Subject: Re: 3.10 Based C++/Fortran 77
Organization: Spatial Technology, Inc. (Boulder, Colorado)
Date: Wed, 2 Sep 1992 17:17:36 GMT

In article <p5aa664@twilight.wpd.sgi.com> wsj@wpd.sgi.com writes:
>In article <32258@adm.brl.mil>, john@sg25.aud.temple.edu (John W. Schwegler) writes:
>|> I just received a quote for C++ 3.0 (SC4-C++-3.0) and Fortran 77 (SC4-FTN-3.5)
>|> from an SG Express rep. Both products were listed in parentheses as being
>|> "3.10 backend based", with a note from the sales rep that I needed to have an
>|> R4000 based system to use them. Is this true? It sounds rather strange to me.
>The 3.10 compilers will run on any SGI system based on an R3000 or R4000.
>There is improved support for the R4000 in them (use the option -mips2),
>but an earlier release (the 2.20 release) also had this support.

OK, so if I understand correctly, the difference between the 2.x and 3.x
compilers is that they generate better R4000 code, but there is nothing
wrong with using the 2.x compilers (?)  I'm a bit leary of putting the 3.x
compilers on - reference recent posting about C++ bug. BTW, is there any
easy way to run both simultaneousely?

WRT C++, what version of AT&T cfront/etc. is the 3.10 release based upon?
If not AT&TC++3.0, is there any timetable when that will become available?

Mucho Thanx, 

Alek Komarnitsky                                      303-449-0649
Software Tools Manager, Spatial Technology, Inc.      2425 55th Street, Bldg A
alek@spatial.com                                      Boulder, CO 80301-5704
From: englund@gdstech.grumman.com (Dave Englund)
Newsgroups: comp.sys.sgi
Subject: xview on SGI?
Date: 26 Aug 92 15:12:27 GMT

Yet another question for those in the know:

Is there anything out there that will let me run an application on an
SGI machine whose interface is in xview for a Sun ? 


Thanks for those who responded to my Display PostScript question. The
required dps_eoe is being pursued. (In the meantime, I have installed
ghostview - works great!)


			Dave Englund | #include <stdio.h>
	 englund@gdstech.grumman.com | main() 
		       Grumman Corp. | {
	   Corporate Research Center | 	  printf("hello, world\n");
			Bethpage, NY | }
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: System Slowdown
Date: 4 Sep 92 18:28:16 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <Bu22Jz.D3I@knot.ccs.queensu.ca> tarun@psyclops.psyc.queensu.ca (Tarun Kripalani) writes:

| I am experiencing a slowdown in our Iris (310GTX) whenever
| we have more than a certain number of files in a directory.
| As soon as I am in a directory that has about 2000 files and 
| I do a mv, cp, ls etc. it takes ages to perform. Everything 
| I do then is slowed down including any other user's processes.
| Why is this happening? What can I do to fix this problem?

It runs afoul of the inode caching, among other things.

As I recall, the easiest fix is to bump NBUF in master.d/kernel,
run autoconfig, and reboot.  Typically NBUF is set to 0, so
it is autoconfiged by the algorithm (at least in 4.0.5, but
I think this is the same at least as far back as 4.0.1):
	if (v.v_buf == 0)
		v.v_buf = 75 + physmem / 2000 * 25;
where physmem is the amount of memory in pages.
--
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: ram@ramsgi.erenj.com (ram rajagopalan)
Subject: news reader
Reply-To: ram@ramsgi.erenj.com (ram rajagopalan)
Organization: Exxon Research & Engineering
Date: Fri, 4 Sep 1992 20:20:02 GMT



  does anyone know of a good news reader for SGI platforms ?  Any suggestions
  would be appreciated.
From: eleonard@samson.hac.com (Ed Leonard)
Newsgroups: comp.sys.sgi
Subject: Looking for SLIP or PPP for SGI
Keywords: SLIP, PPP, communications
Date: 28 Aug 92 21:08:39 GMT
Reply-To: eleonard@samson.hac.com
Organization: Hughes Training Incorporated, WCO

We are looking for an off-the-shelf or freeware SLIP or PPP communications
software for an SGI workstation. Please reply via email.


Thanks in Advance,
Ed Leonard
email: eleonard@samson.hac.com
From: thad@lever.asd.sgi.com (Thad Beier)
Newsgroups: comp.sys.sgi
Subject: Re: Inventor with g++
Keywords: Inventor g++
Date: 25 Aug 92 17:16:20 GMT
Reply-To: thad@sgi.com
Organization: Silicon Graphics

In article <8DZ5DGD@mailgzrz.tu-berlin.de>, bzfpaets@vispars1.zib-berlin.de (Paetsch) writes:
|> We just got the Inventor and I tried the simplest example of the Programming
|> Guide. Because of the lack of the SGI C++-compiler I tried it with GNU's g++ 
|> (Version 2.2.2). The result was a big amount of error and warning messages. It was the
|> first time I used the g++-compiler and my first step towards Inventor-programming.
|> Is there anybody who has more then NO experience with this. Is it possible to use the
|> g++-compiler for Inventor or do I have to buy the SGI C++-Compiler? Any hints and tips
|> are welcome.
|> Content-Length: 76
|> 
|> Olaf Paetsch
|> Konrad-Zuse-Zentrum fuer Informationstechnik (ZIB)
|> Berlin
|> 

I have done some experiments with Inventor and g++, and came
across some extremely difficult-to-fix problems.  The biggest one
was with initializations of enumerations, which exist in about 20%
of the (many) Inventor header files.  G++ thinks that the enumeration
initializations are not constants, when in fact they are.  Fixing these
would require changing all of enumerations to be explicit constants,
which would make them much harder to understand.

I was using g++ version 2.2.2.  Until there is a version of g++ that
fixes this, and a few other problems, it will be our policy that we
will not support Inventor under g++.  I am unhappy about having
to say this,  but our team is too small to chase the moving target
of g++ while doing everything else that we are doing (like chasing
a moving SGI c++, but that's another story)


-- 
Thad Beier..Silicon Graphics..415)390-1028..thad@sgi.com..C-172A N7770T.....FLY!
Newsgroups: comp.sys.sgi
From: doctor@kronos.arc.nasa.gov (Terry Fong)
Subject: looking for old "talk" (BSD 4.2) for IRIX4.0.5
Summary: need "talk" or info on compiling with BSD_COMPAT
Keywords: talk, BSD
Organization: NASA/ARC Information Sciences Division
Date: Sun, 30 Aug 1992 20:34:14 GMT

Hi all,

I am looking for the old "talk" program (BSD 4.2 I believe). The
version included with IRIX4.0.5 is new talk ("ntalk") but since I have
many machines that are brain-damaged and only speak old talk, I am
looking for a version that will run on my SGI's. If you have the old
talk built, could you please send me a note my way
(terry@ptolemy.arc.nasa.gov).

I've already tried to build the old talk from sources on
gatekeeper.dec.com (/pub/bsd-sources/ucb/talk), but I've been unable
to get it to compile under IRIX 4.0.5 (problems with BSD signals and
all).

Thanks very much.

-Terry



-- 
_______________________________________________________________________________
 "You do not understand anything     | Terry Fong <terry@ptolemy.arc.nasa.gov>
  until you understand it in more    | NASA Ames, M/S 269-3, Moffett Field, CA
  than one way..." -- Marvin Minsky  | (415) 604-6063, FTS-464-6063
Newsgroups: comp.sys.sgi
From: silvert@biome.bio.ns.ca (Bill Silvert)
Subject: mailbox: Error 0
Organization: Habitat Ecology Div., Bedford Inst. Oceanography
Distribution: na
Date: Mon, 31 Aug 1992 20:44:40 GMT

I have a mailbox that gets installed through the following command in
my .sgisession file:

/usr/sbin/mailbox -S $USER -m 'EXINIT="se wm=8" /usr/sbin/xwsh -name
"$USER mail" -bg 7 -fg 0 -bold 0 -selfg 1 -selbg 3 -e /usr/local/bin/elm'
-S $USER -s 100 -L 44 -M 63

(all on one line of course).  Whenever I close it after reading some
mail the flag goes up again and I have to open and close it without
reading any mail to get the flag to stay down.  When this happens the
message "mailbox: Error 0" appears on the console window.

I have other mailboxes that I open with the command:

mailbox -m 'xwsh -title "$USER mail" -bg 7 -fg 0 -bold 0 -selfg 1 -selbg
3 -e /usr/local/bin/elm' -S $USER -s 100 -L 44 -M 63 $*

in a shell script.  These function fine.  I haven't started playing around
with the minor differences yet, but does anyone know why I have these
problems with the first mailbox?
-- 
------------------------------------------------------------------------
William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
InterNet Address: silvert@biome.bio.dfo.ca
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: abekas scsi driver
Date: 3 Sep 92 18:55:33 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <32337@adm.brl.mil> stephens@slowhand.wes.army.mil writes:


| we have an abekas 66 video disk and want to drive it off of an sgi running
| 4.0.[345] via scsi.. i recall someone from sgi saying that 4.0.x has a
| scsi driver for the A66.  I can't seem to find it.
| does anyone out there have such a driver and if so where do you get it?

No, there is no such driver in the released software.  I'm sure that
a driver *does* exist, probably in one of the video groups, but it
isn't shipped standard, to the best of my knowledge.

There *is* a directory in 4Dgifts (/usr/people/4Dgifts/iristools/abekas)
whose comments say that it is a control panel for the A60 and A64.

I didn't look to see just how much it does, but you might want to
start from that (it is in dev.sw.giftsfull; not eoe2, as somebody
gracefully corrected me the other day, when talking about some
other sample code...)
--
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