projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing set/unset wcy commands
[spider.git]
/
perl
/
ExtMsg.pm
diff --git
a/perl/ExtMsg.pm
b/perl/ExtMsg.pm
index 5b38fa677e43673233c7cc8ec5e7423bb6e0c03f..81b9a1bc33b727798573dc91291e7492b2a33592 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]+\|//;
@@
-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->{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 {
_send_file($conn, "$main::data/issue");
$conn->send_raw("login: ");
} else {