[Xastir] automated objects
S-Man
w8an at NOSPAM.sbcglobal.net
Mon Aug 2 16:37:45 EDT 2004
Curt, WE7U wrote:
> On Thu, 29 Jul 2004, Brenda O'Hagan wrote:
>
>
>>is there a way to feed objects into xastir automatically, and update them too.
>>the help file tells me that objects are recorded in
>>~/.xastior/config/object.log
>>
>>i've tried adding to this file using what looks like the right syntax, but it
>>doesn't seem to be read again by a running xastir process.
>
>
> It only reads that file when it starts up, and writes to it whenever
> any of its owned objects are tweaked.
>
> The way to do it now would be to "telnet localhost 2023" with a
> script, authenticate (send it the user/pass string), inject the
> packet, then disconnect. Perl can do this quite nicely.
>
> You'll need to enable the listening port on the Interface menu for
> this to work. If you turn on igating the packets can go up to the
> servers as well.
>
> --
> Curt, WE7U http://www.eskimo.com/~archer
> "Lotto: A tax on people who are bad at math." -- unknown
> "Windows: Microsoft's tax on computer illiterates." -- WE7U
> "The world DOES revolve around me: I picked the coordinate system!"
You might like to try an "expect" script. Expect is a very simple app to
automate a telnet session. It can "learn" how to do it by recording your
manual session. Then you go back and edit the script that it generated
in the learning process.
Steve- w8an
More information about the Xastir
mailing list