From: Ben Gelb <ben@gelbnet.com>
To: linux-hams@vger.kernel.org
Subject: ax25d and STDIN
Date: 27 Sep 2002 01:08:33 -0400 [thread overview]
Message-ID: <1033103314.938.7.camel@ben> (raw)
I am trying to write a simple scripts in PHP to run with ax25d. It will
be used to collect information from aid stations at the upcoming Marine
Corps Marathon in Washington, D.C.
I didn't want to get into network programming if it isn't necessary. And
I would prefer to use an uncompiled language, like php or perl, so that
I can make changes quickly if necessary.
To output data I am using fopen("php://stdout", "w"); and to read data I
am using fopen("php://stdin", "r"); The writing data part works fine,
but whenever I attempt to read in data from stdin, ax25d hangs up.
I have noticed in C++ I get this same problem when I attempt to use
scanf to read in. However, if I use cin instead, it works fine.
Does anybody know why this occurs and what I might do about it?
Thanks Very Much!
73 de Ben, KF4KJQ
next reply other threads:[~2002-09-27 5:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-27 5:08 Ben Gelb [this message]
2002-09-27 7:52 ` ax25d and STDIN Tomi Manninen OH2BNS
2002-09-27 11:34 ` Ben Gelb
2002-09-27 23:09 ` Tomi Manninen
2002-09-28 5:19 ` Ben Gelb
2002-09-29 18:26 ` Tomi Manninen
2002-09-29 22:14 ` Ben Gelb
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=1033103314.938.7.camel@ben \
--to=ben@gelbnet.com \
--cc=linux-hams@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.