From: "Joseph C. Lininger" <jbahm@pcdesk.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: redirecting i/o question
Date: Tue, 7 Sep 2004 00:15:52 -0600 [thread overview]
Message-ID: <004201c494a2$20b19be0$0a00a8c0@merlin> (raw)
In-Reply-To: <20040906201740.GA1095@romuald.net.eu.org>
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" <greg@romuald.net.eu.org>
To: <speakup@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@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
>
next prev parent reply other threads:[~ UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
Gregory Nowak
` Joseph C. Lininger [this message]
` Gregory Nowak
` Gene Collins
` Gregory Nowak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004201c494a2$20b19be0$0a00a8c0@merlin' \
--to=jbahm@pcdesk.net \
--cc=speakup@braille.uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).