Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VMS-Perl and VSI-Java

0 views
Skip to first unread message

Jouk Jansen

unread,
Oct 21, 2019, 4:45:04 AM10/21/19
to VMS...@perl.org
Hi All,

I noticed problems with Perl, when JAVA80 is configured. I tracked down the
problem to some decc$xxxx logicals, which are defined by the java setup.

Maybe it is a good idea to define the required logicals inside the perl.exe.
An example how to do this can be found (i.e.) in the sources of bzip2
(http://antinode.info/dec/sw/bzip2.html) (see file vms_misc.c)

What do you think of this idea?

Regards
Jouk


Pax, vel iniusta, utilior est quam iustissimum bellum.
(free after Marcus Tullius Cicero (106 b.Chr.-46 b.Chr.)
Epistularum ad Atticum 7.1.4.3)


Touch not the cat bot a glove

>------------------------------------------------------------------------------<

Jouk Jansen

jo...@hrem.nano.tudelft.nl

Technische Universiteit Delft tttttttttt uu uu ddddddd
Kavli Institute of Nanoscience tttttttttt uu uu dd dd
Nationaal centrum voor HREM tt uu uu dd dd
Lorentzweg 1 tt uu uu dd dd
2628 CJ Delft tt uu uu dd dd
Nederland tt uu uu dd dd
tel. 31-15-2782272 tt uuuuuuu ddddddd

>------------------------------------------------------------------------------<

Craig Berry via vmsperl

unread,
Oct 22, 2019, 8:45:03 AM10/22/19
to Jouk Jansen, VMS...@perl.org

> On Oct 21, 2019, at 2:49 AM, Jouk Jansen <jo...@hrem.nano.tudelft.nl> wrote:
>
> I noticed problems with Perl, when JAVA80 is configured. I tracked down the
> problem to some decc$xxxx logicals, which are defined by the java setup.

Yes, I ran into this when the first HPE/VSI Java kit came out.

> Maybe it is a good idea to define the required logicals inside the perl.exe.
> An example how to do this can be found (i.e.) in the sources of bzip2
> (http://antinode.info/dec/sw/bzip2.html) (see file vms_misc.c)
>
> What do you think of this idea?

Perl already has a lib$initialize set-up and does enable the things that it needs:

<https://github.com/Perl/perl5/blob/blead/vms/vms.c#L13835>

(Yes, we moved to GitHub recently).

I guess we could also make Perl disable things that are enabled by the Java command procedures and break Perl. This seems backwards to me and it is really Java that should enable what it needs at run time rather than requiring anyone who has Java installed to take evasive action. If I remember correctly, Java set-up actually does DEFINE/SYSTEM so ordinary users can't even deassign the problem logicals but have to override by assigning different values.

Thanks for the suggestion. I'd be happy to hear what others think. I was hoping HPE/VSI would fix Java, but at this point there will likely never be another truly new Java kit on Itanium, even if there is a minor update to the current one.

________________________________________
Craig A. Berry

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser

Craig Berry via vmsperl

unread,
Oct 24, 2019, 10:45:05 PM10/24/19
to Craig Berry, Jouk Jansen, VMS...@perl.org
By the way, the only one I've run into trouble with is DECC$READDIR_DROPDOTNOTYPE. Are there athers? And it looks like I remembered wrong, and there are ways to have Java put the logicals in the process table rather than the system table, but still it seem it should just set the features for the duration of the Java image and not pollute logicals that could affect anything else.
0 new messages