HDTenEightyP/NetNews huggingface dataset:
From: sidwell@ohstpy.mps.ohio-state.edu
Newsgroups: comp.unix.ultrix
Subject: help requested: f77 and ERRSNS error trapping
Date: 20 Aug 92 11:44:06 EDT

	I am trying (very unsuccessfully) to use the ERRSNS subroutine
to spot arithmetic faults.  I would like to 1)keep my program running
even in case of an arithmetic fault and 2)keep track of what kind of
fault occurred and how often (it is important for me to distinguish
between underflow and overflow).  My program is in DEC Fortran 3.1
under ULTRIX 4.2.
	To try to do the above two things I wrote the small program
below so I can learn how to use ERRSNS.  Something is wrong with that
small program because ERRSNS always returned zero for all of its
arguments, so that there is no way for me to achieve goal 2) above.
	I would very much appreciate answers for:
 - what is wrong with the small program below?
 - are there other ways to do the same thing?
or any hints on where to get those answers.
				Harried and Hopeless,
				     Ai Nguyen
P.S. I've also tried to set the fpe at compile time (as opposed to
     calling for_set_fpe) and the ERRSNS results are the same.

small test program=================================================
	implicit none
	include '/usr/include/for_fpe_flags.f'
	include '/usr/include/foriosdef.f'
	integer fnum,stat1,stat2,lun,cval
	integer for_get_fpe,for_set_fpe,old_fpe_flags,new_fpe_flags
	external for_get_fpe
	integer i,j,k
	real x,y,z
c
	old_fpe_flags=for_get_fpe()
	write(6,*)' old fpe=',old_fpe_flags
	new_fpe_flags=986895
	old_fpe_flags=for_set_fpe(new_fpe_flags)
	old_fpe_flags=for_get_fpe()
c integer divide by zero
	write(6,*)' '
	i=1
	j=0
	k=i/j
	write(6,*)i,'/',j,'=',k
	call errsns(fnum,stat1,stat2,lun,cval)
	write(6,*)fnum,stat1,stat2,lun,cval
c exponentiation of small number
	write(6,*)' '
	x=-1.e-99
	y=exp(x)
	write(6,*)' exp(',x,')=',y
	call errsns(fnum,stat1,stat2,lun,cval)
	write(6,*)fnum,stat1,stat2,lun,cval
c floating divide by zero
	write(6,*)' '
	x=1.0
	y=0.0
	z=x/y
	write(6,*)x,'/',y,'=',z
	call errsns(fnum,stat1,stat2,lun,cval)
	write(6,*)fnum,stat1,stat2,lun,cval
c
	write(6,*)' Bye'
	stop
	end
===================================================================
Newsgroups: comp.unix.ultrix
From: giltner@pogo.Colorado.EDU (Jon Giltner)
Subject: Re: DECnsr, has anyone any experience with it?
Organization: University of Colorado, Boulder
Date: Fri, 21 Aug 1992 14:32:03 GMT

osyjm@cs.montana.edu (Jaye Mathisen) writes:

>Doesn't support HP9000/700 series.  Even after 2 releases.  They support
>300's and 400's, but who cares about them?  How hard can it be to re-compile?
>I think DEC is chicken...  don't give 'em any reason to buy the competitor...

>It's based on Sun RPC, rather than OSF technologies...  Perhaps DEC is
>only paying lip service to incorporating OSF DCE technology...

>Minor side note to EDU people: NSR isn't under CSLG/TEI stuff yet, although
>it's a dec-developed product.  It's not outrageously expensive, but it
>ain't cheap either.  With my luck, it'll go under CSLG 2 days after I buy
>something else.

DECnsr is *not* a DEC-developed product. It is simply Legato's Networker
marketed thru DEC. I don't know how much actual development DEC is
putting into it, but I am told that DECnsr componants and Networker
componants interact. This explains why Sun RPC instead of DCE and why
it's not under CSLG.

>No Motif interface... It would be nice to be able to just point and click
>your way through, but doesn't happen.

Version 2.0 (which is version 3.0 of Networker) has a Motif interface.
-- 
Jon Giltner
Computing and Network Services          University of Colorado 
(giltner@spot.Colorado.EDU)             Boulder
Newsgroups: comp.unix.ultrix,comp.lang.prolog
From: wieckert@immd5.informatik.uni-erlangen.de (Wieland Eckert)
Subject: Bug in /lib/libm_G0.a !!?
Organization: CSD., University of Erlangen, Germany
Date: Tue, 18 Aug 1992 12:44:24 GMT

Hello netlanders !

I'm using Quintus Prolog (3.1) on a DS5000/200 (U 4.2) and came to the
following serious problem:
- Prolog wants to ld the /lib/libm_G0.a /* try to consult the
  library(math) */
- NB: QP needs all C libraries compiled with switch -G 0
- /lib/libm_G0.a === /lib/cmplrs/cc/libm_G0.a2.1 has the functions
	gamma, j0, j1, jn
  NOT compiled with -G0
- therefore the ld call is crashing with the wonderful error message:

ld:
/lib/libm_G0.a(gamma.o): object not compiled with -G 0 will not work linking with -A
/lib/libm_G0.a(j0.o): object not compiled with -G 0 will not work linking with -A
/lib/libm_G0.a(j1.o): object not compiled with -G 0 will not work linking with -A
/lib/libm_G0.a(jn.o): object not compiled with -G 0 will not work linking with -A


Did anybody else observe this ? What did you do to solve it ?
DEC, do you know about this library-bug ?

(No I have not sources for libm to rebuild it ...)

Thanks in advance,
Wieland/

-----
Wieland Eckert, Universitaet Erlangen-Nuernberg, Mustererkennung
e-mail: wieland.eckert@informatik.uni-erlangen.de

Newsgroups: comp.unix.ultrix
From: spa@fct.unl.pt (Salvador Pinto Abreu)
Subject: Re: Who is using my ftpd
Organization: Universidade Nova de Lisboa -- Lisbon, Portugal
Date: Wed, 12 Aug 1992 11:39:40 GMT

In article <1992Aug11.142140.22187@ktas.dk> kod@ktas.dk (Kwame Danquah) writes:

> With the use of ps -ax I can find out who has assess to our system. Is
> there a command one can use to find out who is having FTP connection to
> our system?

You could for instance use:

	netstat | fgrep ftp

and watch for lines like:

tcp        0      0  zen.fct.unl.pt.ftp     khore-dump.fct.u.4470  ESTABLISHED

with col.4 (Local Address) ending with .ftp, col.5 (Foreign Address)
will tell you who's connected to your ftp daemon right now (ie, what
host).

Another possibility is to append "-l" to the ftpd line in
/etc/inetd.conf, so that ftp connections are logged.

Alternatively you could replace your ftpd with a "nicer" one that does
more logging, such as the one on wuarchive.wustl.edu.
--
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: Stuff I can serve to conserve on disk space
Newsgroups: comp.unix.ultrix
Organization: University of California, Irvine
Date: 18 Aug 92 21:23:32 GMT

In article <Bt6L99.Cp1@ef2007.efhd.ford.com> Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes:
>I'll be getting a lot of DECstations clients running in a
>non-DECnet/TCP-IP/X environment.  They'll be connecting to a DEC
>"server" of some description and all will running the same version of
>Ultrix (I hope :) ).  I'd like to pare down on the amount of disk
>space that each client takes for the OS load.  Besides man pages, what
>are other sorts of things that I can either:
>
>	A.  Serve from my server
>	B.  Probably get rid of

We have a Visualization lab of 8 DECstation 5000/200 PXG systems with
a DECstation 5000/200 CX as their server.  Each of the PXG systems has
a local disk with root and swap on it.  The server and all the clients
share /usr, plus other disk partitions that are automounted from
the server (and other systems).  This cuts down what is needed locally
to the root partition (which includes /var on the server and clients).
You can make root as big as you want, depending on what Ultrix needs
on the root partition.


Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     BITNET:      iglesias@uci
Office of Academic Computing         uucp:        ...!ucbvax!ucivax!iglesias
Distributed Computing Support        phone:       (714) 856-6926
From: hudgens@SCRI.FSU.EDU (Jim Hudgens)
Newsgroups: comp.unix.ultrix
Subject: Re: Fortran for DecStation/Ultrix
Date: 17 Aug 92 15:38:18 GMT
Organization: SCRI, Florida State University
In-reply-to: fredv@hydra.acs.uci.edu's message of 14 Aug 92 21:50:57 GMT


In article <2A8C2AC0.28045@orion.oac.uci.edu> fredv@hydra.acs.uci.edu (Fred Velijanian) writes:

   Media prices
   are in the low hundreds of dollars usually (which includes
   documentation).

Yep.

Anyone else notice that DEC fortran didn't make the CD-ROM (CONDIST)
distribution?  Nor Motif.  Our salescritter *swore* both would be in
the August 1992 distribution.  Anyone know *when* these items will
make the "Ultrix Consolidated Software Distribution"?

JHH


--
Jim Hudgens 			Supercomputer Computations Research Institute
hudgens@sun13.scri.fsu.edu      

Newsgroups: comp.unix.ultrix
From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
Subject: Re: malloc
Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
Date: Fri, 21 Aug 1992 02:16:10 GMT

staniszewski@mayo.edu writes:

>I am having trouble finding a problem with dynamicly allocated memory.
>Specificlly I will get unexplicable bus errors inside malloc after LOTS of
>dynamic memory manipulation. I put a layer of tracking software between my
>program and malloc, which should have cought such things as freeing memory that
>wasn't malloced, writing beyond the block of allocated memory and some other
>stuff. I just ended up crashing inside molloc in a differn't place. 
>Does anyone have source for malloc that I could use to build a debug version
>and look at the internal structures and try to figure out what is happening??

	You could try using the mprof code from (as usual) decuac.dec.com,
in /pub/sources/mprof-3.0.tar.Z

	Mprof's pretty cool. It has a version of malloc that keeps memory
allocation related statistics, including some Very Cool stack unrolling
code that is wizard for helping find memory leaks. There is some rudimentary
checking in there for dup free()s and whatnot, and I'd dearly love for
some hero of the revolution to add tombstones and all that, but it isn't
going to be me. :)

mjr.
From: a006700@hp9000.csc.cuhk.hk (Tang Sammy)
Newsgroups: comp.unix.ultrix
Subject: Re: Ultrix 4.2A - going to die ?
Keywords: ultrix
Date: 22 Aug 92 04:19:15 GMT
Distribution: comp
Organization: The Chinese University of Hong Kong

In <1992Aug21.212049.24925@nntpd.lkg.dec.com> mcintosh@gruvy.enet.dec.com (Steve McIntosh) writes:

>don't take my 
>word for  it;  read the "OST Labs" column in the May 11, 1992, edition
>of Open 
>Systems Today.   ULTRIX V4.2 is compared in great detail to DEC OSF/1. 
>Commands 
>and utilities are compared; applications are ported; benchmarks are run,
>etc.

Can anyone kindly give me more information on how to get the article 
that Steve just metioned? The OST is not available here locally and
I have to try other ways to get a copy of it. If it is possible,
I would like to have the address of a internet site where I can
obtain  a copy of the article.

Thanks in advance.

Sammy
Newsgroups: comp.unix.ultrix
From: paul@umich.edu (Paul Killey)
Subject: Using a Seagate Wren 9 as boot device on dec5000/xxx
Date: Fri, 14 Aug 92 17:29:52 EDT
Organization: University of Michigan Engineering, Ann Arbor


seems like a decstation 3100 can boot with a wren 9 as the root/boot device,
but a 5000 hangs doing the first read of /vmunix (ultrixboot gets
read and starts ok).  this is very similar to a problem we've seen
on other drives ... some maxtors for example would boot on 3100s
but not on 5000s.  we ending up getting firmware updates from
maxtor to fix that.  if you have, for example, Maxtor 8760S drives
on 5000s, you want something newer than rev level B5A on the drive.
We are using B6G.

anyone out there with a wren 9/5000 that works?  wren 9 works fine
when not the boot disk on the system.  any tips would save time and
effort of trying to remember more precisely the problem or scsi-protocol
analyzing, etc.

thanks.

--paul

Newsgroups: comp.unix.ultrix
From: larryd@harp.bnr.ca (Larry Dunkelman)
Subject: Re: Is "ccr" completely braindead or what?
Keywords: ccr
Organization: Bell Northern Research Montreal, Canada.
Date: Tue, 18 Aug 92 18:51:37 GMT

In article <1992Aug18.165354.21311@news.iastate.edu> john@iastate.edu (John Hascall) writes:
>So I follow the instructions to "addnode ..." and then do "ccr ...".
>Well here's what I get:
>
>	# ccr ...
>	ccr: Remote console reserved
>        ->                                            (prompt from server)
>
>at this point I'm thinking, wow this is easy -- BZZZT wrong answer.
>I can't type anything now, it just sits there no matter what I type,
>can't even break out.  All I can do is login again and kill the process.
>Well, I try everything over thinking I screwed up, no luck, try it on
>two more DECstations (ultrix 4.2 & 4.2a), still no luck.

I had the same experience when I tried to use 'ccr' on a WAN.  It seems to
work fine on a LAN.  Is your terminal server in the same building as your
workstation ? I tried getting some help from DEC, but they couldn't reproduce
the problem since they didn't have a similar network setup on which to test.

Make sure you have the latest 'ccr'.  Best bet (sad to say) is to use VMS
and connect to the terminal server using the appropriate NCP commands.

>Finally in desperation, I go over and use the VAX and follow those
>instructions, works perfectly -- how embarrasing for a unix bigot like me :-(

DEC should be embarrased, not you!   

Larry Dunkelman
Bell-Northern Research
Newsgroups: comp.unix.ultrix
From: john@iastate.edu (John Hascall)
Subject: Re: Stuff I can serve to conserve on disk space
Organization: Iowa State University, Ames, IA
Date: Tue, 18 Aug 1992 23:53:16 GMT

Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes:
}Ultrix (I hope :) ).  I'd like to pare down on the amount of disk
}space that each client takes for the OS load.  Besides man pages, what
}are other sorts of things that I can either:
}
}	A.  Serve from my server

    Just about everything....

Filesystem                       Total    kbytes   kbytes   %     
node                             kbytes   used     free     used  Mounted on
/dev/rz3a                          15791    7024    7188    49%   /
/dev/rz3g                           1959     190    1574    11%   /local
/dev/rz3h                          32495   30733     138   100%   /local/vice
    (/local/vice is the cache used by our AFS file system servers)


John
-- 
John Hascall                                       ``Live with it pink-boy!''
Project Vincent                                                              
Iowa State University Computation Center                     john@iastate.edu
Ames, IA  50011                                      515/294-9551 [fax -1717]
From: behe@inasys.UUCP (Bernd Hentig)
Newsgroups: comp.unix.ultrix
Subject: Ultrix 4.2A - going to die ?
Keywords: ultrix
Date: 21 Aug 92 10:02:37 GMT
Distribution: comp
Organization: inasys GmbH, Bonn, Germany

Hello,
we are currently cross developing software on Ultrix 4.2A (DECsystem 5000/240),
AIX 3.x on RS6000 and ISC Unix 3.0.
Since ISC was bought by Sun, I think we will switch over to another
vendor to get the 'real' V.4.2 Unix sometime in the future as ISC Unix
will not be supported forever.

We knew about OSF/1 and DEC's statements to drop Ultrix development
and we also knew that DEC fired all Mips developers (is this really true ?
can't imagine they REALLY did this).

The question to us is: has DEC Ultrix any future or not ?
When OSF announced that they dropped OSF/1 development (did they or did
they not, nobody knows here in Germany ...) we wondered what DEC would do
to their instable pre-versions of OSF/1 (perhaps rename to Ultrix 5.0 :)

If Ultrix is no longer updated, then support will die sometime in the
future, then we should better switch to OSF/1 as we need someone who
cares about bug fixing in our OS's.

But if OSF/1 is no longer developed by the OSF and DEC's version is too
unstable yet (remember the old Ultrix versions ...), what shall we do ???

Bernd
Newsgroups: comp.unix.ultrix
From: ctilburg@occs.cs.oberlin.edu (Chuck Van Tilburg)
Subject: Re: August Ultrix CONDIST not bootable?
Organization: Oberlin College Computer Science
Date: Thu, 13 Aug 1992 14:21:53 GMT
X-Posted-From: occs.cs.oberlin.edu
X-Posted-Through: sol.ctr.columbia.edu


I was told, after logging a trouble report and scrutinizing the front
of the package it came in, that this is an 'upgrade' and references a
full CON-DIST set that came out in June.  The support person said to
contact the local office if you have just changed over to CON-DIST or
for some reason did not get the full CON-DIST that the upgrade references.

I think it had something to do with our fiscal year starting July 1 and 
that was when (at least our) switch to condist went through.

chuck
--
-------------------------------------------------------------------------------
Charles C. Van Tilburg
Computer Systems Technician
Oberlin College
Computer Science Program
Oberlin, Ohio, 44074

216-775-8077/8064/0504  office(morning), office(afternoon), home
-------------------------------------------------------------------------------
From: ppan@nobeltech.se (Per Andersson)
Newsgroups: comp.unix.ultrix
Subject: Re: lattelnet vs security
Date: 20 Aug 92 11:24:01 GMT
Organization: NobelTech AB

In article <JBRYANS.92Aug19104251@wren.csulb.edu> jbryans@beach.csulb.edu (Jack Bryans) writes:
>I've heard that DEC has security patches for lattelnet.  Yet, recent postings
>suggest that, patched or not, lattelnet has gaping, glaring security holes.
>
>There wasn't enough information in the postings to differentiate among
>opinion, experiment, observation, etc.  Can anyone provide more info?  You
>can mail to usenet@csulb.edu, or root@csulb.edu, if you prefer.

The main problem I know of, and that has been discussed on Usenet before, is
that Ultrix 4.x and up has a 'suspend' command. Since lattelnet runs as root,
and executes ordinary telnet, it's a wide hole.
Easy fix - get the BSD telnet, take away suspend, and be happy.
Hard way - get fixes from DEC.

If anybody knows any other bad security leaks I'm very interested.

/Per
-- 
-----------------------------------------------------------------------------
Per Andersson - ppan@nobeltech.se (perand@stacken.kth.se on free time)
Managing networks at, but not speaking for Nobeltech AB, J{rf{lla, Sweden
-----------------------------------------------------------------------------
Xref: sparky comp.unix.ultrix:6330 comp.sys.dec:4605
From: IMAGING.CLUB@OFFICE.WANG.COM ("Imaging Club")
Newsgroups: comp.unix.ultrix,comp.sys.dec
Subject: Porting Wang RS/6000 AIX document imaging to Ultrix
Date: 19 Aug 92 16:48:48 GMT
Organization: Mail to News Gateway at Wang Labs

Would anyone have any advice or thoughts on the possibility
of porting Wang RS/6000 AIX document imaging to Ultrix?  Could
this be a good idea?  Is Ultrix something that's going to
be around a long time, in your opinion?  Could there be any
minor or major weaknesses in Ultrix that we would need to watch
out for?   How might Ultrix match up against AIX in your view?
Are they comparable, or could some or many Ultrix users consider
AIX an upgrade?

Any advice or suggestions would be very much appreciated!

---------------------Michael.Willett@OFFICE.Wang.com-------------
Newsgroups: comp.unix.ultrix
From: john@iastate.edu (John Hascall)
Subject: Is "ccr" completely braindead or what?
Organization: Iowa State University, Ames, IA
Date: Tue, 18 Aug 1992 16:53:54 GMT

We recently got some nifty new DECserver 90L+ (or some such name) terminal
servers.  So I go to configure them, and it says right there in black & white
if you want all 8 ports to be PRINT rather than TERM (which we did want) that
you can't configure (the last port) using a terminal attached to the server,
you have to use a network management connection (ok, I can live with that).
So I follow the instructions to "addnode ..." and then do "ccr ...".
Well here's what I get:

	# ccr ...
	ccr: Remote console reserved
        ->                                            (prompt from server)

at this point I'm thinking, wow this is easy -- BZZZT wrong answer.
I can't type anything now, it just sits there no matter what I type,
can't even break out.  All I can do is login again and kill the process.
Well, I try everything over thinking I screwed up, no luck, try it on
two more DECstations (ultrix 4.2 & 4.2a), still no luck.

Finally in desperation, I go over and use the VAX and follow those
instructions, works perfectly -- how embarrasing for a unix bigot like me :-(

John
(and of course "ccr" is not included in our ultrix sources, grrr)
-- 
John Hascall                                       ``Live with it pink-boy!''
Project Vincent                                                              
Iowa State University Computation Center                     john@iastate.edu
Ames, IA  50011                                      515/294-9551 [fax -1717]
From: pjc@cc.ic.ac.uk (Peter Churchyard)
Newsgroups: comp.unix.ultrix
Subject: Re: calcomp 1044 plotter
Keywords: plotter calcomp-1044 printcap
Date: 13 Aug 92 10:39:00 GMT
Organization: Imperial College

If you don't have of= specified you need of=xf
which then uses /bin/cat as the output filter.

If you dont have an of= then lpd restarts the plot after
a minute if it has not completed. It is documented in
the notes for 4.2

We had the same problem when trying to send to a dumb
printer that needed no special filters and files of more
than a few pages would keep restarting.

The only problem we have now (even with of=xf) is that
the filter sometimes gets stuck after printing the banner
page. Killing the filter allows the printing to continue..

Pete.
Newsgroups: comp.unix.ultrix
From: gheeong@rhea.trl.OZ.AU (Ghee Ong)
Subject: w and ps don't agree
Keywords: w,ps
Organization: Telecom Research Labs, Melbourne, Australia
Date: Mon, 17 Aug 1992 08:15:49 GMT

Hi there,

The output from 'w' shown below indicates a user is logged in but ps -t<port>
gives no processes. How can I clean up the output without rebooting and what
causes it?

User  tty  from          login@  idle  JCPU  PCPU  what
jjk   p5   vistaxx       5Aug92 212days             -

Thanks in anticipation.

--
Ghee Ong
(g.ong@trl.oz.au)
Newsgroups: comp.unix.ultrix
From: rog@Ingres.COM (Roger Taranto)
Subject: Hardware flow control
Organization: Ingres, An ASK Company, Alameda, CA 94501
Date: 16 Aug 92 01:13:49 GMT

Quick question: how do I enable hardware flow control on a 3100
running 4.2?

Thanks,
-Roger
rog@ingres.com
Newsgroups: comp.unix.ultrix