From: Fergus James HENDERSON (fjh@munta.cs.mu.OZ.AU)
Date: 02/27/93


From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
Subject: Re: Need programming help..
Date: Sun, 28 Feb 1993 03:28:44 GMT

pegasus@csd4.csd.uwm.edu (David R Hucke) writes:

>I am writing a program that will deal with the modem on my linux
>machine here. I have a program (below) that tries to open /dev/modem,
>write ATDT 2293859 (return) to it and read some bytes from /dev/modem.

> char *buffer = "ATDT 2293859\n";

You need to make this <cr><lf> instead of just <lf>.

   char *buffer = "ATDT 2293859\r\n";

-- 
Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
This .signature virus is a self-referential statement that is true - but 
you will only be able to consistently believe it if you copy it to your own
.signature file!