SerialPort cross-platform question...
Ned Konz
ned at bike-nomad.com
Sun Feb 10 23:45:30 UTC 2002
On Sunday 10 February 2002 03:14 pm, Kevin Fisher wrote:
> So, for UNIX the serial ports are enumerated from 0, and on Windows
> they are enumerated from 1. How does it work on the Mac? (sadly I don't
> own a Mac to try it on)
>
> Is this expected behaviour, or is it going to change in future releases?
Actually, the peculiar enumeration of the ports is a Mac-ism. On the Windoze
and Unix platforms, it would make more sense to supply a name.
And it's not clear how the ports are numbered on the Mac when you hang USB
serial ports on one (per Dan Ingalls).
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|