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 Created Size Description
amqp/ 4-Dec-2008 17:26 512 subdirectory
arp/ 3-Mar-2009 14:58 512 subdirectory
bbs-rdb/ 31-May-2007 16:01 8,704 subdirectory
cms/ 21-Jan-2001 16:06 512 subdirectory
dcpp/ 17-Jun-2009 15:59 5,120 subdirectory
dhcp/ 1-Nov-2008 10:21 1,536 subdirectory
dnews/ 21-Jan-2001 16:17 3,584 subdirectory
freetds/ 21-Jan-2001 16:17 3,072 subdirectory
icq/ 21-Dec-2007 17:18 2,048 subdirectory
irc/ 10-Oct-2003 13:29 512 subdirectory
isup/ 14-Jun-2001 22:51 512 subdirectory
iupop3/ 21-Jan-2001 16:19 4,096 subdirectory
libidl/ 4-Apr-2006 15:09 2,560 subdirectory
lua/ 24-Jul-2009 12:31 5,632 subdirectory
mbill/ 3-Jun-2011 11:50 10,240 subdirectory
mra/ 1-Sep-2011 13:31 512 subdirectory
mx/ 13-Dec-2005 16:12 2,048 subdirectory
ncs_convert/ 14-Sep-2009 16:37 512 subdirectory
netflow/ 5-Dec-2002 16:57 6,656 subdirectory
netpwd/ 21-Jan-2001 16:06 512 subdirectory
obimp/ 12-May-2010 11:32 1,024 subdirectory
orbit/ 4-Apr-2006 14:19 512 subdirectory
persona/ 19-Nov-2002 14:07 512 subdirectory
pop3/ 23-Mar-2005 11:34 3,584 subdirectory
pop3rad/ 11-Aug-2003 16:06 2,048 subdirectory
proto/ 6-Nov-2002 16:09 1,536 subdirectory
redir/ 6-Oct-2009 11:04 5,632 subdirectory
retracker/ 31-Mar-2010 14:37 2,560 subdirectory
rpop/ 14-Apr-2010 11:47 2,560 subdirectory
rtp/ 2-Jun-2001 18:43 2,048 subdirectory
s-lang/ 18-Mar-2009 14:44 1,536 subdirectory
sctp/ 2-Nov-2009 12:46 512 subdirectory
sdl/ 1-Feb-2006 13:34 5,632 subdirectory
sip/ 26-Apr-2009 11:15 6,656 subdirectory
slfax/ 22-Jan-2004 16:01 2,048 subdirectory
smpp/ 17-Apr-2002 12:59 7,680 subdirectory
ssl/ 6-May-2009 23:43 512 subdirectory
stunnel/ 26-Aug-2011 11:49 1,024 subdirectory
syslog/ 4-Feb-2004 12:08 1,024 subdirectory
tessco/ 5-Mar-2002 12:20 1,024 subdirectory
tftp/ 24-May-2004 11:54 2,560 subdirectory
tiff/ 21-Jan-2001 16:17 512 subdirectory
vtl/ 19-Mar-2009 12:47 6,144 subdirectory
aaareadme.txt 27-Nov-1995 16:02 2,929 plain text
acc_dump.c 2-Mar-2002 16:38 7,380 C source
acc_dump_cld.cld 2-Mar-2002 15:42 862 VMS Command Line Definition
bob.c 24-Sep-1998 20:34 2,744 C source
build.com 29-Jul-1994 23:55 293 DCL procedure
cdate.c 20-May-2000 02:10 2,122 C source
cod.c 3-Sep-1997 14:37 394 C source
cod_org.c 28-Nov-1996 09:25 3,384 C source
daily.com 28-Jan-1988 09:34 5,996 DCL procedure
daily_start.com 28-Jan-1988 09:39 1,280 DCL procedure
decuserve.dtr 28-Jan-1988 13:58 25,286 DEC DATATRIEVE source
descrip.mms 29-Jul-1994 23:55 326 Module Management System rules
fastio_exmp.c 29-Sep-1998 14:12 2,431 C source
fix_acct.c 21-Apr-2000 20:14 1,948 C source
floodd.c 28-Jan-1997 21:13 6,530 C source
fs.c 10-Oct-1997 21:40 2,039 C source
gblsec.c 7-Sep-1998 20:55 4,890 C source
gblsec1.c 7-Sep-1998 21:16 4,738 C source
gblsec_exmp.c 29-Sep-1998 14:15 2,070 C source
getpcb.c 19-Aug-2000 18:23 1,261 C source
hw_health.c 27-Sep-2000 19:18 7,814 C source
invisible.c 10-Mar-1998 19:35 5,767 C source
ipcli.c 4-Nov-1997 18:02 2,382 C source
ipcli_net.c 4-Nov-1997 13:42 11,552 C source
ipsrv.c 20-Nov-1995 16:01 3,796 C source
ip_ioctl.c 23-Oct-1996 15:51 3,527 C source
lat.c 30-Sep-1998 16:16 29,678 C source
lck.c 9-Jun-1998 13:03 1,498 C source
ldrset.c 13-May-1998 04:59 5,219 C source
lgiexample.c 2-Oct-1999 23:08 8,922 C source
link.com 30-Jul-1994 00:00 294 DCL procedure
lock_example.c 24-Feb-1998 16:21 3,112 C source
lock_examples.c 17-Oct-1997 20:54 2,906 C source
ltc.c 16-Mar-1998 18:47 1,804 C source
lts.c 16-Mar-1998 18:26 1,994 C source
mail.c 20-Dec-1995 12:56 3,197 C source
mail0.c 20-Dec-1995 13:16 2,342 C source
mail_l.c 25-Oct-1995 16:02 3,258 C source
mail_r.c 25-Oct-1995 15:53 5,655 C source
mail_s.c 25-Oct-1995 15:51 3,546 C source
mbxr.c 21-Nov-1994 14:35 2,867 C source
mbxw.c 21-Nov-1994 14:35 5,014 C source
mtx.c 13-May-1998 04:59 29,081 C source
orange_req.c 15-Jun-2000 13:34 8,111 C source
orange_req_cld.cld 15-Jun-2000 01:53 1,126 VMS Command Line Definition
overl.c 3-Feb-2000 15:28 1,520 C source
overl_test.c 3-Feb-2000 15:26 2,136 C source
pai.c 31-Aug-1995 17:50 7,404 C source
pai0.c 6-Jan-1997 12:11 12,200 C source
paitest.c 25-Nov-1994 13:48 6,716 C source
pai_ip.c 19-Feb-1996 11:14 12,200 C source
pai_ip_io.c 13-Feb-1997 16:18 11,186 C source
pai_net.c 17-Mar-1997 17:16 11,488 C source
pcb.c 18-Jan-2000 15:03 1,313 C source
pcbmod.c 17-Aug-2000 12:54 1,692 C source
rmsloc_exmp.c 18-Sep-1998 22:02 1,530 C source
rur_in_sym.c 20-Feb-1997 17:02 10,066 C source
setuic.c 19-Jan-2000 07:17 1,691 C source
share_access.c 17-Oct-1997 17:12 2,826 C source
share_array.c 17-Oct-1997 20:56 198 C source
tar2vms.c 8-Dec-1995 20:57 12,504 C source
telnetsym.c 31-Oct-1995 13:26 29,965 C source
test_gblsec.c 7-Sep-1998 21:55 3,548 C source
ucx_ioctl.c 26-Apr-1996 12:27 5,154 C source
ver_ip_sym.c 5-Jan-1996 16:23 11,980 C source
zz.c 7-Nov-2000 13:38 770 C source