redirecting i/o question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

Wanting to use my modem's speaker phone ability more and more, and
being annoyed by the fact that I'm only able to locate speaker phone
applications that run under x, I decided to write a very simple, and
down to earth bash script speaker phone, which will take command line
arguments, and use the chat program, calling the appropriate chat
script. 

However, I'm running into a minor problem. How do I redirect stdin and
stdout to /dev/modem, instead of having them tied to the tty, when I
run chat? When pppd runs chat before it establishes the ppp link, it
is already set to do i/o to the modem, so this isn't an issue for
pppd. If someone has suggestions on how to do this, please
share. Thanks.

Greg


- -- 
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBPMXk7s9z/XlyUyARAiy1AKCzJrzbrVOj1ZnwmqnLfYotwPfqiACg0Kwh
lHSNGI5BnPmYVVeZpdJkqzI=
=inEa
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux