I have a palmtop computer, and an application on it that wants to talk
to a modem. (Note: no TCP/IP, no PPP, no networking. Just a vanilla
modem.) I have a Linux box, and an _internal_ modem, but no external
modems suitable for plugging into the palmtop.
Anyone know if it's possible to redirect i/o on the Linux box's serial
port to the internal modem? The idea is to make the linux box's free
serial port look like a modem to the palmtop. My first idea was something
like:
cat /dev/ttyS1 > /dev/ttyS2 &
cat /dev/ttyS2 > /dev/ttyS1
(But obviously this doesn't work or I wouldn't be posting this! -- cat
buffers its i/o, and what we want is raw, not buffered, throughput.)
Any suggestions for how to do it?
-- Charlie