X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FExtMsg.pm;h=81b9a1bc33b727798573dc91291e7492b2a33592;hb=b0375778a3330147c3cee881856f9328a8541966;hp=5b38fa677e43673233c7cc8ec5e7423bb6e0c03f;hpb=1e4ce74662bfda254dea9b2dcd44bc5cb22d45ab;p=spider.git diff --git a/perl/ExtMsg.pm b/perl/ExtMsg.pm index 5b38fa67..81b9a1bc 100644 --- a/perl/ExtMsg.pm +++ b/perl/ExtMsg.pm @@ -29,12 +29,12 @@ sub enqueue { my ($conn, $msg) = @_; unless ($msg =~ /^[ABZ]/) { - if ($msg =~ /^E[-\w]+\|([01])/) { + if ($msg =~ /^E[-\w]+\|([01])/ && $conn->{csort} eq 'telnet') { $conn->{echo} = $1; if ($1) { - $conn->send_raw("\xFF\xFC\x01"); +# $conn->send_raw("\xFF\xFC\x01"); } else { - $conn->send_raw("\xFF\xFB\x01"); +# $conn->send_raw("\xFF\xFB\x01"); } } else { $msg =~ s/^[-\w]+\|//; @@ -118,7 +118,7 @@ sub new_client { $conn->{state} = 'WL'; # $conn->send_raw("\xff\xfe\x01\xff\xfc\x01\ff\fd\x22"); # $conn->send_raw("\xff\xfa\x22\x01\x01\xff\xf0"); - $conn->send_raw("\xFF\xFC\x01"); +# $conn->send_raw("\xFF\xFC\x01"); _send_file($conn, "$main::data/issue"); $conn->send_raw("login: "); } else {