[gnu.emacs.vms] VMSFNS

jym@APPLE.COM (07/20/89)

Well, it looks like others (Bruce Skinner _et_al_) have explained the
 changes to the facility$V_keyword things.  The general rule is something
  like this:

	facilty$M_keyword = (1 << facility$V_keyword);

However, all the facility$V_keyword constants were turned into bitfields
 by our compatibility-conscious friends at DEC.

A quick and easy way to find out a facility$V_keyword value is to do
 this (using PRVDEF as an example):

	$ library/macro/extract=$PRVDEF/output=tt: sys$library:STARLET

This will show (in MACRO) all the facilty$M_keywords and also the
 facility$V_keywords.  Then you can do a quick and dirty #define.

If you need something that doesn't have a .H file for it, you can also
 yank it out of STARLET.MLB, but redirecting the output to another file.
  (In the above example, you'd use "/output=PRVDEF.H" to do this.)  Then
   you can edit the file and turn Macroese into C (real easy with Emacs'
    keyboard macros).
     <_Jym_>