HDTenEightyP/NetNews huggingface dataset:
From: mdchaney@bronze.ucs.indiana.edu (M Darrin Chaney)
Subject: Re: 3 Motif Questions
Organization: Indiana University
Date: Mon, 13 Apr 92 18:56:47 GMT

In article <1992Apr13.103418.1@travis.llnl.gov> massey@travis.llnl.gov writes:
>Does anyone know why I cannot do a cut/paste from/to a pair of Motif windows,
>one being local to the workstation that I'm at, the other belonging to a 
>remote machine (created with "Set Display/Create/Node" & "Create/Term/Detached
>/Window"). This worked before I switched to Motif.

With Motif, DECterms use the middle mouse button for Paste.  Under
DECwindows, DECterms use the third mouse button for Paste.  I've always
got an "old" DECterm from a system with DECwindows, and the Cut/Paste
works fin between them.  I just have to remember which button to use.

The real bug seems to be that the remote DECterm dies when I try to use
the clipboard (the "Edit" menu).

>The program from mdchaney@iubacs to reposition the login box under Decwindows 
>does not appear to work under Motif. Does anyone have a program that does or 
>know how to fix Darrin's?

You could just ask Darrin.  That's why I include my email address.

Anyway, I have the same problem, and I've not been quick in coming up
with the solution.  The problem is easy to explain.  With DECwindows,
the name of the login box was "login_db."  Now, it has no name.  I can
make educated guesses by looking at the window list, but it's difficult
to really determine which window is the login window.  It's especially
difficult to do in a program.

I have some hacky ideas which would only work once.  If anyone has any
better ideas, I'd be happy to hear them.

>How can I influence the class/types of messages that the Motif message window 
>displays? 

I don't think you can.  I don't use the message window anymore.  It was
nice to have, but I try to stay away from the session manager since I
can do everything from the window manager (almost everything).

	Darrin
-- 

mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu

"It's a marvel of vegetable containment..."
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: DCL: Size of file open for write.
Date: 10 Apr 92 00:33:19 GMT
Distribution: world
Organization: The Internet

ravi ramachandran, r0rhelp@zeus.tamu.edu, writes:

>I trying to find the size of a file that has been opened for write operations.
>Consider this DCL fragment -
>
[...]
>
>The problem with this program is that f$file_attributes returns the size that
>the output file had when it was opened (in this case 0). Even after several
>hundred lines have been written into the output file, f$file_attributes still
>returns 0. Is there a way to return the actual size of the output file without
>actually closing and reopening the output file at each iteration of the loop ?

F$FILE_ATTRIBUTES(filename,"ALQ") may get you closer, but won't get you 
what you really seem to be looking for...

Remember that the "size" of the file returned by F$FILE_ATTRIBUTES is the
number of blocks, not the number of records.

-Dan Wing, DWING@UH01.Colorado.EDU  (or WING_D@UCOLMCC.BITNET)
 Systems Programmer, University Hospital, Denver
From: fooz@elm.lle.rochester.edu (Steve Hespelt)
Newsgroups: comp.os.vms
Subject: default # of cols in DECwindows MAIL window
Date: 13 Apr 92 21:46:02 GMT
Reply-To: fooz@elm.lle.rochester.edu (Steve Hespelt)
Followup-To: fooz@lle.rochester.edu
Organization: UofR Laboratory for Laser Energetics

Here's a simple question:  What is the resource string that controlls the # of
characters the create-send MAIL window will keep on each line before inserting
a new-line in the text.  When I save a mail message to a text file instead of
sending the message, the message is not saved with new-lines where the text in
the window appeared to wrap/break.  I tried using 
'MailSend*sendWindow*messageText.cols  78 ' in the decw$mail.dat file
pointed to by DECW$USER_DEFAULTS.  I restarted DECwindows mail but there was
no change in the format of the file saved from the create-send window.  Any
ideas?  Please respond via e-mail.  Thanks in advance.
-steve
------------------------------------------------------------------------------
Steve Hespelt - Laboratory for Laser Energetics University of Rochester
                250 East River Rd. Rochester, NY  14623
fooz@lle.rochester.edu                                    (716) 275-5280
fooz@max.db1.cc.rochester.edu    _________________\|/_    Fax (716) 275-5960
                                                  /|\
From: dougcc@brt.deakin.edu.au (Douglas Miller)
Newsgroups: comp.os.vms
Subject: Re: User Load on 4000/300 VMS System
Date: 12 Apr 92 00:11:32 GMT
Organization: Computer Services, Deakin University, Melbourne

In article <1992Apr9.100628.1@venus.ycc.yale.edu>,
eveleth@venus.ycc.yale.edu writes:

> I'm seeking advice from experienced VAX system managers.  Would the following
> load be reasonable on a VAX 4000/300 with 64 Meg and plenty (really, take my
> work, *plenty*) of disk space?  1200 user accounts with an expected maximum
> simultaneous count of 50-80 users.  Of the 50-80 users, 10% might be
> programming, another 10% running SAS, and the remaing 80% doing mail, editing,
> telnet/ftp, and netnews.  How might this load be expected to affect system
> performace?

You should have no problem at all.  We have a similar application mix on
our pair of VAX 4000/200 computers each with 40Mb.  We have got up to 55
concurrent users total, and the VAXes weren't even raising a sweat.

Digital's All-in-1 benchmark suggests a maximum of 124 users for a
4000/300.
Newsgroups: comp.os.vms
From: mcmahon@tgv.com (John 'Fast-Eddie' McMahon)
Subject: Re: VMS SODRIVER (Sound Driver)
Keywords: SODRIVER sound VMS
Reply-To: mcmahon@tgv.com
Organization: TGV Incorporated (Tech Support) in Santa Cruz, CA
Date: Fri, 10 Apr 1992 00:53:36 GMT


In article <42691@teda.Teradyne.COM>, bob@teda.Teradyne.COM (Bob Armstrong) writes:
#
#
#  Does this driver support anything other than just data bytes ?  Are
#there QIOs to set the volume ?  Select internal/external speaker ?
#Change the sample rate or encoding (I wish!) ?

It appears that the SODRIVER has similar functionality to all of the other
systems that use the AMD(I forgot the number) sound chip.  However, the $QIO
interface is undocumented.

My suggestion is that if you want/need to learn more about SODRIVER you should
start with your DEC contacts.

#  BTW, I never did find out how to get the internal speaker to work on
#the 4000 model 60, although I did hear from two other people who had the
#same problem I do.

It appears the default on the AMD is the internal speaker.  I haven't managed
to get the external speaker to sing yet.

John 'Fast-Eddie' McMahon    ()
TGV, Incorporated            () "You know you have answered too many            
603 Mission Street           ()  Tech Support questions when your Pavlovian   
Santa Cruz, California 95060 ()  response to a ringing phone is to throw it   
408-427-4366 or 800-TGV-3440 ()  out a window" - Me
E-Mail: MCMAHON@TGV.COM      ()
From: goathunter@wkuvx1.bitnet
Newsgroups: comp.os.vms
Subject: Re: exe$epid_to_pcb
Date: 11 Apr 92 22:22:09 GMT
Article-I.D.: wkuvx1.1992Apr11.172209.1309
Organization: Western Kentucky University, Bowling Green, KY

In article <1992Apr9.151500.3999@fig.citib.com>, lobssuth@fig.citib.com (Lou Obssuth) writes:
> 
>    Does exe$epid_to_pcb still exist?
> 
Yes.  (Look at SYS$SYSTEM:SYS.MAP or use SDA.)

>    Can it be called from vax c.
> 
No.  (At least, not in any supported fashion since it has to be called via
JSB, which VAX C doesn't officially support.  You *may* be able to
fake it, but I wouldn't count on it.)

Hunter
------
Hunter Goatley, VMS Systems Programmer, Western Kentucky University
goathunter@WKUVX1.BITNET, 502-745-5251
From: STUBRBEE@EKU.BITNET (Oooooooops)
Newsgroups: comp.os.vms
Subject: Converting Packed Array of Char to Varying of Char
Date: 13 Apr 92 16:05:00 GMT
Organization: The Internet

Vaxers,

     There is a routine that i would like to have but maybe not be possible
with VAX Pascal.  To explain i will assume the following variables:

        P : Packed Array [1..10] of Char
        V : Varying [20] of Char

Now i want to write two functions that will convert varying to packed arrays
and vice versa.  Note i said functions.  I would assume they would like like
so:

Function Varying_To_Packed(V : Varying [X] of Char) : Packed Array[X] of Char;

As you may know VAX Pascal doesn't like you putting the Packed Array[X] of Char
in the above example.  Is there anyway to simulate this??  I assume the other
function would look like so:

Function Packed_To_Varying(P : Packed Array[A..B] of Char): Varying[B] of Char;

Again...VAX Pascal doensn't like that declaration.  If anyone could help with
this i would be very grateful.  Thanx in advance...

                              David Barbee
                              STUBRBEE@EKU
Newsgroups: comp.os.vms
Subject: Re: How to make a disk unbootable?
From: don@zl2tnm.gen.nz (Don Stokes)
Date: 13 Apr 92 08:34:04 GMT
Distribution: world
Organization: The Wolery

WITTWER@biel.be.tech.ascom.ch (Wittwer Fritz) writes:
> Rename [sys0] to something else, for example [oldsys], then your ok. If you
> wissh to use this disk again as systemdisk you have to rename it back to sys0.
> We had done this for a MV2000 in a cluster, works fine.

Better still, rename it to [SYS1] (or [SYS2] or whatever).  That way you 
can still boot off that disk (ie with B/10000000) if the need arises.  

--
Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
Victoria University of Wellington, New Zealand              +64-4-495-5052
Newsgroups: comp.os.vms
From: mike@socrates.umd.edu (Mike Santangelo (UNIX/VMS Sysmgr))
Subject: "CONFIGURE" process, how to get rid of on boot-up
Summary: How do I get rid of that pesky CONFIGURE process at bootup
Keywords: CONFIGURE
Organization: University of Maryland University College
Date: Thu, 9 Apr 1992 02:39:19 GMT

How do I prevent the VMS bootup process from launching the CONFIGURE
process?  I know I don't need it, I am not running any kind of cluster
whatsoever.  We run a standalone VMS5.4-3 system.

Thanks!
-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Michael F. Santangelo                 + Inet: mike@uc780.umd.edu
VMS / UNIX Systems                    +       mike@socrates.umd.edu
Academic Computing UMUC               + Bnet: MIKE@UC780
Newsgroups: comp.os.vms
From: williford@lub001.lamar.edu
Subject: help with smg$read_string
Organization: Lamar University - Beaumont
Date: Sun, 12 Apr 1992 06:29:48 GMT

I am having trouble with the smg$read_string function.  When I give the
function an initial value the screen goes crazy and lock up.  Can anybody help
with this problem.  I am writing this in C if that helps any.

T.I.A.  ( Thanks in advance )

				williford@lub001.lamar.edu
Newsgroups: comp.os.vms
Subject: Re: What's a good way to tell no. of files on a disk?
From: gezelter@rlgsc.com
Date: 12 Apr 92 12:08:49 EST
Distribution: world
Organization: Robert Gezelter Software Consultant, Flushing, NY
To: info-vax@sri.com
News-Moderator: Approval required for posting to info-vax

In article <1039.29e58e6d@malibu.sedd.trw.com>, jeff@malibu.sedd.trw.com (The Buccaneer) writes:
 
> Can anyone tell me an easy way to tell how many files are on a disk.

$ SHOW DEVICE diskname/FULL will permit you to determine the 
maximum number of files which can be on a volume.
 
+--------------------------------------------------------------------------+
| Robert "Bob" Gezelter                       E-Mail:  gezelter@rlgsc.com  |
| Robert Gezelter Software Consultant         Voice:   +1 718 463 1079     |
| 35-20 167th Street, Suite 215               Fax:       (on Request)      |
| Flushing, New York  11358-1731                                           |
| United States of America                                                 |
+--------------------------------------------------------------------------+
From: LEYDON%BRUCE@VENUS.YCC.YALE.EDU ("Internet LEYDON%BRUCE.DECNET@VENUS.YCC.YALE.EDU")
Newsgroups: comp.os.vms
Subject: Redirecting /log output in SA BACKUP?
Date: 6 Apr 92 15:37:00 GMT
Organization: The Internet

Hi,
	I've got a vaxstation with a single 750 MB disk for the system
and user files.  I would like to be able to do a standalone backup of
just the files owned by the system but there doesn't seem to be a way
to do this with SA as it just allows one to backup the entire disk.
	I would also like to be able to redirect the output of /log
to a file which I can examine later to make sure there were no
 copy or verification errors. 

	Is there a way to do this? Should I just do a normal backup
from VMS and ignore interlock, open file problems?

Thanks for any input
Gary Leydon
BITNET LEYDON@YALEMED
INTERNET LEYDON%BRUCE.DECNET@VENUS.YCC.YALE.EDU
Newsgroups: comp.os.vms
From: kenw@skyler.arc.ab.ca (Ken Wallewein)
Subject: Re: SUMMARY:How to SET FORWARD to multiple users
Organization: Informations Systems, Alberta Research Council
	<1992Apr9.165641.4030@news.arc.nasa.gov>
	<1992Apr10.131726.62@indyvax.iupui.edu>
Date: 13 Apr 92 16:16:03


  It boils down to this: DEC removed that capability from VMS Mail in V5.0,
apparently because they were worried about mail loops.  I thought it was a
bad decision then, and I still do.

/kenw
--
/kenw

Ken Wallewein                                                   A L B E R T A
kenw@noah.arc.ab.ca                                           R E S E A R C H
(403)297-2660                                                   C O U N C I L
From: $LPAHM0@LUCCPUA.BITNET
Newsgroups: comp.os.vms
Subject: Re: Help!: BBS need
Date: 10 Apr 92 20:14:00 GMT
Distribution: world
Organization: The Internet

Hi, Could anyone on this list tell me BBS number of DEC company ?
Thank you very much.

Newsgroups: comp.os.vms
From: system@convax.iar.nrc.ca (Jim.Jordan)
Subject: FLIGHT for VMS ftp site ?
Reply-To: system@convax.iar.nrc.ca (Jim.Jordan)
Organization: National Research Council,Ottawa,Canada
Date: Mon, 06 Apr 1992 08:25:53 EDT

Newsgroup:						April-6-92

	The latest DECUS library SW catalog lists an X-Windows FLIGHT Simulation
package for VMS (V00533). Does anyone have this available for anonymous ftp
or know of a site where this is available ?

	This software would be of interest to some of the aeronautical types
here at the Flight Research Lab.

	I tried a couple of DEC sites (gatekeeper, decuac) without any luck.
Any leads would be appreciated.

							---Jim---

________________________________________________________________________________
Jim Jordan,				Internet: jordan@convax.iar.nrc.ca
Rm.233, Bldg. U-61, FRL			Phone: (613) 998-4809
Institute for Aerospace Research,	Fax:   (613) 952-1704
National Research Council,	
Ottawa, CANADA  K1A 0R6
________________________________________________________________________________
From: ewilts@mr.gov.bc.ca (Ed Wilts)
Newsgroups: comp.os.vms
Subject: Re: Accounting and vector processors
Date: 9 Apr 92 22:33:05 -700
Organization: BC Systems Corporation

In article <1992Apr7.185553.18290@e2big.mko.dec.com>, lionel@quark.enet.dec.com (Steve Lionel) writes:
> 
> In article <1992Apr7.075030.391@mr.gov.bc.ca>, ewilts@mr.gov.bc.ca 
> (Ed Wilts) writes...
>> 
>>As another vector question, I'm curious about the relationship of vector
>>utilization versus "normal" cpu utilization.  While the vector processor is
>>busy doing its thing, is the normal cpu available for other tasks?  In other
>>words, on a 9420 with 2 vector processors, can we sell 48 hours of vector cpu
>>per day PLUS 48 hours of scalar cpu per day?  Or is the affinity so tight that
>>the scalar cpu is unavailable until the vector operation is complete?
>> 
> 
> Each vector CPU is tightly coupled to its associated scalar CPU, so you
> can't have one process using the vector CPU and a different process using
> the associated scalar CPU in the same quantum.  However, programs using
> the vector processor also execute scalar instructions, and these can
> run in parallel with the vector processor.  A well-coded program can take
> advantage of this, starting a vector operation and doing some scalar
> code until the vector results are needed.  The VAX FORTRAN-HPO compiler
> will do this where it can.  (The FORTRAN-HPO compiler also knows how to
> start multiple vector operations which will run in parallel in the vector
> CPU.)

So, if the process is running solely on the vector in this quantum, nobody else
can use the scalar CPU.  Does this process then get charged for using the
scalar?  Is the scalar CPU time being charged therefore always a superset of
the vector CPU?  If the process has essentially allocated the scalar CPU, he
shouldn't get away with not being charged for it.

I'm looking for a billing algorithm that encourages the use of the vector
processors since a process that doesn't use it is wasting the resource. It
seems to me that since we have 2 scalar cpus and 2 vector cpus, it doesn't make
sense that we should be charging separately for the vector cpu.  After all,
since the vector can't be used if the scalar is busy, we may as well bundle the
two together.  So, do I simply add the vector and scalar charged cpu together,
or take just the scalar? If I add both up, I think I'm double-billing for those
times when the process uses both vector and scalar at the same time.  

I think what I want is the total time that either the vector or the scalar cpu
is used.  If both are in use, charge for only one.

Am I missing the obvious here?

> As far as accounting (the original question) is concerned, you are dealing
> with two "rates", one for scalar and marginal vector consumers, and one
> for active vector consumers (who also use the scalar CPU).  
> 
> Steve Lionel                    lionel@quark.enet.dec.com
> Languages Group
> Digital Equipment Corporation
-- 
Ed Wilts, BC Systems Corp., 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
EWilts@MR.Gov.BC.CA   |   Ed.Wilts@BCSystems.Gov.BC.CA   |   (604) 389-3430
Newsgroups: comp.os.vms
From: ben@ccvs1.technion.ac.il (Ben Pashkoff)
Subject: Re: SWAPFILE needed anymore?
Reply-To: ben@ccvs1.technion.ac.il (Ben Pashkoff)
Organization: Technion IIT, Haifa Israel
Date: 7 Apr 92 13:20:35 GMT


In article <01GIEKM19E8200004H@VAXF.COLORADO.EDU>, DWING@UH01.Colorado.EDU (Dan Wing) writes:
|>Michael F. Santangelo, mike@socrates.umd.edu, wrote:
|>
|>>There was a recent thread regarding the apparent lack of use
|>>by VMS 5.x of the SWAPFILE.SYS.  I have noticed as well with
|>>
|>>If not, do I really need to have a SWAPFILE.SYS around?  As I recall it,
|>>VMS5.4-3 was supposed to swap processes out entirely (the "--swapped out--"
|>>that is supposed to appear in $ SHOW SYSTEM when memory is tight
|>>on certain, infrequently woken processes).  Do they get swapped out
|>>to PAGEFILE or SWAPFILE?
|>
|>I can't speak on if you NEED a real-live swapfile installed - I *believe* you
|>need one, but it doesn't have to be of a usable size (i.e. it could be 100
|>blocks).
|>
Don't go throwing those used SWAPFILES away just yet. As of VMS 5.4-3 new life
was found for them critters. The new memory management routines (from 5.4-3
onward) actually uses and may even demand a slightly larger SWAPFILE than what
we were using previously. I was using a minimal SWAPFILE of 1000 blocks until I
saw the light and installed 5.4-3 and then 5.5. My swapfile, while not immense,
is now a bit over 2000 blocks. On a puny VS2000, and even an almost respectable
VS3100, the memory management is a MUST!
--
________________________________________________________________________
|      Ben Pashkoff                 BEN@VMSA.TECHNION.AC.IL            |
|          (details on request)                                        |
|______________________________________________________________________|
From: jeh@cmkrnl.com
Newsgroups: comp.os.vms
Subject: Re: VIRTUALPAGECNT -- Memory Management Issue
Date: 5 Apr 92 21:21:01 GMT
Distribution: usa
Organization: Kernel Mode Consulting, San Diego CA

In article <3APR199214500886@juliet.caltech.edu>,
 valerie@juliet.caltech.edu (Onwards and Sideways) writes:
> 
> The system people of a node here on campus want to set up their system so that 
> there is no "wasting" of memory.  

Sounds like they don't understand VMS very well.  VMS = "Virtual Memory 
System", which means that, except for some of the system's code and data, if
you aren't using your allowed memory space, it won't be using up physical 
memory.  

> As a result, their hypothetical case is for 
> a user to log on, compile, link, and run a program that will use up 10 MB of 
> memory, and log off without error.
> 
> Now, if the user's program allocates 10,485,760 bytes of memory, 
> VIRTUALPAGECNT will have to be set higher than 20480.  The question is, how 
> much higher?  It is being assumed that:
> 
> VIRTUALPAGECNT =   virtual pages allocated just by being logged onto the VAX (a)
>                  + virtual pages allocated to load the linker (b)
>                  + 20480 pages allocated for the program  (c)
>                  + anything else not taken into account (d)

There seems to be an assumption here that the linker has to co-exist in virtual
address space with the program to be linked.  This isn't the case.  

Also, the amount of virtual address space needed by the linker will vary widely
with the complexity of the link operation.  

> How should they go about estimating "A", "B", and "D"?  Is this something that 
> the system manager should go to an internals class to learn to do?  

After taking all three weeks of the internals course, you might begin to get
an idea of how to develop this data from first principles.  (It's much easier
to do it by experiment.)

However, you would get a very good idea of just how much (or how little) an
impact VIRTUALPAGECNT has on physical memory usage. 

The magic formula is

		virtualpagecnt * balsetcnt 
		--------------------------
			 128 * 128

this gives the number of pages of physical memory that are permanently
allocated to keep track of the inswapped processes' page tables in system
virtual address space.  Everything else is virtual, ie, doesn't take up room
unless you need it.   

Example:  Suppose you have a balance set count (maximum number of inswapped
processes at once) of 40 processes, and you set virtualpagecnt to 20480, this
takes 50 pages.  

Double the virtualpagecnt to 40960, and you only use 50 more pages, or about
25 Kbyte.  (This would show up in the "pages permanently allocated to VMS" 
line of SHOW MEMORY.) 

I wouldn't sweat it. 

	--- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
Chair, VMS Programming and Internals Working Group, U.S. DECUS VAX Systems SIG 
Internet:  jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
Uucp:  ...{crash,eisner,uunet}!cmkrnl!jeh