SerialPort problem in UNIX Squeak 3.0 vm on FreeBSD
Ned Konz
ned at bike-nomad.com
Tue May 22 15:12:20 UTC 2001
On Tuesday 22 May 2001 03:10, Bert Freudenberg wrote:
> A simple portable way to do this (short of changing the API) would be to
> set environment variables mapping numbers to serial devices, like
>
> SQUEAK_SERIAL_0="/dev/cuaa0"
> SQUEAK_SERIAL_1="/dev/cuaa1"
And/or just giving the base name:
SQUEAK_SERIAL="/dev/cuaa"
> The default base ("/dev/cuaa", "/dev/tty" etc) could be figured out by
> autoconf.
Maybe; however, different kinds of boards (esp. intelligent boards) have
different major/minor numbers and names. So someone might not have any
/dev/cuaa or /dev/ttyS ports.
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|