Short: Amiga port of mlddc, another Monolith client Author: skawina@usa.net (Artur Skawina) Uploader: peoyli@algonet.se (P-O Yliniemi) Version: 3.1.8/1.0 Type: comm/tcp Author: peoyli@algonet.se (P-O Yliniemi) Requires: dev/ade/ixemul.lha ************************************************ ** mlddc 3.1.8 Amiga port 1.0 by P-O Yliniemi ** ************************************************ This is the Amiga port of mlddc, a program that updates the Monolith database and nameservers with your current IP. The only changes I had to make was in the makefile (just the CFLAGS and BINDIR). If you want to remake the program, you must have the complete GCC package installed on your system. Installation: *-*-*-*-*-*-* Copy the file "mlddc" to a directory in your command path, "amitcp:bin", "c:" and "Miami:" are good choices. Usage from shell: *-*-*-*-*-*-*-*-* 'mlddc' reads your hostname, MID and password from stdin. Create a file with this info and type: "mlddc < mymldata" To deactivate your host use "mlddc d < mymldata" If you have "sh" installed, you can use the UNIX shell script 'mlupd' to update and deactivate your host: Activate: "mlupd" Deactivate: "mlupd d" Usage from Miami: *-*-*-*-*-*-*-*-* Go to the "Events" page in the Miami configuration (main program GUI). Type "miami:online.miami" in the string gadget for the "Online event". Set the cycle gadget so it says "ARexx". Create the ARexx script miami:online.miami ------------------------ cut --------------------------------- /* Things to do when Miami gets online */ address command "c:mlddc < s:mymldata" ------------------------ cut --------------------------------- The reason I suggest you to put the command in an ARexx script is that you might want to do something more than just update your IP. You could also have used a shell script for the command, and the contents of the file should only have to be: ------------------------ cut --------------------------------- c:mlddc < s:mymldata ------------------------ cut --------------------------------- Since ARexx is more powerful than shell scripts, I suggest you to use the ARexx variant. Offline scripts: ------------------------ cut --------------------------------- /* Things to do when Miami gets offline */ address command "c:mlddc d < s:mymldata" ------------------------ cut --------------------------------- or ------------------------ cut --------------------------------- c:mlddc d < s:mymldata ------------------------ cut --------------------------------- Change the paths if necessary. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* snail: e-mail: peoyli@algonet.se P-O Yliniemi homepage: http://www.algonet.se/~peoyli Aspvagen 4E voice: +46-927-12293 SE-957 32 Overtornea SWEDEN *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1569 568 63.7% 17-Jul-97 18:59:54 +base64.cc 873 483 44.6% 08-Aug-97 21:52:22 +CHANGES 30 30 0.0% 08-Aug-97 21:06:14 +config.h 956 536 43.9% 06-Sep-97 05:23:04 +Makefile 1109 615 44.5% 06-Sep-97 05:23:18 +Makefile.orig 7940 4420 44.3% 06-Sep-97 05:46:48 +mlddc 4604 1621 64.7% 08-Aug-97 21:31:16 +mlddc.cc 49 49 0.0% 17-Jul-97 19:23:56 +mlupd 20 20 0.0% 06-Sep-97 05:58:06 +mymldata 840 401 52.2% 31-Jul-97 01:21:44 +netio.cc 336 176 47.6% 26-Jul-97 15:28:32 +netio.h 66 61 7.5% 06-Sep-97 05:39:16 +Offline.miami 63 59 6.3% 06-Sep-97 05:39:26 +Online.miami 2357 1238 47.4% 08-Aug-97 21:58:02 +README 2938 1086 63.0% 06-Sep-97 05:37:36 +README.Amiga 512 346 32.4% 31-Jul-97 16:18:42 +README.ports -------- ------- ----- --------- -------- 24262 11709 51.7% 07-Sep-97 17:53:40 16 files