From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ns.pcdesk.net ([65.100.173.137] helo=pcdesk.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1C4ZGC-00038q-00 for ; Tue, 07 Sep 2004 02:15:20 -0400 Received: from merlin ([192.168.0.10]) (AUTH: LOGIN jbahm, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by pcdesk.net with esmtp; Tue, 07 Sep 2004 00:14:40 -0600 id 03C2E77A.413D51D0.000047F4 Message-ID: <004201c494a2$20b19be0$0a00a8c0@merlin> From: "Joseph C. Lininger" To: "Speakup is a screen review system for Linux." References: <20040906201740.GA1095@romuald.net.eu.org> Date: Tue, 7 Sep 2004 00:15:52 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: 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: Tue, 07 Sep 2004 06:15:20 -0000 Don't know much about chat, but try something like this: programname < /dev/modem > /dev/modem 2>&1 -- Joseph C. Lininger jbahm@pcdesk.net Verification: ----- Original Message ----- From: "Gregory Nowak" To: 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@EU.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQFBPMXk7s9z/XlyUyARAiy1AKCzJrzbrVOj1ZnwmqnLfYotwPfqiACg0Kwh > lHSNGI5BnPmYVVeZpdJkqzI= > =inEa > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >