HDTenEightyP/NetNews huggingface dataset:
From: boyd@prl.dec.com (Boyd Roberts)
Newsgroups: comp.unix.ultrix
Subject: Re: /bin/test bug?
Date: 25 Aug 92 18:53:01 GMT
Organization: Digital Equipment Corporation - Paris Research Laboratory

In article <667312@athena.lkg.dec.com>, mamros@athena.lkg.dec.com (Shawn Mamros) writes:
> 
> I just tried both
> 
> % /bin/test 's' = 's'
> 

Hmm...  Perhaps you misread the article, he said:

    test -s = -s

I've always thought in that case test's operation would at best be ambiguous.


Boyd Roberts			boyd@prl.dec.com

``When the going gets wierd, the weird turn pro...''
 
Newsgroups: comp.unix.ultrix
From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
Subject: Re: Anyone using a DECstation 5000/200 as a news server?
Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
Date: Mon, 31 Aug 1992 01:50:28 GMT

john@iastate.edu (John Hascall) writes:

>We are using a DECstation 3100 with 24MB as our campus news server
>(nntp & c-news). [...]
>IMHO, CPU power is not as important as having fast seeking disks
>and enough memory (plenty dedicated to bufcache).

	This is definitely the case. The ideal news server for me
would be a 2100/3100 with a load of RAM and about 6 Rz25s configured
as a stripe set. That would be like swatting a fly with a hand
grenade, though...

	I haven't gotten to study INN yet, but it sounds pretty
promising, for big servers.

mjr.
From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Newsgroups: comp.unix.ultrix
Subject: Re: 2Gig Rule??
Date: 2 Sep 92 01:04:47 GMT
Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Organization: Digital Equipment Corporation


In article <14475@gazette.bcm.tmc.edu>, tso@cephalo.neusc.bcm.tmc.edu (Dan Ts'o) writes:
>
>In article <1992Sep1.123146.23436@decvax.dec.com> jag@zk3.dec.com writes:
>>>Solution?  The SCSI CAM driver available with V4.2 has a way of
>>>presenting a suitable lie to the file layer about the byte offset
>>>for large tapes.  ...............................................
>>
>>    The "lie" is in the V4.2c release.  The V4.2c release contains the CAM
>>subset for the V4.2a Ultrix product.
>
>	Is the lie in the VAX Ultrix TMSCP driver as well ? I hang the Exabyte
>off of a SCSI controller that emulates a TMSCP/TK50.

I'd guess not, but maybe the person owning the tape class driver is
reading the newsgroup.  I think John only does the SCSI driver.  He'd
probably know who to ask though.
>
>	Are there similar problems when trying to use a 2.4Gb SCSI disk?

I'll guess again.  Yes, if you want to use the whole disk as a single
device (classic C partition use).  On the other hand you can probably
partition the disk to use parts of it, with each part being less than
2 GB.

>I just took delivery on several such devices. I thought the filesystem used
>-1L as the error for lseek and upper bound for filesystems. It should use
>unsigned longs and be good upto 4Gb.

There are a couple of problems with this.  If you use an unsigned ANYTHING
you can't check against -1.  If you're lucky the compiler will do the
correct thing, and only lint will complain.  That's doesn't make the
code less broken though.  If the long happens to be a 64 bit number it being signed probably won't cause any problems for another couple of years.

Finally, the most serious problem is the one you'd least expect.  How many
times have you seen code that checks for the -1 error indicator written as:

	if( system_call(arg-list) < 0 )
		error ;

Yes -1 is less than zero, but this removes the chance of using all those numbers
inbetween -1 and MAXINT for anything useful if you decide to play typecasting
games.

>	Bottom line: how can I use a 2.4Gb disk on Vax Ultrix using
>       the MSCP driver?

Partition the disk into a 2 GB piece and a .4 GB piece.  Depending
on how you count 2 GB you might be able to go to around 2.1 GB.

>	Please email responses. Thanks.

I'll also post because the answer might be of general interest.

>				Dan Ts'o
--
Alan Rollow				alan@nabeth.cxo.dec.com
Newsgroups: comp.unix.ultrix
From: mstacc@ultb.isc.rit.edu (M.S. Tremblay)
Subject: Problems with DECwrite...
Originator: mstacc@ultb
Reply-To: mstacc@ultb.rit.edu ()
Organization: Rochester Institute of Technology
Date: Thu, 27 Aug 1992 15:02:41 GMT

Was wondering if anyone else was having LOTS of problems with DECwrite
version 2.0?  I'm running it on a DS5000/200 PX.  DECwrite will core dump on:

	startup,
	while using the pulldown menues
	printing

Then again, other times it seems to work just fine.  Its getting to the
point where I can't do any 'real' work in it because it may crash at
anytime...

It may be releated to memory mgmt problems, as the more windows I have
open the more it tends to fail.  System is confg'd with 24 meg of
memory, 400+meg of swap (wanted to make SURE it wasn't swap :), and
about 2 gig of disk space...  I can't imagine the machine doesn't have
enough resources.

-- 
-Mark Tremblay              
  software specialist                       Internet:    mstacc@ultb.isc.rit.edu
     Rochester Institute of Technology      Phone:       716.475.2986
Xref: sparky comp.unix.ultrix:6479 comp.windows.x.motif:5819
From: troyer@cgl.ucsf.edu
Newsgroups: comp.unix.ultrix,comp.windows.x.motif
Subject: Motif text resource name vs DECwindows
Date: 25 Aug 92 21:01:01 GMT
Organization: UCSF Computer Graphics Lab
Originator: troyer@piglet.mmwb.ucsf.edu

In my .Xdefaults, I have the following keybindings.
! DECtoolkit text bindings !
*DwtText.translations:       ...etc.

These worked fine to give emacs-like bindings in, for instance, the mail
tool.

Now with 'ULTRIX DECwindows for OSF/Motif Version 1.1.3', all the programs
like mail use Motif widgets instead of DECwindows.

So the resource listed above does not work anymore.

What is the corresponding text keybinding resource name for the current dxmail? 
The man page is less than illuminating.

thanks

john troyer
troyer@cgl.ucsf.edu
Newsgroups: comp.unix.ultrix,comp.sys.dec
From: opus@pioneer.unm.edu (Colby Kraybill)
Subject: Re: Using Decstation 3100 as Xterminal (Minimal Ultrix Setup)
Date: Thu, 03 Sep 92 04:29:28 GMT
Organization: Space and Planetary Image Facility

In article <VMZPBPWN@cc.swarthmore.edu> hirai@cc.swarthmore.edu (Eiji Hirai) writes:
>bryan@wupost.wustl.edu (bryan o'connor) writes:
>> I would like to use it as an X-terminal -- without having it
>> remote boot.
>
>Yes, it's doable with about 20M of disk space (if you include fonts).  I've
>never actually done it on a DECstation but you can definitely copy what's
>done to Sun-3s to make them X terminals.  You can ftp the examples from:
>

Yes this is very true, however, that will leave you with almost no swap space,
if you never start using memory hogging applications, you shouldn't have a 
problem.  However, remember that it is recommended that your swap space be
atleast three times the size of your total RAM.  If you are just running xdm
on it and rarely or never actually log into it, you ought not to have a problem.




-- 
Colby Kraybill
Space and Planetary Image Facility
University of New Mexico
opus@pioneer.unm.edu
Newsgroups: comp.unix.ultrix
From: frank@mlb.geomechanics.csiro.au (Frank Horowitz)
Subject: source text window re-size in dxdb?
Followup-To: comp.unix.ultrix
Organization: CSIRO Geomechanics
Date: Fri, 28 Aug 92 01:13:17 GMT

Kind net.denizens,

	This is likely a FAQ, but my newshost expires comp.unix.ultrix fairly
fast...  I'm trying to find out how to get the source-code pane in dxdb to
resize with the rest of the window.  I've played with the
dxdb.widthSourceLines value in my ~/.Xdefaults, but to no avail.  Anybody
have a clue as to what's needed?  (Environment: DECstation 5000/240, Ultrix
4.2A.) Please e-mail responses, and I'll post a summary if warranted.

	Thanks in advance (as "they" say) for any help! 

__________________________________________________________________
Frank Horowitz;                            frank@mlb.geomechanics.csiro.au 

CSIRO-Geomechanics, P.O. Box 54, Mt. Waverley, Victoria 3149, AUSTRALIA
Tel. (03)881-1247 (Int'l +61 3 881 1247),FAX (03)803-2052 (+61 3 803 2052)
From: ucap22a@ucl.ac.uk (Mr Alisdair R Davey)
Newsgroups: comp.unix.ultrix
Subject: Backups
Date: 3 Sep 92 19:08:09 GMT
Organization: Bloomsbury Computing Consortium, London

Well I've spent an hour going through man/manuals. The sytem manager
has gone home, but he knows less than me about unix anyway so I'm stuck.
I'm sitting in front of a decstation 5000/125 running ultrix 4.2 with
a nice little exabyte attatched to it - I have a blank exabyte tape
on the desk in front of it and I want to save some files to it. I'm
familiar with tar at least for use with files but not tapedrives. 
So can someone please tell me how I go about initialising my tape.
Assuming I can manage this task hwo do I go about saving files to
it without them overwriting each other. Thankyou for your kind
attention - I'm now off for a coffee. Can I make anyone one ?
Alisdair
From: tso@cephalo.neusc.bcm.tmc.edu (Dan Ts'o)
Newsgroups: comp.unix.ultrix
Subject: Re: 2Gig Rule??
Date: 1 Sep 1992 21:29:45 GMT
Organization: Baylor College of Medicine, Houston,Tx

In article <1992Sep1.123146.23436@decvax.dec.com> jag@zk3.dec.com writes:
>>Solution?  The SCSI CAM driver available with V4.2 has a way of
>>presenting a suitable lie to the file layer about the byte offset
>>for large tapes.  ...............................................
>
>    The "lie" is in the V4.2c release.  The V4.2c release contains the CAM
>subset for the V4.2a Ultrix product.

	Is the lie in the VAX Ultrix TMSCP driver as well ? I hang the Exabyte
off of a SCSI controller that emulates a TMSCP/TK50.

	Are there similar problems when trying to use a 2.4Gb SCSI disk ?
I just took delivery on several such devices. I thought the filesystem used
-1L as the error for lseek and upper bound for filesystems. It should use
unsigned longs and be good upto 4Gb.
	Bottom line: how can I use a 2.4Gb disk on Vax Ultrix using the MSCP
driver ?
	Please email responses. Thanks.

				Cheers,
				Dan Ts'o		212-327-7671
				Dept. Neurobiology	dan@rna.rockefeller.edu
				Rockefeller Univ.	...s5!rna!dan
				1230 York Ave.		tso@rockvax.bitnet
				NY, NY 10021
From: mccalld@vax.sonoma.edu
Newsgroups: comp.unix.ultrix
Subject: /etc/fstab entries nodev-nosuid ?
Date: 26 Aug 92 15:51:07 GMT
Organization: Sonoma State University

Greetings:
    I've just upgraded my MICROVAXII to ULTRIX 4.2........I'm 
supposed to be implementing a high standard of security and I am
getting my info from the ULTRIX Security Administrators Guide
in the DEC manuals.....My question is from 5.2.1  Guidelines
for mounting file systems: When we did the origional upgrade
it didn't work so we had to do a scratch install of the 4.2, at
which time we just put our old /etc/fstab back ...now the book
says to use nodev & nosuid options in this file for certain
mounts....but I'm not able to find those examples anywhere....
someone got a clue where to look or what those entries may look like?
thanks ahead of time.
mccalld@sonoma.edu
Newsgroups: comp.unix.ultrix
From: steve@asterix (steven husting)
Subject: ANSI prototypes and X headers
Date: Fri, 04 Sep 1992 13:08:29 GMT
Reply-To: steve@asterix (steven husting)
Organization: Digital Equipment Corporation
Keywords: Can't I use them?


For the last couple of months I have been working on a decstation
with Ultrix 4.2a on a Motif application. I recently discovered 
to my horror I had no function prototypes for any library functions.
I quickly found the prototypes were in the header files, surrounded by
#ifdef __STDC__, as usual, but that the Ultrix C compiler is not
standard and does not define __STDC__. Okay, I defined it myself. I 
got many warnings (const not yet implemented, etc.) that I can work around,
but the X headers are hopeless. For example, Xlib.h needs the XSizeHints 
typedef, which is defined in XUtil.h, but XUtil.h needs the Bool #define,
which is defined in ... Xlib.h. And so on. 

Now, I really would like to have function prototypes. I don't write 
perfect code yet, not even for those functions which we've all used 
thousands of times and don't need to look up the man page anymore,
but I haven't figured out how to work around the X headers yet. If anyone
could help me ...

Steven Husting
Pinck Softech AG
Reinach, Switzerland
Newsgroups: comp.unix.ultrix
From: stefan@david.wheaton.edu (Stefan Brandle)
Subject: Re: Ultrix 4.2A - going to die ?
Keywords: ultrix
Organization: Wheaton College, IL
Distribution: comp
Date: Tue, 25 Aug 1992 05:09:00 GMT

In article <1992Aug21.212049.24925@nntpd.lkg.dec.com> mcintosh@gruvy.enet.dec.com (Steve McIntosh) writes:
>But I do know that DEC OSF/1 V1.0 is shipping and stable.  But, please
>don't take my word for  it; ...

Well, not that I'm trying to attack OSF/1 V1.0, but we got it and it was
not what I would describe as stable.  Poor thing kept doing really fun
things like crashing and coming up with the root file system suddenly
read-only (resulting in instant boot failure), errors in the loader,
and the list goes on.  Don't think it stayed up for more than about 24
hours at a stretch.

I still slobber every time I think about some of the really neat
capabilities (like logical volumes, space-rescuing shared-libraries, etc.)
but concluded that I am going to sit it out for a bit longer until it
really does get stable.  Maybe the stuff you're running internally at
DEC works fine now, but that must be pretty heavily modified from what
I got when it started shipping in May.

Waiting expectantly for the opportunity to be proven wrong,
-Stefan Brandle
-- 
Stefan Brandle		Wheaton College (IL) Email Postmaster
"Doing advanced research into the sociological impact of .signature viruses"
From: sh2v+@andrew.cmu.edu (Stephen Hathorne)
Newsgroups: comp.unix.ultrix
Subject: Two questions.
Date: 3 Sep 92 07:38:33 GMT
Article-I.D.: andrew.oedX5t600j5u81EkQx
Organization: Statistics, Carnegie Mellon, Pittsburgh, PA



Hello.

I am  a relatively new sysadmin(within the last six months), and have
a couple of questions.

1) Can anyone recommend new user unix books? I have a user set that
includes some folks with no knowledge of unix, all the way up to
folks who write code.

2) Backup models: Can people email me info about their backup
models (8mm), and what software they use? I am looking at the current
model, and trying to keep the good things, and modify the bad.

Thanks in advance for your responses



Stephen Hathorne
Computing Systems Administrator
Department of Statistics
Carnegie Mellon
From: gel@sys.uea.ac.uk (Gareth Lee)
Newsgroups: comp.unix.ultrix
Subject: Re: How to change diskless client IP address?
Date: 4 Sep 92 11:39:51 GMT
Organization: UEA School of Information Systems, Norwich, UK.

pranjoto@ece.wisc.edu (Hokkie Pranjoto) writes:


>We have a Decstation 5000/200 server with 3 diskless clients.  We need
>to change the IP addresses of all 4 machines.  We got the server changed
>with no problem.  We changed one client by deleting the client and
>adding it back with dms.  After doing this we had to reconfigure all
>the installed sets.  Is there an easier way to do this?  In particular,
>is the IP address of the client stored some place where we can edit
>it?  (We tried editing the IP addresses in both the server and client
>/etc/hosts, but that did not do the job.)

>Thanks.
>Hokkie Pranjoto

In addition to editing the respective hosts files you need to edit the
netblk.c file in the host's /etc directory.  ie. if the server if called
fatcat and the host mutley the file will be in the server filesystem as
/dlclient0/mutley/etc/netblk.c.  A typical file is of the form

#include <sas/mop.h>
struct netblk   nblk={
"fatcat",
0x8bde0a5b, "mutley", 0x8bde0a59, 0x8bdeffff, 0xffff0000,
0,
5,
0,
-1,
"/dlclient0/mutley.root",
"rz3b",
""
};

where "fatcat" is the server name and 0x8bde0a5b is the server IP address
in hex (ie. 139.222.10.91).  Similarly "mutley" is the client name and it's
address is 0x8bde0a59 (139.222.10.89).  The 5th and 6th fields are the client
broadcast and netmask addresses.  Other fields describe where to mount
the client root directory from and where to swap to etc. . You can therefore
change the forth field to reflect the new client address.  It's then necessary
to recompile the netblk.c file with

% cc -c netblk.c

thereby updating netblk.o.

The final change is to modify the CLIARP field in the client dlparam file
(ie. /dlclient0/mutley/etc/dlparam in my example).  The mop-mom should then
operate correctly allowing the client to reboot with the new IP address.

Dr Gareth Lee.
Speech and Pattern Processing Group,
University of East Anglia,
Norwich, UK.

PS. This solution was supplied to me by the DEC UK help line some months ago.
My thanks to them.
From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
Newsgroups: comp.unix.ultrix
Subject: Re: gethostbyname fails to return an address but otherwise works
Date: 26 Aug 92 02:38:29 GMT
Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center

>I've reached the limits of my ultrix expertise.  If I could only look at
>the source, I could figure out what's wrong, but ultrix isn't a *real* Unix.
>Then again, real Unix isn't *real* anymore.

	UNIX(R) is what AT&T says it is. On the other hand, I personally
believe that UN*X is anything that requires you pay AT&T for using. ;)
By the former criterion ULTRIX isn't real UNIX(R) by the later, it sure
is.

>Does anyone know if it's possible to configure an ultrix system so that
>gethostbyname returns aliases but not addresses??  Thanks in Advance.

	In /etc/svc.conf, do you have local,bind? In that case, it will
search the hosts file before it uses DNS. If it searches the host file,
and what you're looking for isn't in the DNS, or your resolver isn't
set up quite right, you might see what you're seeing.

mjr.
From: hirai@cc.swarthmore.edu (Eiji Hirai)
Newsgroups: comp.unix.ultrix
Subject: Re: where can I get a smart yppasswd?
Date: 26 Aug 92 01:19:26 GMT
Organization: Swarthmore College Computing Center, Swarthmore, PA, USA

tkt@vax5.cit.cornell.edu writes:
> 1.  it will allow root to change user's passwords without prompting for the
>     old password

login to the NIS server, su, passwd, cd /var/yp, make.

> 2.  it will allow users to change their shell and finger information.

Have them execute chfn on the NIS server.  For finger stuff, have them edit
their ~.plan files.

You probably wanted something that will do all this from one single program
on a NIS slave host.  I don't know if such a beast exists although you can
write a small suid program that remotely executes the proper commands, I
guess.

--
Eiji Hirai <hirai@cc.swarthmore.edu>    :     :    :   :  : :: ::: :::: :::::
Unix Hacker for Swarthmore College      :     :    :   :  : :: ::: :::: :::::
Computing Center, Swarthmore, PA, USA.  Copyright 1992 by Eiji Hirai.
I don't speak for Swarthmore College.   All Rights Reserved.
Newsgroups: comp.unix.ultrix
Subject: :permission denied?
From: mccalld@vax.sonoma.edu
Date: 3 Sep 92 07:32:20 -0800
Organization: Sonoma State University

Greetings:
     I have a file i'd like to zero and I decide to use the following
entry:  '$ > file'.......
 
     The command sequence works ok however I get a message back from
somewhere "permission denied:"........
 
     Any idea what has happened?
 
     mccalld@sonoma.edu

Newsgroups: comp.unix.ultrix
From: svoboda@adobe.com (Ed Svoboda)
Subject: Play audio CDs on DECstation?
Followup-To: comp.unix.ultrix
Organization: Adobe Systems Incorporated
Date: Sat, 29 Aug 1992 23:04:26 GMT

I have a DECstation 5000/120 with a CD-ROM drive.  This drive has a
headphone
jack and volume control.  Is there software available to play an audio CD?
Newsgroups: comp.unix.ultrix
From: mcba@newt.phys.unsw.edu.au (Michael C. B. Ashley)
Subject: NFS errors; "killed on swap error"; "illegal instruction"
Keywords: NFS
Organization: University of New South Wales
Date: Thu, 3 Sep 1992 01:51:29 GMT

Hi everyone,

Does anyone else have lots of read/write errors with NFS? I get several
per day. I suspect that the problem is that the server (DECstation
5000/200, ULTRIX 4.2A) is very heavily loaded (~50 users typically),
although I would have thought that this would have resulted in timeouts
(which I also see) rather than read/write errors. Any comments?

A related problem is that when a machine gets a corrupted version of
an executable image via NFS, it still trys to run it, and also puts it
safely away for future reference in its swap space. So that from then
on whenever you try and run the program it bombs out with messages like
"killed on swap error" and "illegal instruction". The only way that I 
have found to fix this is to use "touch" to update the executable on
the server. Is there some way that Joe User can do this on the client
machine? Better still, is there some way to convince ULTRIX not to cache
binaries that it should know are corrupted? Even better, how can I
isolate the source of the NFS errors? 

Yours as always, grateful for any help
Michael Ashley mcba@newt.phys.unsw.edu.au

P.S. I have heard that there may be some advantages in reducing the
     read/write buffer sizes for NFS from 8K down to 1K so that they
     fit in one ethernet packet. This would stop the need for packets
     to be fragmented, and may thereby reduce errors in an environment
     where the ethernet is very heavily used (ours if often up to 30%
     of max. capacity).

Newsgroups: comp.unix.ultrix
From: howells@pioneer.arc.nasa.gov (John Howells)
Subject: xmail for Ultrix 4.2?
Organization: NASA Ames Res. Ctr. Mtn Vw CA 94035
Date: Thu, 3 Sep 92 23:24:47 GMT

Has anyone had any luck getting xmail to work for X11R5 under Ultrix
4.2 on a Decstation? I manage to build it okay, after modifying the
code to stop it from including /usr/include/stdlib.h (it chokes when
trying to make it), but when invoking it I get:

  xmail: Regular expression too long (item 2).

Any tips or pointers via email would be greatly appreciated!

--
                                        John Howells
                                        howells@pioneer.arc.nasa.gov 
                                        howells@earth.arc.nasa.gov
Newsgroups: comp.unix.ultrix
From: avolio@dco.dec.com (Frederick M. Avolio)
Subject: Re: xbiff, and dxterm vs xterm
Originator: avolio@gildor.dco.dec.com
Reply-To: avolio@dco.dec.com
Organization: Digital Equipment Corp., Washington ULTRIX Resource Center
Date: Tue, 1 Sep 1992 01:35:35 GMT


You don't say whether it is the xterm which comes with ULTRIX or one you
built.  Does xterm register you in utmp (does a "who" command show you on)?
Does it know your user name?  Print the environment (printenv) under both and
look for differences.

Fred
From: rfrost@degas.jrc.flinders.edu.au (Richard Frost)
Newsgroups: comp.unix.ultrix
Subject: Ok Ultrix's console is brain dead..anyone rewritten it?
Date: 28 Aug 92 13:49:00 GMT
Organization: CSIRO/Flinders Joint Research Centre in Information Technology


I posted before about the console mode on DecStations..later finding out it
does not support screen oriented editors etc.. Ok Ok.. so
I can't get a Termcap entry to fix it.. anyone looked at rewriting
the console device.. ?

Just a thought..

Richard.
--
.--------------.------------------------------------------------------------.
|Richard Frost | Internet Address :    rfrost@jrc.flinders.edu.au           |
.--------------^------------------------------------------------------------|
| Phone:       |    CSIRO/Flinders University Joint Research Centre in      |
|+618-201-3651 |Information Science and Technology Adelaide, SOUTH AUSTRALIA|
`---------------^-----------------------------------------------------------'
Newsgroups: comp.unix.ultrix