projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove conflicts
[spider.git]
/
perl
/
ExtMsg.pm
diff --git
a/perl/ExtMsg.pm
b/perl/ExtMsg.pm
index 122d3ec837e52cfeccbb3ee9092274784a477c0b..ce73b79f489ce3f042f34ae934d93f28c00a0877 100644
(file)
--- a/
perl/ExtMsg.pm
+++ b/
perl/ExtMsg.pm
@@
-29,12
+29,12
@@
sub enqueue
{
my ($conn, $msg) = @_;
unless ($msg =~ /^[ABZ]/) {
{
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->{echo} = $1;
if ($1) {
-
$conn->send_raw("\xFF\xFC\x01");
+
#
$conn->send_raw("\xFF\xFC\x01");
} else {
} else {
-
$conn->send_raw("\xFF\xFB\x01");
+
#
$conn->send_raw("\xFF\xFB\x01");
}
} else {
$msg =~ s/^[-\w]+\|//;
}
} else {
$msg =~ s/^[-\w]+\|//;
@@
-120,7
+120,7
@@
sub new_client {
# $conn->send_raw("\xff\xfa\x22\x01\x01\xff\xf0");
$conn->send_raw("\xFF\xFC\x01");
_send_file($conn, "$main::data/issue");
# $conn->send_raw("\xff\xfa\x22\x01\x01\xff\xf0");
$conn->send_raw("\xFF\xFC\x01");
_send_file($conn, "$main::data/issue");
- $conn->send_raw("
L
ogin: ");
+ $conn->send_raw("
l
ogin: ");
} else {
$conn->disconnect();
}
} else {
$conn->disconnect();
}