redirecting i/o question

Joseph C. Lininger jbahm at pcdesk.net
Tue Sep 7 02:15:52 EDT 2004


Don't know much about chat, but try something like this:

programname < /dev/modem > /dev/modem 2>&1
--
Joseph C. Lininger
jbahm at pcdesk.net
Verification: 
----- Original Message ----- 
From: "Gregory Nowak" <greg at romuald.net.eu.org>
To: <speakup at braille.uwo.ca>
Sent: Monday, September 06, 2004 2:17 PM
Subject: redirecting i/o question


> -----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-----
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>




More information about the Speakup mailing list