added G8TIC 'user' filter example R_1_27
authordjk <djk>
Sun, 2 May 1999 19:37:57 +0000 (19:37 +0000)
committerdjk <djk>
Sun, 2 May 1999 19:37:57 +0000 (19:37 +0000)
connect/gb7tlh
filter/spots/G8TIC.pl.issue [new file with mode: 0644]

index 7ecadfb9cbc4914c0820d640ab3991023255274a..15b419a33126491b414c333cc437cc09a9670d53 100644 (file)
@@ -1,5 +1,6 @@
 timeout 15
- don't forget to chmod 4775 netrom_call!
+abort (Busy|Sorry|Fail)
+# don't forget to chmod 4775 netrom_call!
 connect ax25 /usr/sbin/netrom_call bbs gb7djk g1tlh-0
 'Connect' ''
 'Connect' 'ak1a'
diff --git a/filter/spots/G8TIC.pl.issue b/filter/spots/G8TIC.pl.issue
new file mode 100644 (file)
index 0000000..2ef06c2
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# This is an example filter for a user that only wants VHF/UHF
+# spots
+# 
+# the elements of each list are 
+#
+# [action, field_no, sort, possible_values, hops]
+#
+# where:-
+#
+#   action is 1 or 0 
+# 
+#   the field list is:-
+#      0 = frequency
+#      1 = call
+#      2 = date in unix format
+#      3 = comment
+#      4 = spotter
+#      5 = spotted dxcc country
+#      6 = spotter's dxcc country
+#      7 = origin
+#      8 = spotted itu
+#      9 = spotted cq
+#      10 = spotter's itu
+#      11 = spotter's cq
+#      12 = callsign of the channel on which the spot has appeared
+#
+#   sort is
+#     n - numeric list of numbers e.g. [ 1,2,3 ]
+#     r - ranges of pairs of numbers e.g. between 2 and 4 or 10 to 17 - [ 2,4, 10,17 ] 
+#     a - an alphanumeric regex
+#     d - the default rule
+#
+#   if hops is left out or zero then the existing hop count will be used as normal
+#
+# The spot data (in this case '15') is the used as the hop count
+# if this is missing then the normal default applies
+#
+
+$in = [
+       [ 1, 0, 'r', [ 50000.0, 3000000.0 ] ],   # no hops required
+       [ 0, 0, 'd' ],                           # don't want anything else
+];