ax25d and STDIN

From: Ben Gelb (muptnkkv@shawneemissionford.com)
Date: Fri Sep 27 2002 - 08:08:33 EEST

  • Next message: Tomi Manninen OH2BNS: "Re: ax25d and STDIN"

    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

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to gqzqlpdx@alpha-net.ne.jp
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Fri Sep 27 2002 - 08:17:10 EEST