Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ncar!hsdndev!husc6!popvax!rind From: rind@popvax.uucp (747707@d.rind) Newsgroups: comp.lang.pascal Subject: Re: Simple modem control in TP6.0 Message-ID: <7081@husc6.harvard.edu> Date: 24 Jun 91 20:14:44 GMT References: <48albtd@rpi.edu> Sender: news@husc6.harvard.edu Organization: Health Sciences Computing Facility, Harvard University Lines: 17 In article <48albtd@rpi.edu> mcintyre@cs.rpi.edu (David McIntyre) writes: >I need to dial a number with my modem, connect at 1200 baud, get a >few lines of characters that the remote will download, and then >disconnect. >Can someone just send me a few lines of TP that will do this? I'm >sure it's an easy problem for someone used to programming serial >communications on PC's, but that's not my bag. Unfortunately, it's not that easy to control the modem and it is unlikely that there are any "few lines" that will solve your problem. The last time someone asked this question I sent a demo program to garbo which shows how to read and write COM1 and COM2 and how to set various modem parameters (baud rate, word length, etc.). I believe it can be found in faquote.txt in the tsfaq21.arc file. David Rind rind@popvax.harvard.edu