t***@aplawrence.com
2003-08-04 12:29:28 UTC
I have a client with an app that uses a modem to page technicians.
Doesn't want to do that; wants to sdend the data to their cell phone
instead.
Unfortunately, app apparently does more than just open the port
and send AT commands. Looks like it is actually doing ioctl stty's
and expecting happy results. App vendor (of course) is unhelpful
so far; wants customer to upgrade to Windows (which he'll happily
do when hell freezes solid, or so he says).
Tell the app to use a pty. Have a daemon listen to the master side forDoesn't want to do that; wants to sdend the data to their cell phone
instead.
Unfortunately, app apparently does more than just open the port
and send AT commands. Looks like it is actually doing ioctl stty's
and expecting happy results. App vendor (of course) is unhelpful
so far; wants customer to upgrade to Windows (which he'll happily
do when hell freezes solid, or so he says).
messages.
open both, exec what you wanted to read on the slave, and read/write
from the master.
Searching Google for examples that don't follow that model has been
fruitless, and so far my experimentation with simple tests hasn't
let me read from ptyx anything written to ttyx.. can you give a
simple example?
Probably should move this to c.u.s.p
--
***@aplawrence.com Unix/Linux/Mac OS X resources: http://aplawrence.com
Get paid for writing about tech: http://aplawrence.com/publish.html