On 27 Apr 2005 22:22:53 -0700, donfanning@msn.com wrote: >Alright, > >After a bit of hacking and slashing ultimately getting irked with a >botched VS.NET install I went back and studied Jim Brain's TCPSER4j >program. Below is what I did and successfully connected in and out of >KEGS using this "Virtual Modem". [snip] Well, I haven't needed to be able to do this but after reading your description of how to do this, I think you might be over complicating things a bit. My KEGS v0.91 Serial Port Configuration is all set to the defaults (Use real ports if avail, Send full 8-bit data, Simple socket emulation mode, Modem with incoming and outgoing emulation). I started KEGS, ran Spectrum, typed ATZ to initialize the "modem". Spectrum is set to use the modem port (slot 2). I then set up started HyperTerminal and told it to use a TCP/IP connection to connect to my current IP address on port 6502. Spectrum started displaying RING messages and when I typed ATA into Spectrum and press enter I got a CONNECT 9600 message and was able to type messages back and forth between Spectrum and HyperTerminal. Hitting the disconnect button in HyperTerminal displayed NO CARRIER in Spectrum and I could reconnect them after I typed ATH into Spectrum. I'm sure if I allowed access through my firewall to that port, it would probably work fine. No need for any other programs. Just so you know, I also sometimes use Spectrum under KEGS to connect to Syndicomm to chat. I have Spectrum set to initialize the modem before dialing with an ATZ init string. I have a dialing entry for Syndicomm that is set to ATDTsyndicomm.com. This should work in ProTERM as well. -- Jeff Blakeney - Dean of the Apple II University in the Apple II Community on Syndicomm.com CUT the obvious from my address if you want to e-mail me Reason why I wanted to use TCPSER4j is because the built "Modem" emulation within KEGS is hardware based and not software based. So if someone were to setup a bbs and cut the line, there is no guarantee that they disconnected from the socket unless in a relatively clean state and would lock the system up. Using the write up I have verified that the system will work on Metal BBS. METAL.CONFIG below Regards Don This METAL.CONFIG file is well commented to help you figure out what the commands are for. A command is ACTIVE if it begins in column #1. A command is NOT ACTIVE if there is 1 or more leading spaces. If you have any questions, feel free to contact me at the following: FutureNet: #1@#8 or Tall_Runner@schizo.calif.fnet.org InterNet: tolsen@netcom.com FILESTARTS STARTUP=<1/STARTUP> EXECMODULE=<1/PRECOMPILE> CIBDIR=<*/C> CLOCK= use GS.CLOCK,NSC.CLOCK,THUNDER.CLOCK,PRODOS.CLOCK NO.CLOCK,SERPRO.CLOCK,ZRAM.CLOCK,SOUTHERN.CLOCK PRINTER= use NO.PRINTER,PARL.PRINTER,SLOT1.PRINTER, PRINTER= SSC.PRINTER,TONY.PRINTER MODEM= use NO.MODEM,NULL.MODEM,GENERIC.MODEM MODEM= MODEMQUITYPE= for USRobotics modems only MODEMQUITYPE= for all others MODEMPORT= use NO.PORT,GS.PORT,GS.PORT.DSR,C2.PORT,SSC.PORT MODEMPORT= TCW.PORT [[[ The following result map is for USRobotics Modems only. ]]] [[[ It has been de-activated. To re-activate it, move all ]]] [[[ commands to the first column. ]]] clearesultmap clearresultmap ADDTORESULTMAP=<0, "OK"> ADDTORESULTMAP=<2, "RING"> ADDTORESULTMAP=<3, "NO CARRIER"> ADDTORESULTMAP=<6, "BUSY"> ADDTORESULTMAP=<7, "BUSY"> ADDTORESULTMAP=<8, "BUSY"> ADDTORESULTMAP=<1,"300"> 300 baud ADDTORESULTMAP=<5,"1200"> 1200 baud ADDTORESULTMAP=<10,"2400"> 2400 baud ADDTORESULTMAP=<13,"9600"> 9600 baud ADDTORESULTMAP=<14,"300"> 300/ARQ ADDTORESULTMAP=<15,"1200"> 1200/ARQ ADDTORESULTMAP=<16,"2400"> 2400/ARQ ADDTORESULTMAP=<17,"9600"> was 9600/ARQ now TCPSER4j Telnet ADDTORESULTMAP=<18,"4800"> 4800 baud ADDTORESULTMAP=<19,"4800"> 4800/ARQ ADDTORESULTMAP=<20,"7200"> 7200 baud ADDTORESULTMAP=<21,"1*000"> 12000 baud ADDTORESULTMAP=<22,"1*000"> 12000/ARQ ADDTORESULTMAP=<23,"9600"> 9600/HST ADDTORESULTMAP=<24,"7200"> 7200/ARQ ADDTORESULTMAP=<25,"14400"> 14400 baud ADDTORESULTMAP=<26,"14400"> 14400/ARQ ADDTORESULTMAP=<27,"9600"> 9600/ARQ/HST ADDTORESULTMAP=<28,"4800"> 4800/HST ADDTORESULTMAP=<29,"4800"> 4800/ARQ/HST ADDTORESULTMAP=<30,"7200"> 7200/HST ADDTORESULTMAP=<31,"1*000"> 12000/HST ADDTORESULTMAP=<32,"1*000"> 12000/ARQ/HST ADDTORESULTMAP=<33,"9600"> 9600/V32 ADDTORESULTMAP=<34,"7200"> 7200/ARQ/HST ADDTORESULTMAP=<35,"14400"> 14400/HST ADDTORESULTMAP=<36,"14400"> 14400/ARQ/HST ADDTORESULTMAP=<37,"9600"> 9600/ARQ/V32 ADDTORESULTMAP=<38,"4800"> 4800/V32 ADDTORESULTMAP=<39,"4800"> 4800/ARQ/V32 ADDTORESULTMAP=<40,"7200"> 7200/V32 ADDTORESULTMAP=<41,"1*000"> 12000/V32 ADDTORESULTMAP=<42,"1*000"> 12000/ARQ/V32 ADDTORESULTMAP=<43,"16800"> 16800/HST ??? ADDTORESULTMAP=<44,"7200"> 7200/ARQ/V32 ADDTORESULTMAP=<45,"14400"> 14400/V32 ADDTORESULTMAP=<46,"14400"> 14400/ARQ/V32 ADDTORESULTMAP=<47,"16800"> 16800/ARQ/HST ??? ADDTORESULTMAP=<53,"16800"> 16800/HST OLD BOOK ADDTORESULTMAP=<57,"16800"> 16800/ARQ/HST OLD BOOK ADDTORESULTMAP=<83,"16800"> 16800/V32 ADDTORESULTMAP=<84,"16800"> 16800/ARQ/V32 ADDTORESULTMAP=<85,"19200"> 19200 baud ADDTORESULTMAP=<86,"19200"> 19200/HST ADDTORESULTMAP=<87,"19200"> 19200/V32 ADDTORESULTMAP=<88,"19200"> 19200/ARQ ADDTORESULTMAP=<89,"19200"> 19200/ARQ/HST ADDTORESULTMAP=<90,"19200"> 19200/ARQ/V32 ADDTORESULTMAP=<91,"21600"> 21600 baud ADDTORESULTMAP=<92,"21600"> 21600/ARQ/HST ADDTORESULTMAP=<93,"21600"> 21600/V32 ADDTORESULTMAP=<94,"21600"> 21600/ARQ ADDTORESULTMAP=<95,"21600"> 21600/ARQ/HST ADDTORESULTMAP=<96,"21600"> 21600/ARQ/V32 ADDTORESULTMAP=<97,"21600"> 21600/VFC ADDTORESULTMAP=<98,"21600"> 21600/ARQ/VFC ADDTORESULTMAP=<99,"2*000"> 24000 baud ADDTORESULTMAP=<100,"2*000"> 24000/ARQ ADDTORESULTMAP=<101,"2*000"> 24000/VFC ADDTORESULTMAP=<102,"2*000"> 24000/ARQ/VFC ADDTORESULTMAP=<103,"26400"> 26400 baud ADDTORESULTMAP=<104,"26400"> 26400/ARQ ADDTORESULTMAP=<105,"26400"> 26400/VFC ADDTORESULTMAP=<106,"26400"> 26400/ARQ/VFC ADDTORESULTMAP=<107,"28800"> 28800 baud ADDTORESULTMAP=<108,"28800"> 28800/ARQ ADDTORESULTMAP=<109,"28800"> 28800/VFC ADDTORESULTMAP=<110,"28800"> 28800/ARQ/VFC ADDTORESULTMAP=<139,"14400"> 14400/VFC ADDTORESULTMAP=<141,"14400"> 14400/ARQ/VFC ADDTORESULTMAP=<143,"16800"> 16800/VFC ADDTORESULTMAP=<145,"16800"> 16800/ARQ/VFC ADDTORESULTMAP=<147,"19200"> 19200/VFC ADDTORESULTMAP=<149,"19200"> 19200/ARQ/VFC ADDTORESULTMAP=<150,"57600"> Telnet ADDTORESULTMAP=<151,"38400"> Telnet MODEMINIT=<"ATE0V0Q0X4^M"> MODEMINIT=<"ATH0S0=0B0X6&A2&B1&M4&H1&R2&K1"> this is for USRobotics modems MODEMINIT=<"ATH0S0=0X4"> 1234567890123456789012345678901234567890 MODEMAUTO=<"ATH0E0V0Q0X4M1S0=1S7=45^M"> MODEMRESET=<"ATZ^M"> MODEMHANGUP=<"ATH0^M"> hang up, wait for OK MODEMOFFHOOK=<"ATH1^M"> take phone off hook, wait for OK MODEMGENCAR=<"ATA^M"> answer now, go into wait for carr MODEMESC1=<"ATE0V0Q0X4^M"> esc#1, wait for OK MODEMESC1=<"ATE0V0Q0&S1&C1^M"> MODEMESC1=<"+++"> MODEMESC2=<"+++"> esc#2, wait for OK MODEMSPEED=<"38400"> port speed (38400,57600 for GS only) MODEMSPEED=<"57600"> MODEMPORTLOCK= Yes/No (Yes for 19200,38400,57600) MODEMPORTLOCK= MODEMSPEED=<"2400"> 300,1200,2400,9600,19200,38400,57600 MODEMCOMLOCK= Leave these alone... MODEMESCHK= MODEMMAXRE=<3> # of times to re-try modem commands before giving up and assuming it took. MODEMRINGHELP= Yes if your modem is having trouble answering the phone. MODEMRINGHAND= MODEMDCDTO=<255> Leave this alone VIDEO= Default Video Emulation (this can be changed when a user is online) MEMORY= 8-bit apples: use VMH.8 or VMH.64 MEMORY= GS's: use VMH.GS, VMH.GSX, or VMH.GSXL CURSOR= Local cursor (N=normal,M=Mousetext,I=inverse) SYSINFO6=<255> Default values, can be changed by user online NULLS=<0> CR+LF= AUTOPOS= EDITJUSTIFY= EDITHOT= EDITWRAP= EDITPROMPT= [[ Change these to suit your needs. Should be no longer than 32 chars each ]] CHATIN=<"^m^m^nThe SysOp is chatting with you...^m^m"> CHATOUT=<"^m^m^nThe SysOp has left the space...^m^m"> LOCALIN=<"^m^mThe SysOp has taken control, please wait...^m^m"> LOCALOUT=<"^m^mReturning control to you.^m^m"> PATH0=<*/> Change these to suit your system. These should work PATH1=<*/IEBS> for the generic FutureVision BBS. PATH2=<*/SYSTEM> PATH3=<*/MENUS> PATH4=<*/NET> PATH5=<*/USERS> PATH6=<*/MESSAGES> PATH7=<*/LOGS> PATH8=<*/XFERS> PATH9=<*/WORKDIR> createdirs Create any of the above directories that do not exist freechat= yes=chat time does not count against user charbuffreq=<2> Leave these alone charbuffreq=<6> charbuffreq=<1> Every Character PORTCHECKINRATE=<1> CHECKSUM FILEENDS