🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #654

Re: program to send dial code to modem

#654
From: Greg WARD
Date: Fri, 10 Apr 1992 13:05
24 lines
1844 bytes
In article <s30jrINN2ek@matt.ksu.ksu.edu> kentiler@matt.ksu.ksu.edu (Kent Iler) writes:
>  Is there a way to have a program dial a modem?  For example, I want
>to dial 1-800-NEC-INFO, I want to create a program in which I can
>just type NEC-INFO and the program will translate the letters to numbers
>and transfer it to the modem.  Thanks.

Your best bet (ie. easiest solution) is probably to just write a script
file for your comm. program of choice (Telix for me, but apparently ProComm
and Telemate both have quite adequate script languages). 

Failing that, there exists a small set of utilities that go under the name
of DOSMODEM.{ARC,ZIP,whatever}.  This contains assembler source to two
small but useful programs -- DTR.COM, which enables/disables DTR on the modem
(the necessity of doing this seems to vary by modem), and AT.COM which sends
AT commands to the modem.  You type, eg., AT H1 at the DOS prompt at and
AT sends "AT", then the command line string -- "H1" in this case -- to the
modem.  Biggest drawback is that these only support COM1 and 2, but that
should be fairly easily fixed because the source is right there.

I downloaded DOSMODEM several years ago from a BBS, so if you can't
find them through ftp (or don't have access) lemme know and I can mail
the source to you.

		Greg Ward (narpet@binkley.cs.mcgill.ca)
Technical Details
Message-ID: <1992Apr10.130531.27287@cs.mcgill.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!narpet
References: <s30jrINN2ek@matt.ksu.ksu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!narpet
From: narpet@cs.mcgill.ca (Greg WARD)
Subject: Re: program to send dial code to modem
Message-ID: <1992Apr10.130531.27287@cs.mcgill.ca>
Sender: news@cs.mcgill.ca (Netnews Administrator)
Organization: SOCS, McGill University, Montreal, Canada
References: <s30jrINN2ek@matt.ksu.ksu.edu>
Date: Fri, 10 Apr 1992 13:05:31 GMT