+08Jun00=======================================================================
+1. fixed problem with binary characters from cluster->client
+2. added set/echo and unset/echo commands
+3. echo login characters on login: prompt for C client
+4. Send \r\n on telnet connections for C Client
11May00=======================================================================
1. fixed looping in Msg.pm (at last)
10May00=======================================================================
'^set/nohe', 'unset/here', 'unset/here',
'^set/noan', 'unset/announce', 'unset/announce',
'^set/nodx', 'unset/dx', 'unset/dx',
+ '^set/noe', 'unset/echo', 'unset/echo',
'^set/nota', 'unset/talk', 'unset/talk',
'^set/noww', 'unset/wwv', 'unset/wwv',
'^set/nowx', 'unset/wx', 'unset/wx',
--- /dev/null
+#
+# set echoing
+#
+# Copyright (c) 2000 - Dirk Koopman G1TLH
+#
+# $Id$
+#
+my $self = shift;
+$self->send_now("E", "1");
+return (1, $self->msg('echoon'));
--- /dev/null
+#
+# set echoing
+#
+# Copyright (c) 2000 - Dirk Koopman G1TLH
+#
+# $Id$
+#
+my $self = shift;
+$self->send_now("E", "0");
+return (1, $self->msg('echooff'));
e14 => 'First argument must be numeric and > 0',
e15 => 'invalid qualifier \"$_[0]\"',
e16 => 'File \"$_[0]\" exists',
-
+
+ echoon => 'Echoing enabled',
+ echooff => 'Echoing disabled',
emaile1 => 'Please enter your email address, set/email <your e-mail address>',
emaila => 'Your E-Mail Address is now \"$_[0]\"',
email => 'E-mail address set to: $_[0]',
my ($conn, $msg) = @_;
# prepend length (encoded as network long)
my $len = length($msg);
- $msg =~ s/(\x00-\x2f\x7e-\xff%])/sprintf("%%%02X", ord($1))/eg;
+ $msg =~ s/([\%\x00-\x1f\x7f-\xff])/sprintf("%%%02X", ord($1))/eg;
push (@{$conn->{queue}}, $msg . "\n");
}