[fa.info-vax] general VAX/VMS goodies

info-vax@ucbvax.ARPA (07/17/85)

From: Todd Aven <decvax!seismo!maryland.ARPA!eneevax!umdhep@BERKELEY>

About VMS C2.0:  the routine chdir which seems absolutely useless
because it doesn't change the default directory permanently can
be made to work correctly by adding an argument with non-zero
value after the 'name' argument specified in the manual. A call
might look like this:

chdir("/dua0/sys0/sysexe",1);

I have modified the program cpg.c posted to the net a few weeks back
so that it works properly (I believe on UNIX as well as VMS).
Send mail if you are interested in the program, and if enough
people are interested I will post it in net.sources. The program
takes a C source file and lists it to stdout or a specified outpu
file (which can even be a printer) with pretty attachments such as
a header and page breaks for each new function definition. For large
C programs, it actually makes debugging a little easier. An optional
table of contents can be printed, and the page length is switch 
selectable.

For those who had FINGER until VMS4.0 came out, I have got the basic
FINGER working, as well as the plan file and mail checking features,
and the idle time routine. If it has not already been widely interested,
I would be willing to trade (or give if you are really software-poor)
the sources. Credit must be given to Richard Garland for writing the
original, I have only fixed it for a new OS.

Anybody out there sick and tired of the incorrect number of new mail
messages in sys$system:vmsmail.dat? I have a program written in
FORTRAN that will fix it. Inquire within...

All for now from your friendly neighborhood VMS manager.

============================================================
|Todd Aven               MANAGER@UMDHEP.BITNET             |
|Softwear Sweatshop         AVEN@UMCINCOM (arpanet, bitnet)|
|High Energy Physics      UMDHEP@ENEEVAX.UUCP              |
|University of Maryland                                    |
|College Park, MD 20742      (301)454-3508                 |
============================================================