HDTenEightyP/NetNews huggingface dataset:
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: Alternative callable editors in MAIL?
Date: 26 Dec 1992 07:59:49 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <1992Dec25.234751.5910@ais.com>, bruce@ais.com (Bruce C. Wright) writes:
>> For non-captive users, we simply use the MAIL$EDIT logical to point to a
>> command procedure which is then spawned by mail, but the code inside MAIL
>> will not allow this to work for captive users.
>
>Actually I think it's DCL that won't allow this to work (DCL is processing
>the MAIL$EDIT file, not MAIL).  But the end result is the same.

No, it's actually MAIL that's exhibiting the restriction.  In particular, when
MAIL attempts to SPAWN a subprocess, the fact that it's being run from a
captive procedure is noted and MAIL returns an error message.
>    4)	Optionally install the image.  It doesn't have to have any
>	special privs, but you may want to install it /OPEN /HEADER /SHARE
>	to minimize startup time and memory usage if several people are
>	using the editor.  It should work without being installed however,
>	unless the editor does something funny that needs privs :).

If you're using an old enough version of VMS that MAIL is a privileged image
(or if you're using a product that required you to install mail with privs, or
if your system manager has, e.g., installed MAIL with, e.g., exquota), then
you're going to have to install the image in order for mail to map and run it.
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
Newsgroups: comp.os.vms
From: murphy@ufp.dco.dec.com (Rick Murphy)
Subject: RE:  Getting rid of SMB_SECURITY once and for all ?
Reply-To: murphy@ufp.dco.dec.com
Organization: Digital Equipment Corporation, Greenbelt MD
X-Newsreader: mxrn 6.17-25
Date: Wed, 30 Dec 1992 04:18:46 GMT


In article <00965c66.12618940.15752@elros.stg.trw.com>,
powers@ELROS.STG.TRW.COM writes:
|>The gossip is that, if you are sloppy, and if I wanted to, I could destroy
|>your X-windows/DECwindows world in Australia from right here in my
|>home in southern California U.S.A. easy as pie.
|>
|>To be sure, the X-windows flaws being discussed are Eunuchs-based, but
|>then again DECwindows is also X-windows under another name.  So, maybe the
|>risk goes right across operating systems.  Maybe not.  Is convenience worth
|>the risk?  Not on my system.  I think I'll just delete my own files myself
|>in my own good time, thank you.

The "default" X Window System security scheme on UNIX systems is host-based
only; anyone logged in to your workstation has access to the display.
On VMS, the authorization information includes the username of the user.
Thus, there aren't the same security risks - unless you're sharing your
password :-)

	-Rick

--
Rick Murphy, WA1SPT/4			Washington Open Systems Resource Center
Domain:  murphy@dco.dec.com -or- murphy@burfle.enet.dec.com
Bang:    decwrl!burfle.enet!murphy	"Somewhere between 30 and Death" -
Ding:	 (301) 918-5883				bumper sticker.
Disclaimer: This nonsense came from an AI program written in TECO. Ignore it.
Newsgroups: comp.os.vms
Subject: What is XPDRIVER for?
From: CHD@HERMES.ECE.ARIZONA.EDU (Chris De Young)
Date: 29 Dec 92 14:35:41 MST
Distribution: world,local
Organization: --
X-News-Reader: VMS NEWS 1.24

    Booting a 4000/300 VMS 5.4-2, I get the following error early in the boot
process:
    
    %SYSGEN%W-NOMSG, Message number 00000910
    [SYSEXE]XPDRIVER.EXE
    %SYSGEN%W-NOMSG, Message number 00000910
    [SYSEXE]XPDRIVER.EXE
    
This occurs after loading the MSCP disk server but before mounting the disks.
The 4000 being booted is the disk server for a cluster of 6 VS 3100's.

There is no XPDRIVER.EXE anywhere on the system that I can find, but there
also is not on another VMS 5.4-2 system which does not exhibit this message.

What is the source of this message, and is it something I need to worry
about?

Thanks much,

-Chris
chd@ece.arizona.edu
From: DEREK@U.WASHINGTON.EDU
Newsgroups: comp.os.vms
Subject: Re: MOVE for Vms anywhere ?
Date: 23 Dec 92 23:44:00 GMT
Distribution: world
Organization: The Internet

In this thread Kent Gabrin wrote:

>   Default in a command procedure is ON WARNING THEN CONTINUE and
>ON ERROR (and SEVERE_ERROR) THEN EXIT.
> 
>( I learned that back in 1980 reading page 5-18 chapter 5.7.4.2 in the
>book 'VAX/VMS Command Language User's Guide VAX/VMS V01.5'   ;-)  )

Actually, I believe it is

	$ ON ERROR THEN $ EXIT

which causes WARNINGs to be ignored.  Granted, this seems to be what Kent
described, but it really isn't.   Ken't wording may lead some to produce
code such as I have seen many command procedures, to wit:

	$ ON WARNING      THEN $ GOTO WARNING_HANDLER
 	$ ON ERROR        THEN $ GOTO ERROR_HANDLER
	$ ON SEVERE_ERROR THEN $ GOTO FATAL_HANDLER

Note that only the last "ON condition" statement will be effective. (It seems
to me that this *used* to work, away back when, but it was never documented
that way.)  Also note that the "ON CONTROL_Y" is a different condition.

-Derek S. Haining
 University Computing Services
 University of Washington
 Seattle, Washington  98195 
 (206) 543-5579

 DEREK@MAX.BITNET
 DEREK@MAX.U.WASHINGTON.EDU
From: DESMITH_N@COLLOQUIUM.CO.UK (Nick de Smith)
Newsgroups: comp.os.vms
Subject: RE: Warning. XWATCH/SPY causes crash.
Date: 29 Dec 92 12:32:00 GMT
Distribution: world
Organization: The Internet

Hi,

Well, I may only read this list rarely now, and not contribute as often as I
did, but I should respond to this message:

Brendan Welch, UMass/Lowell, W1LPG,  welchb@woods.ulowell.edu Wrote:

>	We had a system crash (VMS 5.5-1).  My rudimentary analysis of
>the crash dump showed "unexpected system service exception".  Further
>analysis by DEC showed that it was due to use of XWATCH/SPY, by Nick
>deSmith, 1991 OCTOBER 10, even though we had used this product successfully
>many times before.

Close, but no banana - my name is "Nick de Smith", or "Nicolass van der Smet"!

I hope that I have never, ever, claimed responsibility for code that is not
mine. I certainly would NEVER admit to writing WATCH (;-), for a start, the
style is awful... However, I did contribute a *small* patch to enable it to be
used as a data monitor for comms lines. I take ABSOLUTELY NO RESPONSIBILITY for
the rest of it - anyone who has seen my more usual coding style (in MWAIT or the
FT loadable images or ...) should know that.

Please, make it clear to the DEC support person that it it not my code! I have a
reputation to uphold!

BTW. I would like to see this feature in the SUPERVISOR series, if its not
already there...

Merry Christmas (or whatever you may celebrate) and a Better New Year

Nick
"May you always sleep between a pair of legs better than your own..."
From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
Newsgroups: comp.os.vms
Subject: Re: (none)
Date: 1 Jan 93 01:35:00 GMT
Reply-To: gavron@ACES.COM
Organization: ACES Consulting Inc.
News-Software: VAX/VMS VNEWS 1.4-b1

In article <921231094900.4975b@JEFLIN.TJU.EDU>, DGITLIN@JEFLIN.TJU.EDU (David Gitlin: Systems Manager & Analyst Scott Library) writes...
#ADD DAVID GITLIN

Pretty soon he'll want to be removed from this list,
and that just doesn't happen :)

Happy New Year!

Ehud

--
Ehud Gavron        (EG76)     
gavron@vesta.sunquest.com
I'm EMOTIONAL now because I have MERCHANDISING CLOUT!!
Newsgroups: comp.os.vms
From: dburkhol@afit.af.mil
Subject: Looking for labeling program.
Organization: Air Force Institute of Technology
Date: Wed, 30 Dec 1992 04:44:34 GMT

Looking for a ftp site that has a program to create
paper labels for backups.
Doug
From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
Newsgroups: comp.os.vms
Subject: Re: VAX c
Date: 25 Dec 92 03:08:00 GMT
Reply-To: gavron@ACES.COM
Organization: ACES Consulting Inc.
News-Software: VAX/VMS VNEWS 1.4-b1

In article <1992Dec24.173709.16437@mailer.cc.fsu.edu>, cliff@evax9.eng.fsu.edu writes...
# 
#Is there a way to get VAX C to flush the VMS file buffers? 
# 
#I've got a program that reads data in for the tta2: port and then writes it to 
#a file. The problem is that the data doesn't get written to the file until the 
#buffer is full, and that may not happen but once every day or two.  

	fflush(stream)

	example:
	fflush(stdout);

# 
#Cliff Browning                    |      Please deposite another quarter.
#                                  |      This ride ends on the next go 'round.
#Outer space docking station:      |
#Famu/Fsu College of Engineering   |      
#Room 118                          |        
#                                  |      Disclaimer: Nope, never saw her before
#E-mail: Cliff@evax.eng.fsu.edu    |                  before in my life.
#        Cliff@avm.bitnet          |
#        Cliff::evax               |
#                                  |
#Phone: Use E-mail                 |

	Ehud

--
Ehud Gavron        (EG76)     
gavron@vesta.sunquest.com
Sign my PETITION.
Newsgroups: comp.os.vms
From: dgalb@uranus.unm.edu ()
Subject: $QIO hangs...
Date: Tue, 22 Dec 92 17:21:53 GMT
Organization: University of New Mexico, Albuquerque



hi,

Does anybody know of any reason for a SYS$QIO call to hang???

Here is the piece of code:

        SUBROUTINE SETUP_AST()
        IMPLICIT        INTEGER(A-Z)
        INCLUDE         'COMMONS.INC'
        INCLUDE         '($IODEF)'
        EXTERNAL        GOT_NETIO

        INTEGER*2       C_IOSB(4)
        COMMONS/IOSBSS/ C_IOSB

        CALL SYS$QIO(,%VAL(CHAN),%VAL(IO$_READVBLK),C_IOSB,GOT_NETIO,,
        1       %REF(C_BUFFER),%VAL(1),,,,)

        RETURN
        END

It only hangs every so often... The code preceding the time it hangs
is a QIOW on the same channel until there is nothing left to read, but
that shouldn't hang the QIO.  Also, the channel is opened to a MULTINET
socket created by:

    *chan = socket(hp->h_addrtype, SOCK_STREAM, 0);
	...

    if(connect(*chan, &sin, sizeof(sin), 0) < 0) {
	...

After the first call it is always called at AST level.

Any ideas on what could cause the qio to hang???  (At least that is what
hangs when it is run with the debugger)  I could duplicate the hang, but
then I moved the data it was reading around (this is a IMAP client, and
before the mail messages were in a certain sequence, and it would hang
everytime... now that I've read my mail and moved things around, it won't
hang on the message any more... I am really lost on this one)

ps.
If I didn't include anything needed don't hesitate to mail me and ask
for more info...


Thanks for your help,
-David Galbraith
dgalb@unm.edu

UNM/CIRT
From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
Newsgroups: comp.os.vms
Subject: Re: DCL symbols from an image
Date: 25 Dec 92 03:07:00 GMT
Reply-To: gavron@ACES.COM
Organization: ACES Consulting Inc.
News-Software: VAX/VMS VNEWS 1.4-b1

In article <01GSNDM8ODYQ000G0Z@mc.maricopa.edu>, SHOECRAFT@MC.MARICOPA.EDU (Steve Shoecraft) writes...
# 
#    I am writing an application which must not only get symbols, but set DCL 
#symbols.  I am unable to use the LIB$GET_SYMBOL and LIB$SET_SYMBOL services 
#because I need to be able to work with integers as well.  Does anyone have an 
#example (C or MACRO) that does this? I would also like to be able to determine 
#whether the symbol was/is global or local on the get, and to specify global or 
#local on the set.

	This cannot currently be done from an executable.*

	Ehud

--
Ehud Gavron        (EG76)     
gavron@aces.com

* Those who would take me to task by saying that DCL is an executable
  and that what it could do so can the users should realize that there's
  NOTHING that can't be done in software, given PEOPLE, MONEY, and TIME.
  In order to solve this one, our hero would need to:
	a. Define a symbol in some way that it allocates space
	b. Peek in P1 space to find where the symbol information
	   is stored and change it to be an integer symbol.
  The time element on b is cost prohibitive.
Newsgroups: comp.os.vms
From: NL0242T@NLZCL (Oscar van Eijk)
Subject: comp.os.vms.flame, never ending story...
Organization: Philips Communication & Processing Services
Date: Tue, 29 Dec 1992 18:36:58 GMT
X-News-Reader: VMS NEWS 1.24

Hi there,

Since so many people seem to have a lot to say about Ehud and, especially, Carl,
maybe it's time for me to say something about it too, since I've recently been
the subject of some of Carls critized articles. I don't refer to the 'Vms MOVE'
messages, I just use it as an example.

When I asked for a Vms MOVE command I thought it was very clear, I didn't even
think about giving more information; MOVE is as clear to me as DELETE, RENAME
or COPY etc. Several people replied telling me BACKUP/DELETE might be what I
was looking for (and they were right), only one replied asking me what I meant
with MOVE, indeed: Carl. He took the time to send me a kind question, just
trying to find out how he could help me. I told him I already got the answer I
was looking for, posted a general 'thanx' (some people missed that, but that
can happen) and for me the story was over.

But then a long discussion started on the net where people were guessing
'what the original poster meant'. One of Carls articles caused a reaction of
me that wasn't necessary; he wrote something I didn't like and that's where
the flaming started. I don't recall the exact words, but there are *more* than
enough similar examples available. We all know many of our problems have been
solved by him, and we also know he is not always very tactful. I knew it but
I still wrote that article. 

The point is, when Carl says something about VMS, you can bet he's right, and
when he says you asked a question incorrectly, most of the time he's right too,
because you might be looking for one answer, not knowing there are several 
solutions available for your problem, depending on what *exactly* you want. I
started to realize that; everybody should.

The Net is an anarchy, and the best description I've ever read about that is
"Anarchy is when you have to accept someone calls you a shithead." I don't
know who said it (I've got it from one of the articles in
news.announce.newusers, I think many people here should read that group every
now and then :-}), but there's a lot of thruth in it; don't try to change
someone else's writing style, ignore it if you dislike it, just be grateful
for every problem that's solved by somebody who doesn't write his articles the
way you should.

Oscar.


---------
 Abandon Hope                                                   Oscar van Eijk
   All Ye                     O x x y                 C&P SON helpdesk, VN-223
Who Enter Here                            Philips Eindhoven, the Net(her)Lands
                                               nl0242t@nlzcl.decnet.philips.nl
From: pampreen@emunix.emich.edu (Dave Pampreen)
Newsgroups: comp.os.vms
Subject: Butthead
Date: 22 Dec 92 15:33:45 GMT
Organization: Eastern Michigan University

I have read a few of your last responses and you sound like your
are just a pompus buthead who thinks he knows everything.  I have
been kind of busy with a real LIFE and I can't always sit down and 
keep up on my comp.os.vms.  I usually end up missin a few (1000) or
so articles so get off my case and everybody elses.  People usually 
post here because the can't get the answer anywhere else.  
Newsgroups: comp.os.vms
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: RE: ballooning EXE size
Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
Organization: Digital Equipment Corporation, Nashua NH
Date: Wed, 30 Dec 1992 14:22:49 GMT


A number of people have replied to Loren Buhle's question about "Balooning
EXE size" with the suggestion to increase the linker's cutoff point for 
creating new demand-zero image sections using the ISD_MAX linker option
statement.  Though that "fix" often will shrink the image size, it has a hidden
cost; the reason for the limit in the first place.

As the number of image sections grows, the image activation time also grows;
an image with 100 or more image sections can take a long time to activate.
Sometimes this isn't a problem, but sometimes it is.  The ideal solution, which
I described in my previous posting, is to reduce the number of image sections to
the absolute minimum by using the linker COLLECT option statement.  If possible,
get it down such that there are no two image sections of the same type
(read-only, demand-zero, copy-on-ref, etc.).  I would only recommend adjusting
ISD_MAX if you haven't succeeded using the COLLECT method.

Some additional tips - use COMMON instead of large local variables; even a 
COMMON which is only used by one routine.  Each COMMON has its own PSECT name 
and thus you can use COLLECT to put all the uninitialized COMMONs together.
Reserve local variables for non-arrays and initialized storage.  Even better,
put all your data-initialized storage into their own set of COMMONs and 
COLLECT them into their own image section.  The VAX FORTRAN and VAX FORTRAN-HPO
Release Notes contain additional details on how to use COLLECT in a linker
options file.

At present, there is a limit of 250 named COMMONs in VAX FORTRAN, and no way
to allocate arrays on the stack (which would be ideal for large local arrays).
In DEC Fortran for OpenVMS VAX V6.0, which we expect to be shipping by March,
this limit is raised to 508, plus you can allocate arrays on the stack by
using the AUTOMATIC statement.
--

Steve Lionel                    lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road
Nashua, NH 03062
From: SABRY@SHEBIN.EG (Sabry Kotob El-Ganzory)
Newsgroups: comp.os.vms
Subject: Question about utility Mail....
Date: 21 Dec 92 12:39:00 GMT
Organization: The Internet

Hello All...............
I am Sabry Kotob. Do your remeber me????
Our system MV 3400 by 12.00Mb VMS V5.2-1....
Does anyone know what the mail$xxxxx.mai files are that are created by mail.
They don't seem to be related to the number of messages in various mail folders.
Just wondering....
Does anyone have a clue???????
Many thanks.............
E-mail:sabry@shebin.eg


Newsgroups: comp.os.vms
From: CADS_COLE@GALLUA.BITNET (Kevin Cole; Washington DC)
Subject: Re: UCX TELNET name.name.name portnumber -- How?
Organization: Gallaudet Research Institute
Date: Tue, 22 Dec 1992 06:41:48 GMT

Well, so much for asking our systems people to fix it...

I got the following response, after sending a copy of my post plus some 
responses from this list.

>Subj:	RE: Could you patch or upgrade UCX?
>
>Yes,  we have new version for ucx package and we will install if it
>is necessary.  Right now,  I dont see it is the important part.  Ok?
>I will install sometimes next months.  Why do you think it is important to
>you?
-- 

 ========== U.S. Mail =============================== E-Mail =================
 Kevin Cole      <Flatline>           |  Bitnet: CADS_COLE@GALLUA.BITNET
 Gallaudet Research Institute  (GRI)  |  Internet: KJCOLE@GALLUX.GALLAUDET.EDU
 Washington, D.C.  20002-3625         |  UUCP: ...!psuvax!gallua.bitnet!kjcole
 (202) 651-5575  x4592                |  The WELL:   kjcole
From: jeh@cmkrnl.com
Newsgroups: comp.os.vms
Subject: Re: $QIO hangs...
Date: 23 Dec 92 22:10:39 GMT
Organization: Kernel Mode Consulting, San Diego, CA

In article <1h9id1INN1c9@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU 
(Carl J Lydick) writes:
> In article <shgr_#n@lynx.unm.edu>, dgalb@uranus.unm.edu () writes:
>>Does anybody know of any reason for a SYS$QIO call to hang???
> 
> Just a guess (and I'm REALLY not sure about this), but was the process started
> with the /RESOURCE_WAIT qualifier [or equivalent thereof])? If I understand
> that qualifier properly, a process so started, if it lacks a resource (e.g., an
> IRP) necessary to execute a system service, will wait until the resource
> becomes available (as it would after the preceding QIO completes.

The general principle here is valid but the specific example (of an IRP) is
not.  If there are no free pre-allocated IRPs, *and* if the IRP lookaside list
can't be extended (no more virtual  space, or no free pages), VMS will give you
an IRP from the regular fragmentable pool. 

If free pool space is so scarce that even this is impossible, you'll notice the
effects long before your program hangs in a $QIO call (the entire system will
be more or less useless).  

But in general -- yes, if the process has used up its ASTLM; or if this is a
direct I/O operation and the process has used up its DIOLM; or if this is a
buffered I/O and the process has used up its BIOLM or BYTLM;  -- if any of the
preceding are true, *and* the process has the "resource wait" option enabled,
then $QIO will hang until the resource needed is freed (by the completion of a
previously-requested $QIO or, in the case of ASTLM, delivery of the AST). 

You can change this via

	$ SET PROCESS/NORESOURCE_WAIT

before trying to run the program.  The offending $QIO call will then fail with
SS$_EXQUOTA .  I'd try this as a first step toward troubleshooting.

	--- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and 
Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIG 
Internet:  jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
Uucp:  ...{crash,eisner,uunet}!cmkrnl!jeh
Newsgroups: comp.os.vms
From: fogelinc@nmr1.Cyanamid.COM (Carl Fogelin)
Subject: Detecting directory of invoked .com 
Reply-To: fogelinc@Cyanamid.COM
Organization: American Cyanamid Company
Date: Wed, 23 Dec 1992 16:06:36 GMT

At the risk of being flamed by the "active" participants of this Sig, I have
a problem which I hope has a reasonable answer.

In a DCL program, I would like to be able to determine what directory the
invoked .com file is located in.  I seem to remember a similar thread about
6 - 8 months ago, so I hope someone remembers the solution.

Reason:  I have a production command procedure that every once in awhile
must be moved to a test area for modification.  Currently, when I copy the
com file to the test area, I comment out the assigns associated with the
production version and uncomment the assigns associated with the test
version.  Unfortunately, sometimes when this command procedure is moved
back into production, the assigns are NOT switched back.

What I would like is to some code to this command procedure which would:

     if command file in production area then
        assign production logicals
     else
        assign test logicals
     endif

Does anyone know a method for doing this?

- Carl
---------------------------------------------------------------------------
 Carl Fogelin (fogelincc@cyanamid.com)     "All opinions are strictly mine" 
   "Sushi!   That's what my ex-wife called me.  Cold fish." -- Blade Runner
From: tihor@acf3.NYU.EDU (Stephen Tihor)
Newsgroups: comp.os.vms
Subject: Re: Using SEARCH on HELP...
Date: 27 Dec 92 15:53:00 GMT
Organization: New York University

Jamie you might also suggest hit pick up a copy of LIBSEARCH fromthe net
and use that to check through the help libraries.  Its one of 
my tools for that purpose.