T.R | Title | User | Personal Name | Date | Lines |
---|
2088.1 | | QUARK::LIONEL | Free advice is worth every cent | Mon Jan 22 1990 12:38 | 9 |
| How do you want to use it? Remember that DECwindows is really just a component
of VMS, and therefore any version number ought to be the VMS version number.
(That VMS images tend not to have usable image idents is an issue I plan
to work on in the near future.)
If we knew what you needed the version number for, we could best advise you
on how to determine it.
Steve
|
2088.2 | .COM file to extract image header id field | AIRBAG::SWATKO | Electrons are cheap. Trees are not. | Mon Jan 22 1990 15:28 | 14 |
| This will extract and print the image header id field. This may or may not
accomplish what you want, but here it is...
-Mike
$ infilename = P1
$ if infilename .eqs. "" then inquire infilename "Filename"
$ open/read infile 'infilename
$ read infile file_buf
$ close infile
$ file_p = f$cvsi(0,16,f$extract(6,2,file_buf)) ! 6 = IHD_W_IMGIDOFF
$ file_p = file_p + 40 ! 40 = IHI_T_IMGID
$ file_c = f$cvsi(0,8,f$extract(file_p,1,file_buf)) ! fetch ASCIC count
$ file_buf = f$extract(file_p + 1,file_c,file_buf) ! fetch ASCIC string
$ write sys$output file_buf
|
2088.3 | | WFOFAC::BILL | | Mon Jan 22 1990 17:04 | 8 |
|
Thanks for the help. To .1's reply, I am writting a install procedure
to check for DECwindows version before the instalation continues
since the application will not run on anything lower that V2.0 .
To .2's reply, this works fine and thank you.
|
2088.4 | | PSW::WINALSKI | Careful with that VAX, Eugene | Mon Jan 22 1990 18:06 | 12 |
| RE: .3
> I am writting a install procedure
> to check for DECwindows version before the instalation continues
> since the application will not run on anything lower that V2.0
Then what you want to check for is a VMS version that is V5.3 or later. The
only "DECwindows V2.0" stuff that ran on VMS versions earlier than V5.3 was
field test stuff and thus those sites should all have upgraded to the real
thing by now.
--PSW
|
2088.5 | | QUARK::LIONEL | Free advice is worth every cent | Tue Jan 23 1990 10:42 | 4 |
| I agree with Paul in .4. I note that some of the DECwindows images have
image idents of the form "DECWINDOWS 5.3". How's THAT for confusing?
Steve
|