SerialPort problem in UNIX Squeak 3.0 vm on FreeBSD

Ned Konz ned at bike-nomad.com
Mon May 21 23:59:58 UTC 2001


On Monday 21 May 2001 16:53, Peter William Lount wrote:
> Hi Ned,
>
> Thanks. I swapped those and get the same no data result. Sigh...
>
> So you're saying that the C code from the sqUnixSerial.c file does not even
> work with a simple C program calling it?

I just tried it on my other machine -- a 2.2.19 system.

It works under Linux 2.2.19 but not under 2.4.4. Yuck.

Now I just have to find out why this happens...

I've enclosed the files I'm using to test it with. Just copy sqUnixSerial.c 
into a separate directory with these files, and compile the two .c files 
together:
	gcc -o test test.c sqUnixSerial.c

This program will read ten characters and print them out.

Any serial wizards out there?

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: squ.h
Type: text/x-c
Size: 433 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010521/993f5aa4/squ.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sq.h
Type: text/x-c
Size: 90 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010521/993f5aa4/sq.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-c
Size: 516 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010521/993f5aa4/test.bin


More information about the Squeak-dev mailing list