On Jul 22, 2014, at 10:18 PM, John E. Malmberg <malmb...@encompasserve.org> wrote:
> On 7/22/2014 7:13 AM, Craig A. Berry wrote: >> >> On Jul 21, 2014, at 7:41 PM, John E. Malmberg <wb8...@qsl.net> wrote: >> >>> On 7/21/2014 7:06 PM, Craig A. Berry wrote: >>>> >>>> DECC$FILENAME_UNIX_REPORT has nothing at all to do with exit statuses. >> >> Well, I wouldn't think it did, but for some reason the two are wired >> together: > > The idea was that if you wanted UNIX filenames, you would also want UNIX exit > statuses. It's easy enough to ask for both, but if folks feel strongly it should stay the way it is, I'll leave it. If we separate them, we'll have to add posix exit to what gets turned on under bash, but that's easy to do. > >> I think I'm going to regard that as a bug and separate them. > > The logical GNV$UNIX_SHELL is defined when bash is running. It should be > causing PERL_VMS_POSIX_EXIT to be in effect. That does not seem to be > working on encompasserve.org. Same bug as PERL_VMS_POSIX_EXIT: gnv_unix_shell = 0; status = simple_trnlnm("GNV$UNIX_SHELL", val_str, sizeof(val_str)); if ($VMS_STATUS_SUCCESS(status)) { gnv_unix_shell = 1; If the length of the equivalence name is odd, then status will test as a successful VMS status and it will work. But that whole problem is now fixed in blead: http://perl5.git.perl.org/perl.git/commitdiff/9bd30c63d934b70cf98e71983670d3e837ec38bb I will try to get this into 5.20.1 but it will be in 5.22 in any case. Since "bash" has an even number of characters in it, I don't see a reasonable short-term workaround. ________________________________________ Craig A. Berry mailto:craigbe...@mac.com "... getting out of a sonnet is much more difficult than getting in." Brad Leithauser