Metal/FV ftp sites: galadriel.ecaetc.ohio-state.edu tfsp.saic.com Article 1122 of alt.bbs.metal: Path: news.stolaf.edu!umn.edu!zip.eecs.umich.edu!newsxfer.itd.umich.edu!caen!math.ohio-state.edu!magnus.acs.ohio-state.edu!szatezal From: szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) Newsgroups: alt.bbs.metal Subject: Re: Carrier drop Date: 30 Nov 1994 16:35:03 GMT Organization: The Ohio State University Lines: 425 Message-ID: <3bi9jn$irn@charm.magnus.acs.ohio-state.edu> References: <3b5lpg$nvn@gaia.ucs.orst.edu> <3bdg3a$1rp@charm.magnus.acs.ohio-state.edu> <3bdhkj$5r9@hopi.dtcc.edu> <3bge2k$d11@gaia.ucs.orst.edu> NNTP-Posting-Host: beauty.magnus.acs.ohio-state.edu In article <3bge2k$d11@gaia.ucs.orst.edu>, Yoshi wrote: >Dan McCoy (mccoy@hopi.dtcc.edu) wrote: >: I want a LOG of who drops carrier, the system DOES detect a drop just >: doesn't log it although the code shows that it should! > > Mine doesn't detect it. That's what i'm complaining about. I > don't care if it logs it or not (i'd prefer not): I just want > it to work. Here are two config files - maybe these'll help ya: This file is the setup for a Apple //gs with a SupraFAXModem V.32bis using a modem cable that uses the DSR line for carrier detect. Heavily commented for new sysops to learn from and for my own notations. Please do not remove the comments and then pass this out. I want the comments left in if it is to be shared. The "1234567890" things are for figuring out string length more easily. FILESTARTS STARTUP=<1/STARTUP> EXECMODULE=<1/PRECOMPILE> LOCKOBJ= Don't lock the CIB files after a compile. PRELOADCIB= Load entire CIB file instead of ONLY what is needed CLOCK= PRINTER= VIDEO= ProTERM Video Map... MEMORY= Do NOT use VMH.8 with GS.Port or GS.Port.DSR drivers. ! -------------------------------------------------------------------------- ! ! These lines are for the modem setup MODEM= Hayes, Usr, No, Generic MODEMQUITYPE= Only used if Generic.Modem, USR, HAYES, BLIND MODEMPORT= Using GS.Port or GS.Port.DSR will REQUIRE that you use the VMH.64, VMH.GS, or VMH.GSX memory drivers. MODEMSPEED=<"19200"> port speed for +4800 connects MODEMPORTLOCK= lock ports at modemspeed setting ALWAYS MODEMRESET=<"ATZ"> reset prior to shutdown (no ^M with BLIND QUIT) ! 1 2 3 ! 32 chars :12345678901234567890123456789012 <- chars max. MODEMINIT=<"ATHN1YVES0=0W2&C1&D2&S1S110=2X4"> init modem, wait for OK 1 2 3 ! 32 chars :12345678901234567890123456789012 <-chars max. MODEMAUTO=<"ATHM1S0=1S7=45\N3S36=5"> wait for ring/cnct ! The S7 can be set to 45 seconds (wait for carrier) so that RingHelp works ! nicely (so that RingHelp doesn't time out too soon or the modem times ! out too soon) ! 1234567890 MODEMHANGUP=<"ATHEVQS0=0"> hang up, wait for OK ! NOTE THAT SOME MODEMS CANNOT HANDLE MORE THAN 10 CHARS WHEN TRYING TO ! EXICUTE THIS STRING. ! 1234567890 MODEMOFFHOOK=<"ATEVQMH1^M"> take phone off hook, wait for OK 1 2 3 ! 32 chars : 12345678901234567890123456789012 <-chars max. MODEMGENCAR=<"ATM1EVYQ\N3S36=5A^M"> answer now, go into wait for carr ! 1234567890 MODEMESC1=<"ATEVQ&S1^M"> esc#1, wait for OK ! NOTE THAT SOME MODEMS CANNOT HANDLE MORE THAN 10 CHARS WHEN TRYING TO ! EXICUTE THIS STRING. ! Q0 may be redundant, but who cares. MODEMESC2=<"+++"> esc#2, wait for OK MODEMCOMLOCK= ! Set this to NO if you're having trouble getting ! Metal to init the modem. ! ** IF , YOU MUST HAVE E0 IN THE MODEMESC1 STRING ! *! ---**--- NEVER have this on if you are using a GS!! ---**--- MODEMESCHK= ! set this to NO if you don't have a DCD signal into ! your port. Setting this to YES allows ModemDriver ! to hangup/send commands faster MODEMDCDTO=<15> ! Sets time to react to DCD drop. <1> disables. if ! unable to make connects raise to a max of <256> PORTCHECKINRATE=<1> ! Sets a delay of x * 128 after an interrupt to check ! if more data is coming. MODEMCTSDELAY=<3> ! Sets delay so that after CTS changes it waits a bit ! and checks again before sending data. This is to fix ! //gs CTS line fault. Normal range <2> to <5>. <0) is ! default. MODEMMAXRE=<5> ! Times to re-try issuing a command before giving up ! and assuming it took. MODEMRINGHELP= ! assist modem in detecting calls (optional.. I like it) MODEMRINGHAND= ! send ModemGenChar on a RING at ANY time. CLEARESULTMAP ! will totaly erase the result codes-to- ! baud rate/connect values. ! ADDTORESULTMAP= ! This is the format for this command ! ADDTORESULTMAP=<5,"1200"> ! this tells us result "5" is 1200 baud. ! The string may be 300, 1200, 2400, 4800, 9600, 19200, 38400, and 57600. These ! Next lines are result codes for things... ADDTORESULTMAP=<0,"OK"> ADDTORESULTMAP=<2,"RING"> ADDTORESULTMAP=<3,"NO CARRIER"> ADDTORESULTMAP=<6,"BUSY"> ! Actually NO DIALTONE, but I want it to be BUSY ADDTORESULTMAP=<7,"BUSY"> ADDTORESULTMAP=<8,"BUSY"> ! Actually NO ANSWER, but I want it to be BUSY ! Next lines are Comp. to Modem Speed (DCE) - These are reported with "W2" ADDTORESULTMAP=<1,"300"> ADDTORESULTMAP=<5,"1200"> ADDTORESULTMAP=<9,"1200"> ADDTORESULTMAP=<10,"2400+"> ! ADDTORESULTMAP=<11,"4800"> ! FutureVision does not support this rate ADDTORESULTMAP=<11,"4800"> ADDTORESULTMAP=<12,"9600"> ADDTORESULTMAP=<13,"9600"> ! Not sure if this is 19.2k or 9600... ADDTORESULTMAP=<14,"19200"> ADDTORESULTMAP=<15,"19200"> ! Undocumented result code... Imagine that! ADDTORESULTMAP=<16,"19200"> ADDTORESULTMAP=<17,"38400"> ADDTORESULTMAP=<18,"57600"> ! Next lines are Modem to Modem Speed (DTE) - These are reported with "W1" ADDTORESULTMAP=<40,"300"> ADDTORESULTMAP=<46,"1200"> ADDTORESULTMAP=<47,"2400+"> ! + is for Hardware Handshaking ! ADDTORESULTMAP=<48,"4800"> ! FutureVision does not support this rate ADDTORESULTMAP=<48,"9600"> ! ADDTORESULTMAP=<49,"7200"> ! FutureVision does not support this rate ADDTORESULTMAP=<49,"9600"> ADDTORESULTMAP=<50,"9600"> ! ADDTORESULTMAP=<51,"12000"> ! FutureVision does not support this rate ! ADDTORESULTMAP=<52,"14400"> ! FutureVision does not support this rate ADDTORESULTMAP=<51,"19200"> ADDTORESULTMAP=<52,"19200"> ! -------------------------------------------------------------------------- ! CURBLINKRATE=<6> ! Higher number = slower blinking & clock updates CURTRACK= ! Track cursor on local screen (always visible) CURSOR= ! The cursor is set with an M for MouseText, I for ! Inverse, and N for Normal Text. The character in the ! quotes is the character that will be the cursor SYSINFO6=<0> ! This is used by FV for sysop aval for chat. Set this ! to zero for default=aval (or press oa-0 for the same) ! 255 is for unavailable ! user account defaults.... NULLS=<0> CR+LF= AUTOPOS= EDITJUSTIFY= ! Justification default in editor... EDITHOT= ! HotKeys in editor EDITWRAP= ! Word-Wrap in editor EDITPROMPT= ! "prompting" in editor ! end of user account defaults ! Chat and Local prompts... ! CHATIN=<"^m^m^nEntering Chat Mode...^m^m"> ! CHATOUT=<"^m^m^nExiting Chat Mode...^m^m"> ! LOCALIN=<"^m^m^nGoing locally online...^m^m"> ! LOCALOUT=<"^m^m^nReturning to connection...^m^m"> CHATIN=<"^m^m^nJoshie has come to talk to you...^m^m"> CHATOUT=<"^m^m^nJoshie has left the building...^m^m"> LOCALIN=<"^m^m^nEntering Sysop Utilities - USER LOCKED OUT...^m^m"> LOCALOUT=<"^m^m^nBack from Utilities - USER BACK ONLINE...^m^m"> ! Metal Paths (predefined for use in future vision) PATH0=<*/> PATH1=<*/FV/IEBS> PATH2=<*/FV/SYSTEM> PATH3=<*/FV/MENUS> PATH4=<*/FV/NET> PATH5=<*/FV/USERS> PATH6=<*/FV/MESSAGES> PATH7=<*/FV/LOGS> PATH8=<*/FV/XFERS> PATH9=<*/WORKDIR> ! Change to /RAM5/WORKDIR if you can... DEFINCPATH=<1/I> ! Default include path (need for FV5.0) CIBDIR=<1/CIBS> ! Keep compiled code seperate from segs CREATEDIRS ! Make any directory files that are missing FREECHAT= ! Users chat without losing the online time. CHARBUFFREQ=<1> ! Change this to 1 if you have a zippy system NONEGFILES= ! Don't allow +8meg files PAGEBACK= ! 1 page scrollback... OA-Up Arrow CHECKSUM ! make sure Metal.obj is still alive FILEENDS ------here's file #2------------ Ok..here is my metal config file for the Supra 14400. This seems to work well for me. You can see how I handled the busy signals etc. This was before I got my rom upgrade (which now recognizes the busy signal). A couple of things you should set in nvram as well. Set S38=255. I also recommend that you set %E and %G to 0. You should definitely set %E to 0 :) This is my cable below. I built my own, but you can obtain this cable from Alltech Electronics under the name of Hardware Handshaking cable Metal/GS. You must be specific when ordering this from them. (619)721-7733. Pin -Out guide: DB-25 Mini DIN 8 (TXD) 2 <--------------------< 3 (TX-) (RXD) 3 >--------------------> 5 (RX-) (DCD) 8 >--------------------> 7 (GPi) (CTS) 5 >--------------------> 2 (Handshaking IN) (DTR) 20 <------/------------< 1 (Handshaking OUT) (RTS) 4 <------/ (GND) 7 --------------------- 4 (SIG GND) | |____ > 8 (RX+) * DTR and RTS _must_ be *: Ground RX+ to prevent noise pickup. jumpered for the modem RX+ is not needed for RS 232 to send data to the computer! Pin 6 TX+ is _not_ connected! Pin Locations on Mini DIN 8 plug: |_| 6 7 8 3 4 5 1 2 In your control panel Have everything to default (modem port) except: *- Turn DSR/DTR handshaking to NO Make sure that Buffering is OFF!!! Well..I hope this helps you somewhat. This setup seems to work just fine for me! ============================================================================ This script file is set up for a //gs (rom03) with a SupraFAXModem V.32bis, flow control, and a locked port speed of 38400 baud. FILESTARTS STARTUP=<1/STARTUP> Never change this EXECMODULE=<1/PRECOMPILE> Never change this CIBDIR= All object files into here - keep my source directory nice and neat. LOCKOBJ= Yes, want the object files locked after a compile. Just so that they don't get hammered CLOCK= Whatever clock you want PRINTER= Change to No.Printer if you have problems printer= MODEM= Hayes, Usr, No, Generic MODEMQUITYPE= Only used if Generic.Modem USR,HAYES,BLIND MODEMPORT= SSC, GS, GS.PORT.DSR, NO, et.DSR, NO,c modem= Make these active for quicky tests, etc modemport= MODEMSPEED=<"38400"> port speed MODEMPORTLOCK= lock the port at xxx speed, never shift MODEMRESET=<"ATZ"> reset prior to shutdown MODEMINIT=<"ATHS0=0W2X4&C1N1&D0"> init modem, wait for OK MODEMAUTO=<"ATH0M0S0=1S7=45"> wait for OK, go in wait for carrier state MODEMHANGUP=<"ATH0S0=0"> hang up, wait for OK NOTE THAT SOME MODEMS CANNOT HANDLE MORE THAN 10 CHARS WHEN TRYING TO EXECUTE THIS STRING. MODEMOFFHOOK=<"ATM0H1"> take phone off hook, wait for OK MODEMGENCAR=<"ATM1A^M"> answer now, go into wait for carr MODEMESC1=<"ATE0V0Q0^M"> esc#1, wait for OK NOTE THAT SOME MODEMS CANNOT HANDLE MORE THAN 10 CHARS WHEN TRYING TO EXECUTE THIS STRING. MODEMESC2=<"+++"> esc#2, wait for OK MODEMCOMLOCK= set this to NO if you're having trouble getting Metal to init the modem or are using the ** IF , YOU MUST HAVE E0 IN THE MODEMESC1 STRING ** IF , YOU MUST HAVE E1 IN THE MODEMESC1 STRING ---**--- NEVER have this on if you are using a GS!! ---**--- MODEMESCHK= set this to NO if you don't have a DCD signal into your port. Setting this to YES allows ModemDriver to hangup/send commands faster MODEMDCDTO=<25> CLEARESULTMAP will totaly erase the result codes-to- baud rate/connect values. ADDTORESULTMAP= will add that control code as that ADDTORESULTMAP=<5,"1200"> will tell the GENERIC.MODEM that a result code of 5 is a 1200 baud connect. ADDTORESULTMAP=<0,"OK"> ADDTORESULTMAP=<2,"RING"> ADDTORESULTMAP=<3,"NO CARRIER"> ADDTORESULTMAP=<6,"BUSY"> !actually NO DIALTONE ADDTORESULTMAP=<7,"BUSY"> ADDTORESULTMAP=<8,"BUSY"> !actually NO ANSWER ! Computer to Modem Speed ADDTORESULTMAP=<1,"300"> ADDTORESULTMAP=<5,"1200"> ADDTORESULTMAP=<9,"1200"> ADDTORESULTMAP=<10,"2400"> ADDTORESULTMAP=<11,"4800"> ADDTORESULTMAP=<12,"9600"> ADDTORESULTMAP=<13,"19200"> ADDTORESULTMAP=<14,"19200"> ADDTORESULTMAP=<15,"19200"> ! Undocumented result code ADDTORESULTMAP=<16,"19200"> ADDTORESULTMAP=<17,"38400"> ADDTORESULTMAP=<18,"57600"> ! Next are Modem To Modem Speed ADDTORESULTMAP=<40,"300"> ADDTORESULTMAP=<46,"1200"> ADDTORESULTMAP=<47,"2400+"> ADDTORESULTMAP=<48,9600"> ! actually 4800..metal does not support ADDTORESULTMAP=<49,"9600"> ! actually 7200..^^^^^^^^^^^^^^^^^^^^^ ADDTORESULTMAP=<50,"9600"> ADDTORESULTMAP=<51,"19200"> ! actually 12000..^^^^^^^^^^^^^^^^^^^^^ ADDTORESULTMAP=<52,"19200"> ! ^^^^^^^^ 14400..^^^^^^^^^^^^^^^^^^^^^ MODEMOUTCHK= MODEMMAXRE=<5> Times to re-try issuing a command before giving up and assuming it took MODEMRINGHELP= MEMORY= CURSOR= SYSINFO6=<255> This is used by FV for sysop aval for chat. Set this to zero for default=aval (or press oa-0 for the same) NULLS=<0> CR+LF= AUTOPOS= EDITJUSTIFY= EDITHOT= EDITWRAP= EDITPROMPT= CHATIN=<"^m^m^nFisherman is now dangling his bait...^m^m"> CHATOUT=<"^m^m^nFisherman is now releasing you...^m^m"> LOCALIN=<"^m^m^nFisherman has snagged your connection...^m^m"> LOCALOUT=<"^m^m^nThrowing you back to the sharks...^m^m"> PATH0= PATH1= PATH2= PATH3= PATH4= PATH5= PATH6= PATH7= PATH8= PATH9= CREATEDIRS FREECHAT= CHARBUFFREQ=<3> FILEENDS =============================================================================== -- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :szatezal@magnus.acs.ohio-state.edu : Call The Atomic Playground : :NeXTmail: shane@galadriel.ecaetc.ohio-state.edu : (614)297-7031 96/14.4/28.8 : :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::