latest minicom/cvs missing required TCGETS symbol on osx
snowcrash+minicom
schneecrash+minicom at gmail.com
Thu Nov 8 22:38:15 UTC 2007
hi adam,
> > i've recently upgrade to osx 10.5.0 (Leopard).
> >
> > and, i've just co'd a fresh minicom cvs/head.
>
> Thanks for testing.
[...]
> Ok, unfortunate. I added this for detecting when a device disappears
> (e.g. USB devices). I'd like to know what happens on MacOS X there. Do
> you happen to have a USB-Serial device
yes. i have a Keyspan USD-Serial adapter -- which I've been using to
talk to a Soekris box over serial port.
fwiw,
/usr/local/bin/minicom -s
x A - Serial Device : /dev/cu.KeySerial1 x
...
> which you could unplug while
> minicom listens on this device? (I guess a recent Mac won't have a
> serial port so a USB-Serial device isn't that unlikely).
sorry, not exactly sure what you're specifically looking for here ...
> As a workaround you can change the return !ioctl(fd, TCGETS, &t); to
> return 1;
that i can do (will try in a bit ... ).
for your consideration, from a chat in #fink ...
: ioctl TCGETS returns a struct termios* forthe current terminal parameters
: use tcgetattr() instead?
: well, they both fill in a termios struct from a given fd, both
return 0 on success, I would say a direct substition would work
: for upstream you can add a configure check for tcgetattr etc.
thoug, i have not tried yet ...
thx!
More information about the minicom-devel
mailing list