$Header: spt-alg,v 1.9 94/07/31 03:54:00 k2mm Exp $ pqsoOrig->pcallTx originator's call **ORIGCALL** pqsoOrig->pstrTxName name orig sent **ORIGNAME** if qsoOrig and qsoPrev are paired/matched, then orig wkd me ... pqsoOrig->pqsoTrPair points to my qsoPrev pqsoOrig->pcallRx my call **NEXTCALL** pqsoPrev->pcallRx orig's call **PREVCALL** pqsoPrev->pqsoTrPair points to his qsoOrig ... else qsoOrig was with a non-log-submitting intermediary, and qsoPrev was also with an inter. likely that both inters are the same, and if qsoOrig was inter's #N, then qsoPrev was inter's #N+1. pqsoOrig->pqsoTxSkip points to my qsoPrev pqsoOrig->pcallRx inter's call **NEXTCALL** pqsoPrev->pcallRx inter's call **PREVCALL** pqsoPrev->pqsoRxSkip points to his qsoOrig pqsoPrev->pcallTx my call pqsoPrev->pstrRxName name I copied **PREVNAME** pqsoPrev->pqsoTxNext points to my qsoThis pqsoThis->pcallTx my call pqsoThis->pstrTxName name I sent **THISNAME** pqsoThis->pqsoTxPrev points to my qsoPrev pqsoThis->pcallRx call I sent name to NOTE: the "=" trace char means "received by a log-submitter", and "-" means "received by a non-submitter". note "received by" instead of "sent to" -- the tx stn can't print = or - because the next rx stn may want to print the tx stn's call first. CASE: pqsoOrig == 0 && pqsoPrev == 0 && pqsoThis != 0 occurs at the start of a trace MYCALL THISNR THISNAME CASE: pqsoOrig == 0 && pqsoPrev != 0 orig is unknown, likely a non-submitter this may occur at the start of a manual trace must print orig's call and nr from qsoPrev SUBCASE: prev == thisname I got the name and passed it on (typical) PREVCALL PREVNR PREVNAME = SUBCASE: prev != thisname I changed the name before passing it on PREVCALL PREVNR PREVNAME =MYCALL MYCALL THISNR THISNAME SUBCASE: pqsoThis == 0 I got the name on my last QSO PREVCALL PREVNR PREVNAME =MYCALL. CASE-NOTE: the next six CASEs assume non-zero pqsoOrig and pqsoPrev CASE PASS: orig == prev == thisname I got the name OK then passed it on (typical) SUBCASE: PREVCALL is MYCALL xxxxcall xxxxnr xxxxname xxxx= SUBCASE: PREVCALL is non-submitter xxxxcall xxxxnr xxxxname xxxx-= CASE BUSTPASS: orig != prev == thisname I busted the name then passed it on (common) SUBCASE: PREVCALL is MYCALL && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL= MYCALL THISNR THISNAME SUBCASE: PREVCALL is non-submitter && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL-PREVCALL= MYCALL THISNR THISNAME SUBCASE: PREVCALL is MYCALL && origcall was printed origcall orignr origname = MYCALL THISNR THISNAME SUBCASE: PREVCALL is non-submitter && origcall was printed origcall orignr origname -PREVCALL= MYCALL THISNR THISNAME CASE CHG: orig == prev != thisname I got the name OK then changed it SUBCASE: PREVCALL is MYCALL xxxxcall xxxxnr xxxxname xxxx=MYCALL MYCALL THISNR THISNAME SUBCASE: PREVCALL is non-submitter xxxxcall xxxxnr xxxxname xxxx-=MYCALL MYCALL THISNR THISNAME CASE BUSTCHG: orig != prev != thisname I busted the name then changed it :-) SUBCASE: PREVCALL is MYCALL && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL= MYCALL PREVNR PREVNAME MYCALL THISNR THISNAME SUBCASE: PREVCALL is non-submitter && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL-PREVCALL= MYCALL PREVNR PREVNAME MYCALL THISNR THISNAME SUBCASE: PREVCALL is MYCALL && origcall was printed origcall orignr origname = MYCALL PREVNR PREVNAME MYCALL THISNR THISNAME SUBCASE: PREVCALL is non-submitter && origcall was printed origcall orignr origname -PREVCALL= MYCALL PREVNR PREVNAME MYCALL THISNR THISNAME CASE END: orig == prevname && pqsoThis == 0 I got the name OK on my last QSO SUBCASE: PREVCALL is MYCALL xxxxcall xxxxnr xxxxname xxxx=MYCALL. SUBCASE: PREVCALL is non-submitter xxxxcall xxxxnr xxxxname xxxx-=MYCALL. CASE BUSTEND: orig != prevname && pqsoThis == 0 I busted the name on my last QSO SUBCASE: PREVCALL is MYCALL && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL= MYCALL PREVNR PREVNAME . SUBCASE: PREVCALL is non-submitter && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL-PREVCALL= MYCALL PREVNR PREVNAME . SUBCASE: PREVCALL is MYCALL && origcall was printed origcall orignr origname = MYCALL PREVNR PREVNAME . SUBCASE: PREVCALL is non-submitter && origcall was printed origcall orignr origname -PREVCALL= MYCALL PREVNR PREVNAME . CASE LOST: pqsoOrig != 0 && pqsoPrev == 0 trace was lost SUBCASE: NEXTCALL is log-submitter && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL=NEXTCALL? SUBCASE: NEXTCALL is non-submitter && origcall not printed xxxxcall xxxxnr xxxxname xxxxORIGCALL-NEXTCALL? SUBCASE: NEXTCALL is log-submitter && origcall was printed origcall orignr origname =NEXTCALL? SUBCASE: NEXTCALL is non-submitter && origcall was printed origcall orignr origname -NEXTCALL?