MBOX V1.6 15-MAY-1995 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 G7.0. 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: In Jul 1994 I said: It does not see the first few mailbox's in the system as these are not returned by sys$device_scan. Since then Ian Miller of Softel Systems pointed out to me that the reason for this was that the hard coded mailboxes had the wrong device type. I modified the program to use $device_scan based not on device class and type but device class and device name. The kernel code allows mailboxes with types of either zero or one. Its a hack really but I consider the bug to be within VMS. 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 Mailbox messages written by drivers seem to have rubbish PIDs (for example the mailbox written to JOB_CONTROL (MBA1) by TTDRIVER on unsolicited input to an unassigned terminal. I have since added code to filter these out based on the function field of these messages being zero. I am greatfull to Greg Bernard (gbernard@dbc.com) for providing this info and some good ideas. I don't like the output format that much but I just don't have the brains to come up with anything better. In Jul 1994 I said: 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. I have now seen a DSNLINK article that shows how to do this on the AXP via R2 (the channel). I will need to get access to P1 space of the target but this is something I might do in the future. Whats new: I added details of the table in which the logical name is defined. MBOX now displays the creator of the mailbox for temporary mailboxes. I modified the code not to place explicitpairs in the output file. It was doing this because I was being lazy and using !/ directives in FAO. In fact I am still being lazy but I added some code to break the lines before calling $put. Have fun. Neill.
Name Revised Size Description
amqp/ 17-Mar-2009 12:17 512 subdirectory
arp/ 25-Mar-2009 15:35 512 subdirectory
bbs-rdb/ 17-Feb-2009 17:20 8,704 subdirectory
dcpp/ 27-Oct-2009 16:22 5,120 subdirectory
dhcp/ 1-Nov-2008 15:35 1,536 subdirectory
dnews/ 9-Mar-2004 16:17 3,584 subdirectory
freetds/ 9-Mar-2004 16:17 3,072 subdirectory
icq/ 15-Feb-2008 10:56 2,048 subdirectory
irc/ 9-Mar-2004 16:17 512 subdirectory
isup/ 6-Mar-2008 16:08 512 subdirectory
iupop3/ 20-Dec-2006 15:37 4,096 subdirectory
libidl/ 4-Apr-2006 18:32 2,560 subdirectory
lua/ 24-Jul-2009 13:45 5,632 subdirectory
mx/ 27-Sep-2007 16:20 2,048 subdirectory
ncs_convert/ 14-Sep-2009 16:37 512 subdirectory
netflow/ 11-Aug-2009 13:25 6,656 subdirectory
netpwd/ 6-Mar-2008 16:08 512 subdirectory
orbit/ 4-Apr-2006 14:19 512 subdirectory
persona/ 9-Mar-2004 16:17 512 subdirectory
pop3/ 21-Dec-2007 11:28 3,072 subdirectory
pop3rad/ 9-Mar-2004 16:17 2,048 subdirectory
proto/ 9-Mar-2004 16:17 1,536 subdirectory
redir/ 23-Oct-2009 12:13 5,632 subdirectory
rtp/ 1-May-2009 09:17 2,048 subdirectory
s-lang/ 24-Mar-2009 16:08 1,536 subdirectory
sctp/ 2-Nov-2009 12:46 512 subdirectory
sdl/ 30-Mar-2009 16:06 5,632 subdirectory
sip/ 24-Feb-2010 13:30 6,144 subdirectory
slfax/ 9-Mar-2004 16:17 2,048 subdirectory
smpp/ 9-Jun-2009 17:55 7,680 subdirectory
ssl/ 6-May-2009 23:43 512 subdirectory
syslog/ 9-Mar-2004 16:17 1,024 subdirectory
tessco/ 26-Mar-2008 23:51 1,024 subdirectory
tftp/ 28-May-2004 12:06 2,560 subdirectory
vtl/ 25-Apr-2009 18:30 6,144 subdirectory
aaareadme.txt 27-Nov-1995 16:02 2,929 plain text
acc_dump.c 9-Mar-2004 16:17 7,380 C source
bob.c 9-Mar-2004 16:17 2,744 C source
build.com 29-Jul-1994 23:55 293 DCL procedure
cdate.c 9-Mar-2004 16:17 2,122 C source
cod.c 9-Mar-2004 16:17 394 C source
cod_org.c 9-Mar-2004 16:17 3,384 C source
daily.com 9-Mar-2004 16:17 5,996 DCL procedure
daily_start.com 9-Mar-2004 16:17 1,280 DCL procedure
decuserve.dtr 9-Mar-2004 16:17 25,286 DEC DATATRIEVE source
descrip.mms 29-Jul-1994 23:55 326 Module Management System rules
fastio_exmp.c 9-Mar-2004 16:17 2,431 C source
fix_acct.c 9-Mar-2004 16:17 1,948 C source
floodd.c 9-Mar-2004 16:17 6,530 C source
fs.c 9-Mar-2004 16:17 2,039 C source
gblsec.c 9-Mar-2004 16:17 4,890 C source
gblsec1.c 9-Mar-2004 16:17 4,738 C source
gblsec_exmp.c 9-Mar-2004 16:17 2,070 C source
getpcb.c 9-Mar-2004 16:17 1,261 C source
hw_health.c 9-Mar-2004 16:17 7,814 C source
invisible.c 9-Mar-2004 16:17 5,767 C source
ipcli.c 9-Mar-2004 16:17 2,382 C source
ipcli_net.c 9-Mar-2004 16:17 11,552 C source
ipsrv.c 9-Mar-2004 16:17 3,796 C source
ip_ioctl.c 9-Mar-2004 16:17 3,527 C source
lat.c 9-Mar-2004 16:17 29,678 C source
lck.c 9-Mar-2004 16:17 1,498 C source
ldrset.c 9-Mar-2004 16:17 5,219 C source
lgiexample.c 9-Mar-2004 16:17 8,922 C source
link.com 30-Jul-1994 00:00 294 DCL procedure
lock_example.c 9-Mar-2004 16:17 3,112 C source
lock_examples.c 9-Mar-2004 16:17 2,906 C source
ltc.c 9-Mar-2004 16:17 1,804 C source
lts.c 9-Mar-2004 16:17 1,994 C source
mail.c 9-Mar-2004 16:17 3,197 C source
mail0.c 9-Mar-2004 16:17 2,342 C source
mail_l.c 9-Mar-2004 16:17 3,258 C source
mail_r.c 9-Mar-2004 16:17 5,655 C source
mail_s.c 9-Mar-2004 16:17 3,546 C source
mbxr.c 9-Mar-2004 16:17 2,867 C source
mbxw.c 9-Mar-2004 16:17 5,014 C source
mtx.c 9-Mar-2004 16:17 29,081 C source
orange_req.c 9-Mar-2004 16:17 8,111 C source
overl.c 9-Mar-2004 16:17 1,520 C source
overl_test.c 9-Mar-2004 16:17 2,136 C source
pai.c 9-Mar-2004 16:17 7,404 C source
pai0.c 9-Mar-2004 16:17 12,200 C source
paitest.c 9-Mar-2004 16:17 6,716 C source
pai_ip.c 9-Mar-2004 16:17 12,200 C source
pai_ip_io.c 9-Mar-2004 16:17 11,186 C source
pai_net.c 9-Mar-2004 16:17 11,488 C source
pcb.c 9-Mar-2004 16:17 1,313 C source
pcbmod.c 9-Mar-2004 16:17 1,692 C source
rmsloc_exmp.c 9-Mar-2004 16:17 1,530 C source
rur_in_sym.c 9-Mar-2004 16:17 10,066 C source
setuic.c 9-Mar-2004 16:17 1,691 C source
share_access.c 9-Mar-2004 16:17 2,826 C source
share_array.c 9-Mar-2004 16:17 198 C source
tar2vms.c 9-Mar-2004 16:17 12,504 C source
telnetsym.c 9-Mar-2004 16:17 29,965 C source
test_gblsec.c 9-Mar-2004 16:17 3,548 C source
ucx_ioctl.c 9-Mar-2004 16:17 5,154 C source
ver_ip_sym.c 9-Mar-2004 16:17 11,980 C source
zz.c 9-Mar-2004 16:17 770 C source