On  Thu, 21 Mar 2002 at 14:40:46, Jerome Grimbert wrote:
(ref: <[EMAIL PROTECTED]>)

>
>A serial cable is all you need, with the right connection...
>One of the two must be a DTE and the other DCE.
>Best thing is to use Ser2 on QL with normal QL serial cable,
>(if you have one for a printer for instance).
Nope - the 'normal' QL serial cable is for a printer, and doesn't have
handshaking wired correctly.  The cable MUST have CTS/RTS handshaking -
the QLs DTR is actually RTS - it was worngly named.
>
>Then setting same baud rate and parity on both machines.
>
>copy_n  (or just copy) is then your best friend,
>or you can write a basic program to transfer line by line a text file.
>just like
>QL:
> 10 open_in#3,ser2_
> 15 open_new#4,mdv1_myfile
> 20 repeat loop
> 30 input#3,a$
> 40 print#4,a$
> 50 end repeat loop
>
>Q40:
> 10 open#3,ser1_
> 20 open_in#4,win1_myfile
> 30 repeat loop
> 40 if (eof(#4)): exit loop
> 50 input#4,a$
> 60 print#3,a$
> 70 end repeat loop
>
>For test purpose, it is better to replace the file with #1...
>
>Only thing: to stop the reception on the QL, you have to use ctrl-c.
>
>Copy_n works better with binary files, but is difficult for test purpose..
>
This method is absolutely no good with the std QL - the serial input and
handshaking is hopeless, and problems vary from random character loss to
complete destruction of serial input, needing power down (not reset).
For reliable operation, Terminal programs and file transfer protocol is
needed.  Even then problems are likely to arise, and 4800 is the fastest
reliable speed.  With Hermes, 19200 can be used, giving about 13000bps
throughput.

All these problems were recognised in 1986 and conceived Hermes.

-- 
         QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
  tony@<surname>,demon.co.uk  http://www.firshman.demon.co.uk
       Voice: +44(0)1442-828254   Fax: +44(0)1442-828255
    TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG

Reply via email to