[FIX] [UNIX] Re: SerialPort problem in UNIX Squeak 3.0 vm on FreeBSD

Ned Konz ned at bike-nomad.com
Tue May 22 02:07:27 UTC 2001


On Monday 21 May 2001 17:44, Peter William Lount wrote:

> Ned's test also does not work on FreeBSD 4.3. More Yuck.

>From the NetBSD manual (about the termios c_cflag bits):

> If CREAD is set, the receiver is enabled.  Otherwise, no character is re-
>   ceived.  Not all hardware supports this bit.  In fact, this flag is pret-
>   ty silly and if it were not part of the termios specification it would be
>   omitted.

Apparently Linux 2.4 has just discovered this bit as well.

The attached fix for sqUnixSerial.c should repair the problem.

-- 
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: sqUnixSerial.diff
Type: text/x-c
Size: 1146 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010521/ef836b84/sqUnixSerial.bin


More information about the Squeak-dev mailing list