fix RCMDs
[spider.git] / Changes
1 19Aug01=======================================================================
2 1. Fix rcmds
3 17Aug01=======================================================================
4 1. Sort out PC41 handling to include type 5 records for QRA locators and also
5 remove all filtering (but retain ephemeral dup checking).
6 2. Improve format checking in latlong and qra locators.
7 3. Sort sh/st so that sh/st by itself displays only the local call not the
8 whole lot (all 17000+ users records in my case). SH/ST ALL does this.
9 16Aug01=======================================================================
10 1. send a forward/opernam for a logged in user once a month (when they next
11 login).
12 2. rearrange rcmd stuff to be more maintainable and also be certain that 
13 they are translated in both directions correctly for clx and ak1a style.
14 3. Allow PC41s to be propagated and hope that the ephemeral dup filters 
15 do their job!
16 15Aug01=======================================================================
17 1. fix problem with talks not coming out anymore
18 13Aug01=======================================================================
19 1. fixed problem of dxspots not being echoed back to spotter (announces too)
20 02Aug01=======================================================================
21 1. correct manual and help references on accept/route and reject/route. Thanks
22 to ea1dav for pointing out the errors
23 2. make sure that the actual line is printed in grepdbg & watchdbg esp. with
24 ALL the '^' and leading space characters as they really are
25 30Jul01=======================================================================
26 1. changes to manuals to add links etc. (g0vgs)
27 23Jul01=======================================================================
28 1. made ann,dx spots,wwv,wcy,wx more 'object oriented'.
29 2. allow for 'enhanced clients' and tell them what sort of thing is being 
30 sent.
31 3. Allow debug info to be sent via interface to an enhanced client.
32 21Jul01=======================================================================
33 1. started a gtkconsole program. It appears to sort of work. Requires Gtk-
34 Perl-0.7007.
35 2. start doing some spot statistical stuff. 
36 19Jul01=======================================================================
37 1. changes to Admin Manual to reflect route filtering.  Some alterations to
38 the help files (g0vgs)
39 09Jul01=======================================================================
40 1. fix cron so that it allows stuff to be executed on the hour (ie min=0)
41 06Jul01=======================================================================
42 1. fix talk and routing problems to mycall
43 2. add unset/privilege command to relinquish any sysop privileges you might 
44 have for the current session.
45 05Jul01=======================================================================
46 1. disconnect channels whose route node has disappeared
47 29Jun01=======================================================================
48 1. fix merge command
49 28Jun01=======================================================================
50 1. fix problems with users on more than one node
51 27Jun01=======================================================================
52 1. try adding an ARC mail hack
53 2. slug the not here messages so they can't loopback
54 25Jun01=======================================================================
55 1. added automatic 'not here' message
56 21Jun01=======================================================================
57 1. fix (some) problems with 'init'
58 2. fix stat/msg a bit more
59 3. small change to PC28 generation to make sure that the subject always 
60 contains at least a blank
61 16Jun01=======================================================================
62 1. fix talk
63 2. fix stat/msg 
64 14Jun01=======================================================================
65 1. changed debug api to (potentially) use less cpu time
66 2. changed the spider.cgi in Arnold's borrowed java client to Ian's perl 
67 script
68 3. Added input route filtering
69 4. put back the set/isolate logic into routing which is now overridable with
70 filters whcih means a default filter is no longer generated. If you want the
71 OLD behaviour, do rm /spider/filter/route/*.pl*, restart and try again. 
72 5. Add http_proxy to Internet.pm and allow sh/qrz to use an HTTP Proxy
73 13Jun01=======================================================================
74 1. fix init cnd rinit cmds
75 2. add missing clear/route cmd
76 10Jun01=======================================================================
77 1. fix set/here and unset/here
78 2. fix indirect routing to users two hops away
79 09Jun01=======================================================================
80 1. more fixes
81 2. add set/debug filter so that you can see why your filters aren't working
82 (for sysops only)
83 3. add ephemera deduping for all those PC41,24,50 etc etc broadcasts 
84 4. Fix a problem with the connect text being sent on outgoing connections
85 (this confuses db0fhf amongst other things)
86 5. catch deep recursion bugs before you run out of memory.
87 6. Make sure that PC16|17|19|21 update as well as add and delete
88 7. local announces by the sysop will always be displayed
89 08Jun01=======================================================================
90 1. first cut with new routing code. Created NEW_ROUTE branch
91 2. added acc/route and rej/route commands
92 3. added stat/route_node and stat/route_user commands to look at the routing
93 table entities
94 07Jun01=======================================================================
95 1. move userconfig.pl and nodeconfig.pl to stat/
96 2. fix problem with locally connected users not being removed from the 
97 routing tables
98 3. Fix the build calc to take into account subdirectories
99 06Jun01=======================================================================
100 1. add stat/route_node and stat/route_user commands
101 2. add sh/userconfig command (to show backward links to nodes)
102 3. add sh/nodeconfig command
103 05Jun01=======================================================================
104 1. add set/bbs command
105 2. more work on Routing code.
106 3. status/msg on its own will print the status of the msg system.
107 4. add sh/newconfig command
108 03Jun01=======================================================================
109 1. Fix the problem with ExtMsg and unresolvable IP addresses, hopefully
110 properly this time.
111 15May01=======================================================================
112 1. set/lockout now prevents any outgoing connection taking place.
113 2. Started the new routing stuff which will run in parallel for a while.
114 3. changed the msg timeout arrangements so that it might not get stuck so
115 easily.
116 4. add $DXMsg::bulltopriv global to make msgs to known callsigns private 
117 14May01=======================================================================
118 1. fix problem with re-reading in db definitions for remote databases.
119 2. try to prevent situations where two can (semi) successfully login, probably
120 under load, and get a 'tried to connect whilst already connected' abort.
121 3. change the max number of days to search for spots to 100
122 11May01=======================================================================
123 1. allow stat/msg on priv 1
124 07May01=======================================================================
125 1. set/page 0 switches off paging
126 03May01=======================================================================
127 1. It appears that for ages now, not enough PC19 and PC16s are being sent
128 if you have more than one of them. Sigh..
129 02May01=======================================================================
130 1. put an upper limit on the number of concurrent errors allowed in command
131 mode (20). This should disconnect runaway spot suckers....
132 28Apr01=======================================================================
133 1. fix an occasional problem with 'sorry connected to' messages
134 23Apr01=======================================================================
135 1. fix very long standing bug in storing and transmitting spots. The decimal
136 point was left off :-(
137 22Apr01=======================================================================
138 1. Sysops can now have full privileges if there is a ExtMsg listener on 
139 localhost (or everything) and they telnet to localhost and login with their
140 callsign. This means that they don't need a client anymore (for local access)
141 2. added input spot filtering. 
142 3. Added run_cmd to DXCron which allows you to run any command on the system
143 from the crontab. (Dunno why I didn't do this before). 
144 18Apr01=======================================================================
145 1. added Ian M0AZM's Java Client (SpiderConsole)
146 17Apr01=======================================================================
147 1. made a slight speedup on write in Msg.pm (about doubled it)
148 16Apr01=======================================================================
149 1. make the correct error messages come out on reject/accept when people
150 leave out keywords like 'on'.
151 2. Fairly major changes to the documentation tree.  Split the admin manual
152 into 2 sections, Installation and Admin and merge the Windows stuff.
153 15Apr01=======================================================================
154 1. made some mods to the sgml documentation for 1.47
155 2. added show/connect command
156 11Apr01=======================================================================
157 1. fixed more of the "xxx disappeared from yyy" messages
158 2. altered the build no logic so that it always checksums the same files
159 regardless of whatever else you might have in the directory.
160 3. made shortcut at shutdown so that you don't get a storm of PC21s on busy
161 nodes as each connection goes down. Just send a pc39 to each interface and
162 nothing else.
163 4. changed action of SIG{INT} and SIG{TERM} so that they now work on MSWin32
164 10Apr01=======================================================================
165 1. altered PC21 logic somewhat to eliminate dup PC21s
166 2. disconnect should remove dangling local users in the routing table.
167 3. fixed nasty recursive timer bug
168 4. added some extra info to make connect tracking a bit easier.
169 5. improved docs on connect scripts a bit (to include agw connects)
170 09Apr01=======================================================================
171 1. changed lockfile name to cluster.lck (from .lock) for MSWin's benefit
172 08Apr01=======================================================================
173 1. added a quick installation guide to the admin manual and removed references
174 to client.pl (g0vgs)
175 01Apr01=======================================================================
176 1. changed agwrestart semantics. You need to use main::agwrestart() in your
177 crontabs rather than AGWMsg::init();
178 2. try to thread winclient.pl for MSWin32.
179 31Mar01=======================================================================
180 1. added agwrestart command
181 2. add Iains Windoze installation manual (g0vgs)
182 3. various alterations to adminmanual and initial version of the CVS changes
183 file (g0vgs)
184 30Mar01=======================================================================
185 1. fix errors on accept in ExtMsg and in Msg
186 2. fix the non-blocking problems of connects (and other things in general).
187 non-blocking only works for unix implementations at the moment.
188 3. add rinit command (sends a PC20)
189 4. improve debuging so that stuff is always escaped and a new 'raw' debug 
190 mode that shows everything sent and received in glorious hex and characters
191 29Mar01=======================================================================
192 1. add better tracking of AGW circuits (possibly)
193 2. add set and unset/agwmonitor (ing) [for all the notice it seems to take]
194 28Mar01=======================================================================
195 1. AGW engine stuff now accepts incoming calls and at least attempts to do
196 outgoing ones. YMMV.
197 2. fixed 'always' telnet on a client line in a connect script
198 27Mar01=======================================================================
199 1. add first cut at an AGW Engine. Copy /spider/perl/AGWConnect.pm to 
200 /spider/local and edit it appropriately. You shouldn't need a login and passwd
201 if you are using the default setup. It may allow incoming connects (and then
202 again it may not - I don't have a reliable infrostructure to test with at the
203 moment). The AGW Engine is a M$ thingy, but that don't preclude you connecting
204 to it from a unix box. 
205 22Mar01=======================================================================
206 1. edit the helpfile for set/debug and add help for show/debug
207 2. Allow ^Z again on messages
208 3. Added back onboard support for ax25 OUTBOUND connections. You will need
209 exactly the same facilities as before (ie netrom_call, ax25_call suid root 
210 etc) but it is called direct from the cluster.pl - client.pl is DEAD!
211 19Mar01=======================================================================
212 1. Add 'not allowed' messages into sh/filter with callsign and reduce priv
213 2. decode %xx characters in winclient.pl
214 necessary to 1.
215 18Mar01=======================================================================
216 1. minor changes to user and admin manuals.  Added revsion numbers
217 17Mar01=======================================================================
218 1. put block check back in, try a work around for EWOULDBLOCK/EINPROGRESS
219 for M$. 
220 16Mar01=======================================================================
221 1. integrate build number into main cluster and change the PC18 to show 
222 version and build in the text portion
223 14Mar01=======================================================================
224 1. first cut at outgoing ax25 /external program connects
225 2. slight change of interface to connect
226 3. added a build number to sh/version
227 13Mar01=======================================================================
228 1. implemented first cut at non blocking connect
229 2. removed memory leakage in connects
230 3. add link IP address if available on who
231 4. made the \r\n work correctly on External connections
232 5. removed client.pl
233 6. fixed memory leakages in DXMsg
234 7. fixed pc39/21 handling
235 8. fixed routing table issues and general disconnection tidy up
236 10Mar01=======================================================================
237 1. minor changes to the admin manual to reflect differences in distibutions
238 thanks to pa3ezl (g0vgs)
239 2. add (finally) the first draft of the usermanual (g0vgs)
240 05Mar01=======================================================================
241 1. do some major surgery on the connect logic to shorten the possibility of 
242 duplicate connects happening
243 2. fix stupid error on sh/qrz queries that don't work
244 04Mar01=======================================================================
245 1. allow fallback to english for help
246 03Mar01=======================================================================
247 1. allow incoming and outgoing IP connects direct to cluster.pl
248 2. fixed (long standing)a hole in PC17 handling
249 3. added winclient.pl (actually just a very basic client) from Iain G0RDI
250 4. Added Spanish as a language (thanks ea1dav) (g0vgs) 
251 5. ignore BUST(ED) spots
252 28Feb01=======================================================================
253 1. allow sh/c gb7 (ie show the config of all gb7 nodes)(for example)
254 2. get rid of spurious DXHash 'uninitialised' messages if no corresponding 
255 file is present.
256 3. changed policy of $censorpc in DXProt.pm so that badwords are looked for
257 in all text announces etc.
258 4. Unpad (remove excess spaces from) spotted callsigns in PC11. 
259 5. test for opertaing system in various places and do different if M$
260 27Feb01=======================================================================
261 1. allow partial node callsigns on sh/c (eg sh/c gb7)
262 2. Changed Msg.pm to allow a more generalised interface with more than one
263 listener.
264 3. Added IntMsg.pm to implement the internal connection management that is
265 currently scattered about the cluster code.
266 25Feb01=======================================================================
267 1. Fixed watchdbg so that simple arguments work again
268 22Feb01=======================================================================
269 1. Added platform name to sh/version
270 2. changed client.pl so that it send \r\n instead of \n on telnet connects
271 3. added lineend '\r\n' command to connect scripts so you can override 
272 defaults
273 03Feb01=======================================================================
274 1. Changes and additions to the manual and added a help file for sh/log (g0vgs)
275 13Jan01=======================================================================
276 1. Documentation alterations to match new commands etc (g0vgs)
277 08Jan01=======================================================================
278 1. Changed the way that badnodes, baddx etc work. There is a new general way
279 implemented (dunno why I didn't do this before - hey ho...) as a consequence
280 there are set/unset/show baddx (for bad dx callsigns) badnode (for dx from
281 bad nodes) badspotter (for bad spotters of dx eg VE2STN). Expect more of 
282 this sort of thing...
283 2. Added one to the copyright dates...
284 06Jan01=======================================================================
285 1. Fix set/obscount so it actually works.
286 2. Allow different number formats for set/pingint eg: 5m for 5 minutes and
287 120s for 120 seconds (and 1h for 1 hour).
288 03Jan01=======================================================================
289 1. Added a txt directory for txt versions of manuals (g0vgs)
290 2. Various documentation changes
291 02Jan01=======================================================================
292 1. added a help file for forward/latlong and updated the admin manual to
293 match. (g0vgs)
294 2. Add spot2csv.pl to convert spot files into tab delimited .csv format.
295 3. Add show/route to see which interface a station is connected on.
296 31Dec00=======================================================================
297 1. add lat/long info to show/prefix
298 30Dec00=======================================================================
299 1. added latest version of the admin manual from Ian G0VGS.
300 23Dec00=======================================================================
301 1. don't route anything back down the channel it came from.
302 2. and, in the process, fix some silly errors in routing converted rcmd PCs
303 3. changed all occurrances of 'freq' in filter help to 'on' and corrected
304 some errors (eg freq/ssb).
305 4. added latest admin manual.
306 18Dec00=======================================================================
307 1. fix double printing of DB results
308 2. add new style filtering for WWV and WCY to complete the set
309 3. got the field nos right (hopefully) on Announces for filters
310 05Dec00=======================================================================
311 1. fix frequency hinting routine so it correctly handles things like 'on 23cm'
312 where digits are the 'wrong' way round.
313 2. made default max days to search for spots 3 months.
314 3. added hex decodes for those pesky 'national' characters that aren't really
315 in grepdbg and watchdbg.
316 4. decide that we are using Latin-1 and therefore characters 0x80-0x9f are
317 not allowed.
318 5. fix the announces so that they are all UPPER CASE for poor old DXTelnet.
319 03Dec00=======================================================================
320 1. change grepdbg and watchdbg so that you can see a number of lines before
321 the condx that you are looking for so:-
322   grepdbg 3 LOOP
323   watchdbg 3 LOOP 
324 will show both the LOOP line and the preceeding 2 lines.
325 2. add PCPROT to all error condx lines in DXProt.pm so that you can watch
326 for them more easily.
327 30Nov00=======================================================================
328 1. remove %nn strings from dups of announces and spots
329 2. remove check for ssids on PC41s 
330 29Nov00=======================================================================
331 1. make some small changes to DXmsg to try to track delete problems?
332 2. fix ann/full so it doesn't dup
333 27Nov00=======================================================================
334 1. alter sh/wcy output slightly
335 26Nov00=======================================================================
336 1. made it possible for sysop calls to be used on other nodes and still have
337 anti loop checking on PC16/17.
338 25Nov00=======================================================================
339 1. -l <nnn> now works on C client
340 2. -e toggles echo cancelling (normally on) on C client
341 20Nov00=======================================================================
342 1. added even more checking to PC16,17 and 39
343 19Nov00=======================================================================
344 1. improve reaping code a bit more.
345 2. put some extra checking in the PC16,17,19,21 code.
346 3. fix problem with the aliased user disappearing and loads of 'unitialised'
347 messages coming out.
348 16Nov00=======================================================================
349 1. Alter the process reaping code in cluster.pl to use waitpid
350 12Nov00=======================================================================
351 1. Fix lack 't' action in Filter.pm
352 08Nov00=======================================================================
353 1. fix cosmetic errors in for/oper for 'users'.
354 07Nov00=======================================================================
355 1. removed sh/call because the owner isn't happy about us using it. 
356 2. change sh/qrz to the new interface. MUCH QUICKER! you will need a user id
357 and password from qrz.com to use it and you will have to copy the 
358 /spider/perl/Internet.pm to /spider/local and alter it accordingly. Do 
359 remember to set $allow=1 as well! The new interface comes courtesy of Fred
360 LLoyd, the proprietor of http://www.qrz.com
361 06Nov00=======================================================================
362 1. Added sh/qrz to the list of callbook services
363 05Nov00=======================================================================
364 1. 75% speed up on sh/dx !, lower memory usage as well!
365 2. Fixed problem with clear/spot 0 (how did this one last so long!!!)
366 3. add 'on' in accept/reject spots as synonym for 'freq'
367 4. add the same speed up to general log printing
368 5. fixed help \ 
369 04Nov00=======================================================================
370 1. fix sh/filter so ity now works for any callsign (and not just connected
371 ones).
372 2. Have only one is_callsign and not an iscallsign as well.
373 3. Add set/hops and show/hops commands.
374 4. Add unset/badnode command and put some help in for these commands
375 03Nov00=======================================================================
376 1. allow - in filter strings
377 2. store only the filter expression NOTE BENE: you will need to clear all 
378 your existing filters and re-enter them!!!!!!
379 3. Added announce filtering
380 4. Fixed problem with announce filtering on output to the node
381 02Nov00=======================================================================
382 1. updated filtering logic. You will need to RECREATE your filters (clear/spot
383 all, then start again) for testing.
384 2. allow PC73 for DXNet
385 3. added some help text for filtering and filtering spots in particular.
386 01Nov00=======================================================================
387 1. put PC11 field 2 check back to m for pc text.
388 2. improve 'simple' callsign checking
389 3. Added the first cut of the new user/sysop filtering code. This cut works 
390 for spots and the syntax is:-
391
392 accept/spots [<call>] [input] [<filterno>] things ..
393 reject/spots [<call>] [input] [<filterno>] things ..
394
395 where things are: 
396   freq 0/30000 | hf | hf/cw | 6m,4m,2m
397   call G,PA,HB9
398   info iota
399   by G,PA,HB9
400   call_dxcc 61,62
401   call_itu 31
402   call_zone 14,15,16
403   by_dxcc 61,62
404   by_itu 31
405   by_zone 14,15,16
406   origin GB7,MB7
407   channel GB7DJK,GB7BAA
408       
409 You can simply string these together on one line one after the other and 
410 there is an implied 'and', you can also string together with 'or' 'not' (or
411 '!') and '(' and ')' - in otherwords an arbitrary expression.
412               
413 You can see what you have done with:
414
415 show/filter [<call>]
416
417 You can clear your work with:
418
419 clear/spots [<call>] [input] [<filterno>|all]
420
421 Have fun and someone please write the documentation.
422 4. Added show/msg_status.pl sysop command (shows some info on what is busy in 
423 the message system)
424 31Oct00=======================================================================
425 1. add 0x8e to the list of characters we clobber (make xterm go into graphics
426 mode).
427 30Oct00=======================================================================
428 1. put in new Filter::it code and tested it. Now all we have to do is write
429 the user access routines (oh and the help files!).
430 29Oct00=======================================================================
431 1. put in echo cancelling measures into the clients. This doesn't mean you
432 shouldn't take steps to prevent echoing on node links, but it may help where
433 (whatever you do) it still bloody echos! This is experimental.
434 2. store dxchan and mynode as callsigns (and not references) in the routing 
435 tables and do some checking in accessors to see if we can capture some errors.
436 3. tart up the stat/chan etc display to give more useful debugging info 
437 28Oct00=======================================================================
438 1. updated show/sun and show/moon from stuff sent by Steve Franke K9AN
439 2. added show/call which queries jeifer.pineknot.com for any call in the 
440 world (as opposed to UALR which only does US calls). Inspired by a bit of 
441 perl sent to me by Steve Franke (again!) and also Angel EA7WA who gave me the
442 pineknot ip address.
443 3. fixed clients so that they accept -0 as a valid SSID and then strip it off
444 as though they had come in without (why has this taken so long to appear? How
445 long have we been running this code ??????). 
446 27Oct00=======================================================================
447 1. alter the code in clean_old of DXMsg system to see if we get some different
448 behaviour with random crashing
449 26Oct00=======================================================================
450 1. if there is a 'connected' file in /spider/data then the client will send
451 it out to the user after connection.
452 25Oct00=======================================================================
453 1. fix catchup and uncatchup commands so that they accept ranges
454 24Oct00=======================================================================
455 1. added cty.dat from http://www.k1ea.com/cty/index.htm to the prefix_data.pl
456 data file and modified create_prefix.pl accordingly.
457 2. the 'no text line' messages should now propagate correctly
458 3. added the dxcc, itu and cq zone numbers for announcer and origining node 
459 on announce filters - see the /spider/filter/ann/*.issue files for more info.
460 4. you can now specify a 'user_default.pl', 'node_default.pl' and 
461 'in_node_default.pl' in each of the filter directories
462 23Oct00=======================================================================
463 1. Added K5K as Kingman Reef
464 1. Added K7K as Kure
465 17Oct00=======================================================================
466 1. force frames to go down the local interface when doing a route. This is 
467 particularly important for pings!
468 16Oct00=======================================================================
469 1. add a ':' after 'G7BRN de G1TLH' in a talk message.
470 2. added /J to the list of things to ignore (as in G1TLH/J) in prefix 
471 processing (ie /J mean Jota not /JA [Japan]).
472 3. change all INCOMING 00-08 0A-1F and 9B characters that make it past the
473 intermediate client->server protocol to '.'.
474 04Sep00=======================================================================
475 1. made PC10,11,12 badword checking dependant on a flag variable ($censorpc)
476 default = 0 (off).
477 02Sep00=======================================================================
478 1. fix a long standing talk bug to do with routing to specific nodes (t xxx >
479 yyy .....)
480 2. Add badwords checking in various places. You put a list of words into
481 /spider/data/badwords one or several per line. Lines starting with # are
482 ignored. PC10, PC11, PC12 with words contained in this file will not be
483 sent on. Also ann, talk and dx commands have badword checking added. Words
484 are NOT case sensitive, but you will need to put all the endings in (eg 
485 ...k, ...ker, ...king).
486 3. Added new version of admin manual from G0VGS.
487 01Sep00=======================================================================
488 1. allow blank on field 4 of PC10 (even though it's "illegal").
489 28Aug00=======================================================================
490 1. changes DXChannel::get_all_ak1a to get_all_nodes.
491 2. ignore PC21s coming in on the interface with that callsign (ie nodes 
492 trying to disconnect themselves).
493 3. output correct PC29 on blank lines and escape ^ characters differently 
494 (and transparently for spider nodes).
495 26Aug00=======================================================================
496 1. make blank origins on messages the node call.
497 2. added new version of FAQ from Ian G0VGS
498 3. added a dummy PC75 command (WCY merge?)
499 4. Don't allow mail routing for clx nodes
500 5. Log isolates
501 25Aug00=======================================================================
502 1. moan about and then delete empty message files
503 24Aug00=======================================================================
504 1. Removed WWV command so that users can't interfere (read mess up) the
505 automatic feeds which come from various places on the net.
506 23Aug00=======================================================================
507 1. Added persistant dupe file so that all dupes are stored here (including
508 announces) - announces are now kept for 5 days (as default).
509 2. limit the characters stored in a dupe for spots and announces
510 20Aug00=======================================================================
511 1. Added system Alias for set/nodxgrid => unset/dxgrid
512 2. Add full individual checking for all PC protocol fields in all messages
513 and removed any language dependant stuff (hopefully).
514 3. console.pl is now a bit more international (client.c/pl already are)
515 19Aug00=======================================================================
516 1. Added an efficiency thing for AUTOLOADed accessors from OO Perl by Conway.
517 2. Fiddled with the rtty and digital bandplan frequencies.
518 18Aug00=======================================================================
519 1. added a couple of changes for perl 5.6.0
520 2. removed del_dup from DXUser for earlier versions of DB '1.85' (ie real ones
521 not 2.x versions in 1.85 compatibility mode).
522 3. Started the OOing of the PC protocol stuff.
523 15Aug00=======================================================================
524 1. added 1.25 of the admin manual html
525 14Aug00=======================================================================
526 1. Added regex support to sh/dup_*.pl commands
527 2. fixed rcmd in crontab so that will work again
528 13Aug00=======================================================================
529 1. removed extra /60 in AnnTalk to make deduping of announces work a bit
530 better for longer...
531 05Aug00=======================================================================
532 1. Fixed hex character problem put in somewhen in the C Client
533 03Aug00=======================================================================
534 1. caught some more signals (are any of these causing the random stopping
535 of the code?
536 2. the Console now requires 1.05 of the Curses module ^R REFRESHES THE SCREEN
537 (as does ^L) AT LAST!!!!!
538 02Aug00=======================================================================
539 1. put back hex check exception for PC29
540 01Aug00=======================================================================
541 1. made the export and import ascii system work finally. The user_asc file
542 generated (automatically and 0000Z Sunday morning) is autoloading. Just 
543 execute it and it will automatically reload your user database.
544 2. remove import_users.pl no longer necessary
545 31Jul00=======================================================================
546 1. try to fix paging problem.
547 2. added help for spoof and set/forward
548 3. fixed bogus callsign check for field 2 of a PC12
549 4. Add DB_File to DXCommandmode to make it available for commands
550 30Jul00=======================================================================
551 1. Added talk mode so that I don't have to keep typing T <call> all the time.
552 2. fiddled around with storing of Debug messages a bit more.
553 3. bomb proofed the type command.
554 4. started the objectifying for talk, dx and announcements.
555 5. fix talkmode so that it only does 'via' PC10s when it really needs to.
556 6. SEND now displays a message if you try to do it in not prompt mode.
557 7. stopped a few more things being done by rcmd (eg send, talk, ann, dx)
558 8. tidied up the talking a bit more.
559 9. Increase default hop counts all round.
560 10. Adjust hex encoding so that 8 bit characters should now go thru
561 11. check more of the essential protocol fields for 8 bit characters.
562 29Jul00=======================================================================
563 1. added forward/latlong which will forward ALL the users that have a latitude
564 and longitude set on them to one or more locally connected nodes - with a hop
565 count of 1.
566 2. speeded up the show/node command by using the DB_File interface and 
567 sequentially reading the data directly and only 'get'ting the ones that are
568 nodes.
569 3. did the same for show/isolate and show/lockout.
570 28Jul00=======================================================================
571 1. fixed watchdbg midnight rollover loop and removed the date part of the 
572 date/time translation to leave just the time.
573 27Jul00=======================================================================
574 1. made sure that 'en' is the default language on new users.
575 2. issue error message if shutdown is attempted by a low privileged user.
576 3. Make sure a privilege is defined for all users (even if it is 0).
577 4. Try to fix some more dups (and the time on them).
578 5. make the time stored on dups generated locally on spots an integer no of 
579 minutes * 60 
580 6. send unsolicited PC[38]5s to the sysop if online.
581 7. merged current html from www.dxcluster.org with Ian's stuff
582 8. Added sgml files into the source tree
583 9. changed default paclen in client.c to 236
584 26Jul00=======================================================================
585 1. added wantgrid (to control display of grid square info on DX Broadcasts)
586 2. added lastoper for controlling periodic demands for user info from other
587 nodes.
588 3. added spiderFAQ stuff from Ian G0VGS and latest update of the admin manual
589 4. changed updating and deleting from user file in an attempt to keep down
590 duplicates and possibly corruptions.
591 5. added a DXUser::export routine to allow the cluster to automatically 
592 export the user data in ascii from cron.
593 6. added a line in the ISSUED crontab to do the export once a week
594 7. delete annok and dxok if set to 1 in user records.
595 8. added export_users command to allow arbitary exporting of user files
596 9. added set and unset/dxgrid command to allow control over the grid squares 
597 on DX announcements
598 10. Removed export_user.pl (no longer needed)
599 11. made import_users.pl accept a non related input filename and always
600 update the current user file.
601 12. added an 'auto rcmd <node> for/oper <call>' for people I can see on the
602 cluster that issue spots and for whom I have no qra info (no more than once
603 a month). This isn't the default - set $send_opernam in
604 /spider/local/DXProtVars.pm (copied from /spider/perl). Good for gateways.
605 13. Despace spot texts properly again for deduping purposes.
606 14. Corrected Pc84/85 handling a bit.
607 15. Sync the user database every 15 secs to see whether we can reduce the 
608 corruptions and duplicates.
609 25Jul00=======================================================================
610 1. ignore \n in ax25 mode for C client.
611 2. remove extra space at the end of a DX spot announce when no grid square
612 is output.
613 3. added new admin manual from Ian G0VGS
614 20Jul00=======================================================================
615 1. Finally managed to update my source with the sourceforge one
616 2. added user->qra cleaning in various places
617 3. added four digit locator strings to broadcast DX spots (for users).
618 4. PC11 with blank callsigns should now be ignored.
619 5. put back the unpadding to the PC11 dup checking to catch spots with added
620 blanks at the end of lines.
621 25Jun00=======================================================================
622 1. added 0 to the regex that checks for valid data on the cluster.pl->client
623 channel - this will allow G0VGS and G0RDI to connect....
624 2. removed technically unnecessary /= 60 from the dup routines to see if 
625 Arnold's Sparcs don't then crash.
626 19Jun00=======================================================================
627 1. move ann_dup, spot_dup etc to dup_ann, dup_spots etc
628 2. made mode 3 the default line ending convention for all out going connects
629 via telnet in client.pl
630 18Jun00=======================================================================
631 1. fixed line ending ambiguities (I think) for telnet connections. Well 
632 actually only really band aided it. It works but isn't how I want it. 
633 Client.pl has got to go....
634 2. Added 1.21 of Ian G0VGS's admin manual
635 17Jun00=======================================================================
636 1. I believe I have fixed all the login/logout 'broken pipe' errors
637 2. Added G0RDI's 'links' command.
638 3. added update_sysop.pl which cleans out all previous versions of the sysops
639 information from the user database and recreates it with that in DXVars.pm
640 4. Added node type to links and who
641 5. Hardened up the cluster->client link in the cluster software so that 
642 rubbish on port 27754 doesn't (usually) crash the cluster.
643 14Jun00=======================================================================
644 1. fixed sh/node crash
645 2. fixed RTT in who.pl
646 13Jun00=======================================================================
647 1. fixed looping bug in C client on ending.
648 12Jun00=======================================================================
649 1. Added RCMD for clx
650 2. Added WCY processing
651 3. Added new node types (clx, spider, dxnet, arcluster)
652 4. Store echo settings
653 5. Store pagelth settings
654 6. sort out source of DXVars for callbot.pl
655 7. added sh/isolate
656 8. added sh/lockout 
657 11Jun00=======================================================================
658 1. removed extraneous DXDebug from DXUtil
659 2. added help for set/echo
660 3. Centralised all spot, wwv and ann dup handling into respective packages.
661 4. Created new AnnTalk package (for above and OOing announce and talk 
662 handling).
663 5. Fixed problem with outputting lines with | in them to console.pl.
664 10Jun00=======================================================================
665 1. got rid of some more nasty bugs in sh/qra.
666 2. fixed 9A3xx to always be Croatia (and not Haiti!).
667 09Jun00=======================================================================
668 1. change some print commands in DXMsg to dbg('err'...
669 2. overloaded confess, croak et al into DXDebug and removed Carp from 
670 everywhere and checked that the necessary debugging really does go into
671 the debug files now.
672 3. changed print statements in cluster.pl to dbg('err',... so they go into
673 the debug files as well.
674 4. Altered the logic around duplicate spots, reduced the length of comment
675 checked to 20 characters (this should solve some problems including those
676 people sucking ar-cluster spots with prefixes in the extreme rh end). 
677 08Jun00=======================================================================
678 1. fixed problem with binary characters from cluster->client
679 2. added set/echo and unset/echo commands
680 3. echo login characters on login: prompt for C client
681 4. Send \r\n on telnet connections for C Client
682 5. Make echoing the default option (for M$ telnet clients :-()
683 11May00=======================================================================
684 1. fixed looping in Msg.pm (at last)
685 10May00=======================================================================
686 1. wrote a cross between 'tail -f' and grepdbg so that you can watch the
687 debug files for particular strings and only have them print out. 
688 05May00=======================================================================
689 1. rewrote parts of Msg.pm and client.c so that the messages no longer use
690 a length word at the front of each one. They are simply strings of characters
691 separated by a \n. No binary characters are allowed (they are encoded as %nn)
692 a la HTTP. This hopefully cures Arnold's problem and also make it more
693 secure anyway. It also paves the way for the ax25/ip multicast client.
694 30Apr00=======================================================================
695 1. put some extra checks and balances in to message send routine in Msg.pm to
696 see if I can prevent the error seen by Arnold (which I think is only likely to
697 appear in heavily loaded sites).
698 25Apr00=======================================================================
699 1. Changed reply so that you can reply to more than one address privately
700 31Mar00=======================================================================
701 1. fixed nnn-mmm in kill (erase/delete) msgs so that mmm is also deleted and
702 not just nnn -> mmm-1.
703 2. Added an autosplit to message importing so that messages are split
704 automagically into bits if the filename used in the import directory starts
705 with "split". This will add a [1/5] type string on the the end of the subject. 
706 3. dedupe more aggressively on the text of Spots so that only the 1st 27 chars
707 of text are considered (as opposed to the whole lot).
708 30Mar00=======================================================================
709 1. altered client.pl connect code so that it doesn't falsely recognise 
710 /spider/src/client as a 'client' instruction.
711 28Mar00=======================================================================
712 1. Added buffering to client 
713 2. Fixed LOGIN so that you can login with an arbitrary callsign
714 27Mar00=======================================================================
715 1. updated wpxloc.raw and rsgb.cty for 4W and TX0.
716 2. display 'start time' rather than 'last start time in' in who.
717 3. Allow local users to see their own sh/talk or sh/log stuff.
718 4. A more robust version of the C client.
719 5. Added a message exporting command 'export'.
720 6. allow swopping on all messages, including imported and manually sent ones
721 7. S A < B @ C $BID now works from the command line and thus bbses ought to
722 be able to send messages into the cluster. Bids are (currently) ignored.
723 26Mar00=======================================================================
724 1. first cut of C client
725 18Mar00=======================================================================
726 1. fixed convkeps.pl so that it accepts more formats for floating point.
727 08Mar00=======================================================================
728 1. tidied up Sun.pm and sh/sat
729 2. fixed sh/qra so that the correct lat/long is displayed if only one locator
730 is given.
731 10Jan00=======================================================================
732 1. added Steve Franke's new Sun.pm and show/satellite command
733 08Jan00=======================================================================
734 1. really removed the restriction on 0 length messages.
735 2. added a periodic msg file import system a la FBB. Stick one or more files
736 into /spider/msg/import with a suitable SEND line, subject and the text and 
737 it will import it. The importer will accept some BBS syntax (eg < GB7TLH) to
738 allow you to customise the 'from' callsign.
739 03Jan00=======================================================================
740 1. changed the copyright statement in sh/version!
741 2. added sh/date with special "be compatible with ak1a" syntax for the output
742 of sh/date with no arguments, otherwise the same as sh/time. A special favour
743 to G4PDQ...
744 3. and another one, added show/node especially for G4PDQ.
745 01Jan00=======================================================================
746 1. Fixed Julian routines to get rid of the millenium bug! (do as I say, not
747 as I do!).
748 2. updated gdx.pl so that external programs can do a sh/dx just as a normal
749 user can. On reflection this could be used as a model for all sorts of 
750 "external" interface routines.
751 3. renamed gdx.pl as showdx.
752 11Dec99=======================================================================
753 1. added missing pc48 so that it calls the DXDb::process routine 
754 10Dec99=======================================================================
755 1. allow msgs to marked as read or unread
756 02Dec99=======================================================================
757 1. DX command doesn't recognise '6M' as '6m' in SH/DX ON 6M.
758 2. set/node now sets the homenode as the callsign.
759 3. changed the label for the 18Mhz band from '18m' to '17m' in the bands 
760 table. 
761 01Dec99=======================================================================
762 1. started the callbot which lives at n2tly.dxcluster.net 9000.
763 2. added www.qrz.com
764 3. added www.buck.com
765 4. added k4ute at no4j.com
766 28Nov99=======================================================================
767 1. fixed all the stupid errors introduced in 1.36 confusing DXUser->get with
768 DXCluster->get_exact.
769 24Nov99=======================================================================
770 1. extended badmsg.pl stuff so that it works like the forward file and allows
771 one to reject on to, from, origin and subject fields.
772 2. added a swop.pl again in a forward.pl like format that allows simple swop
773 for a field or test on a field and set another.
774 3. Fixed the problem that read private mail follows you around as well as
775 unread private mail does.
776 4. Change the logic of connections so that the node will accept callsigns with
777 SSIDs to -8 as different entities from each other. SSIDs > 8 are subtracted 
778 from 15 and are assumed to be coming in via netrom diddled connections. This
779 affects lots of the commands as well. I may not have got them all.
780 5. Hangup clients on HUP signals. I originally ignored them, for reasons that
781 are now lost in the mists of time. HUP signals now cause clients to die 
782 (cleanly) and disconnect everything correctly.
783 6. Added show/time command
784 21Nov99=======================================================================
785 1. lose extraneous rubbish after the callsign as sent by BBSes.
786 2. Change end label on sh/moon to RGain dB rather than Loss dB.
787 3. Remove spurious call to DXCluster->get_exact in pc50.
788 4. Allow rcmd to locally connected nodes that are not (for some reason) in the
789 nodes table.
790 5. Try and send a PC39 in more cases to a cluster that I want to disconnect
791 from in the hope that it notices and disconnects its end.
792 20Nov99=======================================================================
793 1. Added set/unset logininfo which will tell anybody that has this set when
794 someone has either logged in or out of this node.
795 2. Added set/pinginterval command which alters the length of time between
796 pings sent to nodes, the value is minutes < 120 and seconds above that, 0
797 means disable pinging (not recommended).
798 3. If someone does a sysop whilst connected via ax25, don't show privilege
799 level or passwd in stat/user.
800 4. Fixed the problem with the dx command where if the callsign ended in a ?
801 then the call and the freq would be replicated in the remarks.
802 5. Set/unset ann, dx, talk, beep, wx, wwv all are now permanent (ie stored in
803 the user file)
804 19Nov99=======================================================================
805 1. Added new version of sh/sun and also sh/moon from Steve K9AN
806 2. Added rtt to who.
807 3. added Aliase for show/tnc_sta to who.
808 4. added Alias for show/uptime to sh/cl 
809 18Nov99=======================================================================
810 1. Added ping obs counter together with Time::HiRes timers. This will dis-
811 connect nodes that fail to respond to 3 ping requests (on the 4th attempt). 
812 The default time is a ping every 3 mins, therefore a link will be struck out
813 after 12 minutes of nil response.
814 2. Maintain a table of outstanding connects to other nodes and prevent over-
815 laps (special favour to G0RDI).
816 17Nov99=======================================================================
817 1. Started using Data::Dumper for things again
818 2. 'Fixed' DXUser file corruption?
819 3. Allow multiline (ie lines with \n in them) output in $DXChannel::send 
820 4. Added Andrew K9CW's updated wpxloc.raw, regenerated prefix_data.pl
821 5. Put in callsign matching and stuff into sh/sun.
822 14Nov99=======================================================================
823 1. added BBS.pm to start BBS input of mail
824 2. fixed eval in DXUser to log errors rather than banging out
825 12Nov99=======================================================================
826 1. added sh/sun command kindly supplied by Steve K9AN.
827 2. allow ^Z on its own on a line to terminate a message
828 08Nov99=======================================================================
829 1. added spoofing (mk1 version) for sysops, useful for those little jobs like
830 reseting a user's qra locator and such like "spoof g7brn set/qra jo02lq".
831 2. fixed set/location so it stores the qra locator in the qra locator slot, 
832 NOT the lat/long (who wrote this stuff...?).
833 07Nov99=======================================================================
834 1. reduced the amount of stuff compared against for dup announces.
835 2. Check the regex for DK0WCY announces produces results before storing it as
836 a WWV.
837 3. Added some logging for set/priv (un)set/lockout.
838 4. Added test long path calc to sh/muf
839 5. Only wonder down the msg queue every minute
840 6. Put in the initial DB code (at last), you can create and remove local and
841 standard remote dbs, you can import AK1A style .FUL ascii databases, you can
842 enquire on a local or remote database.
843 7. A return ping to a node will clear down all outstanding pings to
844 that node (which might cause some confusion if more then one ping is
845 outstanding for a node, but then - shit happens).
846 04Nov99=======================================================================
847 1. Removed ~ from the end of the PC18.
848 2. Removed a hangover from duff character checking in cluster.pl
849 3. Stop PC frames that are to be routed, being routed back to themselves.
850 03Nov99=======================================================================
851 1. Simplified command caching so it uses anonymous subroutines, you should
852 also get error messages back on the console now when developing.
853 2. Allow locally connected AK1A clusters that for some obscure reason don't
854 issue PC19s to still appear as connected and allow them to acquire users.
855 31Oct99=======================================================================
856 1. updated Minimuf.pm and show/muf.pl to the fixed versions sent to me by
857 Steve Franke K9AN. 
858 2. Made set/badnodes work, added show/badnodes. This is an interim fix until
859 input spot filtering works.
860 24Oct99=======================================================================
861 1. fixed announces so that nodes only get one of them (not two).
862 2. Altered the select timeouts to prevent apparent excessive CPU usage on
863 multiprocessor machines (or at least that is what seems to be the trouble
864 here). 
865 22Oct99=======================================================================
866 1. allow filter CALLSIGNS to be in upper or lower case.
867 2. create the concept of input and output filters, input filters are of the 
868 form "in_$call.pl" eg: "in_g1tlh.pl" (or "in_G1TLH.pl"), output filters are 
869 "g1tlh.pl" (or "G1TLH.pl").
870 3. all users can now filter on spots, ann and wwv (assuming the sysop has set
871 the filters up - still no user creatable filters. Nodes can filter on both
872 input for announces and output for all of these. I would recommend setting 
873 up a few filters that are likely to be wanted and then symlinking callsigns
874 to them as you get requests.
875 4. added callsign and length of history/position of screen stats to console.
876 If you want to change the colour of the callsign you will need to copy the
877 Console.pm to your /spider/local directory and change the $mycallcolor equate.
878 21Oct99=======================================================================
879 1. fixed reply so that reply b or reply nop generate a bulletin with the 
880 correct address.
881 2. implemented sh/muf command.
882 3. reduced privilege of catchup and uncatchup to 5. This so that, suitably
883 privileged, nodes that occasionally link can rcmd a "catchup <nodecall> all"
884 to the node they are connecting to and thus prevent a large tranche of, 
885 potentially duplicate, mail. This isn't an issue for DXSpider, but may be
886 an issue for any AK1A clusters you are connected to.
887 20Oct99=======================================================================
888 1. Translated all the subroutines of minimuf into perl as Minimuf.pm
889 2. Limited the length of an ANN that is saved for de-duping to $pc12_dup_lth
890 (def 72)
891 3. help command should now return stuff that you expect.
892 4. reduced necessary privilege to use 'MSG' command to 6.
893 5. Correct the count of spots and wwv for a merge.
894 6. Allow decodes of DK0WCY-3 WWV data beacon announces
895 7. rewrote send so that an SB doesn't send a buckshee bull to NOPRIVATE!
896 8. Changed default colouration on console so that all spots >= 50Mhz are red
897 9. Fixed init command so that PC21s are sent down non-initted channels
898 10. Allow forwarding of unknown private mail. This means that you can set up
899 forwarding of 'foreign' mail across to and by gateways using the same 
900 mechanism as bulletins (/spider/msg/forward.pl).
901 11. Allow line wrapping on the console (G0RDI, G0VGS et al).
902 18Oct99=======================================================================
903 1. changed help command so that it works correctly with multiple title lines.
904 2. added to address to the list of things a message checks to see whether it
905 is a duplicate (how on earth did it take _this_ long to find this one?).
906 3. Changes S CC so that the callsign it says it has sent to is the real one
907 (request from G8TIC)
908 21Sep99=======================================================================
909 1. allow zero messages to be stored (request from G4PDQ)
910 2. make DX more flexible and change spotter syntax to be consistant with
911 sh/dx (request from K9AN)
912 30Aug99=======================================================================
913 1. remove -@ as well as \d from SSIDs for spots
914 2. remove WEB and/or NET from the front or rear of callsigns in Prefix.pm
915 29Aug99=======================================================================
916 1. Added msg command to allow the changing of To, From, Subject and so on the
917 messages. This seems particularly important just now as a whole raft of G3's
918 seem to be putting out non private bulls to callsigns.
919 2. While I am at set messages to TO fields that appear to be users to private
920 if they have been sent as bulls.
921 3. Add DISTROs, if a callsign field appears in /spider/msg/distro in upper
922 use that as a list of callsigns to send further. Note this is potentially
923 recursive as callsigns in a distro can be distros.
924 25Aug99=======================================================================
925 1. check the date of a WWV much more carefully.
926 24Aug99=======================================================================
927 1. Prevented spots with lowercase callsigns being forwarded. This opens a
928 much bigger can of worms which I shall have to address later.
929 17Aug99=======================================================================
930 1. all protocol except PC29 containing %XX characters will be dumped.
931 2. Changed console.pl so that if you start typing it moves the top window
932 back to the bottom.
933 19Jul99=======================================================================
934 1. Added iota and qra clauses to sh/dx as well, these take optional arguments
935 and will look for the appropriate strings.
936 17Jul99=======================================================================
937 1. Started database integration.
938 2. added qsl clause to sh/dx that searches for qsl or via in the dx info
939 16Jul99=======================================================================
940 1. drop frames with 'illegal' characters in them (but pass frames with 
941 embedded %XX characters).
942 15Jul99=======================================================================
943 1. Changed grepdbg to accept a regexp. More useful (to me anyway).
944 2. Altered init command so that it doesn't send PC21s down the initted 
945 channel.
946 10Jul99=======================================================================
947 1. added an explicit disconnect from my side for already connected calls. This
948 appears to have fixed a problem where if two consoles connect at the same time
949 with the same (sysop?) callsign the cluster would stop.
950 2. added some debugging in the Message handler to allow more state to be seen.
951 3. Message handler now seems to work better for longer and doesn't spew out
952 PC42 aborts with quite such gay abandon.
953 05Jul99=======================================================================
954 1. added stat/msg and stat/cluster commands to allow me to poke about inside
955 the msg and cluster node tables.
956 04Jul99=======================================================================
957 1. removed silly 'new message has arrived' to connected nodes 
958 2. added a ! command to the console.pl program; works like the bash shell.
959 01Jul99=======================================================================
960 1. Altered priv to 5 for connect.pl to match disconnect for nodes
961 29Jun99=======================================================================
962 1. fixed merge command that I broke.
963 2. added some randomness in waittimes for aborted outgoing messages 
964 3. Message Queuing now only occurs every 5 minutes (configurable if anyone 
965 wants to write the command for doing it) and on receipt of a PC16. This is
966 a further attempt at sorting the crossing of messages!
967 4. a PC33 will cause another attempt at queuing. If you are on a roll, keep
968 going!
969 28Jun99=======================================================================
970 1. console.pl now works with history and editting.
971 2. added scrolling to stuff sent by the cluster.
972 3. added colours to things.
973 27Jun99=======================================================================
974 1. added WWV filtering
975 2. added timeouts to for forwarding Messages, also added a waiting time for
976 failed (stalled) outgoing messages.
977 3. Incoming messages will now have priority over outgoing messages to the
978 same node.
979 4. Added 'catchup' command which will 'catchup' messages to date for a node. 
980 This means that when you start forwarding to a node, it doesn't get all the
981 messages queued up that are probably old.
982 5. added 'uncatchup' which does the opposite of the above.
983 6. fixed kill full and PC49 handling so that it actually works.
984 7. Fixed local aliases so they add to the front of the standard ones. This
985 means you only need to add your specials or override the system ones you need
986 to.
987 21Jun99=======================================================================
988 1. changed regex for cluster->client msgs so that strings like |---| are no
989 longer ignored.
990 20Jun99=======================================================================
991 1. prevented a merge to myself (causes a loop)
992 18Jun99=======================================================================
993 1. fixed a problem with DXLogPrint repeating log entries.
994 2. altered the permissions on disconnnect so that priv 5 users can disconnect
995 clusters, but still require priv 8 to disconnect users.
996 3. made sure that an incoming PC18 clears out all the cluster info for
997 that channel before re-initialising.
998 4. add init command.
999 5. disconnect users before nodess on shutdown
1000 15Jun99=======================================================================
1001 1. added grepdbg program (so you can search your debug files and get times
1002 and dates of incidents).
1003 2. Moved DXVars.pm to DXVars.pm.issue to force new users to cp it to their
1004 local directory.
1005 3. added $allowzero to DXProt to allow thru PC19s with zero protocol versions.
1006 14Jun99=======================================================================
1007 1. changed IO::File in help and apropos to IO::File
1008 2. added a check for isa('DXNode') for PC50s
1009 08Jun99=======================================================================
1010 1. Started work on the curses based operator console.
1011 03Jun99=======================================================================
1012 1. cluster seems to have a memory leak, put DESTROY functions in where 
1013 appropriate.
1014 2. try to make sure that PC21 commands are not issued inappropriately and
1015 also reformat PC19 for onward broadcast so that nodes coming in on loops are
1016 dropped from those broadcasts.
1017 3. make sure PC16,17,19,21 doen't affect locally connected nodes.
1018 4. Changed all instances of FileHandle to IO::File.
1019 01Jun99=======================================================================
1020 1. removed a output of an unwanted pc21 for isolated nodes
1021 31May99=======================================================================
1022 1. Added checking for PC16,17,19 and 21 to make sure that they come in from
1023 the channels that they are supposed to.
1024 2. Pass the RCMDing node's priv level to the command (rather than the 
1025 connecting node's privilege level).
1026 3. Pass thru merge requests for other nodes.
1027 4. Removed a warning from client.pl
1028 5. routed external DB commands and drop them (for now) locally
1029 6. routed external mail commands (ie those addressed elsewhere)
1030 7. routed external PC26/27 lines 
1031 25May99=======================================================================
1032 1. try to make the lastin value correct even for local users
1033 2. got rid of the stupid bug that failed to print out the offline message
1034 but put a "*main::STDOUTmain" for every line of that message instead.
1035 3. Ported to 5.00503 (well actually just installed it and it just runs). 
1036 4. Added who command
1037 23May99=======================================================================
1038 1. Got rid of some of the useless error messages on global destruction when
1039 quiting a program.
1040 2. Stuck -w back on client.pl
1041 23May99=======================================================================
1042 1. tried to change connection to raw mode for cluster connections
1043 2. sh/c and sh/u are now sorted in alphabetical order
1044 3. Limited the number of queued dx spots when composing messages to 20 (the 
1045 oldest one is lost for every one added above 20).
1046 4. Added generalised shell globbing everywhere I think it is useful, including
1047 sh/dx, dir, sh/files etc
1048 5. Made dir more compatible with ak1a and added 'to' and 'from' call searching
1049 it should now do everything that ak1a does except counts.
1050 6. added similar functionality to kill command so that you can kill ranges, to
1051 and from callsigns etc.
1052 22May99=======================================================================
1053 1. added check for -1 from Date::Parse and return undef for out of range dates
1054 2. added show/files and type commands
1055 21May99=======================================================================
1056 1. made set/nodx work again.
1057 2. made dx stuff queue nicely again when sending messages.
1058 18May99=======================================================================
1059 1. Added announce dup checking.
1060 2. Added system announce filtering.
1061 08May99=======================================================================
1062 1. Added a bit more checking to the rcmd thing to make more sure that this
1063 rcmd isn't coming from an imposter. Not possible to prevent everything 
1064 ofcourse, just make it a bit harder.
1065 2. altered set/lockout and set/privilege so that they can't executed remotely.
1066 3. Added some code to reject rubbish (with invalid binary characters) protocol
1067 or user lines as input.
1068 4. prevented PC command being executed remotely :-)
1069 05May99=======================================================================
1070 1. change the connection overlap from an abort to a disconnect.
1071 02May99=======================================================================
1072 1. Added the mechanism for doing user spot filtering for spots in the cluster 
1073 (no user control just yet - but sysops can do it).
1074 2. Fixed problem with nodes sending out the node lists of isolated nodes.
1075 30Apr99=======================================================================
1076 1. Try to make it even more AK1A friendly by putting the node list out in the
1077 'correct' order.
1078 2. added code so that local users and commands go to all connected nodes 
1079 INCLUDING the isolated ones.
1080 26Apr99=======================================================================
1081 1. added set/user command as a hack, please use this with care, there is
1082 very little checking.
1083 2. added export_opernam.pl which is a basic reader of AK1A opernam.dat files
1084 to stdout
1085 25Apr99=======================================================================
1086 1. Fixed problem with filtered spots not coming out.
1087 2. Added the possibility of filtering on channel callsign
1088 20Apr99=======================================================================
1089 1. altered order of undefing and closing of user file in an attempt to make 
1090 corruptions/missing users less likely.
1091 2. made messages that are addressed to the node call appear to the alias call
1092 3. check dates much more rigourously.
1093 4. ignore SIGTERM and SIGINT during shutdown of the cluster
1094 15Mar99=======================================================================
1095 1. added $actiondata to filter line to allow per action data such as no of hops
1096 2. fixed a silly problem in talk for non-existant callsigns
1097 3. Added sysop command
1098 02Mar99========================================================================
1099 1. Changed DXUser so that it uses a homemade import/export hash routine 
1100 2. DXUser now uses a DB_BTREE file
1101 3. Added export_users.pl, import_users.pl and convert_users.pl
1102 25Feb99========================================================================
1103 1. added NL language stuff.
1104 2. added set/language
1105 21Feb99========================================================================
1106 1. Allowed multiple 'on <freq>' for show/dx
1107 2. Made sure the 'on 20m/ssb' thing worked (also 'on hf/cw').
1108 3. first cut of the Filtering code, no user commands yet but the file
1109 format is defined and manually added filters should work for spots
1110 17Feb99========================================================================
1111 1. added export_user.pl to export user files (for interest and safety)
1112 2. changed DXUser::init to allow O_RDONLY access which may limit the number
1113 of coredumps G0RDI seems to get.
1114 15Feb99========================================================================
1115 1. Added msg forwarding code which uses $main::root/msg/forward.pl.
1116 14Feb99========================================================================
1117 1. Changed A & K in WWV to be the other way around (I am told by G3IOR that
1118 this will mean that we won't have pole to pole aurora nor all the power lines
1119 overloading everywhere as well as a result of having values of K > 10).
1120 2. allow the '~' character in message bodies.
1121 3. Moved $main::data/badmsg.pl to $main::root/msg/badmsg.pl.
1122 11Feb99========================================================================
1123 1. Fixed a problem with isolated nodes' configurations being sent on sending 
1124 local configs to new connections.
1125 08Feb99========================================================================
1126 1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes 
1127 off which means that the netrom/ax25 call programs terminate properly (and not
1128 loop as fast as their little legs can paddle, soaking up CPU time).
1129 2. Implemented read receipts as an especial request from G4PDQ.
1130 3. Fiddled with DXUser a bit to see whether I can stop it core dumping on new
1131 users in PC16s on G0RDI's machine.
1132 4. Added E4 (Palestine) to Prefix data.
1133 30Jan99========================================================================
1134 1. Some of the dates we get can cause crashes, tried to make it more robust (oh
1135 and Y2K compliant)
1136 2. PC16 seem to come in with missing callsigns from somewhere
1137 3. added $main::data/baddx.pl which prevents callsigns that are in the list being
1138 a) forwarded b) stored and c) (except for the originator, if local) being
1139 displayed locally.
1140 4. added $main::data/badmsg.pl which deletes any messages whose TO address is
1141 in this list (this is largely for european sensibilities). 
1142 18Jan99========================================================================
1143 1. added present(),presentish() and disconnect() to DXCron so that you can see 
1144 (easily) if a station is on the cluster anywhere and also disconnect them
1145 locally. 
1146 2. added rcmd() to DXCron so you can send an rcmd to someone else from crontab.
1147 3. <embarrassment>Fixed create_sysop.pl so that longitude is spelt correctly
1148 there as well</embarrassment> made the update work properly. NOTE create_sysop
1149 will only do what you expect if all cluster.pl and client.pl programs are 
1150 stopped.
1151 4. DXCron wasn't reading in reliably on startup, this is now (hopefully) fixed.
1152 the -M semantics are rather strange!
1153 5. The -w switch is now standard on cluster.pl
1154 6. Added last_connect() which gives the last connect time of a user (or now
1155 if connected).
1156 7. Added present_on(call, node) and presentish_on(ditto) which returns true if 
1157 the call is connected to the node.
1158 8. incoming messages for users will now send a 'new message' message (instead
1159 of merely generating the message)[who wrote this rubbish?].
1160 9. Hooked $SIG{__WARN__} and $SIG{__DIE__} so we store these nasty error 
1161 messages.
1162 10. Print the no of users on restricted protocol links if we have had PC50
1163 11. Had a go at making the sh/cl stats more accurate.
1164 12. PC11 was trying to call Local::spot1 instead of Local::spot, no warning 
1165 previously.
1166 13. Added a simple lockfile to prevent more than one cluster running at a time
1167 17Jan99========================================================================
1168 1. fixed some permission problems on DXLog.
1169 2. There is a circumstance in DXMsg which caused the cluster to stop on an 
1170 null ref pointer which I can't get to the bottom of but have bandaided out 
1171 for now.
1172 3. Started filter and Database code.
1173 4. Upper cased all the TO callsigns for sending to more than one station in
1174 messages.
1175 07Jan99========================================================================
1176 1. Fixed Geomag after emacs reformatted it wrong so sh/wwv works again.
1177 2. Added more range checking in WWV spots (they really are a heap of ...)
1178 3. Changed create_sysop.pl so that you can update as well as create the user 
1179 file
1180 4. Remove spotter's SSID from WWV spots
1181 06Jan99========================================================================
1182 1. Do some range checking for spots and WWV in the future (got a WWV for Oct 
1183 2034 whhich caused a bit of confusion!)
1184 2. Make WWV spots broadcast them to the users! (as opposed to merely storing 
1185 them)(thank you G0RDI).
1186 3. Allow users to do show/announce (thank you JE1SGH).
1187 4. Delay broadcasts to users if they are not in a 'prompt' state (means you can
1188 add messages and see what you are doing on a busy system)
1189 5. Made set/unset dx,ann,wx,talk,wwv do what is expected
1190 6. added set/sys_location and set/set_qra to set the cluster lat/long and qra
1191 7. New messages will now be announced on logon (if there are any)
1192 03Jan99========================================================================
1193 1. Upped the version no !!!!
1194 2. made the DXProtocol routines much less sensitive to '~' characters (JE1SGH)
1195 3. added '^' -> ':' conversions on ann, talk and dx commands
1196 4. You can now send messages containing blank lines.
1197 5. Fixed merge command problem reported by G0RDI
1198 28Dec98========================================================================
1199 1. Crossed fingers, got rid of the instabilities caused by execing programs
1200 at vast speed (reduced it significantly anyway).
1201 2. Personals will now move if homenode is known.
1202 3. Added Local.pm for doing local specials
1203 27Dec98========================================================================
1204 1. Various detail changes to remove some more warning with -w on
1205 2. Added DXCron handling - you can do crontabs now.
1206 3. Added show/program command so you can see where it is loading your .pm files
1207 from.
1208 4. Added pc26/27 replies to locally connected cluster's merge (pc25) requests
1209 5. Added spotters DXCC and original cluster to Spot data files.
1210 23Dec98========================================================================
1211 1. Reindented various things
1212 2. Added missing $main::mycall on the end of outgoing PC11s (!)
1213 3. Check that PC16/17 node calls really are nodes (AFAIAC).
1214 22Dec98========================================================================
1215 1. Added brackets round callsign if not here for prompt
1216 2. Added Iain's set/password routine
1217 3. Fixed sh/dx problems (the xemacs indent region messed Spot.pm up!)
1218 4. Issued 1.15
1219 21Dec98============= late! ====================================================
1220 1. fixed problem with missing DXDebug in DXProt.
1221 2. Fixed DXDebug so that it actually works as advertised with and without 
1222 trailing \n. 
1223 3. Added deduping of WWV spots as well (at for date,time,sfi,k and i) dups
1224 4. Replaced the 0 in "02-Dec-1998" with ' ' so it reads " 2-Dec-1998", it seems
1225 hard to credit it but some 'programs' out there that connect to clusters have
1226 problems with the leading '0'!
1227 5. In the same vain, included a strictly AK1A compatible sh/heading, apparently
1228 this is necessary for the same reason as 4.
1229 6. Started contrib tree stored the old show/heading in contrib/g0rdi/show.
1230 7. Because I now correctly dedupe spots and wwv (there's a hostage to fortune..)
1231 I have added a merge command. 
1232 21Dec98========================================================================
1233 1. Added "issue" to the client program for 'login' connections
1234 2. Added more docs for client program.
1235 3. Fixed problem introduced in 1.12 where a connect locally with a callsign of
1236 someone connected remotely would stop the cluster.
1237 4. issue release 1.13
1238 20Dec98========================================================================
1239 1. Removed all the warnings I get with perl -w (at least for just starting the
1240 cluster and running a few commands).
1241 2. Added per node hop control.
1242 3. Added some docs on how to use it and isolation
1243 4. Made talk command more intelligent in that if the user isn't seen and the
1244 user's last node is visible it tries the talk anyway.
1245 19Dec98========================================================================
1246 1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
1247 also made what G0RDI wanted work as well!
1248 2. Added isolate flag to allow isolation of different networks at a gateway.
1249 3. Changed make Makefile.PL to perl Makefile.PL in instructions
1250 4. Copied latest instructions to html directory
1251 5. Had another attempt at making clients disconnect without hanging everytime.
1252 6. Changed msg queuing semantics so that the system routes on exact callsign.
1253 7. Changed the protocol version so that it increments with the DXSpider version.
1254 14Dec98========================================================================
1255 1. Made the telnet thing work a bit better. It still will not work reliably to
1256 a real telnetd on port 23.
1257 2. Allowed network logins on client by specifying login instead of call.
1258 3. made msg handling more robust (PC30 with unknown streams cause PC42), queueing
1259 is only done on channels that are in state 'normal'.
1260 4. Added pc command which takes a callsign and some text and sends it without
1261 mods to the callsign, useful for sending manual PC protocol to unstick things.
1262 Also for sending anonymous messages to online users.
1263 5. Stopped duplicate messages being stored (it receives them and then bins them)
1264 6. Implemented PC49 delete/full from outside (kill full on the inside)
1265 7. Implemented the client command in connect scripts so that you can have 
1266 different scripts for the same callsign.
1267 8. Added sh/wwv command
1268 13Dec98========================================================================
1269 1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
1270 2. Sorted out last in times for remote users
1271 3. editted and substitued G0RDI's version of the install instructions over
1272 mine in spider/html
1273 4. fixed telnet connections
1274 5. added connect instructions to html tree.
1275 6. Added some more help
1276 7. Upissued version
1277 12Dec98========================================================================
1278 1. Incorporated sh/st, (un)set/lockout, forward/opername from Iain G0RDI
1279 2. Added group handling with (un)set/group, show/group. This allows arbitrary
1280 groups to be formed (for ann/<group> for example) and is also used to 'filter' 
1281 spots, announces, wwvs etc into groups of cluster nodes (useful for creating 
1282 disjoint cluster networks)
1283 3. **** CHANGE mylongtitude to mylongitude in DXVars.pm ****
1284 4. Altered QRA locator routines so they work correctly!
1285 5. Fixed all commands that had the wrong mylat(itude) and mylong(itude) names
1286 in.
1287 07Dec98========================================================================
1288 1. Added set/name, set/qra, set/location, set/qth, set/homenode, set/bbs, 
1289 set/email
1290 2. changed the Msg socket close to a shutdown (hopefully more reliable), this 
1291 should stop clients hanging on exit.
1292 3. Added Alias support for help
1293 4. Added lltos and stoll routines to DXBearing
1294 5. Added auto prompting for name, qth, location and homenode if any of these
1295 aren't known.
1296 06Dec98========================================================================
1297 1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
1298 2. Added sh/qra for doing locator distances and bearings
1299 3. Added some stuff to Notes.txt on hints for command writers
1300 4. Changed help system to use just one file per language
1301 5. Started adding more help
1302 6. Fixed 24Mhz band limits
1303 7. Added apropos command and lots of new help text
1304 05Dec98========================================================================
1305 1. Added sh/heading and QRA locator calculation stuff
1306 04Dec98========================================================================
1307 1. Started Changes file
1308 2. Added load/cmd_cache.pl to clear cmd cache shortcuts (use this if cluster.pl
1309 get confused about where it is getting its commands from eg if you have
1310 removed a file from local_cmd 'cos you want to go back to standard one)
1311 3. Fixed bull handling at least to the extent that it stores them and
1312 doesn't mess up the normal directory handling.
1313 4. Fixed the unset/debug command so that it actually does the job!
1314 5. Removed the middle line 'written in perl for unix' from show/version.pl