X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2FNotes.txt;h=c058941bc516b8a655fe174d579e64e2cb1865e1;hb=4c92a7711c41cc7ba1c60d5a49a94db239032ac1;hp=fb3b303ad5c40590101c6cf6ecdec4be28046a0d;hpb=e853e515f070fdf091235fdd7428c760d2b5bb86;p=spider.git diff --git a/cmd/Notes.txt b/cmd/Notes.txt index fb3b303a..c058941b 100644 --- a/cmd/Notes.txt +++ b/cmd/Notes.txt @@ -62,7 +62,9 @@ Programming Notes ($Id$) * The normal privilege levels are:- 0 - user privilege. + 1 - remote user user privilege 5 - sysop privilege. + 8 - maximum recommended remote sysop privilege 9 - console privilege. The sysop privilege is for things that you are prepared for remote @@ -85,23 +87,37 @@ Programming Notes ($Id$) you can have one callsign, you can have several. Interpret your arguments; so for example:- - set/locator jo02lq - sets your own locator to JO02LQ - set/locator g1tlh jo02lq - sets G1TLH's locator (if you are allowed) + set/qra jo02lq - sets your own locator to JO02LQ + set/qra g1tlh jo02lq - sets G1TLH's locator (if you are allowed) or - show/locator - displays your locator (and other info?) - show/locator in92jo - displays the bearing and distance to - IN92JO using your lat/long or locator - show/locator jn56in in92jo - bearing and distance between two - locators - show/locator gb7dxc - bearing and distance to gb7dxc if poss. + show/qra in92jo - displays the bearing and distance to + IN92JO using your lat/long or locator + show/qra jn56in in92jo - bearing and distance between two + locators * It is important that you remember when you have tie hashes using MLDBM et al. If you do a DXUser->get($call) you will get a different (older) thing than the one in $self->$user. This is almost certainly NOT what you want if want to modify a user that is currently connected. +* If you want to debug something, start the cluster.pl up thus:- + + perl -d cluster.pl + dbg> r + + Then you can go into debug mode at anytime by using the command :- + + debug + + or you can put the line:- + + $DB::single = 1; + + in an appropriate place in a command. This will only have an effect + if you are running in perl debug mode. + * Anything you output with a > as the last character is taken to mean that this is a prompt and will not have a \r or \n appended to it. @@ -110,3 +126,6 @@ Programming Notes ($Id$) have a '.hlp' appended to the command name rather than a '.pl'. All in the help file are sent to the user except those starting with a '#' character. + +* PLEASE add your new commands to the Commands_*.hlp file so that + people know about and how to use them!