Re: [Xastir] Xastir responding to ?APRSS
On Mon, 2 Jul 2007, Curt, WE7U wrote: > When I rework GUI code I try to fix things like the allowed input > box size. A lot of the original code had no such restrictions, it > was just functional. > > I'll see if I can find a few minutes to tweak this one. Done. -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: Fwd: Re: [Xastir] Xastir responding to ?APRSS
Ok, this was supposed to go to the list not directly to Tom. --- Tom Russo <[EMAIL PROTECTED]> wrote: > On Mon, Jul 02, 2007 at 09:49:14AM -0700, we > recorded a bogon-computron collision of the > <[EMAIL PROTECTED]> flavor, containing: > > Forwarded as per Tom's suggestion (originally part > of > > a long string of emails) > > As a summary of the missing bits of the > conversation: > > - Some APRS clients will pop up an incoming message > box when a message is > received addressed to an object owned by that > station. > - This behavior was counted on by Bob Bruninga when > he advocated setting up > "XXX-n" objects for Field Day "blind contacts" on > APRS > - Xastir doesn't do this. The decode_message > function checks only if the > message is addressed to our own callsign-ssid or > base call sign (no SSID). > - Right now, to check an object for ownership, you > have to call > is_my_object_item with a DataRow pointer, not a > call sign. We have > a function "is_my_call" that takes a call sign and > checks if it's ours, > but no similar function to check if a named object > is ours. > Would it be sufficient to check the list of stations using search_station_name() (which I found in objects.c) to locate the entry in the objects list and then check its flags? The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: Fwd: Re: [Xastir] Xastir responding to ?APRSS
On Mon, 2 Jul 2007, Alex Carver wrote: > Is there a function that can return currently owned > objects? If not, is there an array or linked list > somewhere that contains the objects in some way (this > I assume exists otherwise Xastir would never remember > its objects). Look at the objects.c:check_and_transmit_objects_items() function. -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: Fwd: Re: [Xastir] Xastir responding to ?APRSS
On Mon, Jul 02, 2007 at 09:49:14AM -0700, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > Forwarded as per Tom's suggestion (originally part of > a long string of emails) As a summary of the missing bits of the conversation: - Some APRS clients will pop up an incoming message box when a message is received addressed to an object owned by that station. - This behavior was counted on by Bob Bruninga when he advocated setting up "XXX-n" objects for Field Day "blind contacts" on APRS - Xastir doesn't do this. The decode_message function checks only if the message is addressed to our own callsign-ssid or base call sign (no SSID). - Right now, to check an object for ownership, you have to call is_my_object_item with a DataRow pointer, not a call sign. We have a function "is_my_call" that takes a call sign and checks if it's ours, but no similar function to check if a named object is ours. Since objects receiving messages (but not sending or ACKing them) is apparently consistent with the spec, perhaps we should make it work. Especially since not supporting that capability would have made Xastir one of the clients that couldn't have played along with the Field Day plans hashed out on APRSSIG. The original string of emails with Alex was about a slightly different use for this feature, but it's the same deal. You can't send messages to objects that Xastir owns and expect the user to see them. > --- Tom Russo <[EMAIL PROTECTED]> wrote: > > > Date: Mon, 2 Jul 2007 00:09:47 -0600 > > From: Tom Russo <[EMAIL PROTECTED]> > > To: Alex Carver <[EMAIL PROTECTED]> > > Subject: Re: [Xastir] Xastir responding to ?APRSS > > > > On Sun, Jul 01, 2007 at 10:54:30PM -0700, we > > recorded a bogon-computron collision of the > > <[EMAIL PROTECTED]> flavor, containing: > > > Would Xastir show a message directed at an > > > object that it owns? > > > > Look in db.c, the function "decode_message" --- this > > explicitly checks > > the messages "to" against our call sign (with SSID) > > and our base call > > (ignoring SSID), but does not check against any of > > our own objects. > > > > There is no function (that I can see) that provides > > a quick check if > > a call-sign is actually an object owned by > > ourselves, but it shouldn't > > be *that* difficult to write one and use it to > > perform an additional > > check in that routine to make us respond to that > > message. > > > > Thing is, we are not supposed to ACK messages sent > > to our own objects, > > just those sent to our station. (That is something > > that Bob Bruninga > > did comment on when he was advocating using such > > objects and sending messages > > to them during Field Day.) > > > > You might want to take this part of your message > > back to the group for > > discussion. > > > Is there a function that can return currently owned > objects? If not, is there an array or linked list > somewhere that contains the objects in some way (this > I assume exists otherwise Xastir would never remember > its objects). > > > > > Building a website is a piece of cake. Yahoo! Small Business gives you all > the tools to get online. > http://smallbusiness.yahoo.com/webhosting > ___ > Xastir mailing list > Xastir@xastir.org > http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, 1 Jul 2007, Tom Russo wrote: > On Sun, Jul 01, 2007 at 09:55:33PM -0700, we recorded a bogon-computron > collision of the <[EMAIL PROTECTED]> flavor, containing: > > > > Ah, I wondered what that was. It also seems that > > there's a button or check box under it that's hidden. > > I can barely see the edge of it under the text box. > > Huh. Yeah, I see what you mean. I can see a check box poking out from > under the text widget, too. You can even click it. Which widget set, Lesstif? With OpenMotif there's nothing underneath anything else. > Thing is, all of the GUI code for most of Xastir is in the monolithic > main.c file. There's an awful lot of GUI stuff elsewhere in the code as well. Look at the filenames for the *.c files for some clues about this, but I think there's some GUI code in yet other files as well. It's not separated out from the main body of code by any means. -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Mon, Jul 02, 2007 at 09:29:34AM -0700, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > On Sun, 1 Jul 2007, Tom Russo wrote: > > > On Sun, Jul 01, 2007 at 09:55:33PM -0700, we recorded a bogon-computron > > collision of the <[EMAIL PROTECTED]> flavor, containing: > > > > > > Ah, I wondered what that was. It also seems that > > > there's a button or check box under it that's hidden. > > > I can barely see the edge of it under the text box. > > > > Huh. Yeah, I see what you mean. I can see a check box poking out from > > under the text widget, too. You can even click it. > > Which widget set, Lesstif? With OpenMotif there's nothing > underneath anything else. Nope, I have lesstif on none of my systems. Using only OpenMotif. Check out the window shot at http://www.swcp.com/~russo/imgs/dialog.png Actually, now that I really look carefully, it is clearly *NOT* a check box (whew!). It's a tiny bit of the frame of the text box. Clicking it simply turns it from white to black. The rest of the frame is apparently being obscured by the button widgets below it. The bit that's not obscured lies right between the text from "Warn if Modifier Keys" and the box from "My trails in one color" If you click on the text box the "phantom check box" changes color, so it's pretty clear that it is really just an unobscured bit of the frame. It's also not possible to toggle the "box" by clicking it twice, so that's another indicator. It just happens to be the right size to be confused with a check box. That also explains why it disappeared when I made the text box smaller --- it was no longer big enough to make it to the gap between the two widgets below it so the bit of frame never got exposed. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Mon, 2 Jul 2007, Alex Carver wrote: > On my system, Lesstif. I could always install > OpenMotif (libmotif3) and recompile. Any advantage of > one over the other? Yes. OpenMotif allows dynamically changing displayed dialogs, which we make use of in a few places. Also it'll be more bug-free as it's a single-user licensed version of the original closed-source Motif code. Lesstif is an open-source library that is a clone of Motif. It hasn't had the time/effort/money to become as bug-free and feature-rich as Motif yet. That said, some users can't use OpenMotif and so are using Lesstif. I also heard that Fedora is dropping support for OpenMotif over licensing issues? -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Fwd: Re: [Xastir] Xastir responding to ?APRSS
Forwarded as per Tom's suggestion (originally part of a long string of emails) --- Tom Russo <[EMAIL PROTECTED]> wrote: > Date: Mon, 2 Jul 2007 00:09:47 -0600 > From: Tom Russo <[EMAIL PROTECTED]> > To: Alex Carver <[EMAIL PROTECTED]> > Subject: Re: [Xastir] Xastir responding to ?APRSS > > On Sun, Jul 01, 2007 at 10:54:30PM -0700, we > recorded a bogon-computron collision of the > <[EMAIL PROTECTED]> flavor, containing: > > Would Xastir show a message directed at an > > object that it owns? > > Look in db.c, the function "decode_message" --- this > explicitly checks > the messages "to" against our call sign (with SSID) > and our base call > (ignoring SSID), but does not check against any of > our own objects. > > There is no function (that I can see) that provides > a quick check if > a call-sign is actually an object owned by > ourselves, but it shouldn't > be *that* difficult to write one and use it to > perform an additional > check in that routine to make us respond to that > message. > > Thing is, we are not supposed to ACK messages sent > to our own objects, > just those sent to our station. (That is something > that Bob Bruninga > did comment on when he was advocating using such > objects and sending messages > to them during Field Day.) > > You might want to take this part of your message > back to the group for > discussion. Is there a function that can return currently owned objects? If not, is there an array or linked list somewhere that contains the objects in some way (this I assume exists otherwise Xastir would never remember its objects). Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
--- "Curt, WE7U" <[EMAIL PROTECTED]> wrote: > On Sun, 1 Jul 2007, Tom Russo wrote: > > > On Sun, Jul 01, 2007 at 09:55:33PM -0700, we > recorded a bogon-computron collision of the > <[EMAIL PROTECTED]> flavor, containing: > > > > > > Ah, I wondered what that was. It also seems > that > > > there's a button or check box under it that's > hidden. > > > I can barely see the edge of it under the text > box. > > > > Huh. Yeah, I see what you mean. I can see a > check box poking out from > > under the text widget, too. You can even click > it. > > Which widget set, Lesstif? With OpenMotif there's > nothing > underneath anything else. On my system, Lesstif. I could always install OpenMotif (libmotif3) and recompile. Any advantage of one over the other? Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, 1 Jul 2007, Tom Russo wrote: > What is truly bizarre is that the altnet text box is way larger than the > allowed number of characters for the altnet name --- the max length appears > to be nine characters, and the box is much bigger than that. When I tried > to shrink the size of the box (by adjusting the "XmNrightOffset" parameter > in its XtVaCreateManagedWidget call) to expose the phantom check box, I found > that the checkbox disappeared. It reappeared when I returned the > XmNrightOffset to 160. When I rework GUI code I try to fix things like the allowed input box size. A lot of the original code had no such restrictions, it was just functional. I'll see if I can find a few minutes to tweak this one. -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, 1 Jul 2007, Alex Carver wrote: > Interesting. I might try to work on a backend for it > in my copious free time next week (sort of to prove > the point to a UI-View user than Xastir works > especially with open code) but I'm miserable at GUI > work so I wouldn't know where to begin for making the > front-end interfaces to add dialog boxes for the > status text, etc. Very few people touch the GUI. I'm probably the main one. I can help here and there if you run into trouble but probably can't spend a great deal of time on it. -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, 1 Jul 2007, Tom Russo wrote: > I never really looked at that very carefully, but it really is a confusing > layout. The thing in the line edit box is meant to be the alternate net > name, and is meant to go with the check box directly above it, "Activate > Alternate Net?" Yes. Agreed on confusing. Needs a label for the fill-in box. We probably should break up some of the Defaults dialog into separate dialogs. The current layout is a result of my trying to squeeze everything onto one dialog as more and more stuff got added. I don't recall whether the fill-in box ever had a label, but it probably was visually associated with the togglebutton at one time when there was more room on the dialog. -- Curt, WE7U. APRS Client Comparisons: 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!" ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, Jul 01, 2007 at 11:42:45PM -0600, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > On Sun, Jul 01, 2007 at 09:55:33PM -0700, we recorded a bogon-computron > collision of the <[EMAIL PROTECTED]> flavor, containing: > > > > Ah, I wondered what that was. It also seems that > > there's a button or check box under it that's hidden. > > I can barely see the edge of it under the text box. > > Huh. Yeah, I see what you mean. I can see a check box poking out from > under the text widget, too. You can even click it. > > Thing is, all of the GUI code for most of Xastir is in the monolithic > main.c file. It's hard to read, to say the least. I'm looking at it now, > and > can't at a glance see any widget creation code that's unaccounted for. > The code for that section of the dialog is down around line 21614 of > main.c. What is truly bizarre is that the altnet text box is way larger than the allowed number of characters for the altnet name --- the max length appears to be nine characters, and the box is much bigger than that. When I tried to shrink the size of the box (by adjusting the "XmNrightOffset" parameter in its XtVaCreateManagedWidget call) to expose the phantom check box, I found that the checkbox disappeared. It reappeared when I returned the XmNrightOffset to 160. Too strange. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, Jul 01, 2007 at 09:55:33PM -0700, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > > Ah, I wondered what that was. It also seems that > there's a button or check box under it that's hidden. > I can barely see the edge of it under the text box. Huh. Yeah, I see what you mean. I can see a check box poking out from under the text widget, too. You can even click it. Thing is, all of the GUI code for most of Xastir is in the monolithic main.c file. It's hard to read, to say the least. I'm looking at it now, and can't at a glance see any widget creation code that's unaccounted for. The code for that section of the dialog is down around line 21614 of main.c. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
--- Tom Russo <[EMAIL PROTECTED]> wrote: > On Sun, Jul 01, 2007 at 04:35:25PM -0700, we > recorded a bogon-computron collision of the > <[EMAIL PROTECTED]> flavor, containing: > > The question was, does Xastir respond to a > directed > > station query ?APRSS and, if so, where is the > reply > > programmed in the config menus? > > No. Xastir does not respond to APRSS. If you look > in db.c, you will see > this block of code: > > // NOT IMPLEMENTED YET > // Check for proper usage of the APRSS query > if (!ok && strncmp(message,"APRSS",5)==0) { > ok = 1; > } > > I guess nobody who cared about that directed query > ever had time to implement > it. The implementation would go right before the > "ok = 1" line. Thing is > that Xastir doesn't currently support a station > status, so you'd also have > to implement that before being able to return it > with a query response. > > At this time, there's only a few queries that Xastir > responds to. Looking > at db.c, I see these are: > ?VER (return software version) > ?APRSD (return list of stations heard direct) > ?APRSP (force a position report) > ?APRST or ?PING (return a trace) Interesting. I might try to work on a backend for it in my copious free time next week (sort of to prove the point to a UI-View user than Xastir works especially with open code) but I'm miserable at GUI work so I wouldn't know where to begin for making the front-end interfaces to add dialog boxes for the status text, etc. A shorter term solution I may be able to whip up would be something that connects to the local server, listens for an APRSS packet coming in, and then ships one out. If Xastir receives a packet from its local server port, will it transmit it on all transmit enabled interfaces assuming authentication has been done? All that the status text is being used for in this case is to send out a note about Winlink at regular intervals. I suggested two workarounds being the comment text for the station or a separate object. > > > I've got a separate question, too: > > > > In File -> Configure -> Defaults, there's a text > box > > to the right of "Pop up new bulletins" without a > > label. Currently it has "XASTIR" in it. What is > it? > > (ver 1.9.0) > > I never really looked at that very carefully, but it > really is a confusing > layout. The thing in the line edit box is meant to > be the alternate net > name, and is meant to go with the check box directly > above it, "Activate > Alternate Net?" > > From the help file (Help->Help Index->Configure > Default Operation): > > You can also select "Activate alternate net?" and > choose an altnet call from > this dialog. Altnet allows you to have a private > APRS(tm) network among the > stations that also have altnet configured, and > have the same altnet call > entered. Ah, I wondered what that was. It also seems that there's a button or check box under it that's hidden. I can barely see the edge of it under the text box. Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Xastir responding to ?APRSS
On Sun, Jul 01, 2007 at 04:35:25PM -0700, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > The question was, does Xastir respond to a directed > station query ?APRSS and, if so, where is the reply > programmed in the config menus? No. Xastir does not respond to APRSS. If you look in db.c, you will see this block of code: // NOT IMPLEMENTED YET // Check for proper usage of the APRSS query if (!ok && strncmp(message,"APRSS",5)==0) { ok = 1; } I guess nobody who cared about that directed query ever had time to implement it. The implementation would go right before the "ok = 1" line. Thing is that Xastir doesn't currently support a station status, so you'd also have to implement that before being able to return it with a query response. At this time, there's only a few queries that Xastir responds to. Looking at db.c, I see these are: ?VER (return software version) ?APRSD (return list of stations heard direct) ?APRSP (force a position report) ?APRST or ?PING (return a trace) > I've got a separate question, too: > > In File -> Configure -> Defaults, there's a text box > to the right of "Pop up new bulletins" without a > label. Currently it has "XASTIR" in it. What is it? > (ver 1.9.0) I never really looked at that very carefully, but it really is a confusing layout. The thing in the line edit box is meant to be the alternate net name, and is meant to go with the check box directly above it, "Activate Alternate Net?" >From the help file (Help->Help Index->Configure Default Operation): You can also select "Activate alternate net?" and choose an altnet call from this dialog. Altnet allows you to have a private APRS(tm) network among the stations that also have altnet configured, and have the same altnet call entered. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick ___ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir