I tested telepathy with the original test program and a loopback plug, but it failed, so to check whether it was failing on both send and receive I did the following: I tested the port with a loopback and a small C program from the web in Linux and it works. I have another machine with a Clipper terminal emulation program (mine) that also works OK with loopback. The C test talks to the Clipper terminal and vice versa via null modem cable. However the telepathy test program does not send OR receive. Baud rate parity etc. same both ends. The only modification I have made to telepathy is a delay function to replace threadsleep() which I assume will suffice and a modified test program to send single characters and check receive buffer at each key press:-
function main tp_open( 1,, 9600, 8, "N", 1 ) do while !LASTKEY()=27 tp_send( 1, CHR(LASTKEY())) tp_delay(0.5) ? tp_recv( 1 ) inkey(0) enddo tp_Close( 1 ) return nil function ThreadSleep ( millisecs ) secs = millisecs/1000 now = seconds() DO WHILE seconds()<now+secs ENDDO return nil I admit that I have now hit a brick wall with this. The programs compile and link ok without errors. I have stepped through in debug as far as the calls to the C library and all seems well. Any help would be appreciated. -- View this message in context: http://www.nabble.com/Problem-building-telepathy-test-program-tp20707046p20905467.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour