Operating System - HP-UX
1832487 Members
4271 Online
110043 Solutions
New Discussion

using modem without cu/kermit

 
SOLVED
Go to solution
Chris Wong
Trusted Contributor

using modem without cu/kermit

Hi,

Does anyone know how to use a modem device file to dial out without using a program such as cu or kermit? And if not, does anyone understand why it is difficult (if it is..).

- Chris
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: using modem without cu/kermit

Kermit or cu don't do anything magic. The problems arise when you need to set baud rates, stop bits, parity, and to assert or ignore Carrier Detect, CTS, and RTS. You can do these things with stty and then simply echo "ATDT1234567" to the port. You now have to do something and that's where it's gets tricky. It's generally much easier to do this with a pre-built utility or a do-it-yourself c program.

If what you are trying to do is script modem connections and file transfers then there is a freely available utility called Pcomm+ that is quite good and will allow you to do almost anything you like.

http://www.rtr.com/ReadyPaks/


If it ain't broke, I can fix that.