[nos-bbs] Winmor and JNOS

Gary White garyrwhite52 at yahoo.com
Fri Nov 20 12:20:56 EST 2015


Studied the winmor.c source code and applied the attached patch that I came
up with to fix the initialization problem. Maiko I'm not pushing or trying
to step on your toes, I just had a little time to play with it. It's not
pretty because I left in the BW sub routine although I see it's only called
one time. I should have removed it and redefined the BW variable or just
hard set it, I'm not nearly good enough in c to start defining variable.
I wanted to put in the node call and send that to the TNC but I couldn't
find the variable name. Now I'm trying to figure out why JNOS does not
understand RMS forward command. Patch and RMS log showing the "Huh?"
answer from JNOS. Note this is not an official patch from Maiko and I
only changed the sequence number to keep me straight.

-- 
Gary White                                garyrwhite52 at yahoo.com
KF5MWE                                ARES AEC Clarke County, MS
Quitman, MS 39355            Registered Linux User Number 198875

-------------- next part --------------
diff -u jnos2.0j.7t/version.c jnos2.0j.7u/version.c
--- jnos2.0j.7t/version.c	2015-06-29 09:48:50.000000000 -0500
+++ jnos2.0j.7u/version.c	2015-11-20 10:18:06.000000000 -0600
@@ -35,7 +35,7 @@
 #include "ax25.h"	/* bring in NAX25 definition */
 #endif
 
-#define JNOS_VERSION "2.0j.7t"
+#define JNOS_VERSION "2.0j.7u"
 
 char shortversion[] = "JNOS" JNOS_VERSION ;
 
diff -u jnos2.0j.7t/winmor.c jnos2.0j.7u/winmor.c
--- jnos2.0j.7t/winmor.c	2014-04-18 20:48:39.000000000 -0500
+++ jnos2.0j.7u/winmor.c	2015-11-20 09:56:21.000000000 -0600
@@ -337,20 +337,44 @@
 {
 	char buf[50];
 
-	int cnt = 3;
+	int cnt = 11;
 
 	while (cnt > 0)
 	{
 		switch (cnt)
 		{
+			case 11:
+				sprintf (buf, "Codec False\r\n");
+				break;
+			case 10:
+				sprintf (buf, "Autobreak True\r\n");
+				break;
+			case 9:
+				sprintf (buf, "Busylock False\r\n");
+				break;
+			case 8:
+				sprintf (buf, "Listen True\r\n");
+				break;
+			case 7:
+				sprintf (buf, "Vox True\r\n");
+				break;
+			case 6:
+				sprintf (buf, "FECRcv False\r\n");
+				break;
+			case 5:
+				send_bw ();
+				break;
+			case 4:
+				sprintf (buf, "Show True\r\n");
+				break;
 			case 3:
-				sprintf (buf, "Codec True\r\n");
+				sprintf (buf, "Robust True\r\n");
 				break;
 			case 2:
 				sprintf (buf, "DriveLevel 90\r\n");
 				break;
 			case 1:
-				sprintf (buf, "AutoBreak False\r\n");
+				sprintf (buf, "Codec True\r\n");
 				break;
 		}


-------------- next part --------------
*** Connected to Peer: KF5MWE @ 2015/11/20 16:25:40  USB Dial: 14138.500 at 2015/11/20 16:25:40
[JNOS-2.0j.7u-B2FHIM$]

REGISTRATION not necessary

968998912 Bytes Available



You have 1 message  -  1 new.
QTM:KF5MWE-7 Area: kf5mwe Current msg# 1.
?,A,B,C,CONV,D,E,F,H,I,IH,IP,J,K,L,M,N,NR,O,P,PI,R,S,T,U,V,W,X,Z >
   ;FW: KF5MWE
   [RMS Express-1.3.7.3-B2FHM$]
   ; KF5MWE DE KF5MWE (EM52PB)
   FC EM THQ0YMCVXLPB 141 124 0
   FC EM DRCMYHLH2Q2O 141 125 0
   FC EM DZXMTUUNA15A 367 231 0
   F> 1F
Huh?
*** [418] Protocol error - response to proposals does not match.
QTM:KF5MWE-7 Area: kf5mwe Current msg# 1.
*** Disconnected from Peer: KF5MWE @ 2015/11/20 16:27:16
*** Session: 1.5 min;  Avg Thruput: 0 Bytes/min;   1 Min Peak Thruput: 384 Bytes/min



More information about the nos-bbs mailing list