HDTenEightyP/NetNews huggingface dataset:
From: przemek@rrdstrad.nist.gov (Przemek Klosowski)
Newsgroups: comp.unix.ultrix
Subject: Re: malloc
Date: 21 Aug 92 17:10:05 GMT
Organization: U. of Maryland/NIST
In-reply-to: mjr@hussar.dco.dec.com's message of 21 Aug 92 02:16:10 GMT

In article <1992Aug21.021610.11129@decuac.dec.com> mjr@hussar.dco.dec.com (Marcus J. Ranum) writes:
   staniszewski@mayo.edu writes:

   >I am having trouble finding a problem with dynamicly allocated memory.

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

Alternative malloc debugging library can be had from comp.sources.reviewed
(malloclib). Its claim to fame is that it containts private versions of 
string and block move routines, so it will complain when you do

	strcpy(malloc(strlen(string1)),string1)
instead of 
	strcpy(malloc(strlen(string1)+1),string1)
(incidentally, it will handle the malloc failure as well)

I found it useful.


--
			przemek klosowski (przemek@rrdstrad.nist.gov)
			Reactor Division (bldg. 235), E111
			National Institute of Standards and Technology
			Gaithersburg, MD 20899,      USA

			(301) 975 6249
Newsgroups: comp.unix.ultrix
From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Subject: Re: max[d|t|s]siz
Keywords: kernel, maxdsiz, maxtsiz, maxssiz
Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Organization: Digital Equipment Corporation
Date: Thu, 13 Aug 1992 18:37:31 GMT


In article <1992Aug13.134919.22439@morgan.ucs.mun.ca>, kforward@morgan.ucs.mun.ca (Ken Forward) writes:
>Newsgroups: comp.unix.ultrix
>From: kforward@morgan.ucs.mun.ca (Ken Forward)
>Subject: max[d|t|s]siz
>
>A colleague has recently upgraded his DS5000/125 w/ Ultrix 4.2 to 128MB 
>of memory. Aside from changing 'physmem' in the kernel configuration file, 
>we are wondering how best to set the maxdsiz, maxtsiz, and maxssiz
>parameters; in particular, is there any problem with setting them all 
>very large, eg, equal to physmem ?  What sort of overhead would we incur 
>by doing so ?
>
I haven't looked that closely at the code, but a quick look at the
base system sources and vm sources suggest it is used for two things:

1.  Limit the {data,text,stack} sizes.  This is just a check a
    check against the value, when the process wants to grow.

2.  Allocate dmap entries for the swap space.  I'm not sure of
    implementation, but I think a dmap entry represents a swapfrag
    block of swap space.  Each process will need enough dmap entries
    to swap all the potential data, text and stack space, if it is
    ever swapped out.

So, if you raise one of the max[d|t|s]siz parameters much beyond the
usual, you'll be using more kermel memory for dmap entries.  A quick
look at /usr/include/sys/dmap.h suggests that each dmap entry is 16
bytes.  Of course if you use a large swapfrag size, you can reduce
the number of dmaps that are needed.

So, I conclude that the overhead for setting them high is "not much".
If you discover differently, let us know.

What you will have to most concerned about is sufficient page/swap
space.  You need to be able to reserve as much as the process may
need.

>-- 
>  Ken Forward, Dept of Physics, Memorial University of Newfoundland
>
--
Alan Rollow				alan@nabeth.cxo.dec.com
From: trost@romulus.reed.edu (Bill Trost)
Newsgroups: comp.unix.ultrix
Subject: Re: w and ps don't agree + Typical UN*X-attitude
Date: 20 Aug 92 07:28:48 GMT
Article-I.D.: romulus.TROST.92Aug20002842
	<1992Aug19.084554.10580@reed.edu>
	<1992Aug19.134729.6415@news.uni-stuttgart.de>
	<1992Aug19.152402.16045@prl.dec.com> <o3@byu.edu>
Organization: Reed College

In article <o3@byu.edu> gritton@alaska.et.byu.edu (Jamie Gritton) writes:
   >> the moronic idea of naming a command
   >> after its programmers and not finding a mnemonic to indicate its use

      I believe he was referring to awk(1). I forget who "a" and "w" are,
   but "k" is Brian Kernighan of "K & R" fame.

Aho, Weinberg(er?), and Kernighan.

I just don't understand why "COBOL" is a more compelling name than
"awk".   Both mean nothing to most everyone.
--
Bill Trost <trost@reed.edu>   There are two types of people: those who divide
Reed College Systems Manager  people into two types, and those who don't.
Newsgroups: comp.unix.ultrix
From: charette@nntpd.lkg.dec.com (Mark Charette)
Subject: Re: Linking time for PHIGS programs
Organization: Digital Equipment Corp.
X-Newsreader: Tin 1.1 PL5
Date: Fri, 21 Aug 1992 14:08:39 GMT

Robert Evans (Robert.Evans@cm.cf.ac.uk) wrote:
: We're using DECPHIGS on PEX DECstation 5000/120s in a student teaching lab.  The students
: tend to write a PHIGS C program, compile it - find it is incorrect, rewrite it,
..
: Ultrix loader spent linking the PHIGS programs.  The PHIGSC library is about 9MB in size
: and the X11 library is more than 4MB and other libraries are needed too.   Even the smallest
: PHIGS program is about 6MB.
..

Look in /usr/lib/PHIGS/examples/objects for a faster way of linking.

Edit the phigsconfig.h file in /usr/lib/PHIGS/examples to exclude the drivers you don't need, compile
phigsconfig.c, and place the resulting object in your compile sequence. 

The official instructions for doing this are somewhere in the release notes.
--
Mark Charette                |Save plants and animals. Eat a vegetarian 
Fisher Engineering Systems   |today.
charette@cheetah.det.dec.com |
(313) 280-0703               | 
Newsgroups: comp.unix.ultrix
From: jwe@schoch.che.utexas.edu (John W. Eaton)
Newsgroups: comp.unix.ultrix
Subject: Re: Suggest FAQ-list entry for man replacements
Date: 20 Aug 92 02:48:48 GMT
Organization: UT Department of Chemical Engineering

In article <Bt6oz0.A6A@immd4.informatik.uni-erlangen.de>
horst@faui63.informatik.uni-erlangen.de (Horst Luehrsen) writes:

> ngse18@castle.ed.ac.uk (J R Evans) writes:
>
>> My rake around the archives also revealed the following quotation from 
>> Jonathan Lennox, jml12@cunixa.cc.columbia.edu :
>>
>>> nelson@reed.edu (Nelson Minar) mentioned that on their Ultrix system
>>> they've replaced their man with something written by John W. Eaton
>>> (jwe@che.utexas.edu) but my ping didn't recognize this address and I
>>> didn't bother looking into this.
>
> The correct Address is: ward.che.utexas.edu:/pub/unix/man-1.1.tar.Z

ftp.che.utexas.edu would be even better, since that name should always
point to whatever machine we happen to have the archive on.

Thanks,

--
Virtually all of the programs obtained by our sampling | John W. Eaton
procedure were written in FORTRAN.  -- Donald E. Knuth | jwe@che.utexas.edu
Newsgroups: comp.unix.ultrix,comp.periph.scsi,comp.sys.sun.hardware
From: yasu@ll.mit.edu (Alan Yasutovich)
Subject: 4 mm scsi tape drives.  A simple question.
Organization: MIT Lincoln Laboratory
Date: Wed, 19 Aug 92 12:13:59 GMT

	Can someone please explain how to set the scsi address on
	an AVIV 4 mm tape drive?

	I see some jumpers inside, but nobody has the book, and
	nobody knows how.

	It looks like there's 5 jumpers.


	Thanks

-- 
	Alan Yasutovich
	"inquiring  (and nosey) minds WANT TO KNOW!!!"
	I can remember when "safe sex" meant having a padded headboard!!
	Tick Tock.....Tick Tock......Tick Tock .....Tick Tock......
From: boyd@prl.dec.com (Boyd Roberts)
Newsgroups: comp.unix.ultrix
Subject: Re: Is the 4.2a sendmail DNS-cognisant?
Date: 18 Aug 92 13:08:45 GMT
Organization: Digital Equipment Corporation - Paris Research Laboratory

In article <1992Aug17.204338.2718@decuac.dec.com>, mjr@hussar.dco.dec.com (Marcus J. Ranum) writes:
> 
> 	If you're into rolling your own, there are sources for a plenty
> fine version of sendmail on gatekeeper.dec.com, in pub/DEC, under the
> name kj-sendmail.
> 

And what a fine piece of work it is.  I put it up on our mail hub
a week or so back -- works like a charm.  In addition, the config
file `vixie.cf' must be one of the shortest and most understandable
I've seen.


Boyd Roberts			boyd@prl.dec.com

``When the going gets wierd, the weird turn pro...''
Xref: sparky comp.unix.ultrix:6408 comp.unix.admin:4638
From: zaphod@splinter.coe.northeastern.edu (Erik Lloyd Bunce)
Newsgroups: comp.unix.ultrix,comp.unix.admin
Subject: Decstation Ultrix single-user mode security hole.
Keywords: DecStation, Ultrix, Security Hole, Help
Date: 22 Aug 92 07:22:28 GMT
Followup-To: comp.unix.ultrix
Distribution: comp
Organization: College of Engineering, Northeastern University


	On Decstations running Ultrix 4.1-4.2a is there any way to
make it so that users can't just hit ^C during the multiuser boot
process to break into single-user mode?  (and thus get access as root
on the machine).  Changing /etc/ttys and setting the prom password
doesn't seem to prevent this easy breach of security.  Any Ideas or
suggestions would be appreciated.

-------------------------------------------------------------------------------
|Erik L. Bunce                                                                |
|Bunce and Coveney Co.                                                        |
|zaphod@meceng.coe.northeastern.edu                                           |
|-----------------------------------------------------------------------------|
| This is a test.                                                             |
| This is only a test.                                                        |
| If this were a real life,                                                   |
| You would have been given instructions.                                     |
| You are experiencing a pirated copy of a life,                              |
| Ergo. No manual.                                                            |
-------------------------------------------------------------------------------
| My opinions are my employers, but not necessarily Northeastern University's.|
-------------------------------------------------------------------------------
--
-------------------------------------------------------------------------------
|Erik L. Bunce         | This is a test.                                      |
|Bunce and Coveney Co. | This is only a test.                                 |
|(617) 389-9068        | If this were a real life,                            |
|                      | You would have been given instructions.              |
|                      | You are experiencing a pirated copy of a life,       |
|                      | Ergo. No manual.                                     |
-------------------------------------------------------------------------------
| My opinions are my employers, but not necessarily Northeastern University's.|
-------------------------------------------------------------------------------
From: ian@airs.com (Ian Lance Taylor)
Newsgroups: comp.unix.ultrix
Subject: Re: Connecting Modems to DEC Stations
Date: 19 Aug 92 02:14:04 GMT

manke@i13d11.ira.uka.de (Stefan Manke) writes:

>Does anyone know how to install a modem (i.e. ZyXel-Modems) to a DEC Station
>5000/200 or 5000/240 so that you can dial in and out? Which files need to be 
>changed. We run ULTRIX 4.2(a) and have connected the modem to the serial port
>as usual.

I don't have any trouble dialing in and out on a DECstation 3100,
although admittedly I am using my own software to dial out.  You can
probably use kermit; you should just modify the code to call ioctl
TIOCSINUSE on the file descriptor before using it.  That will keep
getty from interfering, and if getty is using the port the ioctl will
fail.

I'm using my version of cu, which will be included in the next version
(1.04) of Taylor UUCP, which ought to be out in a month or two.
Sorry, it is not available before then.
-- 
Ian Lance Taylor                ian@airs.com                uunet!airs!ian
First person to identify this quote wins a free e-mail message:
``I would prefer my life to contain more hours of pain, if that means
  that none of this pain is still to come.''
From: manke@i13d11.ira.uka.de (Stefan Manke)
Newsgroups: comp.unix.ultrix
Subject: Connecting Modems to DEC Stations
Date: 18 Aug 1992 09:29:25 GMT
Organization: University of Karlsruhe, FRG
Distribution: world
NNTP-Posting-Host: i13d11.ira.uka.de

Does anyone know how to install a modem (i.e. ZyXel-Modems) to a DEC Station
5000/200 or 5000/240 so that you can dial in and out? Which files need to be 
changed. We run ULTRIX 4.2(a) and have connected the modem to the serial port
as usual.
Is there any terminal-program or fax-software we can use to dial out from our 
DEC stations to another modem (something like the terminal programs you can get 
for PCs)?


Stefan Manke
University of Karlsruhe
e-mail: manke@ira.uka.de
Newsgroups: comp.unix.ultrix
From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
Subject: Re: Connecting Modems to DEC Stations
Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
Date: Fri, 21 Aug 1992 02:09:50 GMT

tls@panix.com (Thor Lancelot Simon) writes:

>Yes, it gets the job done.  But have you seen Ian's figures comparing CPU time
>for his UUCP (Taylor) and the Ultrix UUCP?  Aside from the oddity of the spool
>structure and some other age-related deficiencies (protocols, packet sizes and
>windows, &c) Ultrix UUCP is, featurewise, OK.  But my personal machine is a
>pmax, a 2100 in fact, and I guess it just gives me a different perspective on
>what goes and what doesn't go so far as CPU drain.

	With respect to UUCP for ULTRIX, I'm much more concerned about the
miserable serial ports on the pmax, than the performance of UUCP. ;) I
haven't seen Ian's figures, and I confess I've been remiss in not building
a version of UUCP with profiling to see if it could be improved upon. It
is just possible that UUCP is starting to become less or an important
protocol than it used to be - I'd rather see our engineering efforts go
towards having a quality PPP implementation and good serial ports on
the box, thankyouverymuch. ;)

mjr.
Newsgroups: comp.unix.ultrix,comp.lang.prolog
From: kho@athena.mit.edu (Karen W Ho)
Subject: FORTRAN/C linking
Organization: Massachusetts Institute of Technology
Date: Tue, 18 Aug 1992 13:37:13 GMT


Hi. I'm currently working on an ULTRIX DECstation, and I'm having a lot of
problems linking a C main program with FORTRAN routines. I've tried compiling
with the usual -lF77, -lc, and -lm flags and have added underscores to my
calls to FORTRAN, but I'm still getting errors for 'undefined routines'. The
linking works on a SUNstation, but it doesn't seem to be compatible for the 
DECstation. Can anyone send me some e-mail regarding C/FORTRAN linking on
different UNIX systems? 

Thanks a bunch!
--Karen
(kho@lyman.pppl.gov)
From: jew@rt.sunquest.com (/87336)
Newsgroups: comp.unix.ultrix
Subject: pg bug
Date: 13 Aug 92 18:28:49 GMT
Distribution: comp
Organization: Sunquest Information Systems

I discovered a bug in the pg program today.  Say you're viewing a
file.  According to my knowledge of pg, you can enter a number at the
prompt to go to the desired page.  I accidentally entered a large
number.  pg displayed a screen full of repeating lines and indicated
it was on the page number I had entered.  Anybody else have this?  Is
there a fix?
--
jew@sunquest.com

Due to lack of interest, today has been cancelled.
From: barry@chezmoto.ai.mit.edu (Barry Kort)
Newsgroups: comp.unix.ultrix
Subject: Re: LAT ultrix patches
Date: 13 Aug 92 13:56:02 GMT
Organization: MicroMuse
In-reply-to: pusateri@duke.cs.duke.edu's message of 25 Jul 92 05:20:46 GMT

I sent you the LAT Patches which I recently received from Matt Thomas.

LATTELNET is a gateway program that allows a user coming in on a 
LAT Server to open a Telnet session to any TCP/IP host without
first having to log into the machine running the LATTELNET gateway
daemon.  It is reputed to harbor a security hole, so beware if
you are in an environment that is security conscious.
From: fredv@hydra.acs.uci.edu (Fred Velijanian)
Newsgroups: comp.unix.ultrix
Subject: Re: Fortran for DecStation/Ultrix
Keywords: ultrix,fortran,f77,decstation
Date: 14 Aug 92 21:50:57 GMT
Organization: University of California, Irvine

In article <payman.713823890@retief.astro.nwu.edu> payman@iti.org (Payman Parastaran) writes:
>Hello,
>
>Our site is interested in getting fortran for our DecStation 5000/200 running
>Ultrix.  Does Dec supply Fortran 77?  If so, at what price?  Are there other
>software houses who sell fortran?  (prices please-- for comparison)
>
>Thanks,
>
>--
>                       ___________________________________________________
> Payman Parastaran    / payman@nwu.edu....................(312) 274-0897 /
>-------------------------------------------------------------------------------
> Northwestern University, Evanston, IL.	     Department of Physics & Astronomy

Yes, DEC has a fortran compiler, called DEC Fortran Version 3.2 for 
RISC/Ultrix. The license to use it is free to educational institutions,
contact the person on your campus who deals with the CSLG (Campuswide
Software License Grant) program and/or the ESL (Educational Software
Library) program to get a license. Chances are the same person has
access to the media, if not you'll have to purchase it. Media prices
are in the low hundreds of dollars usually (which includes
documentation).

Fred Velijanian
University of California, Irvine
fredv@uci.edu
Newsgroups: comp.unix.ultrix
From: ccx062@cch.coventry.ac.uk (Chris Taylor)
Subject: user structure from kernel
Organization: Coventry University
Date: Mon, 17 Aug 1992 10:31:08 GMT

In Ultrix V4.2A (Rev 47)...

Can anybody tell me how to access the user (u.) structure from kmem.
Im able to get to the proc structure, but in most of the books I have
read they say that p_addr points directly to u. but It doesnt seem to.
(Do I have to do anything to convert the pte to a memory address ??)
I have mananged to read the user structure on a sequent so im pretty sure
my code isnt broken....

	-Chris
From: ngse18@castle.ed.ac.uk (J R Evans)
Newsgroups: comp.unix.ultrix
Subject: Suggest FAQ-list entry for man replacements
Date: 17 Aug 92 13:20:18 GMT
Distribution: comp
Organization: Edinburgh University

I decided I'd had enough of living with Ultrix's unsatisfactory man, and
as the question of replacements is certainly a FAQ for this group, checked
Win Treece's FAQ-list for current recommendations.  I was surprised to 
find no mention of it in the most recent issue I could find (in my archive
-- the current issue appears to have expired).

I will happily coordinate a summary for submission to Win as an addition
to the list.  My archive has revealed (and I will be evaluating) the 
following possibilities:
   1. convex.com:/pub/perl/scripts/man.shar.Z 
         A perl script replacement from Tom Christiansen
   2. decuac.dec.com:/pub/sources/bsd-man.tar.Z
         Marcus Ranum's port of bsd tar, minus bugs
   3. ugle.unit.no:/pub/unix/utils/woman.shar 
         C code replacement with a sharp line in cute names!

My rake around the archives also revealed the following quotation from 
Jonathan Lennox, jml12@cunixa.cc.columbia.edu :
>nelson@reed.edu (Nelson Minar) mentioned that on their Ultrix system
>they've replaced their man with something written by John W. Eaton
>(jwe@che.utexas.edu) but my ping didn't recognize this address and I
>didn't bother looking into this.

From the accompanying comments, I guess that 1. and 2. are likely to be
the solutions most recommended.  If you would like to mail me additional
recommendations or brickbats, I'll put a contribution together.

Russ Evans
BGS Edinburgh
From: mccalld@vax.sonoma.edu
Newsgroups: comp.unix.ultrix
Subject: difference bet. UL4.2 UL4.2A ?
Date: 13 Aug 92 00:26:26 GMT
Organization: Sonoma State University

Greetings:
   Is there a difference between ULTRIX 4.2 & ULTRIX 4.2A ?
thanks
mccalld@sonoma.edu
Newsgroups: comp.unix.ultrix
Subject: FMS to MOTIF conversion in ez stages
From: higginsp@mdcbbs.com
Date: 16 Aug 92 16:33:47 GMT
Organization: M&E (Division of EDS), Cypress CA
Nntp-Posting-User: higginsp


Help!

    I am trying to port a VMS application to ULTRIX and need to convert
    hundreds of FMS forms to run on the applcation.  Is there any way that
    anyone knows to convert FMS to some type of MOTIF calls.  I know that
    you can convert FMS to DECForms  and I thought that as DECForms is a
    standard it may be feasible to use this as a basis for a conversion to
    MOTIF routines.  The dialogue between the programs and the forms is
    managed by a separate application.


I am most interested in packages for the conversion from FMS to MOTIF but other
avenues/suggestions would also be useful?

Paul Higgins
From: mamros@athena.lkg.dec.com (Shawn Mamros)
Newsgroups: comp.unix.ultrix
Subject: Re: dxsession beginner help??
Date: 17 Aug 92 22:03:25 GMT
Reply-To: mamros@athena.lkg.dec.com (Shawn Mamros)
Organization: Digital Equipment Corporation


mcook@fendahl.dev.cdx.mot.com (Michael Cook) writes:
|> I seem to remember that the session manager (dxsession) starts the window
|> manager (dxwm, normally) by doing $SHELL -c dxwm, where $SHELL was extracted
|> from /etc/passwd.  The shell you've selected for these users is probably
|> refusing to run their window manager.

That may be true, but also, login(1) itself execs $SHELL -c <cmd>, where
<cmd> is the argument specified by -C to login as listed in /etc/ttys for
graphics displays (this argument is typically /usr/bin/dxsession).  (If
there is no -C, login execs just $SHELL as usual.)

-Shawn Mamros
E-mail to: mamros@athena.lkg.dec.com
Xref: sparky comp.unix.ultrix:6287 gnu.gcc.help:1928
From: wolfgg@urmel.vta.mw.tu-muenchen.de (Wolfgang Goettert)
Newsgroups: comp.unix.ultrix,gnu.gcc.help
Subject: Re: DECstation /usr/include/X11/Xlib.h and gcc.
Date: 18 Aug 92 09:22:36 GMT
Reply-To: wolfgg@urmel.vta.mw.tu-muenchen.de
Organization: Inst. Chem. Engng., TU Munich, Germany

I don't know whether this is of help, but I remember that I got errors
of that kind when using the original headers supplied by Digital. 
I think they are R3 or R4-based. After installing the original R5
headers no more problems with Motif and gcc. I don't know either if the
combination of R4 libraries with R5 headers will give you new
problems, but maybe you should compile the R5 versions of the
libraries (that's what we did and it works fine even in connection
with Motif V1.1.3). 

Wolfgang Goettert
From: jew@rt.sunquest.com (/87336)
Newsgroups: comp.unix.ultrix
Subject: fuser equivalent?
Date: 13 Aug 92 22:11:06 GMT
Distribution: comp
Organization: Sunquest Information Systems

I once picked up a program for Ultrix that duplicated the
functionality of SYSV fuser.  I don't have it anymore, nor can I
remember it's name to find it with archie.  Anybody know what it's
called? 
--
jew@sunquest.com

Due to lack of interest, today has been cancelled.
Newsgroups: comp.unix.ultrix
From: ccksb@blaze.trentu.ca (Ken Brown)
Subject: lpr - record to large for VMS queues
Organization: Trent University
Date: Thu, 13 Aug 1992 19:42:58 GMT

Problem:

Can only print short documents.

Description:

All printers have been set up as remote (ie: printcap entries include
rm=<value> and rp=<value>).  It just so happens that output is directed to a 
VMS machine where DQS (Distributed Queueing Service) software is used to 
pass the output to another VMS machine's queue.

The resulting error messages are printed to the target printer and read
something like:

%PMS-E-READER, errr reading _HSCOOO$DUA0:[SYSCOMMON.DQS$SERVER]_PP_15757_7.LPD
-RMS-W-RTB, 189339 byte record too large for user's buffer

The size of the record varies depending in the job.

This is most notable when using WordPerfect 5.0.  It should be noted that the
same printers function 100% for DOS users unde Pathworks 4.1

Questions:

There must be a simple fix for this.  Changing a printcap entry?  Changing a
VMS value to allow larger record sizes (or getting our VMS manager to :-))? 
Is this a result of stream vs. fixed record output?

Any comments/suggestions are welcomed.
-- 
====================================================================
Ken Brown                                       voice: (705)748-1540
Trent University Computer Services                fax: (705)748-1246
Peterborough, Ontario, Canada K9J 7B      internet: kbrown@trentu.ca
Newsgroups: comp.unix.ultrix