2 # show the users on this cluster from the routing tables
4 # Copyright (c) 1998 Dirk Koopman G1TLH
9 my ($self, $line) = @_;
10 my @list = map { uc } split /\s+/, $line; # list of callsigns of nodes
14 foreach my $call (sort @list) {
15 my $uref = DXUser->get_current($call);
17 my $name = $uref->name || '?';
18 my $qth = $uref->qth || '?';
19 my $qra = $uref->qra || '';
21 if (my $rref = Route::get($call)) {
22 $route = '(at ' . join(',', $rref->parents) . ')';
24 push @out, "$call $route $name $qth $qra",
26 push @out, $self->msg('usernf', $call);
30 my $node = $main::routeroot;
31 push @out, join(' ', $self->msg('userconn'), $main::mycall);
35 my @val = sort $node->users;
36 foreach $call (@val) {
38 push @out, sprintf "%-12s %-12s %-12s %-12s %-12s", @l;
42 my $uref = Route::User::get($call);
45 $s = sprintf "(%s)", $call unless $uref->here;
52 push @l, "" while $i++ < 5;
53 push @out, sprintf "%-12s %-12s %-12s %-12s %-12s", @l;