Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!ogccse!schaefer From: schaefer@ogccse.ogc.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: Bug that bugs me Message-ID: <2658@ogccse.ogc.edu> Date: 12 May 89 00:38:16 GMT References: <1709@vicom.COM> <1811@xenna.Xylogics.COM> Reply-To: schaefer@ogccse.UUCP (Barton E. Schaefer) Organization: Oregon Graduate Center, Beaverton, OR Lines: 26 In article <1811@xenna.Xylogics.COM> loverso@Xylogics.COM (John Robert LoVerso) writes: } In article <1709@vicom.COM> lmb@vicom.COM (Larry Blair) writes: } > There is a very minor bug in mush that has been there from at least 6.1. } > When I do a "mush -C -u news" and there is no mail for news, I get the } > message: } > } > /usr/spool/mail/news: No such file or directory } } The reason you can't find the "No such file..." message is because its } the text of ENOENT, not a string in mush. [ Excerpt of code deleted ] } You'll notice the '\n' *is* included there. The reason it gets "lost" is } that curses has already been initialized by this point, such that CRMOD has } already been turned off. It might suffice to move the initialization of } curses to after all the initial processing (including selecting the folder). The initialization code in main.c needs some reworking. However, I hacked a quick fix for this particular bug, which will be included in Official Patch #2, coming Real Soon Now (like tonight or tomorrow). -- Bart Schaefer "And if you believe that, you'll believe anything." -- DangerMouse CSNET / Internet schaefer@cse.ogc.edu UUCP ...{sequent,tektronix,verdix}!ogccse!schaefer