Article View: news.software.readers
Article #23624Re: slrn 0.8.8.3 missing -h option
From: John E. Davis
Date: Tue, 02 Jul 1996 00:00
Date: Tue, 02 Jul 1996 00:00
52 lines
2509 bytes
2509 bytes
On 2 Jul 1996 11:00:54 GMT, Alain Knaff <knaff@choiseul.inrialpes.fr>
wrote:
: In <slrn44thnct.12k.hejny@buntspecht.physik.uni-giessen.de>, Volker Hejny <hejny
: @buntspecht.physik.uni-giessen.de> wrote:
: :> slrn --nntp -h news.server.name
: :
: :I have the same problem and I have the nntp option as default. Also,
: :the -help flag seems to be missing in the current version.
:
: Works for me. The --nntp flag has to be given _before) -h and -p
: (... and oddly enough, also before --help...). Btw, I didn't
: (knowingly) enable local spool support in configure, and I still need
: the --nntp flag.
Did you apply the patch I suggested in the BUGS file? Here are the contents
of that file:
The --help command line parameter does not work. Apply the following patch
to slrn/src/slrn.c to correct this:
--- slrn.c.orig Fri Jun 28 13:01:11 1996
+++ slrn.c Sat Jun 29 14:20:44 1996
@@ -700,10 +700,10 @@
if (obj == NULL)
{
zero_ok = 0;
-#if SLRN_SERVER_OBJ == SLRN_SERVER_ID_SPOOL
+#if SLRN_DEFAULT_SERVER_OBJ == SLRN_SERVER_ID_SPOOL
obj = "spool";
#endif
-#if SLRN_SERVER_OBJ == SLRN_SERVER_ID_NNTP
+#if SLRN_DEFAULT_SERVER_OBJ == SLRN_SERVER_ID_NNTP
obj = "nntp";
#endif
}
@@ -767,6 +767,7 @@
{
i += parse_object_args (argv[i] + 2, argv + (i + 1), argc - (i + 1));
}
+ else if (!strcmp ("--help", argv[i])) usage (NULL);
else if (!strcmp ("-create", argv[i])) create_flag = 1;
else if (!strcmp ("-C", argv[i])) use_color = 1;
else if (!strcmp ("-a", argv[i])) use_active = 1;
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Technical Details
Message-ID:
<slrn4tiqdj.eme.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4r9em9$dqo@newsgate.sps.mot.com> <slrn4tgkmf.e68.davis@aluche.mit.edu> <slrn44thnct.12k.hejny@buntspecht.physik.uni-giessen.de> <slrn4ti0b6.e92.knaff@choiseul.inrialpes.fr>Show Full Headers
Complete Article Headers
Message-ID: <slrn4tiqdj.eme.davis@aluche.mit.edu> Subject: Re: slrn 0.8.8.3 missing -h option Date: Tue, 02 Jul 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <4r9em9$dqo@newsgate.sps.mot.com> <slrn4tgkmf.e68.davis@aluche.mit.edu> <slrn44thnct.12k.hejny@buntspecht.physik.uni-giessen.de> <slrn4ti0b6.e92.knaff@choiseul.inrialpes.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 163324895 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers