added set/page and paging
[spider.git] / cmd / set / page.pl
diff --git a/cmd/set/page.pl b/cmd/set/page.pl
new file mode 100644 (file)
index 0000000..f7dc64d
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# set the page length for this invocation of the client
+#
+# Copyright (c) 1998 - Dirk Koopman G1TLH
+#
+# $Id$
+#
+my $self = shift;
+my $l = shift;
+$l = 20 if $l = 0;
+$l = 10 if $l < 10;
+$self->pagelth($l);
+return (1);