I'm curious about these issues...

Maarten ter Huurne wrote:
> I don't know of any standard that uses <CR> as a line break. MS uses <CRLF>,
> Unix uses <LF>.

Doesn't Mac use <CR>?

> Maybe your modem accepts <CR>, but I don't think that's true for all modems.
> Choosing <CRLF> is probably a safer bet.

But if the modem listens to <CR>, then <CRLF> would
in fact have some effect like this:

ATZ<CR>
<LF>ATZ<CR>
<LF>

The second ATZ (or any command) would be ignored
because the modem doesn't understand the <LF>
before it. Or am I mistaken? <:)

> LINE INPUT only works if the modem is sending <CRLF>. My modem sends <LF> and
> therefore LINE INPUT will return with a buffer overflow error (end of line
> not detected, so it will keep reading).

If it needs to be read byte by byte, then would
it be necessary to write to it byte by byte?

[]s,

   -----    Parn (ICQ#1693182)
 /| | | |\  
 \| ___ |/  http://parn.overclocked.org/
\/ ----- \/ Parn's Music Station
    | |     Game Music XMs and more!
   -- --    Izati Aba Mehinam Eto Kafe Nan

****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****

Reply via email to