Re: Predict 2.1.5

From: EB3CZS Xavier Crehueras (fxbk@rele.tunk.net)
Date: Fri Mar 01 2002 - 17:37:52 EET

  • Next message: Tomi Manninen: "Re: Predict 2.1.5"

    Hello Riley and the list,

    On Thu, 28 Feb 2002 23:38:00 +0000 (GMT)
    Riley Williams <nyx.rvts@forumsyd.se> wrote:

    > >> Beware that this can cause problems with other programs that use
    > >> Predict as a server. For example gsat segfaults, apparently because
    > >> it doesn't check the size of the satellite list received from the
    > >> server and this results in a buffer overflow (gsat is hardcoded for
    > >> 26 satellites IIRC).
    >
    > > Hmm, I think I will wait for John KB2DB to incorporate the patch
    > > into the next release... Thanks for the comments.
    >
    > As part of my patch, I will be dealing with problems encountered in
    > ALL of the clients included with predict, so the above shouldn't be
    > a problem when I've finished.
    >
    > Best wishes from Riley.
    >
    I'm the author of gsat. I don't want you to waste your time writing a patch. I will release version 1.0.0 of gsat soon. This new version will run ok with more than 24 satellites.

    Gsat was written for predict and because of this, the 24 satellites limitation was hardcoded. I tried once the 50 sats patch, but I didn't like it very much. John and I implemented an option to be able to configure the network port on which predict listens in server mode. This allows you to have multiple instances of predict servers running, each one with his own set of TLEs. This way you can have as many satellites as you want, and have they classified in different servers (ex. Amateur, Weather, Comms, etc ...).

    To prepare a TLE file, you must create a file with the TLEs of 24 satellites and do this for every server you want, and then launch as many predict instances as you want with:

    predict -t <tle file> -n <network port> -s

    To update the TLEs, you don't have to edit the TLE files again. You go to the main menu in predict and press U, then enter a file name with new TLEs and predict will update your TLE files automagically.

    73s de Xavi, EB3CZS
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to hicywndm@adalin.ru
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Fri Mar 01 2002 - 17:58:44 EET