GenesisOnline.yam GenesisOffline.yam GenesisQuit.yam Version 1.07 - 21.10.01 © H. van der Ree hivdree@uwnet.nl Are you using an expensive dailupline to your ISP? Do you want to keep the costs as low as possible when emailing or doing news? These arexx scripts keep the time you are connected to an absolute minimum! They combine getting online, sending new mail and optionally news, downloading new mail and optionally new news, go offline and optionally scan your new email for YahooGroups adverts under the 'Get' and "Send' buttons. Of course you can use these scripts to simply send and receive email AND news with YAM too, without the online-offline bit. DESCRIPTION: GenesisOnline.yam will start and put Genesis online from YAM before sending and downloading new mail and news. GenesisOffline.yam optionally starts YAM2NN by Karol Bryd & Magnus Johansson, disconnects Genesis from your server, and if installed starts YahooGroupsScanner.rexx by Steve Bowman. Get them from Aminet, comm/mail/YahooGpScan1_2.lha. comm/news/Yam2NN_0.87.lha If mail is send it will also check if there is new mail on your mailserver and download it before hanging up if the option "SEND" is used. If you use Yam2NN the same goes for news, both sending and downloading! The connection will not be touched if other programs like browsers or FTP clients are running or Genesis was already online. The latter can be overruled with the option "CLOSE". GenesisQuit.yam cleans up when you quit YAM. REQUIREMENTS: Genesis, YAM 2 and REXX. Optionally YahooGroupsScanner.rexx and YAM2NN for stripping YahooGroups adverts and NNTP support. rexxdossupport.library, Copyright (C) 1994-1997 by hartmut Goebel, included in this archive. WBStarter ; \ wbstart.library; >---- Copyright (C) 1991-96 Stefan Becker, included in dospath.library; / this archive. For OS3.5 and OS3.9 you can replace these with the relevant files from WBStartEmu.lha. If you do use version 45.1c or better, lower versions don't work for scripts! The scripts work with Genesis 1.0.6, GenesisRA, YAM 2.1, YAM 2.2, YAM 2.3, OS 3.1 and OS 3.9. Other versions are not tested but should work. INSTALLATION: =========================================================================== IMPORTANT: Change the GenesisOnline.yam script so it uses the Genesis path and interface you use! The name for the interface is the IfName item in genesis.config. Look for genesis.config in AmiTCP:db/. =========================================================================== To install, simply copy these scripts to YAM:Rexx. You don't need the .deb versions. Only use those if you have problems running the scripts. Copy the programs from the c-directory to c: and from libs-directory to Libs: Make sure you do not overwrite newer existing files! wbstart.library is an OS3.1 library, if you are using OS3.5 or OS3.9 get the latest WBStartEmu.lha from Aminet. If you use WBStartEmu then replace 'wbstarter' by 'wbrun' in GenesisOnline.yam. * Now open YAM's Config panel and go to the ARexx section. Hilite the "Before getting mail" item and load "Rexx/GenesisOnline.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (IMPORTANT) make sure "Wait for termination" is checked ON. If you want to be asked if an already open connection should be closed by YAM, add the option "CLOSE" * Hilite the "After getting mail" item and load "Rexx/GenesisOffline.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (IMPORTANT) make sure "Wait for termination" is checked ON. If you want YAM2NN support add the option "NEWS". Don't forget to add "SYS:Rexxc/rx YAM:Rexx/GenesisOffline.yam" into the "After download" gadget on the events page of YAM2NNConfig! * Hilite the "Before sending mail" item and load "Rexx/GenesisOnline.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (IMPORTANT) make sure "Wait for termination" is checked ON. If you use Yam2NN add the option "NEWS". This option checks for news and if found marks it 'H' so it is not send the 'normal' way. After your mail is send the original status is restored and your news is send by Yam2NN. Email-on-hold is not affected. Because Yam2NN doesn't yet support the YAM mailstatus, news-on-hold is send together with the other news!! GenesisOnline.yam does however support news-on-hold. If you want to be asked if an already open connection should be closed by YAM, add the option "CLOSE" * Hilite the "After sending mail" item and load "Rexx/GenesisOffline.yam SEND" into the Script gadget. Don't forget the option 'SEND'. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (VERY IMPORTANT) make sure "Wait for termination" is checked OFF. * Hilite the "Program termination" item and load "Rexx/GenesisQuit.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" and "Wait for termination" unchecked. Save your new settings. From now on you only have to start YAM to use your email! USAGE: Not much to say really. Press 'Get' if you want to download new mail and optionally news. Press 'Send' if you have new mail or news to send and automatically your new mail and optionally new news will be downloaded as well. BUGS: None that I know off. If you have problems running these scripts, replace them with the .deb versions and see if the file RAM:GenesisOnline.debug means anything to you. If it doesn't send this file together with a description of the problem and a summary of your system to me and I will try to find an answer. Don't forget to change the GenesisOnline.yam.deb script so it uses the Genesis path and interface you use! HISTORY: 1.00 - 08.11.00 First public version. 1.01 - 09.11.00 Added a note about YAM2NNConfig in YAMGenesis.doc. The scripts did not change. 1.02 - 01.03.01 Added GenesisQuit.yam script and removed all 'screen'- stuff. Genesis will use the same screen as YAM. It now uses YahooGroupsScanner.rexx. 1.03 - 04.05.01 GenesisOnline.yam: Added check for rexxsupport.library. Added support for auto-online interfaces. All scripts where made to work with OS3.9! Added debug versions of the scripts. Updated this doc file. 1.04 - 07.05.01 You can now send news with Yam2NN! GenesisOnline.yam: Added support for sending news with Yam2NN. GenesisOffline.yam: Added support for sending news with Yam2NN. Again updated the doc file. 1.05 - 05.06.01 GenesisOnline.yam: Added pubscreen support, after starting GenesisRA get YAM-screen back in front! Other scripts did not change. 1.06 - 07.08.01 GenesisOnline.yam: Added CLOSE option; ask if already open connection should be closed by YAM. Other scripts did not change. 1.07 - 21.10.01 GenesisOnline.yam: Changed argument parsing. Other scripts did not change. THANKS Thanks go to Steve Bowman, I nicked parts of his eGroupsScanner.readme. I hope he doesn't mind. Thanks also to Marcel Beck, of course for YAM, and the MiamiOn & Offline scripts which inspired me to write these Genesis scripts. A big thanks to Johan Banis for his time and effort to make these scripts work on other systems than mine, in particular under OS3.9 and with Yam2NN. DISCLAIMER: · These scripts are to be used entirely at your own risk, and although I have performed extensive testing, I will not be held responsible for any loss of data as a result of there use. · These scripts are © 2000-2001, and may only be distributed in its original unmodified form. · These scripts are EMailware, that means if you use them, please send me an email. If you disagree with any of the above, do not use the scripts!