All of lore.kernel.org
 help / color / mirror / Atom feed
* ax25d and STDIN
@ 2002-09-27  5:08 Ben Gelb
  2002-09-27  7:52 ` Tomi Manninen OH2BNS
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Gelb @ 2002-09-27  5:08 UTC (permalink / raw)
  To: linux-hams

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-09-29 22:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-27  5:08 ax25d and STDIN Ben Gelb
2002-09-27  7:52 ` 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

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.