more specific one.
7. add the blank command which prints nn blank lines (default 1)
4. Fiddle with the lockout mechanism so that set/login g1tlh also locks out
g1tlh-1 -> g1tlh-15 UNLESS one of these is specifically unlocked.
5. Make sh/log only show stuff that sh/ann, sh/talk, sh/rcmd doesn't.
+6. Make the scripts look for user and node_default files if there isn't a
+more specific one.
+7. add the blank command which prints nn blank lines (default 1)
13Sep01=======================================================================
1. did some work on making talk more intelligent and fixed a>b problem.
2. fixed a nasty problem on input when being hit with full buffers of
Search the help database for <string> (it isn't case sensitive), and print
the names of all the commands that may be relevant.
+=== 0^BLANK <nn>^Print nn (default 1) blank lines
+
=== 0^BYE^Exit from the cluster
This will disconnect you from the cluster
--- /dev/null
+#
+# Print n blank lines
+#
+# Copyright (c) 1998 Dirk Koopman G1TLH
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+my ($lines) = $line =~ /^\s*(\d+)/;
+$lines ||= 1;
+my @out;
+push @out, ' ' for (1..$lines);
+return (1, @out);
}
# run a script send the output to the punter
- my $script = new Script(lc $call);
+ my $script = new Script(lc $call) || new Script('user_default');
$script->run($self) if $script;
}
$self->tell_login('loginn');
# run a script send the output to the debug file
- my $script = new Script(lc $call);
+ my $script = new Script(lc $call) || new Script('node_default');
$script->run($self) if $script;
}