3 # a complete list of stations connected
5 # Copyright (c) 1999 Dirk Koopman G1TLH
14 push @out, " Callsign Type Started Name Ave RTT";
16 foreach $dxchan ( sort {$a->call cmp $b->call} DXChannel::get_all ) {
17 my $call = $dxchan->call();
18 my $t = cldatetime($dxchan->startt);
19 my $type = $dxchan->is_node ? "NODE" : "USER";
21 if ($dxchan->is_node) {
22 $sort = "DXSP" if $dxchan->is_spider;
23 $sort = "CLX " if $dxchan->is_clx;
24 $sort = "DXNT" if $dxchan->is_dxnet;
25 $sort = "AR-C" if $dxchan->is_arcluster;
26 $sort = "AK1A" if $dxchan->is_ak1a;
28 my $name = $dxchan->user->name || " ";
29 my $ping = $dxchan->is_node && $dxchan != $DXProt::me ? sprintf("%8.2f", $dxchan->pingave) : "";
30 push @out, sprintf "%10s $type $sort $t %-18.18s $ping", $call, $name;