X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FIntMsg.pm;h=e5f05ff12f1e5dd48f2bbca56a40683675549912;hb=157f14220c0cbc875729be41a3e3a2acd18f51e1;hp=190d0b43c49b4bcaafb8c6d62511af31d30a2270;hpb=2c55757800b9eae67f20137665d912a641d011d1;p=spider.git diff --git a/perl/IntMsg.pm b/perl/IntMsg.pm index 190d0b43..e5f05ff1 100644 --- a/perl/IntMsg.pm +++ b/perl/IntMsg.pm @@ -2,7 +2,7 @@ # This class is the internal subclass that deals with the internal port 27754 # communications for Msg.pm # -# $Id$ +# # # Copyright (c) 2001 - Dirk Koopman G1TLH # @@ -11,18 +11,17 @@ package IntMsg; use strict; -use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0; -$main::build += $VERSION; -$main::branch += $BRANCH; - use Msg; use vars qw(@ISA); @ISA = qw(Msg); +sub login +{ + goto &main::login; # save some writing, this was the default +} + sub enqueue { my ($conn, $msg) = @_; @@ -44,7 +43,6 @@ sub dequeue for (@lines) { if (defined $_) { s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg; - s/[\x00-\x08\x0a-\x19\x1b-\x1f\x80-\x9f]/./g; # immutable CSI sequence + control characters } else { $_ = ''; }