/*********************************************************************** * * * Down and Dirty MeSsyDOS IRC Client * * Version 0.8 ALPHA * * * * by zorgo * * * ***********************************************************************/ This is a DDM, the Down and Dirty MeSsyDOS IRC Client. DDM may not be distributed unless all source code is included. If you're using this version of DDM then GOOD LUCK. This is an alpha release only. DDM is still uncomplete as far as clients go, but it *DOES* work. Actually, it may crash on a whim and totaly trash your hard drive. If DDM crashes (Abnormal Program termination) or similar, REBOOT REBOOT REBOOT. Failure to do so could be a Bad Thing. This file is not intended as Documentation, but if you want some quick help: DDM was written to get to irc from terminal servers, without the need for an account. As long as you can get to port 6667 of an IRC sever, DDM should work. By default, when you start up DDM it drops you into TERMINAL MODE. You can now send direct commands to the modem, like atdt5551234, etc etc. Once you are connected to port 6667 of the server, press F1 to login to IRC. [ If you are already connected to port 6667 in some other manner, start with 'DDM -i' to skip the terminal and go right to parsing IRC. This means you can use some other Comm program, quit, and then run DDM. ] Now you are parsing IRC. Once you have /join'ed a channel, whatever you type will be sent to that channel. Other commmands are: /join -- join a channel /j -- same as /join /part -- leave a channel /msg -- send a message to a person or channel /m -- same as /msg /notice -- send a notice /nick -- change your nick /clear -- clear all screens /quit -- same as F10 (does not hang up modem, or disconnect from server) -- be lame and do /quote quit and wait for it to acknowledge. /quote -- Send stuff directly to server -- With this you can do any RAW irc command /q -- same as /quote /who -- info on people or channels (parsed) /whois -- info on people (unparsed) /lusers -- Number of Lusers online, etc /stats -- /stats i , /stats c , etc (unparsed) /motd -- Servers Message of the Day /time -- Servers Time /list -- list of channels (unparsed) By default, DEBUG MODE is on. DEBUG sends all types of info into the top window. F1 will get you some more debugging info F2 toggles DEBUG MODE on or off F3 will return you to TERMINAL MODE F4 toggles LAME MODE on or off F10 will exit out of DDM (but not hangup the modem) DDM -h to get a list of start up options. To use COM1 at 9600 at E71, start ddm with: DDM -e -c1 -b9600 To use COM2 at 57600 at N81, start ddm with: DDM ( all of those are default values, so nothing needs to be changed!) DDM looks for at your DOS environment for IRCNICK, IRCUSER and IRCNAME. If they are present, they will be used when loging into IRC, otherwise, the defaults in DDM.H will be used. ---------- BUGS, ETC: If you are typing and receiving from the modem at the same time DDM may garble or eat the servers output. The only way to see the garbled lines is to have DEBUG MODE on. Doesn't keep track of channels properly parse routine() is getting echo of dbuff. No quick way to hangup or to quit from server. --------- What's what in the DDM package: DDM.C - The main source code DDM.H - Header file for DDM LAME.C - Code for LAME MODE ASYNCC.OBJ - Object file needed to compile DDM ASYNC.H - Header file for the Comm routines DDM.PRJ - Turbo C++ Project file for DDM ASYNCLIB.ZIP - The Public Domain Comm Library used in DDM README.DDM - This file, DUH! DDM.EXE - MSDOS Executable for those too lame to compile DDM by hand DDM was written on a 486/33 compatible with Turbo C++, although no C++ style is used, nor much ANSI C style for that matter (K&R RULEZ!). Feel free to add to, fix, or change this code. You must include the ASYNCC.OBJ file when compiling (make a .prj file and add it or whatever, and use the COMPACT memory model). You are *not* allowed to complain about my ugly code unless you can fix it! :) Please send me a copy of your new and improved DDM source code so I can include it in later releases. The latest version of DDM might be found at the FTP site sunsite.unc.edu /pub/academic/computer-science/virtual-reality/irc/clients Then Again, maybe not. Who is to know? zorgo zorgo@gnu.ai.mit.edu