}
use Msg;
+use IntMsg;
use DXVars;
use DXDebug;
use DXUtil;
} else {
beep();
}
- } elsif ($r ge ' ' && $r le '~') {
+ } elsif (is_pctext($r)) {
# move the top screen back to the bottom if you type something
if ($spos < @shistory) {
$spos = @shistory;
exit(0);
}
-$conn = Msg->connect("$clusteraddr", $clusterport, \&rec_socket);
+$conn = IntMsg->connect("$clusteraddr", $clusterport, \&rec_socket);
if (! $conn) {
if (-r "$data/offline") {
open IN, "$data/offline" or die;
}
-$SIG{'INT'} = \&sig_term;
-$SIG{'TERM'} = \&sig_term;
+unless ($DB::VERSION) {
+ $SIG{'INT'} = \&sig_term;
+ $SIG{'TERM'} = \&sig_term;
+}
+
#$SIG{'WINCH'} = \&do_resize;
$SIG{'HUP'} = \&sig_term;
my $lastmin = 0;
for (;;) {
my $t;
- Msg->event_loop(1, 1);
+ Msg->event_loop(1, 0.1);
$t = time;
if ($t > $lasttime) {
my ($min)= (gmtime($t))[1];