🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
31 messages
31 total messages Started by Michael T Pins Wed, 19 Sep 2001 18:00
nn-6.6.0 now available
#9861
Author: Michael T Pins
Date: Wed, 19 Sep 2001 18:00
36 lines
2224 bytes
Yes, at long last, nn-6.6.0 has finally been released.
It it now the current version of nn, and is what everyone should be running.
As ever, the latest version can be found at ftp://ftp.nndev.org


Major new features:

NNTP AUTH works.  nn can now talk to NNTP servers that require a
username and password.

Multiple nntp-server/nn-directory/newsrc files are now supported via
command-line switches.   It looks something like this:
   % nn nntp-server=news.bignews.net nn-directory=.nn.bn newsrc=.newsrc.bn
You should probably alias or script this.

nn now posts directly and no longer requires inews.  In fact, if NNTP is
defined, the aux script isn't called at all.  Everything has been
internalized.  As a useful side-effect, nn finally deals with long
References lines correctly.

There is a new command- "E" that saves only the headers.



For people who've been using the betas, you'll note that "T" is now "E".
This was changed to make it consistent with S, O, and W, where the
upper-case works at the menu, and both upper- and lower-case work inside
the message.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9862
Author: Neil W Rickert
Date: Thu, 20 Sep 2001 21:31
22 lines
1451 bytes
Michael T Pins <mtpins@nndev.org> writes:

>Yes, at long last, nn-6.6.0 has finally been released.
>It it now the current version of nn, and is what everyone should be running.
>As ever, the latest version can be found at ftp://ftp.nndev.org

>Major new features:

>NNTP AUTH works.  nn can now talk to NNTP servers that require a
>username and password.

I wish I could get that working for my home system.  I cannot find
the documentation.

The manual and help files do not install (complains about missing
files).

When I post it annoyingly asks whether to attach ".signature", even
though ".signature" does not exist.  I assume I can configure around
that, be see my previous comment about manual and help files.

Re: nn-6.6.0 now available
#9863
Author: Michael T Pins
Date: Fri, 21 Sep 2001 03:53
40 lines
2442 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Michael T Pins <mtpins@nndev.org> writes:

>>Yes, at long last, nn-6.6.0 has finally been released.
>>It it now the current version of nn, and is what everyone should be running.
>>As ever, the latest version can be found at ftp://ftp.nndev.org

>>Major new features:

>>NNTP AUTH works.  nn can now talk to NNTP servers that require a
>>username and password.

>I wish I could get that working for my home system.  I cannot find
>the documentation.

>The manual and help files do not install (complains about missing
>files).

What, exactly, were the error messages?
At a guess, you told it to install them in a directory that doesn't exist.
It won't create the directories for you.

>When I post it annoyingly asks whether to attach ".signature", even
>though ".signature" does not exist.  I assume I can configure around
>that, be see my previous comment about manual and help files.

I suppose it should check for a .signature and not ask if it doesn't exist.
Added to the ToDo list.

To work around it, include the following in your .nn/init file:
set append-signature-mail false
set append-signature-post false

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9864
Author: Neil W Rickert
Date: Fri, 21 Sep 2001 05:04
46 lines
2365 bytes
Michael T Pins <mtpins@nndev.org> writes:
>Neil W Rickert <rickert+nn@cs.niu.edu> writes:
>>Michael T Pins <mtpins@nndev.org> writes:

>>>Major new features:

>>>NNTP AUTH works.  nn can now talk to NNTP servers that require a
>>>username and password.

>>I wish I could get that working for my home system.  I cannot find
>>the documentation.

An update.  This is now working.  The problem must have been on the
server, since I didn't change anything.  Thanks.  This is much better
than using netscape.

>>The manual and help files do not install (complains about missing
>>files).

>What, exactly, were the error messages?

It flashed past pretty fast.  As best I could tell, it said something
like "file MANIFEST not found." This was from unpacking
/extra/rickert/nn-6.6.0.tar.Z (length 839463, date Sep 19).  Did I
pick up an incomplete version?

>At a guess, you told it to install them in a directory that doesn't exist.
>It won't create the directories for you.

That wasn't the problem.  It managed to install a 0-length Manual
file in that directory.

>>When I post it annoyingly asks whether to attach ".signature", even
>>though ".signature" does not exist.  I assume I can configure around
>>that, be see my previous comment about manual and help files.

>I suppose it should check for a .signature and not ask if it doesn't exist.
>Added to the ToDo list.

>To work around it, include the following in your .nn/init file:
>set append-signature-mail false
>set append-signature-post false

Will do.  Thanks.

Re: nn-6.6.0 now available
#9865
Author: Michael T Pins
Date: Fri, 21 Sep 2001 17:41
28 lines
2087 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Michael T Pins <mtpins@nndev.org> writes:
>>Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>>>The manual and help files do not install (complains about missing
>>>files).

>>What, exactly, were the error messages?

>It flashed past pretty fast.  As best I could tell, it said something
>like "file MANIFEST not found." This was from unpacking
>/extra/rickert/nn-6.6.0.tar.Z (length 839463, date Sep 19).  Did I
>pick up an incomplete version?

Oops.
I had removed the MANIFEST file, as it was long out of date, forgetting
that the install script uses it to install the man pages and help files.
Looks like I'll be releasing nn-6.6.1 shortly....

I thought I had done a full clean test install, but apparently not.

--
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |     #include <std.disclaimer>     *
Re: nn-6.6.0 now available
#9866
Author: Michael T Pins
Date: Fri, 21 Sep 2001 18:38
35 lines
2425 bytes
mtpins@visi.com (Michael T Pins) writes:

>Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>>Michael T Pins <mtpins@nndev.org> writes:
>>>Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>>>>The manual and help files do not install (complains about missing
>>>>files).

>>>What, exactly, were the error messages?

>>It flashed past pretty fast.  As best I could tell, it said something
>>like "file MANIFEST not found." This was from unpacking
>>/extra/rickert/nn-6.6.0.tar.Z (length 839463, date Sep 19).  Did I
>>pick up an incomplete version?

>Oops.
>I had removed the MANIFEST file, as it was long out of date, forgetting
>that the install script uses it to install the man pages and help files.
>Looks like I'll be releasing nn-6.6.1 shortly....

>I thought I had done a full clean test install, but apparently not.

I've now fixed it in nn-6.6.1 which I'll release on Monday, in case there
are any other bug reports that show up this weekend.  It turns out that the
man pages are correctly installed, but all the online documentation (both
the help files and the internal Manual) weren't.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9867
Author: Neil W Rickert
Date: Fri, 21 Sep 2001 20:04
36 lines
2139 bytes
Michael T Pins <mtpins@nndev.org> writes:

>>Oops.
>>I had removed the MANIFEST file, as it was long out of date, forgetting
>>that the install script uses it to install the man pages and help files.
>>Looks like I'll be releasing nn-6.6.1 shortly....

>>I thought I had done a full clean test install, but apparently not.

>I've now fixed it in nn-6.6.1 which I'll release on Monday, in case there
>are any other bug reports that show up this weekend.  It turns out that the
>man pages are correctly installed, but all the online documentation (both
>the help files and the internal Manual) weren't.

Thanks.

Let me add a comment on authentication.  This might not be an NN
problem, but I will mention it.

Case I:  I startup nn on my home system.  It prompts for user
	and passwd.  I supply them.  It almost immediately reports
	that authentication failed.

Case II: I startup netscape for reading news.  It prompts for user and
	passwd.  In most cases it almost immediately begins to download
	message headers.

	I now shut down netscape, and start nn.  It prompts for user
	and password.  After a noticeable delay (probably 1 minute) it
	seems to have authenticated and starts working.

I am beginning to thing that "nn" authentication is never working,
but my ISP is caching the successful auth from netscape and allowing
me to continue anyway.

Re: nn-6.6.0 now available
#9868
Author: Neil W Rickert
Date: Fri, 21 Sep 2001 23:17
29 lines
1799 bytes
Michael T Pins <mtpins@nndev.org> writes:

>I've now fixed it in nn-6.6.1 which I'll release on Monday, in case there
>are any other bug reports that show up this weekend.

Here is another possible problem.

I was posting a message.  As I finished posting (so I thought), an
error message popped up about "Interrupted system call", and that
terminated nn.  My message (a followup) appears to have not been
posted.  Fortunately, the temp file was left behind in "/var/tmp",
although 'nn' never told me that.

I think this is a result of the internal "inews".

I suspect the chain of events is as follows.

1:  I read an article.
2:  I start to prepare my followup.
3:  The nntp server disconnects me, due to the inactivity on the
    socket while I am editing my message.
4:  "nn" attempts to send the message using the now disconnected
    socket.  Naturally enough that fails, leading to the error
    condition I saw.

This was from solaris-x86.  It was from my office system.  There was
no authentication involved.

Re: nn-6.6.0 now available
#9869
Author: Michael T Pins
Date: Fri, 21 Sep 2001 23:45
30 lines
2271 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Let me add a comment on authentication.  This might not be an NN
>problem, but I will mention it.

>Case I:  I startup nn on my home system.  It prompts for user
>	and passwd.  I supply them.  It almost immediately reports
>	that authentication failed.

>Case II: I startup netscape for reading news.  It prompts for user and
>	passwd.  In most cases it almost immediately begins to download
>	message headers.

>	I now shut down netscape, and start nn.  It prompts for user
>	and password.  After a noticeable delay (probably 1 minute) it
>	seems to have authenticated and starts working.

>I am beginning to thing that "nn" authentication is never working,
>but my ISP is caching the successful auth from netscape and allowing
>me to continue anyway.

What is the name of the newsserver you are trying to connect to?
I'll need to do some testing to find out exactly what's going on.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9870
Author: Michael T Pins
Date: Fri, 21 Sep 2001 23:53
35 lines
2382 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Here is another possible problem.

>I was posting a message.  As I finished posting (so I thought), an
>error message popped up about "Interrupted system call", and that
>terminated nn.  My message (a followup) appears to have not been
>posted.  Fortunately, the temp file was left behind in "/var/tmp",
>although 'nn' never told me that.

>I think this is a result of the internal "inews".

>I suspect the chain of events is as follows.

>1:  I read an article.
>2:  I start to prepare my followup.
>3:  The nntp server disconnects me, due to the inactivity on the
>    socket while I am editing my message.
>4:  "nn" attempts to send the message using the now disconnected
>    socket.  Naturally enough that fails, leading to the error
>    condition I saw.

Possible, but unlikely.  Even if the reconnect fails (and unlike beta2, the
current version will try to reconnect) nn shouldn't exit, but instead
return you to the menu with an error message.

However, unless someone actually killed the process, it's a bug, and one
that needs to get fixed.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9871
Author: Neil W Rickert
Date: Sat, 22 Sep 2001 03:33
14 lines
1323 bytes
Michael T Pins <mtpins@nndev.org> writes:
>Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>>I am beginning to thing that "nn" authentication is never working,
>>but my ISP is caching the successful auth from netscape and allowing
>>me to continue anyway.

>What is the name of the newsserver you are trying to connect to?
>I'll need to do some testing to find out exactly what's going on.

I am sending this information separately by email (with a partial
transcript).

Re: nn-6.6.0 now available
#9872
Author: Michael T Pins
Date: Sat, 22 Sep 2001 04:38
38 lines
2481 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Michael T Pins <mtpins@nndev.org> writes:

>>I've now fixed it in nn-6.6.1 which I'll release on Monday, in case there
>>are any other bug reports that show up this weekend.

>Here is another possible problem.

>I was posting a message.  As I finished posting (so I thought), an
>error message popped up about "Interrupted system call", and that
>terminated nn.  My message (a followup) appears to have not been
>posted.  Fortunately, the temp file was left behind in "/var/tmp",
>although 'nn' never told me that.

>I think this is a result of the internal "inews".

>I suspect the chain of events is as follows.

>1:  I read an article.
>2:  I start to prepare my followup.
>3:  The nntp server disconnects me, due to the inactivity on the
>    socket while I am editing my message.
>4:  "nn" attempts to send the message using the now disconnected
>    socket.  Naturally enough that fails, leading to the error
>    condition I saw.

*grumph*  I've just reproduced this.
The reconnection code appears to be broken.  This is a *major* bug.
Looks like I'll be spending more time coding this weekend than I had
planned.  Should be fixed by Monday.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9873
Author: Neil W Rickert
Date: Sat, 22 Sep 2001 15:25
28 lines
1981 bytes
Michael T Pins <mtpins@nndev.org> writes:
>Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>>I am beginning to thing that "nn" authentication is never working,
>>but my ISP is caching the successful auth from netscape and allowing
>>me to continue anyway.

>What is the name of the newsserver you are trying to connect to?
>I'll need to do some testing to find out exactly what's going on.

Problem solved.

My password is 9 characters long.  However getpass() truncates to 8
characters.  The problem here is that nntp needs to meet the password
requirements for a foreign system, while getpass() is designed for
the passwords on the local system.

Long term the solution is to "borrow" the getpass() software from
an ftp client, which has to solve the same problem.

Short term, my solution is to define nntp-password=(actual password)
on the command line while starting nn.  Fortunately, I am the only
user of the system, so I don't have to worry about the "ps" command
being used to snarf the password.

You might want to document this problem.

Re: nn-6.6.0 now available
#9874
Author: Neil W Rickert
Date: Sat, 22 Sep 2001 16:23
42 lines
2434 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Problem solved.

>My password is 9 characters long.  However getpass() truncates to 8
>characters.  The problem here is that nntp needs to meet the password
>requirements for a foreign system, while getpass() is designed for
>the passwords on the local system.

I found another bug -- sorry about that :-( .  Maybe you can complain
and call this a gcc bug.

I tried recompiling after adding

#define getpass getpassphrase

to config.h

Then I discovered that it won't compile under gcc-3.01.

The following patch appears to fix it:

--- Makefile	2001/09/22 16:00:44	1.1
+++ Makefile	2001/09/22 16:03:17
@@ -61,6 +61,7 @@
 	       -DCDEBUG="$(CFLAGS)" -Iconf MF.c | \
 	sed -e '1,/MAKE WILL CUT HERE/d' \
 	    -e '/^#/d' \
+	    -e 's/^        /	/' \
 	    -e '/^[ \f	]$$/d' \
 	    -e '/^[ \/]*[*]/d' | \
 	sed -n -e '/^..*$$/p' > ymakefile


Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
tabs into spaces, and that breaks your method of generating
ymakefile.

By the way, nn drops core on posting, if there is a bad path set
in the variable news-record

Re: nn-6.6.0 now available
#9875
Author: Michael T Pins
Date: Mon, 24 Sep 2001 05:20
26 lines
1961 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>I found another bug -- sorry about that :-( .  Maybe you can complain
>and call this a gcc bug.

>Then I discovered that it won't compile under gcc-3.01.

>Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
>tabs into spaces, and that breaks your method of generating
>ymakefile.

Bug in gcc.  Complain to the gcc maintainers.

>By the way, nn drops core on posting, if there is a bad path set
>in the variable news-record

This, on the other hand, is a bug in nn.  The obvious work around is "well,
don't have a bad path set", but still, nn shouldn't core dump.  Added to
the list.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9876
Author: Casper H.S. Dik - Network Securi...
Date: Mon, 24 Sep 2001 07:21
26 lines
2115 bytes
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

Michael T Pins <mtpins@nndev.org> writes:

>>Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
>>tabs into spaces, and that breaks your method of generating
>>ymakefile.

>Bug in gcc.  Complain to the gcc maintainers.

No, it isn't.  "cpp" tokenizes and is allowed to add/convert whatever
whitespace, regardless of the original source code, provided its output
is tokenized correctly by the next pass.  (Sun's compiler got similar
complains years ago because it didn't allow old-style token pasting in
the default mode; fact is, old-style token pasting isn't allowed in ANSI C.

"cpp/gcc -E" is a "C" pre-processor, it's fitness for other purposes is
not guaranteed.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Re: nn-6.6.0 now available
#9877
Author: Michael T Pins
Date: Tue, 25 Sep 2001 05:50
51 lines
2947 bytes
Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer) writes:

>[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

>Michael T Pins <mtpins@nndev.org> writes:

>>>Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
>>>tabs into spaces, and that breaks your method of generating
>>>ymakefile.

>>Bug in gcc.  Complain to the gcc maintainers.

>No, it isn't.  "cpp" tokenizes and is allowed to add/convert whatever
>whitespace, regardless of the original source code, provided its output
>is tokenized correctly by the next pass.  (Sun's compiler got similar
>complains years ago because it didn't allow old-style token pasting in
>the default mode; fact is, old-style token pasting isn't allowed in ANSI C.

>"cpp/gcc -E" is a "C" pre-processor, it's fitness for other purposes is
>not guaranteed.

True, however -

This is known to work in the following compilers:
the compiler shipped with SunOS 3.x
the compiler shipped with SunOS 4.x
Sun WorkShop Compiler (at least through 5.0, I haven't tested any later)
the compiler that ships with HP-UX
the compiler HP sells
the compiler that ships with OSF/1
the compiler DEC sells for DEC Unix
the compiler that shipped with Ultrix
the compiler IBM sells for AIX
the compiler that shipped with UMAX43
the compiler that Apollo sold for Domain/OS
every version of gcc through at least 2.8.1

It breaks under:
gcc 3.x


In other words, it works under all the score+ of compilers I've used over
the years, from back before ANSI C, through today.  The *only* compiler
I've ever heard of that breaks this is gcc 3.x.  It's a gcc bug.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9878
Author: Neil W Rickert
Date: Tue, 25 Sep 2001 13:54
50 lines
3187 bytes
Michael T Pins <mtpins@nndev.org> writes:
>Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer) writes:
>>Michael T Pins <mtpins@nndev.org> writes:

>>>>Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
>>>>tabs into spaces, and that breaks your method of generating
>>>>ymakefile.

>>>Bug in gcc.  Complain to the gcc maintainers.

>>No, it isn't.  "cpp" tokenizes and is allowed to add/convert whatever
>>whitespace, regardless of the original source code, provided its output
>>is tokenized correctly by the next pass.  (Sun's compiler got similar
>>complains years ago because it didn't allow old-style token pasting in
>>the default mode; fact is, old-style token pasting isn't allowed in ANSI C.

>>"cpp/gcc -E" is a "C" pre-processor, it's fitness for other purposes is
>>not guaranteed.

>True, however -

>This is known to work in the following compilers:
>the compiler shipped with SunOS 3.x
>the compiler shipped with SunOS 4.x
>Sun WorkShop Compiler (at least through 5.0, I haven't tested any later)
>the compiler that ships with HP-UX
>the compiler HP sells
>the compiler that ships with OSF/1
>the compiler DEC sells for DEC Unix
>the compiler that shipped with Ultrix
>the compiler IBM sells for AIX
>the compiler that shipped with UMAX43
>the compiler that Apollo sold for Domain/OS
>every version of gcc through at least 2.8.1

It also works with gcc-2.95

>It breaks under:
>gcc 3.x

Right.  It's damned annoying that the gcc folk would change this.

>In other words, it works under all the score+ of compilers I've used over
>the years, from back before ANSI C, through today.  The *only* compiler
>I've ever heard of that breaks this is gcc 3.x.  It's a gcc bug.

Still, I agree with Casper that, technically, it is not a gcc bug --
just an annoying change in behavior.

Re: nn-6.6.0 now available
#9879
Author: J. Porter Clark
Date: Tue, 25 Sep 2001 14:40
18 lines
1908 bytes
Michael T Pins <mtpins@nndev.org> writes:

>This is known to work in the following compilers:
>the compiler shipped with SunOS 3.x
>the compiler shipped with SunOS 4.x
>Sun WorkShop Compiler (at least through 5.0, I haven't tested any later)

I had this problem with 6.0 (Forte).

>In other words, it works under all the score+ of compilers I've used over
>the years, from back before ANSI C, through today.  The *only* compiler
>I've ever heard of that breaks this is gcc 3.x.  It's a gcc bug.

My opinion:  I have never liked the idea of creating Makefiles by cpp
munging and would like to see it go away.  Yet another reason to go to
autoconf, IMHO.

Re: nn-6.6.0 now available
#9880
Author: Michael T Pins
Date: Tue, 25 Sep 2001 17:02
34 lines
2571 bytes
jpc@suespammers.org (J. Porter Clark) writes:

>Michael T Pins <mtpins@nndev.org> writes:

>>This is known to work in the following compilers:
>>the compiler shipped with SunOS 3.x
>>the compiler shipped with SunOS 4.x
>>Sun WorkShop Compiler (at least through 5.0, I haven't tested any later)

>I had this problem with 6.0 (Forte).

Which would explain why Casper is defending the behavior.

>>In other words, it works under all the score+ of compilers I've used over
>>the years, from back before ANSI C, through today.  The *only* compiler
>>I've ever heard of that breaks this is gcc 3.x.  It's a gcc bug.

>My opinion:  I have never liked the idea of creating Makefiles by cpp
>munging and would like to see it go away.  Yet another reason to go to
>autoconf, IMHO.

The current system was a good solution to a difficult problem when Kim
wrote it over a decade ago.  But yes, today it's a mess that complicates
things.  I've never liked autoconf, and almost certainly won't be using
it, but there are other solutions that solve the problem.  nn7 will not
have the xmakefile/ymakefile cruft, but I'm not going to spend the time
changing it in nn6.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9881
Author: Tim Skirvin
Date: Wed, 26 Sep 2001 15:24
17 lines
1989 bytes
Michael T Pins <mtpins@nndev.org> writes:

>The current system was a good solution to a difficult problem when Kim
>wrote it over a decade ago.  But yes, today it's a mess that complicates
>things.  I've never liked autoconf, and almost certainly won't be using
>it, but there are other solutions that solve the problem.  nn7 will not
>have the xmakefile/ymakefile cruft, but I'm not going to spend the time
>changing it in nn6.

	Would you use autoconf if it was offered to you?  In other words,
is it worth the trouble for me to add support?

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	The Killfile Dungeon  <*>
Re: nn-6.6.0 now available
#9882
Author: Felicia Neff
Date: Thu, 27 Sep 2001 17:09
14 lines
1377 bytes
I am running nn-6.6.0 on NetBSD-1.5.1.  I have gotten the following bug
report:

>Posting is broken. As soon as it tries to start the editor, it says:
>
>vi: not found
>[many blank lines, or a ^L]
>Lost connection to NNTP server news.panix.com: Bad file descriptor
>[more blanks or ^L]

I can reproduce this by unsetting EDITOR in my environment and running nn.
-- Felicia

Re: nn-6.6.0 now available
#9883
Author: Sascha Geschwandtner
Date: Thu, 27 Sep 2001 20:00
16 lines
1638 bytes
Felicia Neff <fn@panix.com> writes:

>>Posting is broken. As soon as it tries to start the editor, it says:
>>
>>vi: not found
>>[many blank lines, or a ^L]
>>Lost connection to NNTP server news.panix.com: Bad file descriptor
>>[more blanks or ^L]
>
>I can reproduce this by unsetting EDITOR in my environment and running nn.

This has been mentioned here several weeks ago.
As a workaround, you have to set the full path in the "set editor"
line in your ~/.nn/init.
"set editor /usr/local/bin/vim", e.g.
Re: nn-6.6.0 now available
#9886
Author: Cord Beermann
Date: Fri, 28 Sep 2001 21:17
19 lines
1543 bytes
In <C25q7.24559$x84.6956339@ruti.visi.com> Michael T Pins <mtpins@nndev.org> writes:

>Yes, at long last, nn-6.6.0 has finally been released.
>It it now the current version of nn, and is what everyone should be running.
>As ever, the latest version can be found at ftp://ftp.nndev.org

I've build a Debian-Package out of it, which can be found at
http://debian.cord.de and hopefully soon in Debian-unstable.

I've finally was able to add that ancient RFC1522 (Mime)-Patch by
Kristian K�hntopp and Stefan R�hrich to it and a few small fixes which
i also brought to the attention of Michael.

I hope that i now can ensure that Debian has an actual Package for nn.
the version in stable and testing now is 6.5.1

have fun,
	Cord
Re: nn-6.6.0 now available
#9888
Author: Felicia Neff
Date: Wed, 03 Oct 2001 20:00
21 lines
1788 bytes
On Thu, 27 Sep 2001, Sascha Geschwandtner wrote:

> Felicia Neff <fn@panix.com> writes:
>
> >>Posting is broken. As soon as it tries to start the editor, it says:
> >>
> >>vi: not found
> >>[many blank lines, or a ^L]
> >>Lost connection to NNTP server news.panix.com: Bad file descriptor
> >>[more blanks or ^L]
> >
> >I can reproduce this by unsetting EDITOR in my environment and running nn.
>
> This has been mentioned here several weeks ago.
> As a workaround, you have to set the full path in the "set editor"
> line in your ~/.nn/init.
> "set editor /usr/local/bin/vim", e.g.

Will this be fixed in the next release?  -- Felicia

Re: nn-6.6.0 now available
#9889
Author: Michael T Pins
Date: Sat, 06 Oct 2001 02:56
26 lines
2269 bytes
tskirvin@killfile.org (Tim Skirvin) writes:

>Michael T Pins <mtpins@nndev.org> writes:

>>The current system was a good solution to a difficult problem when Kim
>>wrote it over a decade ago.  But yes, today it's a mess that complicates
>>things.  I've never liked autoconf, and almost certainly won't be using
>>it, but there are other solutions that solve the problem.  nn7 will not
>>have the xmakefile/ymakefile cruft, but I'm not going to spend the time
>>changing it in nn6.

>	Would you use autoconf if it was offered to you?  In other words,
>is it worth the trouble for me to add support?

No, and no.
I really dislike autoconf.
The only thing that autoconf would gain you on nn7 is the freedom from
having to look in conf to figure out which OS file to use.  It really isn't
worth it.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9890
Author: Michael T Pins
Date: Sat, 06 Oct 2001 02:56
23 lines
1711 bytes
Felicia Neff <fn@panix.com> writes:

>I am running nn-6.6.0 on NetBSD-1.5.1.  I have gotten the following bug
>report:

>>Posting is broken. As soon as it tries to start the editor, it says:
>>
>>vi: not found
>>[many blank lines, or a ^L]
>>Lost connection to NNTP server news.panix.com: Bad file descriptor
>>[more blanks or ^L]

>I can reproduce this by unsetting EDITOR in my environment and running nn.
>-- Felicia

Known bug, it's fixed in nn-6.6.1.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9892
Author: Tim Skirvin
Date: Sat, 06 Oct 2001 13:32
33 lines
2712 bytes
Michael T Pins <mtpins@nndev.org> writes:

>>	Would you use autoconf if it was offered to you?  In other words,
>>is it worth the trouble for me to add support?
>No, and no.
>I really dislike autoconf.

	Yes, but autoconf is standard.  There's something to that.  

	My University has a large cache of nn users remaining.  Not huge
numbers, mind you - these are just people that have been using news
forever, and know that nn is the One True Way(tm).  But they've been
slowly dropping support for the last few years, slowly but surely, because
they can't build it for everything under the sun, or because it takes too
much effort.  

	autoconf is a part of this.  They're the Unix geeks, and they're
pretty hardcore about it - they've got their own package management system
(encap, http://encap.cso.uiuc.edu) and everything.  autoconf just happens 
to be *perfect* for this.  And they make decisions based on this.

	Give 'em autoconf, and you'll regain a large number of users.  

>The only thing that autoconf would gain you on nn7 is the freedom from
>having to look in conf to figure out which OS file to use.  

	That's worth a lot, you know.  A 3-step install process is good.

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	The Killfile Dungeon  <*>
Re: nn-6.6.0 now available
#9893
Author: Michael T Pins
Date: Mon, 08 Oct 2001 03:41
25 lines
2254 bytes
tskirvin@killfile.org (Tim Skirvin) writes:

>>The only thing that autoconf would gain you on nn7 is the freedom from
>>having to look in conf to figure out which OS file to use.  

>	That's worth a lot, you know.  A 3-step install process is good.

I still don't see how answering a bunch of questions in an interactive
script is easier than putting the exact same information into a
well-documented config file.

Everything in config.h, other than what s-file (and in nn-6.x, what m-file)
to use isn't something that configure can deal with anyway.  (And the nn7
config file is about half the size of the nn6 one, due to nnmaster going
away.)

Remind me again when I start releasing nn7 development trees, and we'll
discuss it.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Re: nn-6.6.0 now available
#9895
Author: David B Terrell
Date: Mon, 08 Oct 2001 07:02
32 lines
2788 bytes
Michael T Pins <mtpins@nndev.org> says:
> tskirvin@killfile.org (Tim Skirvin) writes:
> 
>>>The only thing that autoconf would gain you on nn7 is the freedom from
>>>having to look in conf to figure out which OS file to use.  
> 
>>	That's worth a lot, you know.  A 3-step install process is good.
> 
> I still don't see how answering a bunch of questions in an interactive
> script is easier than putting the exact same information into a
> well-documented config file.
> 
> Everything in config.h, other than what s-file (and in nn-6.x, what m-file)
> to use isn't something that configure can deal with anyway.  (And the nn7
> config file is about half the size of the nn6 one, due to nnmaster going
> away.)

autoconf isn't a bunch of interactive questions.  There are a few
things you need to supply on the command line for things that it
absolutely cannot guess, but I'd guess with nn going NNTP-exclusive,
there's probably nothing that autoconf can't figure out on the fly.
The point behind autoconf is that it provides a framework and a set
of tests do determine exactly what parameters you need to know about
a system to compile the software for it.  You might be confusing it
with perl's Configure or older such scripts.

-- 
David Terrell            | "Instead of plodding through the equivalent of
Prime Minister, NebCorp  | literary Xanax, the pregeeks go for sci-fi and
dbt@meat.net             | fantasy:  LSD in book form." - Benjy Feen,
http://wwn.nebcorp.com   | http://www.monkeybagel.com/ "Origins of Sysadmins"
Re: nn-6.6.0 now available
#9896
Author: Tim Skirvin
Date: Mon, 08 Oct 2001 13:51
24 lines
2442 bytes
Michael T Pins <mtpins@nndev.org> writes:

>>>The only thing that autoconf would gain you on nn7 is the freedom from
>>>having to look in conf to figure out which OS file to use.  
>>	That's worth a lot, you know.  A 3-step install process is good.
>I still don't see how answering a bunch of questions in an interactive
>script is easier than putting the exact same information into a
>well-documented config file.

	That's not autoconf.  autoconf works by just typing './configure'
and a few options, if you think they're necessary, like
'--prefix=/PROGRAM-VERSION'.  You're probably thinking of perl's
'Configure' stuff, which isn't all that good IMO.

>Remind me again when I start releasing nn7 development trees, and we'll
>discuss it.

	This would be reasonable.

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	The Killfile Dungeon  <*>
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