Package:aprsdigi
Version:2.4.4-1
Severity: Minor
Tags: sid, patch, upstream

Hi Hamish,

When an aprsd instance connects to aprsmon via inetd, it gets a
real silly program name/version back.

Attached is a patch to aprsmon.c to extend the -title switch, so that
it works for aprsd as well as JavAPRS. I've also attached a patch to
the man page.


Best Regards

Iain

--- aprsdigi-2.4.4/aprsmon.c    2004-02-24 21:34:05.000000000 +0000
+++ aprsdigi-2.4.4-iii/aprsmon.c        2006-04-01 13:27:28.012544864 +0100
@@ -190,6 +190,7 @@ int main(int argc, char **argv)
     uname(&me);
     printf("aprsmon>JAVA:javaMSG  :Linux APRS server (%s-%s by Alan Crosswell, 
N2YGK) on %s running %s %s\r\n",
           PACKAGE, VERSION, me.nodename, me.sysname, me.release);
+    printf("# %s\r\n",title);
 #ifdef USE_SHM
     (void) shm_slave(stdout,infofile);
 #endif
--- aprsdigi-2.4.4/aprsmon.8    2004-02-24 21:34:05.000000000 +0000
+++ aprsdigi-2.4.4-iii/aprsmon.8        2006-04-01 14:02:14.307379840 +0100
@@ -55,7 +55,11 @@ Default is 30.
 .BI "-t title"
 Sets the 
 .I javAPRS
-title string.  Default is "Live data from Linux."
+or
+.I aprsd
+title string.  Default is "Live data from Linux." For use with aprsd the
+format must be something like "aprsmon v2.4.4 padd padb." pada and padb
+can be anything, and are ignored but you *must* have 4 words in all.
 .TP 10
 .BI "-i infofile"
 .I Infofile

Reply via email to