[NTLK] Sync eMate to MessagePad over beaming?

Matej Horvat redjazz_slo at yahoo.com
Thu Jan 7 10:10:02 EST 2010


> Sounds like a good programming project.

It should be possible to build something similar that would work with a serial connection between two Newtons in NS BASIC (this sample is from http://www.nsbasic.com/newton/info/technotes/02.html ):

0010 rem dump all notes to serial port
0020 open ch,"notes",timestamp
0030 environ io="s0"
0040 get ch,n
0050 if fstat=1 then goto 130
0060 print datentime(n.timestamp)
0070 if not n.data or length(n.data)=0 then goto 40
0073 mydata := clone(n.data) // copy the array pointers, but not the
frames
0076 sort( mydata,'|<|, 'viewbounds.top )
0080 for i=0 to length(n.data)-1
0090   if n.data.text then print n.data[i].text // skip ink-only paragraphs
0100 next i
0110 print " "
0120 GOTO 40
0130 rem fin
0140 environ io="screen"

Now on the receiving Newton a program would listen to the serial port and write the notes to memory.

-Matej Horvat


      




More information about the NewtonTalk mailing list