guy@sun.UUCP (07/12/86)
> I have been told that many of my recent comments were entitled > "Re: Orphaned Response". Therefore notes 1.7 doesn't fix it, or it is > getting mangled upstream. Please, someone who knows about this, tell > us which is the current version that fixes this problem. Here is a change to the "notes" version that was part of the 4.2BSD "User Contributed Software" distribution. From a quick look at the code, I suspect it'll fix this problem post haste. The change was to the module "bnewsinput.c". If you have source, find whatever module contains the "B news to notes" gateway code and make this fix, or some analogous fix. If you don't have source, pester the person who provided you with the "notes" binary you're running and get *them* to do it. If they refuse, tell them that more and more people may be tempted to install reed@apollo's code.... If this isn't the right fix, would somebody who cares about "notes" as a "notes" user, rather than as a "news" user sick and tired of this "Orphaned Response" bullshit, change it to be the right fix? *** bnewsinput.c.orig Fri Jul 11 21:49:35 1986 --- bnewsinput.c Fri Jul 11 22:01:15 1986 *************** *** 398,404 **** copydate(&entered, ¬e.n_date); gettime(&whentime); /* get current time */ status = ORPHND + FRMNEWS; /* combo there */ ! for (i = 0, p = "Orphaned Response"; (i < TITLEN) && *p; p++, i++) note.ntitle[i] = *p; for (; i < TITLEN; i++) { note.ntitle[i] = ' '; /* pad */ --- 398,410 ---- copydate(&entered, ¬e.n_date); gettime(&whentime); /* get current time */ status = ORPHND + FRMNEWS; /* combo there */ ! p = title; ! while (!strncmp (p, "Re:", 3)) { /* get all re's */ ! p += 3; ! while (*p == ' ') ! p++; /* Skip Spaces */ ! } ! for (i = 0; (i < TITLEN) && *p; p++, i++) note.ntitle[i] = *p; for (; i < TITLEN; i++) { note.ntitle[i] = ' '; /* pad */ -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com (or guy@sun.arpa)