From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from grebe.mail.pas.earthlink.net ([207.217.120.46]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1C4Pvo-0006qr-00 for ; Mon, 06 Sep 2004 16:17:40 -0400 Received: from h-68-166-89-140.chcgilgm.covad.net ([68.166.89.140] helo=linserver.romuald.net.eu.org) by grebe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1C4Pvn-0005O3-00 for speakup@braille.uwo.ca; Mon, 06 Sep 2004 13:17:39 -0700 Received: (qmail 1116 invoked by uid 1023); 6 Sep 2004 20:17:40 -0000 Date: Mon, 6 Sep 2004 15:17:40 -0500 From: Gregory Nowak To: speakup@braille.uwo.ca Message-ID: <20040906201740.GA1095@romuald.net.eu.org> Mime-Version: 1.0 Content-Type: text/plain; x-action=pgp-signed; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-PGP-Key: http://www.romuald.net.eu.org/pubkey.asc Subject: redirecting i/o question X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 20:17:41 -0000 -----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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBPMXk7s9z/XlyUyARAiy1AKCzJrzbrVOj1ZnwmqnLfYotwPfqiACg0Kwh lHSNGI5BnPmYVVeZpdJkqzI= =inEa -----END PGP SIGNATURE-----