ÔCMCIGET MEX’£MCIINI MEXù$MCIMEX DOCÍËMCISEND MEX ûÿ-14MAY86DWN Üÿ ÿ STAT SODELAY ON STAT WTECHO OFF STAT WECHO 1 STAT REPLY 1 STAT TRIGGER "" STAT RETRY 0 SUFFIX "" DIAL MCI SLEEP 2 SENDOUT "^M" SENDOUT "your username ^M" SENDOUT "your password ^M" SLEEP 1 SENDOUT "^M" SENDOUT "^M" SLEEP 2 SENDOUT "PRINT^M " TERMA MCIIN.NEW SENDOUT "INBOX^M " SENDOUT "^M" SENDOUT "EXIT^M " WRT STAT SILENT ON STAT WTECHO ON STAT CLOCK 47 STAT XLINE OFF STAT ESC "^[" STAT PAGE 23 STAT TRIGGER ">" LOAD PHONE.PHN LOAD KEYS.KEY ID "[CALLING MCI] " MCIMEX.DOC v. 1.1 13MAY86 The two MEX read files in this library will help automate interaction between MCI MAIL and your MEX (Modem EXecutive) v1.14 and probably all other versions as well. I can't promise they will work with your terminal or your version of MEX, but they do work well with my TeleVideo 925/950 and if they do not work with yours, they probably can be made to work without much effort. The files assume that the MCI phone number is set in your MEX phone file. If it is not, either put it there with the MEX command: PHONE MCI=(number) or install the number directly in your read file in place of MCI, i.e., change to DIAL [NUMBER] instead of DIAL MCI. The files also assume that your MCI defaults are set for a 100 line page. Otherwise, you will need to revise the files to include many more carriage return functions which are needed to keep MEX moving past MEX's short pages. If the files do not work immediately, try reading MCIINI.MEX to set some of your MEX defaults the way mine are set. That may help or give you a starting point. If they still do not work, try setting your MCI defaults. To do that, go to the MCI command line and give command: ACCOUNT MCI will answer something like this. These are my account settings. Do you wish to see your current ACCOUNT settings? Yes or No: y TERMinal type: VIDEO LINE length: 80 PAGE depth: 100 TIME zone: PDT CR padding: 0 LF padding: 5 The files: MCIINI.MEX A MEX "INITIAL" read file that works for me and may work for you. Do: READ MCIINI or (from cpm) MEX READ INI MCISEND.MEX Command sequence: from MEX: READ MCISEND or (from CPM) MEX READ INI;READ MCISEND This file will: CALL MCI log on start an outgoing message stop at the TO: line for your keyboard input. It must be possible to set the file to read and transmit an ASCII disk file automatically, but I have not been able to do that since MEX expects an acknowledgement that MCI does not send. Perhaps someone else can make this fully automatic. MCIGET.MEX This is the key file. MCIGET will: CALL MCI log on check for messages read all your incoming messages write them to disk as MCIIN.NEW log off This version uses MCI's PRINT command to read all the messages without further input from the remote terminal. If there is a previous MCIIN.NEW file, MCIGET will append the new file to the old file. When you find messages in your MCIIN.NEW file, it is convenient to rename the file to MCIIN.510 (for .MAY10 or .D25 for DECEMBER25). Otherwise, you may want to let MCIIN.NEW grow. It will expand as necessary up to disk capacity to hold all your incoming messages. STAT SODELAY ON STAT WTECHO OFF STAT WECHO 1 STAT REPLY 1 STAT TRIGGER "" STAT RETRY 0 SUFFIX "" DIAL MCI # SLEEP 2 SENDOUT "^M" SENDOUT "your username ^M" SENDOUT "your password ^M" SLEEP 1 SENDOUT "^M" SENDOUT "^M" SLEEP 2 SENDOUT "CREATE ^M" GLOBAL T T