🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Aidan Saunders Wed, 25 Jul 1990 11:44
motd always shown
#758
Author: Aidan Saunders
Date: Wed, 25 Jul 1990 11:44
14 lines
1076 bytes
I'm using nn 6.4.9 under SunOS 4.1 and have a slight problem 
with the motd:

The motd is always shown when I start nn even if CLIENT/motd
hasn't been changed since I last used nn.

Has anyone else had this situation ?

Aidan
--
----------------------------------------------
ARPA :: a.c.g.saunders@newcastle.ac.uk
UUCP :: ...!ukc!newcastle.ac.uk!a.c.g.saunders
----------------------------------------------
Re: motd always shown
#760
Author: Tony Wilson
Date: Thu, 26 Jul 1990 13:10
18 lines
1322 bytes
In <1990Jul25.114459.1108@newcastle.ac.uk> A.C.G.Saunders@newcastle.ac.uk (Aidan Saunders) writes:

>I'm using nn 6.4.9 under SunOS 4.1 and have a slight problem 
>with the motd:

>The motd is always shown when I start nn even if CLIENT/motd
>hasn't been changed since I last used nn.

>Has anyone else had this situation ?

Yes, the same thing is happening here.  There is a file called .motd
in your .nn directory, and if you touch that, so that it's date and
time are later than the $LIB/motd file, then the message will not
appear.

-- 
Tony Wilson (News Administrator)                 wilson@issun3.stc.nl,  or
SHAPE Technical Centre, The Hague, NL            ...!hp4nl!shapetc!wilson
Re: motd always shown
#768
Author: Aidan Saunders
Date: Sat, 28 Jul 1990 13:55
43 lines
1985 bytes
wilson@issun3.stc.nl (Tony Wilson) writes:

>In <1990Jul25.114459.1108@newcastle.ac.uk> A.C.G.Saunders@newcastle.ac.uk (Aidan Saunders) writes:

>>I'm using nn 6.4.9 under SunOS 4.1 and have a slight problem 
>>with the motd:

>>The motd is always shown when I start nn even if CLIENT/motd
>>hasn't been changed since I last used nn.

>>Has anyone else had this situation ?

>Yes, the same thing is happening here.  There is a file called .motd
>in your .nn directory, and if you touch that, so that it's date and
>time are later than the $LIB/motd file, then the message will not
>appear.


The following patch is a temporary fix for this motd problem, supplied 
by Kim Storm.  It cures the problem on my SunOS 4.1

*** LAST/nn.c	Thu Jul 19 18:12:21 1990
--- nn.c	Fri Jul 27 18:23:56 1990
***************
*** 559,564 ****
--- 559,565 ----
  
      if (last_motd >= cur_motd) return 0;
  
+     unlink(dot_motd);
      fclose(open_file(dot_motd, OPEN_CREATE|MUST_EXIST));
  
      clrdisp();



Aidan Saunders

--
----------------------------------------------
ARPA :: a.c.g.saunders@newcastle.ac.uk
UUCP :: ...!ukc!newcastle.ac.uk!a.c.g.saunders
----------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads