Thread View: news.software.readers
1 messages
1 total messages
Started by Andrew Brennan
Thu, 20 Feb 1997 00:00
SLRN & VMS (Alphas, CAPTIVE, V6.2-1H3 - no spawn)
Author: Andrew Brennan
Date: Thu, 20 Feb 1997 00:00
Date: Thu, 20 Feb 1997 00:00
58 lines
3449 bytes
3449 bytes
Is anyone using SLRN on an OpenVMS AXP system with V6.2+ and a
CAPTIVE user population?? I'd love to hear from you before I find
myself listening to the voices & cleaning my gun collection[0].
Ok ... I think I've tried everything I can now. I have access to
three OpenVMS Alphas (V6.1, V6.2 and V6.2-1H3) and have tried the
same code on all three with various results.
SLRN uses system() to start the editor for posting, mailing - what
have you. This is fine for most cases, but CAPTIVE VMS users on a
>5.5-2 (??) system need a TRUSTED flag passed to LIB$SPAWN to make
this work. Otherwise, you get a query asking you if you want to
post -- an empty message[1].
The use of the TRUSTED flag allows code to continue working in the
pre-V6.0 (or whenever CAPTIVE & LIB$SPAWN changed) style, but was
not available for Alpha hardware (reserved for future expansion)
before V6.2 (although HELP on a V6.2-1H3 box still has the note of
it being reserved on OpenVMS AXP systems).
Now ... I've tried LIB$SPAWN using ANU-NEWS and Lynx code as the
examples/templates. The TRUSTED flag doesn't seem to work on the
V6.2-1H3 system. I'll be trying a change in the SECURITY_POLICY
parameter to see if that makes the difference, but that won't be
until tomorrow morning. LIB$SPAWN seems ideal - it allows me to
replace the system() call - making it more useful than TPU$EDIT in
this situation (an approach posted a week or so ago). LIB$SPAWN
and no TRUSTED bit works for non-CAPTIVEs, but LIB$SPAWN with the
TRUSTED bit (CAPTIVE or no) does not[2].
I *have* tried TPU$EDIT, though. A simple program that calls the
routine (5 lines or so) compiles, links and runs on all systems I
described. The V6.2 system has the SECURITY_POLICY=71 parameter
and it appears to work w/o any problem. Unfortunately, the image
(FTP'd over or compiled again from scratch) doesn't work on the
V6.2-1H3 system. I get ACCESS VIOLATIONs and the program dies.
It's possible that the SECURITY_POLICY change will fix everything
and I'll cancel this post if it's the case ... but I'm not being
particularly optimistic at this time. Anyone have a tip??
[0] Sorry, I don't collect firearms. Sounded good, no? :^)
[1] It's not really empty. The file is empty with the .signature
appended, so I've informed our users that it's *possible* to
post by editting their .sigs ... post an empty message and the
"content" is appended with the signature. I'd rather they use
PINE until this is fixed, though.
[2] static $DESCRIPTOR (command,"edit");
int stat, ret;
unsigned long sflag;
sflag = 0x40;
ret = lib$spawn( &command,NL,NL,&sflag,NL,NL,&stat,NL,NL,0,NL,NL);
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads