Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Reading OpenVMS documentation CD via Linux!?

Geert Van Pamel
Regular Advisor

Reading OpenVMS documentation CD via Linux!?

I have a stupid, but interesting interoperability problem.

I want to read the OpenVMS 7.3 documentation CD on Linux (via an Apache Web server).

The OpenVMS documentation is in ISO9660 format, but it appears that this format is case sensitive on Linux.
Object not found!

The following works:

cd /mnt/cd1


ls /mnt/cd1/v73
ls: /mnt/cd1/v73: No such file or directory

Remark that the directory V73 is in uppercase on the CD, but is refered as "v73" from the INDEX.HTML file.

Seems that Engineering mixed upper and lowercases?

Question: is there any option in Linux to ignore case with ISO9660 CDs?

I have tried mount option check=relaxed, but this seems not to work!?

Note: Windows is never sensitive. I know; but I do not have a Windows web server available...
John Gillings
Honored Contributor

Re: Reading OpenVMS documentation CD via Linux!?


Unfortunately DCL is case insensitive, so OpenVMS engineers don't always think in terms of case sensitivity when generating filenames, or HTML references (guilty m'lud! ;-).

A few things to try... get a more recent set of doc CDs. V7.3 is nearly a decade old, and later releases may be a bit more disciplined in use of case in filenames and references.

I'd also look into the Apache configuration. I seem to remember there's a way to request case insensitivity for a particular virtual directory, but Apache usually makes my head hurt, so I could be wrong ;-)

If that still doesn't work, the disk doesn't hold too much data by today's standards, so copy the whole CD onto a hard disk. If you're lucky check=relaxed will work from there, but otherwise you can probably do some creative renames and/or links. For example, a first cut might be to create a link to each file with the filename converted to lower case (if different from the original filename). Should be fairly simple to script.

If they've been really bad and generated mixed case references and/or filenames, you may need to do some searching and sorting to work out exactly what filenames are referenced and create the links as required.
A crucible of informative mistakes
Hein van den Heuvel
Honored Contributor

Re: Reading OpenVMS documentation CD via Linux!?

Yeah, just copy down the whole CD, and then either create lower-case softlinks for all objects, or rename all to lowercase.

That following, only partially tested, perl script might just be able to do that:

------------------ munge_file_names.pl -----
use warnings;
use strict;
use File::Find;

my @files = @ARGV or die "Please provide a top directory as argument";
find(\&wanted, @files);

sub wanted {
my $old = $_;
$_ = 'l_' . lc;
my $type = (-d)? 'd' : (-f)? 'f' : (-l)? 'l' : (-e)? '?' : '!';
link $old, $_ unless -e;
# rename $old, $_ unless -e;
printf qq(%20s %s %10s\n), $File::Find::dir, $type, $old;

d = directory
f = regular file
l = link
e = exist
? = dunno
! = will create link


John H. Reinhardt
Frequent Advisor

Re: Reading OpenVMS documentation CD via Linux!?

Things haven't gotten any better with the V8.3-1 documentation CDs for either the operating system or the layered products. I have copies of both and there are many, many places where the case is wrong. Makes for tough viewing on an OS/X system. Works okay for OpenVMS and Windows but anything with a case sensitive file system is SOL.
John H. Reinhardt
Frequent Advisor

Re: Reading OpenVMS documentation CD via Linux!?


Unfortunately that won't work as not only are they inconsistent in the case of the filenames, but also in the HTML files. so you may have the case where the file name/path is upper case in HTML but lower case in the file structure or vice versa. It's an inconsistent mess actually. What we need is a way to change both the HTML and the actual file names/paths.
Bojan Nemec
Honored Contributor

Re: Reading OpenVMS documentation CD via Linux!?


Try the apache mod_speling module. This module try to find misspelled or miscapitalized documents. The directive is "CheckSpelling On|Off" which can be in server config, virtual host, directory or .htaccess definitions.


So you can add a "CheckSpelling On" to the Directory directive for the CD.