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