Changes to spider-web from OZ1LQH
authorg0vgs <g0vgs>
Tue, 16 Jul 2002 13:51:14 +0000 (13:51 +0000)
committerg0vgs <g0vgs>
Tue, 16 Jul 2002 13:51:14 +0000 (13:51 +0000)
spider-web/README
spider-web/StreamListener.class
spider-web/idleTime.class
spider-web/makefile [deleted file]
spider-web/setDate.class
spider-web/spider.cgi
spider-web/spiderframe.class
spider-web/spiderframe.java

index 6406d43c2f287ef37355a719f54e96a62e11503b..e253db7255daebe31b9f2bff6e8d79ecdcb290fb 100644 (file)
@@ -5,14 +5,18 @@ Completely based on a clx web client written in Java by dl6dbh
 
 The webserver has to run on the same machine as your DxSpider software!
 
 
 The webserver has to run on the same machine as your DxSpider software!
 
+It is assumed that you have Java installed.  You need JDK1.3.1 at least.
+
 Installation instructions (Performed as root):
 
 Put all the files in the spider-web directory into a newly created directory
 under the DocumentRoot of your websever for instance 'client'. In my case
 Installation instructions (Performed as root):
 
 Put all the files in the spider-web directory into a newly created directory
 under the DocumentRoot of your websever for instance 'client'. In my case
-this is:  /var/www/html/client/
+this is:  /home/httpd/html/client/ although ymmv.  For Suse the correct
+path should be /usr/local/httpd/htdocs/client/ for example.
 
 Move spider.cgi to the cgi-bin directory of your webserver, in my case that is
 
 Move spider.cgi to the cgi-bin directory of your webserver, in my case that is
-/var/www/cgi-bin/ 
+/home/httpd/cgi-bin/ although ymmv.  For Suse the correct path should be
+/usr/local/httpd/cgi-bin/ for example.
 
 Change the permissions of the files to ensure they are correct :
 
 
 Change the permissions of the files to ensure they are correct :
 
@@ -32,5 +36,12 @@ $PORT = "8000" ;
 'PORT' is the portnumber that you use to connect to your DxSpider via
 telnet (see Listeners.pm)
 
 'PORT' is the portnumber that you use to connect to your DxSpider via
 telnet (see Listeners.pm)
 
+NOTE: If you can start the console but cannot connect to the cluster from it, 
+then it is possible that the machine you are on cannot resolve the hostname of 
+your cluster machine.  If this is the case, you need to set your hostname 
+manually as above.
+
+You also need to set the $NODECALL variable.  This prints the name of your
+choosing (probably your cluster callsign) on the html page.
 
 You now can connect to Spider-Web via http://yourserver/cgi-bin/spider.cgi
 
 You now can connect to Spider-Web via http://yourserver/cgi-bin/spider.cgi
index 1d906da5975845046c725f9fb6c44a584211a963..a22ce617bec915ec4ed4eb45ed58d79b927c52a1 100644 (file)
Binary files a/spider-web/StreamListener.class and b/spider-web/StreamListener.class differ
index 8c02c145087c0169d12ecd9ceae2cd0c084ba462..e80d18994de4fc9175fc5e4d13bdea7ac890b2bb 100644 (file)
Binary files a/spider-web/idleTime.class and b/spider-web/idleTime.class differ
diff --git a/spider-web/makefile b/spider-web/makefile
deleted file mode 100644 (file)
index 8bd55e3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-all:   compile
-
-
-compile:
-       rm *.class
-       /usr/lib/java/bin/javac spiderclient.java
-
index a264d52faac58fee7d34394e32366f82fe217728..e1a90f0dd6b3eec2eec37b1c1e331d04d7a7aca0 100644 (file)
Binary files a/spider-web/setDate.class and b/spider-web/setDate.class differ
index 8b8763b28159dd393a0f818a2cb3391e9395cbd1..47a61ef32a2386a5368388cfe120ed4ce965f6a2 100755 (executable)
 use Sys::Hostname;
 my $HOSTNAME = hostname();
 
 use Sys::Hostname;
 my $HOSTNAME = hostname();
 
+# Please note that the HOSTNAME MUST be resolvable from the user end. Otherwise the
+# web interface will NOT work.
 # Uncomment and set the hostname manually here if the above fails.
 # $HOSTNAME = "gb7mbc.spoo.org" ;
 $PORT = "8000" ;
 # Uncomment and set the hostname manually here if the above fails.
 # $HOSTNAME = "gb7mbc.spoo.org" ;
 $PORT = "8000" ;
+$NODECALL = "XX0XX" ;
 
 # Send text/html header to the browser.
 print "Content-type: text/html\n\n";
 
 # Send text/html header to the browser.
 print "Content-type: text/html\n\n";
@@ -48,7 +51,7 @@ print <<'EOF';
         <B><BR>Cluster Web - DX Cluster Web Interface.</B><BR>
 EOF
 
         <B><BR>Cluster Web - DX Cluster Web Interface.</B><BR>
 EOF
 
-        print("Welcome to $HOSTNAME<BR>") ;
+        print("Welcome to $NODECALL<BR>") ;
 
 print <<'EOF';
         </FONT>
 
 print <<'EOF';
         </FONT>
index 1a4e11a60c8e8be9c52594e6ae2780721e9366b5..4dd0764d9b20677ec83c57b736c49ee9daabec93 100644 (file)
Binary files a/spider-web/spiderframe.class and b/spider-web/spiderframe.class differ
index 1630f9e7d2f393d988bb33f00207ac6891db4300..947cd0ad9dee8119eafdff1a9bc872688e6f1ca8 100755 (executable)
@@ -44,7 +44,7 @@ menubar.add(commands);
                show = new Menu("Show");
                show.add(new MenuItem("Show Last DX"));
                show.add(new MenuItem("Show Beam Direction"));
                show = new Menu("Show");
                show.add(new MenuItem("Show Last DX"));
                show.add(new MenuItem("Show Beam Direction"));
-                            show.add(new MenuItem("Show wwv"));
+                            show.add(new MenuItem("Show WWV"));
                             show.add(new MenuItem("Search DX"));
                show.add(new MenuItem("Search Address"));
                             show.add(new MenuItem("Search QSL Manager"));
                             show.add(new MenuItem("Search DX"));
                show.add(new MenuItem("Search Address"));
                             show.add(new MenuItem("Search QSL Manager"));
@@ -70,6 +70,8 @@ menubar.add(dxann);
                mailbox = new Menu("Mailbox");
                mailbox.add(new MenuItem("Last 50 Msgs"));
                mailbox.add(new MenuItem("List DX Bulletins"));
                mailbox = new Menu("Mailbox");
                mailbox.add(new MenuItem("Last 50 Msgs"));
                mailbox.add(new MenuItem("List DX Bulletins"));
+               mailbox.add(new MenuItem("New Messages"));
+               mailbox.add(new MenuItem("Own Messages"));
 menubar.add(mailbox); 
 
 
 menubar.add(mailbox); 
 
 
@@ -429,17 +431,17 @@ menubar.add(mailbox);
                        } else if (arg.equals("Bye")) {
                                if (Connected) out.println("bye");
                        } else if (arg.equals("Help")) {
                        } else if (arg.equals("Bye")) {
                                if (Connected) out.println("bye");
                        } else if (arg.equals("Help")) {
-                               if (Connected) out.println("help overview");
+                               if (Connected) out.println("? all");
                        } else if (arg.equals("Show Last DX")) {
                                if (Connected) out.println("sh/dx");
                        } else if (arg.equals("Status")) {
                        } else if (arg.equals("Show Last DX")) {
                                if (Connected) out.println("sh/dx");
                        } else if (arg.equals("Status")) {
-                               if (Connected) out.println("sh/conf");
+                               if (Connected) out.println("sh/c");
                        } else if (arg.equals("Show WWV")) {
                                if (Connected) out.println("sh/wwv");
                        } else if (arg.equals("Show Beam Direction")) {
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/heading " + Prefix );
                        } else if (arg.equals("Show WWV")) {
                                if (Connected) out.println("sh/wwv");
                        } else if (arg.equals("Show Beam Direction")) {
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/heading " + Prefix );
-                       } else if (arg.equals("search DX")) {
+                       } else if (arg.equals("Search DX")) {
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/dx " + Prefix );
                        
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/dx " + Prefix );
                        
@@ -448,19 +450,19 @@ menubar.add(mailbox);
                                if (Connected) out.println ("sh/qsl " + Prefix );
                         
 
                                if (Connected) out.println ("sh/qsl " + Prefix );
                         
 
-                       } else if (arg.equals("search Adress")) {
+                       } else if (arg.equals("Search Address")) {
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/qrz " + Prefix );
                        
 
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/qrz " + Prefix );
                        
 
-                       } else if (arg.equals("search qsl Manager")) {
+                       } else if (arg.equals("Search QSL Manager")) {
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/qsl " + Prefix );
                        
 
                                beam pp = new beam(this, Prefix, OutFont);
                                if (Connected) out.println ("sh/qsl " + Prefix );
                        
 
-                       } else if (arg.equals("search DXCC")) {
+                       } else if (arg.equals("Search DXCC")) {
                                beam pp = new beam(this, Prefix, OutFont);
                                beam pp = new beam(this, Prefix, OutFont);
-                               if (Connected) out.println ("sh/dxcc " + Prefix );
+                               if (Connected) out.println ("sh/pr " + Prefix );
                        
                        // buttom settings
 
                        
                        // buttom settings
 
@@ -479,35 +481,33 @@ menubar.add(mailbox);
                        }
                        else if (arg.equals("Set Locator")) {
                                beam pp = new beam(this, Prefix, OutFont);
                        }
                        else if (arg.equals("Set Locator")) {
                                beam pp = new beam(this, Prefix, OutFont);
-                               if (Connected) out.println ("set/loc " + Prefix );
+                               if (Connected) out.println ("set/qra " + Prefix );
                        
                        
-
                        }
                        else if (arg.equals("Show Personal Settings")) {
                        }
                        else if (arg.equals("Show Personal Settings")) {
-                               if (Connected) out.println ("show/sta " + Call );
+                               if (Connected) out.println ("sh/sta " + Call );
                        
                        
-
                        }
 
                        // dx announce
 
                        else if (arg.equals("DXannounce")) {
                                dxannounce pp = new dxannounce(this, Call2, Freq, Remarks, OutFont);
                        }
 
                        // dx announce
 
                        else if (arg.equals("DXannounce")) {
                                dxannounce pp = new dxannounce(this, Call2, Freq, Remarks, OutFont);
-                               if (Connected) out.println ("dx " + Call2 + " " + Freq + " " + Remarks );
+                               if (Connected) out.println ("dx " + Freq + " " + Call2 + " " + Remarks );
        
                        }
                        // mailbox 
        
                        }
                        // mailbox 
-                        else if (arg.equals("last 50 Msgs")) {
-                               if (Connected) out.println ("dir/50 " );
+                        else if (arg.equals("Last 50 Msgs")) {
+                               if (Connected) out.println ("dir/50" );
                         }
                         }
-                        else if (arg.equals("list DX Bulletins")) {
-                               if (Connected) out.println ("dir/bul " );
+                        else if (arg.equals("List DX Bulletins")) {
+                               if (Connected) out.println ("dir/bul" );
                         }
                         }
-                        else if (arg.equals("new Msgs")) {
-                               if (Connected) out.println ("dir/new " );
+                        else if (arg.equals("New Messages")) {
+                               if (Connected) out.println ("dir/new" );
                         }
                         }
-                        else if (arg.equals("own Msgs")) {
-                               if (Connected) out.println ("dir/own " );
+                        else if (arg.equals("Own Messages")) {
+                               if (Connected) out.println ("dir/own" );
                         }
                                
 
                         }