MBOX V1.4 26-JUL-1994 Neill Clift (neill@macro.demon.co.uk) I have worked on a number of real time systems under VMS and I have always meant to write a peek into mailbox's program. About a year ago I finally got round to it. The program knows about mailbox message formats for V5.4 thru V6.1. It will need changing if/when DEC ever change it in a future release. To run the program define it as a foreign command: mbox :== $fullfilespec:mbox.exe *NOTE* If you do make any changes, find any bugs or even just have some good ideas about the program *PLEASE* let me know about them. If you think there are synchronization problems with the code let me know. Problems: It does not see the first few mailbox's in the system as these are not returned by sys$device_scan. Deassigning a channel to a mailbox seems to cause all processes in RWMBX to become computable. So in order to see processes in RWMBX the program does an arbitrary wait after deassigning mailbox channels to full mailboxes. This may be subject to timing windows I don't like the output format that much but I just don't have the brains to come up with anything better. It all seems to work on the AXP but I am very much less sure that its synchronized correctly (I don't have the VMS source CD for the AXP so I can't check). /RWMBX does not work as R5 no longer contains the UCB address during these waits. There is probably another way of obtaining the info but I don't know what it is yet. Have fun. Neill.