Minicom/Modem Questions From A Perl Programmer

Hal Vaughan hal at thresholddigital.com
Wed Dec 21 22:57:24 UTC 2005


On Wednesday 21 December 2005 05:51 pm, Adam Lackorzynski wrote:
> On Mon Dec 19, 2005 at 10:27:28 -0500, Hal Vaughan wrote:
> > On Monday 19 December 2005 07:43 am, Adam Lackorzynski wrote:
> > > > It does help, since I've been leaving out pauses and not preceding
> > > > with a CR, which could make a difference.  It'd be frustrating to
> > > > find out that is all, but I am *very* weak in this area, so I'm not
> > > > surprised that it could be something so obvious.
> > > >
> > > > One related question: In a reset routine, I tried sending the
> > > > following commands:
> > > >
> > > > ATZ
> > > > AT&F
> > > > AT ...(init string)...
> > > >
> > > > and I found whenever I included the AT&F I ran into trouble with
> > > > garbage appearing whenever I connected to another system.  The last
> > > > time I ever had to worry about modem configuration was on an Apple
> > > > //e, with an AppleCat (oh, those WERE the days!).  I remember
> > > > whenever anything went wrong, the thing to do was AT&F to get the
> > > > factory defaults, then send in all your init strings to change the
> > > > settings to what you wanted.  (Since then, when I had dialup, it was
> > > > an easy ISP connection without the need for config tweaking.)
> > > >
> > > > Is there some problem with AT&F (Yes, I know it resets defaults, but
> > > > shouldn't those allow for reading data from another system)?
> > >
> > > Well, I don't know, I'm not very experienced with modem stuff
> > > unfortunately...
> >
> > How about the serial port stuff?  Or if you aren't experienced, is there
> > someone on the list who can confirm what I think the m_setparms routine
> > does?
>
> Well, stupid question, did you try if it just works?

1) I don't know C well enough to be sure what is going on.
2) I don't know how to monitor it to be sure it is doing what I think it does.

Basically, I was hoping there was someone who reads this list who knows the 
serial port well enough so I could tell them what I *think* is going on in 
that routine and they could tell me if I understand it correctly or if I'm 
way off.

It seems, though, that this is a very low traffic list.

Hal



More information about the minicom-devel mailing list