I was wondering if there's a way to filter a large node listing from the terminal?
I'm aware the MH command can filter but it would be very useful to find a node if you can't quite remember the full alias/call instead of listing it all out.
Sholto K7TMG
|
The only formats I know are:
nodes call-ssid??? (i.e. nodes N5MDT-3) nodes alias???????? (nodes mdtrms) nodes call*???????? (nodes N5MDT*)
Where call* will find all SSIDs used with that call.
You either need to know the full call or full alias to use these.? Hopefully John has some sorting built into it.
For me I just keep my nodes list short...
|
I normally clear the screen and then copy the nodes table in a notepad type app...? I kind of always thought there was a filtering command I had somehow forgotten abt, even though there is nothing related to such filters in any netrom doc in the files section of this group or elsewhere. Tnx to Mark for clarifying the matter. Possibly John could implement such feature. I have seen something similar (node search feature) in UROnode I believe (that was via a Google search cause I have never actually used UROnode). 73 de J, M?IPU YO§©FCA.
toggle quoted message
Show quoted text
On 22 Jun 2022, 18:01, at 18:01, Sholto Fisher <sholto.fisher@...> wrote: I was wondering if there's a way to filter a large node listing from the terminal?
I'm aware the MH command can filter but it would be very useful to find a node if you can't quite remember the full alias/call instead of listing it all out.
Sholto K7TMG
|
Hi Mark,
Yes I only have 3 nodes in my own table but there are others on the HF network with hundreds unfortunately. I think node owners shouldn't allow that to happen if they have an HF facing port, but what are you going to do?
Sholto K7TMG
toggle quoted message
Show quoted text
On 6/22/2022 3:08 PM, Mark Taylor wrote: The only formats I know are: nodes call-ssid??? (i.e. nodes N5MDT-3) nodes alias???????? (nodes mdtrms) nodes call*???????? (nodes N5MDT*) Where call* will find all SSIDs used with that call. You either need to know the full call or full alias to use these.? Hopefully John has some sorting built into it. For me I just keep my nodes list short...
|
Recommend to them the NetRom quality guidelines that I sent out recently.
toggle quoted message
Show quoted text
On 6/23/2022 10:07 AM, Sholto Fisher wrote: Hi Mark, Yes I only have 3 nodes in my own table but there are others on the HF network with hundreds unfortunately. I think node owners shouldn't allow that to happen if they have an HF facing port, but what are you going to do? Sholto K7TMG
-- Charles J. Hargrove - N2NOV NYC-ARECS/RACES Citywide Radio Officer/Skywarn Coord.
NYC-ARECS/RACES Nets 441.100/136.5 PL ARnewsline Broadcast Mon. @ 8:00PM NYC-ARECS Weekly Net Mon. @ 8:30PM
NY-NBEMS Net Saturdays @ 10AM & USeast-NBEMS Net Wednesdays @ 7PM on 7.036 Mhz USB (alt 3.536)/1500 hz waterfall spot; MFSK-16 or 32
"Information is the oxygen of the modern age. It seeps through the walls topped by barbed wire, it wafts across the electrified borders." - Ronald Reagan
"The more corrupt the state, the more it legislates." - Tacitus
"Molann an obair an fear" - Irish Saying (The work praises the man.)
"No matter how big and powerful government gets, and the many services it provides, it can never take the place of volunteers." - Ronald Reagan
|
Thinking a bit more about this and maybe a simpler thing to implement in BPQ would be a command along the lines of MHEARD=Y/N whereby node listings could be disabled on HF facing ports?
If someone uses the N command on HF (perhaps inexperienced users) the whole channel can quickly become saturated until it finishes or times out. This could really help stations who have a lot of axip traffic but also have an HF port.
Sholto K7TMG
toggle quoted message
Show quoted text
On 6/23/2022 9:55 AM, Charles Hargrove wrote: Recommend to them the NetRom quality guidelines that I sent out recently. On 6/23/2022 10:07 AM, Sholto Fisher wrote:
Hi Mark,
Yes I only have 3 nodes in my own table but there are others on the HF network with hundreds unfortunately. I think node owners shouldn't allow that to happen if they have an HF facing port, but what are you going to do?
Sholto K7TMG
|
On Wed, Jun 22, 2022 at 01:08 PM, Mark Taylor wrote:
The only formats I know are:
nodes call-ssid??? (i.e. nodes N5MDT-3) nodes alias???????? (nodes mdtrms) nodes call*???????? (nodes N5MDT*)
Where call* will find all SSIDs used with that call.
You either need to know the full call or full alias to use these.? Hopefully John has some sorting built into it.
For me I just keep my nodes list short...
If you have linbpq:? :-) 73 Red
|
From the docs:
Nodes
The NODES command displays information
from the NETROM Nodes table. There are a number of options.
N on its own displays the whole table in
alias order
N C displays the whole table in callsign
order
N T displays round trip time and packet
count for all stations that the node has sent packets to.
N CALL or N Alias displays information
for the specified call+ssid or alias.
N CALL* will display information for all
SSID's of the specified call.
N VIA CALL will display all stations
reachable via the specified neighbour.
I'll look into adding some form of pattern matching
73,
John
On 22/06/2022 21:08, Mark Taylor wrote:
toggle quoted message
Show quoted text
The only formats I know are:
nodes call-ssid??? (i.e. nodes N5MDT-3)
nodes alias???????? (nodes mdtrms)
nodes call*???????? (nodes N5MDT*)
Where call* will find all SSIDs used with that call.
You either need to know the full call or full alias to use these.?
Hopefully John has some sorting built into it.
For me I just keep my nodes list short...
|
Thnx John.
Things like, ex: *IPU GB7* *IP* GB?NWM etc etc
Thnx agn and 73 de J, M?IPU YO§©FCA
toggle quoted message
Show quoted text
On 25 Jun 2022, 08:37, at 08:37, John G8BPQ <john.wiseman@...> wrote: From the docs:
Nodes The NODES command displays information from the NETROM Nodes table. There are a number of options. N on its own displays the whole table in alias order N C displays the whole table in callsign order N T displays round trip time and packet count for all stations that the node has sent packets to. N CALL or N Alias displays information for the specified call+ssid or alias. N CALL* will display information for all SSID's of the specified call. N VIA CALL will display all stations reachable via the specified neighbour.
I'll look into adding some form of pattern matching
73, John
On 22/06/2022 21:08, Mark Taylor wrote:
The only formats I know are:
nodes call-ssid (i.e. nodes N5MDT-3) nodes alias (nodes mdtrms) nodes call* (nodes N5MDT*)
Where call* will find all SSIDs used with that call.
You either need to know the full call or full alias to use these. Hopefully John has some sorting built into it.
For me I just keep my nodes list short...
|
The latest versions in my Beta download area should support ? and *
wildcards
If you want to sort by call the C can be placed before or after the
pattern, eg N C GB7* or N GB7* C
73,
John
On 25/06/2022 11:21, Julian wrote:
toggle quoted message
Show quoted text
Thnx John.
Things like, ex:
*IPU
GB7*
*IP*
GB?NWM
etc etc
Thnx agn and 73 de J, M?IPU YO§©FCA
On 25 Jun 2022, 08:37, at 08:37, John G8BPQ <john.wiseman@...> wrote:
From the docs:
Nodes
The NODES command displays information from the NETROM Nodes table.
There are a number of options.
N on its own displays the whole table in alias order
N C displays the whole table in callsign order
N T displays round trip time and packet count for all stations that the
node has sent packets to.
N CALL or N Alias displays information for the specified call+ssid or
alias.
N CALL* will display information for all SSID's of the specified call.
N VIA CALL will display all stations reachable via the specified
neighbour.
I'll look into adding some form of pattern matching
73,
John
On 22/06/2022 21:08, Mark Taylor wrote:
The only formats I know are:
nodes call-ssid (i.e. nodes N5MDT-3)
nodes alias (nodes mdtrms)
nodes call* (nodes N5MDT*)
Where call* will find all SSIDs used with that call.
You either need to know the full call or full alias to use these.
Hopefully John has some sorting built into it.
For me I just keep my nodes list short...
|
John,
Thanks! I have it downloaded and will test it today.
73 Sholto K7TMG
toggle quoted message
Show quoted text
On 6/25/2022 8:33 AM, John G8BPQ wrote: The latest versions in my Beta download area should support ? and * wildcards If you want to sort by call the C can be placed before or after the pattern, eg N C GB7* or N GB7* C 73, John On 25/06/2022 11:21, Julian wrote:
Thnx John.
Things like, ex: *IPU GB7* *IP* GB?NWM etc etc
Thnx agn and 73 de J, M?IPU YO§©FCA
On 25 Jun 2022, 08:37, at 08:37, John G8BPQ<john.wiseman@...> wrote:
From the docs: Nodes The NODES command displays information from the NETROM Nodes table. There are a number of options. N on its own displays the whole table in alias order N C displays the whole table in callsign order N T displays round trip time and packet count for all stations that the node has sent packets to. N CALL or N Alias displays information for the specified call+ssid or alias. N CALL* will display information for all SSID's of the specified call. N VIA CALL will display all stations reachable via the specified neighbour. I'll look into adding some form of pattern matching 73, John On 22/06/2022 21:08, Mark Taylor wrote: The only formats I know are: nodes call-ssid (i.e. nodes N5MDT-3) nodes alias (nodes mdtrms) nodes call* (nodes N5MDT*) Where call* will find all SSIDs used with that call. You either need to know the full call or full alias to use these. Hopefully John has some sorting built into it. For me I just keep my nodes list short...
|
On Sat, Jun 25, 2022 at 06:33 AM, John G8BPQ wrote:
The latest versions in my Beta download area should support ? and * wildcards
If you want to sort by call the C can be placed before or after the pattern, eg N C GB7* or N GB7* C
73, John
The BPQ suite is missing a fairly useful function that might eventually be improved ¨C the ability to interrogate the node table with searches.?No less than 6 hours after creating and publishing this system and documentation, the feature was put into the actual BPQ32 node code enabling searching via wildcards, therefore making this script obsolete (good work John!). This document however remains as an excellent template for setting up external applications via interactive scripts running on a linux system. Enjoy!
Silver linings¡
On 25/06/2022 11:21, Julian wrote:
Thnx John.
Things like, ex:
*IPU
GB7*
*IP*
GB?NWM
etc etc
Thnx agn and 73 de J, M?IPU YO§©FCA
On 25 Jun 2022, 08:37, at 08:37, John G8BPQ <john.wiseman@...> wrote:
From the docs: Nodes The NODES command displays information from the NETROM Nodes table. There are a number of options. N on its own displays the whole table in alias order N C displays the whole table in callsign order N T displays round trip time and packet count for all stations that the node has sent packets to. N CALL or N Alias displays information for the specified call+ssid or alias. N CALL* will display information for all SSID's of the specified call. N VIA CALL will display all stations reachable via the specified neighbour. I'll look into adding some form of pattern matching 73, John On 22/06/2022 21:08, Mark Taylor wrote: The only formats I know are: nodes call-ssid (i.e. nodes N5MDT-3) nodes alias (nodes mdtrms) nodes call* (nodes N5MDT*) Where call* will find all SSIDs used with that call. You either need to know the full call or full alias to use these. Hopefully John has some sorting built into it. For me I just keep my nodes list short...
|
Thanks so much for adding this John! I also updated my BPQ Cheatsheet with it: https://cheatography.com/gcremerius/cheat-sheets/bpq-user-and-sysop-commands/ -- 73 de Bill PY2BIL - LU7ECX
|
Hi John,
I'm not certain but I don't think the filtering is working on aliases (maybe it wasn't designed to?).
Here's some output on my terminal from W9GM-7 over an HF channel.
c w9gm-7 *** Connected to W9GM-7 Welcome to the W9GM BPQ Packet Switch - Ken in La Crosse, WI - EN43 Type ? (enter) for Commands
n c gb7* GMNOD:W9GM-7} Nodes BEX:GB7BEX-7 CRGWAY:GB7CIP-5 CORLEY:GB7COV-11 NDEVON:GB7COW-5 STHGTE:GB7KUX YEWBBS:GB7YEW
n crg* GMNOD:W9GM-7} Nodes
Should N CRG* have found CRGWAY:GB7CIP-5 ?
The N C GB7* worked okay. In fact I found out you don't even need to specify the 'C' as it seems to default to search by call.
It's still a lot more useful than it was though :)
73 Sholto K7TMG
toggle quoted message
Show quoted text
On 6/25/2022 8:33 AM, John G8BPQ wrote: The latest versions in my Beta download area should support ? and * wildcards If you want to sort by call the C can be placed before or after the pattern, eg N C GB7* or N GB7* C 73, John On 25/06/2022 11:21, Julian wrote:
Thnx John.
Things like, ex: *IPU GB7* *IP* GB?NWM etc etc
Thnx agn and 73 de J, M?IPU YO§©FCA
On 25 Jun 2022, 08:37, at 08:37, John G8BPQ<john.wiseman@...> wrote:
From the docs: Nodes The NODES command displays information from the NETROM Nodes table. There are a number of options. N on its own displays the whole table in alias order N C displays the whole table in callsign order N T displays round trip time and packet count for all stations that the node has sent packets to. N CALL or N Alias displays information for the specified call+ssid or alias. N CALL* will display information for all SSID's of the specified call. N VIA CALL will display all stations reachable via the specified neighbour. I'll look into adding some form of pattern matching 73, John On 22/06/2022 21:08, Mark Taylor wrote: The only formats I know are: nodes call-ssid (i.e. nodes N5MDT-3) nodes alias (nodes mdtrms) nodes call* (nodes N5MDT*) Where call* will find all SSIDs used with that call. You either need to know the full call or full alias to use these. Hopefully John has some sorting built into it. For me I just keep my nodes list short...
|
Sholto,
No the code only applies the wildcards to calls, not aliases. The C defines the sort order of the listing, not what is searched.
73, John
toggle quoted message
Show quoted text
On 27/06/2022 21:38, Sholto Fisher wrote: Hi John,
I'm not certain but I don't think the filtering is working on aliases (maybe it wasn't designed to?).
Here's some output on my terminal from W9GM-7 over an HF channel.
c w9gm-7 *** Connected to W9GM-7 Welcome to the W9GM BPQ Packet Switch - Ken in La Crosse, WI - EN43 Type ? (enter) for Commands
n c gb7* GMNOD:W9GM-7} Nodes BEX:GB7BEX-7??????? CRGWAY:GB7CIP-5???? CORLEY:GB7COV-11 NDEVON:GB7COW-5 STHGTE:GB7KUX?????? YEWBBS:GB7YEW
n crg* GMNOD:W9GM-7} Nodes
Should N CRG* have found CRGWAY:GB7CIP-5 ?
The N C GB7* worked okay. In fact I found out you don't even need to specify the 'C' as it seems to default to search by call.
It's still a lot more useful than it was though :)
73 Sholto K7TMG
On 6/25/2022 8:33 AM, John G8BPQ wrote:
The latest versions in my Beta download area should support ? and * wildcards
If you want to sort by call the C can be placed before or after the pattern, eg N C GB7* or N GB7* C
73, John
On 25/06/2022 11:21, Julian wrote:
Thnx John.
Things like, ex: *IPU GB7* *IP* GB?NWM etc etc
Thnx agn and 73 de J, M?IPU YO§©FCA
On 25 Jun 2022, 08:37, at 08:37, John G8BPQ<john.wiseman@...>? wrote:
??? From the docs: Nodes The NODES command displays information from ??? the NETROM Nodes table. There are a number of options. N on its ??? own displays the whole table in alias order N C displays the whole ??? table in callsign order N T displays round trip time and packet ??? count for all stations that the node has sent packets to. N CALL ??? or N Alias displays information for the specified call+ssid or ??? alias. N CALL* will display information for all SSID's of the ??? specified call. N VIA CALL will display all stations reachable via ??? the specified neighbour. I'll look into adding some form of ??? pattern matching 73, John On 22/06/2022 21:08, Mark Taylor wrote: ??? The only formats I know are: nodes call-ssid (i.e. nodes N5MDT-3) ??? nodes alias (nodes mdtrms) nodes call* (nodes N5MDT*) Where call* ??? will find all SSIDs used with that call. You either need to know ??? the full call or full alias to use these. Hopefully John has some ??? sorting built into it. For me I just keep my nodes list short...
|
Hi agn John. It would be great if you could enhance that search to either side of the string, N C *BPQ, N C *BP* etc. Also on aliases, possibly a N A *XYZ etc etc.? Thnx. Regards, J, M 0 IPU, YO 3 FCA.?
|
N *BP* already works, as does ??bp*:
n *bp*
POGO4:G8BPQ-9} Nodes
BPQBBS:G8BPQ-3 BPQCHT:GM8BPQ-4 BPQDX:G8BPQ-11 CASLGR:VA7RBP-7
NOTCHT:G8BPQ-4 POGO:GM8BPQ-9 RBPBBS:VA7RBP-2
?
n ??bp*
POGO4:G8BPQ-9} Nodes
BPQBBS:G8BPQ-3 BPQDX:G8BPQ-11 NOTCHT:G8BPQ-4
The next version will search both aliases and calls. The C in the command selects the sort order of the display (sort by call instead of the default sort by alias)
73, John
On Thu, Jun 30, 2022 at 08:20 AM, Julian wrote:
toggle quoted message
Show quoted text
Hi agn John. It would be great if you could enhance that search to either side of the string, N C *BPQ, N C *BP* etc. Also on aliases, possibly a N A *XYZ etc etc.? Thnx. Regards, J, M 0 IPU, YO 3 FCA.?
|