HDTenEightyP/NetNews huggingface dataset:
From: dale@ldgo.columbia.edu (dale chayes)
Newsgroups: comp.sys.sgi
Subject: Re: debug process file, what is it?
Summary: FAQ/RTFM
Keywords: debug process file, question
Date: 10 Apr 92 20:32:07 GMT
Organization: Lamont-Doherty Geological Observatory

In article <12157@tamsun.tamu.edu>, k1w8221@sc.tamu.edu (Khalid Sarwar Warraich) writes:
> Hi,
> 
> I need help figuring out what a 'debug process file' is.  First some
> background: 

.............lots deleted about /debug in the output of df............


You might try a simple two step approach:

1)  man -k debug 

Which will produce the following output (Irix 4.0.1):

gonzo:/usr/people/dale> man -k debug
ctrace (1)              - C program debugger
dbg, debug (4)          - the debug file system
dbx (1)                 - a source-level debugger
edge (1)                - window based debugger
setsym (1)              - set up a debug kernel for symbolic debugging
Uutry (1M)              - try to contact remote system with debugging on

2) man dbg
	Which will produce a man page which explains that these are 
not realy "files", but a mechanism for allowing you to attach the nice 
debuggers like dbx and edge to a running process.


How come we don't have a FAQ yet? (or did it happen while I was at sea?)

Dale

Dale Chayes Lamont-Doherty Geological Observatory of Columbia University
Route 9W, Palisades, N.Y.  10964	dale@lamont.ldgo.columbia.edu
voice:	(914) 359-2900 extension 434	fax: (914) 359-6817

-- 
Dale Chayes Lamont-Doherty Geological Observatory of Columbia University
Route 9W, Palisades, N.Y.  10964	dale@lamont.ldgo.columbia.edu
voice:	(914) 359-2900 extension 434	fax: (914) 359-6817
From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
Newsgroups: comp.sys.sgi
Subject: Re: How About a Word Processor with IRIX 4.0.X?
Date: 13 Apr 92 01:44:41 GMT
Organization: Silicon Graphics, Customer Support Division

In article <1992Apr11.004752.9988@ringer.cs.utsa.edu>, senseman@lonestar.utsa.edu (David M. Senseman) writes:
|> With summertime fast approaching (at least here in Texas), maybe
|> someone at SGI should get a couple of talented Stanford graduate
|> student interns to write some apps for Workspace, in particular
|> a modest Word Processor. I don't mean a heavy duty product like
|> Frame, but something that could give you WYSIWYG, a spell checker,
|> mouse control, etc. For example, when Microsoft released Windows, 
|> it included its "Write" program ... a reasonable little text 
|> processor. Write is/was functional, but not a serious competitor to
|> "end-high" packages such Word for Windows, WordPerfect for Windows, etc.
|> 

Why not use IRIS Showcase?  I've used it regularly for years to do basic
document processing.  It's WYSIWYG. It has a spell checker.  It has the
ability to produce drawings, incorporate images and 3D objects.  The best way
to do general multipage documents is to use the templates and linked-text-
blocks mechanism.  I've written modest 25 page design documents using it.
I've also used it for UI design and producing slide presentations.

It comes bundled with every new IRIS.  To run it from the command line,
type "showcase".

-- 

    __   * __   _  __  ___			
   /  \ / / /  / \/  \/   \ 	He was a man like any other man, however, not
  /    /  \/  /  /\  /    /	quite like any other man.
  \___/\__/\_/  /_/ / \__/	
	           *
From: MIKE@scripps.edu (Mike Whittaker)
Newsgroups: comp.sys.sgi
Subject: Security for the functionally illiterate
Date: 9 Apr 92 20:10:48 GMT

As far as security on these machines is concerned, please don't assume 
anything. I am not a unix expert, but simply a lowly biologist. I have a
4D35 that is on internet, and the first I knew about accounts without 
passwords is what I've been reading here. Maybe I'm the only boob out there 
who doesn't know these things, I dont' know, but I suspect these machines sit 
on desks of people who know only enough unix to do what they need to do in 
the course of their research.

If it's not too much trouble, could someone get together all the holes that 
should be plugged and publish them here? I'd like to sleep better.

.............................................................................
:                                  					    :
: Mike Whittaker			Voice: (619)554-9889		    :
: Department of Cell Biology	  	Fax: (619)554-6112		    :
: The Scripps Research Institute	internet: mike@scripps.edu	    :
: Mail Drop MB14			  				    :
: 10666 N. Torrey Pines Road	  					    :
: La Jolla, CA 92037		  					    :
:...........................................................................:
From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
Newsgroups: comp.sys.sgi
Subject: Re: How About a Word Processor with IRIX 4.0.X?
Date: 15 Apr 92 21:57:45 GMT


Earlier I wrote:

> Why don't people familiar with the product post suggestions
>they have for improving text capability, I'm sure SGI would be interested.

>I can think of two ... (1) automatic linking of text boxes at the end 
>of a page a la Frame ...

I stand corrected, it does do this ... choose the document template
in set template.

Some one else mentioned earlier that it does not do page numbers ...
Wrong, it does this as well.

However, I'd still like to see a better grid and snapping capability.
Especially a better grid.  The points in the current grid are sort
of uneven with respect to the sides (Although at the rate I'm going
I'm expecting a merssage that says you can reset that as well).

Fred Phelan
fred@poly2.nist.gov
From: shamis@rocknroll.UMCS.Maine.EDU (Jim Fastook)
Newsgroups: comp.sys.sgi
Subject: install 4.0.1 with limited memory and disk on 4d35
Keywords: 4.0.1
Date: 5 Apr 92 03:17:40 GMT
Organization: University of Maine, Department of Computer Science

I have a 4d35 with the default disk (385M or so) and the minimum memory
(8M) and am running with the disk between 70 and 90 percent full. 
performance is fine (for most of my programs, a little slow for 
things like the Visualizer) and I am wondering, after seeing suggestions
that 4.0.1 needs more disk (How much more that 3.3.2) and more memory
(they suggest 12-16M minimum) whether i should stick with 3.3.2 until
i can afford memory and disk. Any tips, advice, etc.???? thanks...
jim fastook
university of maine
orono, me, 04469
fastook@maine.maine.edu
or above address...
From: steve@pitacat.math.cwru.edu (Steven H. Izen)
Newsgroups: comp.sys.sgi
Subject: Two questions: What does this mean?  and  bootp?
Date: 6 Apr 92 16:19:45 GMT
Article-I.D.: usenet.1992Apr6.161945.26843
Organization: Math Dept., Case Western Reserve University, Cleveland, Ohio
Originator: steve@pitacat.math.cwru.edu


This appeared in my syslog the other day.  Does anyone know what it
means?  Should I be concerned?

Apr  1 13:37:36 pitacat unix: WARNING: Error "K" occured
Apr  1 13:37:36 pitacat unix: 

An unrelated question:  I am not booting remotely.  Do I need to have
bootp running?  From time to time I see this in the syslog:

Apr  2 18:22:51 pitacat bootp[23301]: reply boot file /dev/null
Apr  2 18:23:03 pitacat last message repeated 3 times
Apr  2 18:52:12 pitacat bootp[23301]: reply boot file /dev/null

What's this about? I rtfm on bootp and it seems that I don't really
need to be running it.  Have I missed something?

Oh, I'm using a 4D/35 4.0.1.


			Steve

-- 
Steve Izen, Associate Prof. of Mathematics, Case Western Reserve University
shi@po.cwru.edu <---preferred   \  Voice: (216)368-2891  Fax: (216)368-5163  /
steve@pitacat.math.cwru.edu      \_|\_|\_|\_|\_|\_|\_|\_|\_|\_|\_|\_|\_|\_|_/
steve@izen386.math.cwru.edu or uunet!cwjcc!skybridge!izen386!steve
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: modem on Indigo questions
Date: 14 Apr 92 06:24:08 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Apr13.133916.29640@rice.edu> pav@cs.rice.edu (Phuong Vu) writes:

| I have a standalone Indigo (not directly connected to any network)
| and I have several questions that I need some help with:
| 
| - why is it that everytime I want to mount my floppy drive to read
| or write a diskette to bring to/from work, I have to login as root.
| I really have to login as root, becoming superuser via su is not
| enough.  It won't let me mount the floppy drive.  It works but just
| a bit inconvenient.

It is a bug, fixed in 4.0.4; call the TAC, confirm this, and
request the update.

| - what is the recommended way to dial out using a modem.  I have a 
| Telebit T2500 modem connected to my serial port 1.  I modified the 
| /etc/inittab file as indicated in the Indigo Personal Network Admin 
| Guide.  I have tried using cu:
| 
|         cu -s 9600 -l /dev/ttyd1
| or      cu -s 9600 -l /dev/ttym1

You have to setup some of the files in /usr/lib/uucp also, and also
chown the port to uucp.

| I really rather use SLIP but due to security reason of the systems that I
| am dialing into, that is not doable.  Does anyone have a suggestion on how
| to get SLIP like functionality so I can telnet and ftp from my machine
| without having SLIP running on the remote machine.

Nope.  What are the remote systems security concerns?  I fail to see
anything that makes SLIP less secure than a login via cu or kermit,
as long as your system isn't connected to some other network.

| - Is it possible for me to use the cdrom drive on my Indigo with my PC ?

Probably not, because the block size defaults to 512, not 2048.  If
you are comfortable with SCSI, and have some program on your PC
like scsicntl, you can set the block size to 2048 every time you power
it on, and then it should work.
--
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: woo@basia.csd.sgi.com (Mason Woo)
Newsgroups: comp.sys.sgi
Subject: ftp site for Developer's EXPO source code (CORRECTION)
Date: 15 Apr 92 21:18:12 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA

Oops.  I goofed.  At the Developer's EXPO, I provided people an ftp
address for source code to complement our tutorial presentations.  
I provided the WRONG ftp address!

Here is the correct ftp address and procedure.  

	The ftp address is 192.82.208.1 (not 192.26.51.11 as originally
	reported).  The machine is named sgigate.
	The login should be anonymous and your password should identify
	your login and machine names.
	The directory is csd/expo.
	The files are gfx.tar.Z, motif.tar.Z, pprog.tar.Z, and
	realtime.tar.Z.  These are the code examples from the tutorial
	courses taught at the Developer's EXPO.

	After you get these files, you should uncompress them and then
	tar/extract them (tar xvf filename).

Please note that we will only leave these files on sgigate through the 
month of May.  (We need the disk space.)  This code is unsupported and
is for educational purposes.  Please don't call Silicon Graphics with
questions about the source code; the code examples are meant to be like
the 4Dgifts directory.

--
Mason Woo:  "Gaijin Goalie" 	(415) 962-3314 
Silicon Graphics, Inc.	Internet: woo@SGI.COM 	
Arafat is not only alive; he's declared he will run in the
April 28th Democratic Primary in Pennsylvania.
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: tape drive limits
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Distribution: comp
Date: Fri, 17 Apr 92 17:42:24 GMT

In <1992Apr16.1152.13738@dosgate> "alan kennedy" <alan.kennedy@canrem.com> writes:

| -> | I was trying to backup the user data on several 3M 150mgbyte tapes.
| -> It | happened like this: after first tape is filled up, computer asks
| -> for the seco | tape and press a return. Since I was not at the place
| -> when this happend. So I
| 
| I too ran into this situation. We were backing up a large project, on
| three 150mb tapes. When we tried to restore the job, we were unable to
| restore the 2nd and 3rd tapes.
| 
| According to SGI (at the time) you can not do this. I know it says to
| insert the next tape, but apparently this is a bug. A good thing to find
| out after you just blew away 400mb of image files. I'm not sure if this
| is still a bug or not, but we havn't tried it again since 3.1.

I haven't seen the full text of the original posting.  Just what is
it that SGI says can't be done?  Certainly multivolume tape on
QIC-150 does work (both writing and reading).  It isn't clear to
me just what the complaint is about.
--
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: bobg@rains.wpd.sgi.com (Bob Green)
Newsgroups: comp.sys.sgi
Subject: Re: inst
Date: 15 Apr 92 14:44:55 GMT
Reply-To: bobg@rains.wpd.sgi.com (Bob Green)
Organization: sgi

In article <30041@adm.brl.mil>, beyer@bflsgu.fl.bs.dlr.de (R. Beyer) writes:
|> 
|> Hi,
|> 
|> is it possible to install a regular file from a CD-ROM by means of inst
|> to supersede a corrupted one ? Or does inst only allow to install complete
|> subsystems. I'm running Indigo 4.0.1.
|> 
|> Thanks for any hints and best regards
|> 
|> Ralf Beyer

Inst will only install at the subsystem level.

Bob Green (SGI)
From: pjf@osiris.cs.uoguelph.ca (Peter Jaspers-Fayer)
Newsgroups: comp.sys.sgi
Subject: Bootable BRU tape?
Date: 8 Apr 92 21:13:26 GMT
Article-I.D.: adm.29964

Using mkboottape, we hope to try to make our "disaster" backups bootable.
I guess we can bring up a miniroot, but then how to include `bru` in that?

The alternative is to go through most ofi an install, and then full restore.
Seems a waste of time.  Anyone else looked into this?  Suggested reading?

-- 
 /PJ                                            pjf@osiris.cs.uoguelph.ca
                                                       pjf@vm.uoguelph.ca
                                                       (519)824-4120x6309
From: hofer@urz.unibas.ch (Remo Hofer)
Newsgroups: comp.sys.sgi
Subject: explorer startup problem
Date: 7 Apr 92 11:25:09 MET
Organization: University of Basel, Switzerland

Since a couple days I have the problem, that explorer doesn't run anymore. It
always gives the error message:

UI: localhost: unknown host
User interface: exited, code 2

I checked my /etc/hosts file for the localhost entry and couln't find anything.
Here's the first part of /etc/hosts:

127.1           localhost
# the following is our TCP/IP address
131.152.102.2   monet monet.unibas.ch monet.physik.unibas.ch

I changed localhost to 127.0.0.1 and back, but this didn't help. I didn't
use explorer for some time and changed the sytem configuration in this time.
(installed quotas and turned on X authorixation) 

Can anybody help? Thanks in advance.
Regards
Remo Hofer
-- 
       RFC822:  <hofer@urz.unibas.ch> or <hofer%urz.unibas.ch@CERNVAX.BITNET>
        X.400:  S=hofer;OU=urz;O=unibas;P=SWITCH;A=ARCOM;C=CH
  HEPNET/SPAN:  CHGATE::YOGI::HOFER or 20579::48130::HOFER
From: taylorf@sweetpea.jsc.nasa.gov (Frank S. Taylor IV 283-4278)
Newsgroups: comp.sys.sgi
Subject: gcc2.1 continued
Date: 7 Apr 1992 16:10:34 GMT
Organization: nasa-jsc

I've received help from several people on installing gcc2.1 under
IRIX 4.0.1.  However, I'm still having a problem.  The alloca() supplied
under IRIX 4.0.1 has some caveats that the gcc code doesn't like.
The gnu stuff provides an alloca() that works, but I haven't been able
to fool the gcc2.1 Makefile into accepting a different alloca for the
first stage.  I even added -cckr to the compile flags thinking it was
some ANSI problem.  It's strange, but no one else has mentioned this 
problem...  Has anyone else had this problem and solved it?

----------------------------------------------------------------------------
Frank S. Taylor IV  -  McDonnell Douglas Space Systems Company
16055 Space Center Blvd., Houston, Tx  77062
(713) 283-4278 (Voice)  ||  (713) 283-4020 (Fax)
taylorf@sweetpea.jsc.nasa.gov
----------------------------------------------------------------------------
From: seaney@robios.me.wisc.edu (Steve Seaney)
Newsgroups: comp.sys.sgi
Subject: Binary Data through Serial Port
Date: 13 Apr 92 21:38:17 GMT
Article-I.D.: robios6.SEANEY.92Apr13163817
Organization: U. Wisconsin-Madison, Robotics Laboratory



I need to tranfer Binary data from an instrument into our Iris 4D/20.
Can anyone out there send me some sample files of the termio settings,
etc?  It'd really speed up the process.

Thanks a lot!
Steve
--
  seaney@cae.wisc.edu        *  University of Wisconsin - Madison             
******************************  Robotics Research Laboratory
  608 / 262-9056             *  303 Mechanical Engineering                    
  608 / 262-7463             *  1513 University Avenue                        
  608 / 256-4730             *  Madison, Wisconsin  53706
From: pj@sam.wpd.sgi.com (Paul Jackson)
Newsgroups: comp.sys.sgi
Subject: Re: du: bug or unclear definition?
Keywords: du
Date: 9 Apr 92 22:28:27 GMT
Article-I.D.: twilight.jbhe5ks
Reply-To: pj@sgi.com
Organization: Silicon Graphics, Research & Development

In article <1992Apr9.154248.7583@cc.umontreal.ca>, gaumondp@ERE.UMontreal.CA (Gaumond Pierre) writes:
|> I have compared the results given by "du" and the accounting program "acctdusg".
|> 
|> % du -s
|> 1894	.
|> 
|> % find $home -print | /usr/lib/acct/acctdusg 
|> 04910	gaumondp	   1924

This is not, I believe a bug in du, and it was just happenstance
that you got an error the same size as some directory.  The bug I
see is in SGI's port of acctdusg, which accounts for indirect
disk blocks using a homebrew equation that never heard of EFS
extents.

Try:

	du -s /bin/ls
and
	echo /bin/ls | /usr/lib/acct/acctdusg

For the particular release I'm running, du reports 240 blocks
and acctdusg reports 243 blocks.  The bigger the file, the
bigger the excess usage reported by acctdusg.

I'll file a bug on acctdusg.  Thanks.

-- 

				I won't rest till it's the best ...
				Software Production Engineer
				Paul Jackson (pj@sgi.com), x1373
Newsgroups: comp.sys.sgi
From: ccut.cc.u-tokyo.ac.jp!crow!ben (Tom Benoist)
Subject: getvaluator() bug in 4.01
Reply-To: ccut.cc.u-tokyo.ac.jp!crow!ben
Organization: Omnibus Japan, Inc.
Date: Tue, 14 Apr 92 07:12:42 GMT

I noticed this bug with 4.01 and wondered if theres a
fix in later versions.

The problem involves the getvaluator(MOUSEX & MOUSEY) values
getting clipped to a window during an applications 
first mouse down event.

Try the following code and watch the values during the 
first mouse down in the window.

The code works fine on 3.X.



/--------------------- clip -----------------------------------/

/*
 *  getvaluator bug;
 *  compiled with
 *  cc gvb.c -o gvb -lgl_s 
 *
 */

#include <gl.h>
#include <gl/device.h>


main()
{
    long  d;
    short data;

    winopen("Test");
    qdevice(MOUSE3); 

    while(1) {
	d = qread(&data);
	if (d == MOUSE3 && data == 1) 
	    mouse_track();
    }
}

/*
 *  getvaluator() is clipped to the 
 *  window boundry during the first
 *  mouse down... then unclipped during 
 *  subsequent events.
 *
 */
mouse_track()
{
    int x,y;

    while(getbutton(MOUSE3)) {
	x = (int)getvaluator(MOUSEX);
	y = (int)getvaluator(MOUSEY);
	printf("%d %d\n", x, y);
    }
}


-- 
-------------------------------------------------------------------------------
Any similarity between characters depicted in this electronic correspondence
and persons living, dead, or working in Tokyo is purely coincidental.
From: fnf@fishpond.uucp (Fred Fish)
Newsgroups: comp.sys.sgi
Subject: Re: tar portability problem
Date: 9 Apr 92 17:19:38 GMT
Organization: Amiga Library Distribution Services

In article <1992Apr8.184844.14319@helios.physics.utoronto.ca> mark@cita.toronto.edu writes:
|Every so often (not frequently, but a couple times a year) I've gotten
|a "directory checksum error" from tar when trying to use IRIX tar to
|read a tar archive created under SunOS, or vice versa.  I now finally
|understand the problem, thanks to a helpful tip from a friend.
|...
|All you have to do to create a nonportable tar archive is to include
|a directory which has a file whose name contains a character with the
|high bit set.  Granted, it isn't advisable to create files which have
|...
|The problem stems from the fact that (quoting my friend) ...
||                                                       tar's directory
|| entry checksum is non-portable in the presence of filenames containing
|| characters with the high bit set.  The original code for the checksum
|| contains the expression
||         i += *cp;
|| where cp of type `char *', and so the results will depend on whether
|| characters are signed or unsigned.
|...
|However, it would be nice to provide tar with a new option which would
|tell it to use an alternate (i.e. "char" == "signed char") method for
|computing checksums.

This bug also exists in the SVR4 tar.  I stumbled over it myself when
using a version of tar compiled on an Amiga 3000 with gcc, trying to
read a tar archive that was created with a version of tar compiled with
the AT&T compiler (for which chars are unsigned).

The fix I chose to implement in tar was to compute the checksum *both*
ways while reading tapes, and if the checksum matched either value, then
accept it as valid.  For newly created archives, the checksum was always
computed using signed chars (I believe; it's been a while and I no longer
have access to the code).

This allows compatibility with existing archives containing checksums
computed with either method, and uses the most popular implementation
dependent way of computing checksums for newly created tapes.

I think it also matched GNU tar's results... :-)

-Fred
-- 
|\/ o\  Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284,  USA
|/\__/  1-602-491-0048 {asuvax,mcdphx,cygint,amix}!fishpond!fnf
From: karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu))
Newsgroups: comp.sys.sgi
Subject: void (*fptr)() in structs...
Date: 7 Apr 92 21:54:22 GMT
Article-I.D.: adm.29946


This flys:

void (*DrawTriangleCode)(int v1,float x1,float y1,
		                 int v2,float x2,float y2,
			         int v3,float x3,float y3);


This bombs :

struct VoronoiGlobalsTag {
	void (*DrawTriangleCode)(int v1,float x1,float y1,
		                 int v2,float x2,float y2,
			         int v3,float x3,float y3);
	};

ccom: Error: ./VoronoiDefs.h, line 60: unknown size
        };
      --^

This flys

struct VoronoiGlobalsTag {
	void (*DrawTriangleCode)(int,float,float,
	                        int,float,float,
			        int,float,float);
	};

Seems that any arg names in a struct function pointer confuses the compiler.

Cheers!




Dan.
| karron@nyu.edu (e-mail alias )         Dan Karron, Research Associate      |
| Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  |
| 560 First Avenue                       Digital Pager <1> (212) 397 9330    |
| New York, New York 10016               <2> 10896   <3> <your-number-here>  |
``Too busy doing to write about it, too busy writing to do anything about it.''