Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.14 $; site ciprico.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!stolaf!umn-cs!mmm!ciprico!dan From: dan@ciprico.UUCP Newsgroups: net.notes Subject: prtind.c problem. Message-ID: <18300001@ciprico.UUCP> Date: Wed, 6-Feb-85 17:14:00 EST Article-I.D.: ciprico.18300001 Posted: Wed Feb 6 17:14:00 1985 Date-Received: Wed, 13-Feb-85 03:15:28 EST Lines: 28 Nf-ID: #N:ciprico:18300001: 0:1045 Nf-From: ciprico!dan Feb 6 16:14:00 1985 There is a slight problem in the size of author and system names. If the system name is >= SYSSZ or the author's >= NAMESZ then prtind.c will do funny things...(It turned off my cursor and blanked the screen for me!). Anyways...here is the fix: This is for notes 1.6.2.16 I think.... -Dan A. Dickey ------------------------------------------------------------------ at (atrow, 10 + 4 + TITLEN + 1 + 3 + 1); if (strcmp (System, note.n_id.sys) != 0 && strcmp ("Anonymous", note.n_auth.aname) != 0) { #ifdef USERHOST sprintf (buf, "%.*s@%.*s", NAMESZ, note.n_auth.aname, SYSSZ, note.n_id.sys); #else sprintf (buf, "%.*s!%.*s", SYSSZ, note.n_id.sys, NAMESZ, note.n_auth.aname); #endif USERHOST } else sprintf (buf, "%.*s", NAMESZ, note.n_auth.aname); buf[26] = '\0'; /* don't overflow line */ printf ("%s", buf); if (isinput ()) return; /* he typed */ atrow++; if (intflag) /* did he want out? */ -------------End of fix--------- Note: there are plenty more problems...I'll post them as I find them.