🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by da... John E. Davis Mon, 19 Feb 1996 00:00
slrn0.8.6 released
#19350
Author: da... John E. Davis
Date: Mon, 19 Feb 1996 00:00
47 lines
2600 bytes
Hi,

   Version 0.8.6 of slrn is available from space.mit.edu in pub/davis/slrn.
It should also be available from the European mirror site site
ftp.uni-stuttgart.de:/pub/unix/misc/slang.  Remember to to download the
distribution in BINARY mode.  The server defaults to text mode.

   Thanks to Jay Maynard (jmay...@nwpros.com), newest version runs under
OS/2.  See the changes.txt file for more details.

For those who do not know, slrn is a powerful but very friendly NNTP based
newsreader for Unix, VMS, and OS/2 that boasts the following features:

  * True referenced-based threading
  * Score (Kill) file support with scores that can be set to expire
  * Built-in MIME support
  * Draws a colored thread tree using line drawing characters
  * Multiple server support
  * Multiple windows
     - Header summary window showing threads
     - Article window
  * Customizable 
     - Keybindings
     - Colors
         For example, the default colors, say, using a color xterm such as
	 rxvt, shows the top status bar in blue on white, the author's name
	 in the header summary window as magenta on white, the thread tree
	 as red lines connecting subject titles, the window status lines
	 appear as yellow on blue, the article headers in the article window
	 are cyan on white, the quoted text appears as red on white, and
	 the body of the article appears as blue on white.
     - Server -> newsrc mappings
  * Smart screen updating
  * Online help which is also customizable
  * Automatic reconnect if server drops connection
  * Fast on slow modem connections.  It does not have to read the whole
     active file like many other newsreaders.
  * Compile with TERM support under Linux
  * XTerm mouse support
  * Easy uudecoding of articles
  
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139

Re: slrn0.8.6 released
#19403
Author: jca... John Caruso
Date: Tue, 20 Feb 1996 00:00
25 lines
1690 bytes
On 19 Feb 1996 22:17:13 GMT, John E. Davis <da...@space.mit.edu> wrote:
>
>   Version 0.8.6 of slrn is available from space.mit.edu in pub/davis/slrn.

Big problem in this release:  it dumps core under certain circumstances.
I'd noticed a minor bug(?) in the reply option--it now prints a newline
after the "Sending..." prompt is displayed, so the screen shifts down a
line--and I was going to test it a bit more.  When I went to reply to a
different article, slrn 0.8.6 hit a segmentation fault and dumped core.
I'm able to reproduce this reliably.  I tried replying to the same article
in slrn 0.8.5, and while it doesn't correctly parse the From: header (it
generates an empty string for the address of the recipient) it at least
doesn't dump core.

The Message-ID for the message is <slrn4i1j...@raptor.sr.csg.com>,
posted to news.software.readers.

--
John Caruso, Senior Technical Consultant
ADP Claims Solutions Group                 Phone: (800) 366-4237 x2102
2010 Crow Canyon Place                     FAX  : (510) 866-4839
San Ramon, CA  94583 (USA)                 Email: jca...@sr.csg.com

Bug Fix (Re: slrn0.8.6 released)
#19445
Author: da... John E. Davis
Date: Thu, 22 Feb 1996 00:00
86 lines
3014 bytes
On 20 Feb 1996 18:06:19 GMT, John Caruso <jca...@sr.csg.com>
wrote:
 : On 19 Feb 1996 22:17:13 GMT, John E. Davis <da...@space.mit.edu> wrote:
 : >
 : >   Version 0.8.6 of slrn is available from space.mit.edu in pub/davis/slrn.
 : 
 : Big problem in this release:  it dumps core under certain circumstances.
 : I'd noticed a minor bug(?) in the reply option--it now prints a newline

Here is a patch for the bug.  The patch affects the `reply' function in
art.c as well as the `parse_from' function.  Finally I have included the
missing `;' patch for uudecode.c that affects compiling slrn on OS/2.  Note:
I made slrn 0.8.6-1 available which includes these patches.  You may feel
more comfortable grabbing the executable.

--- art.c.orig	Wed Feb 21 20:52:04 1996
+++ art.c	Wed Feb 21 23:26:06 1996
@@ -961,12 +961,27 @@
    /* strip comments */
    while ((ch = *from++) != 0)
      {
-	if ((ch == '"') || (ch == '('))
+	if (ch == '"')
 	  {
-	     if (ch == '(') ch = ')';
-	     
 	     ch1 = ch;
-	     while (((ch = *from++) != 0) && (ch != ch1)) ;
+	     while (((ch = *from++) != 0) && (ch != ch1)) 
+	       ;
+	     if (ch == 0) return NULL;
+	  }
+	else if (ch == '(')
+	  {
+	     int nump = 1;
+	     ch1 = ')';
+	     
+	     while ((ch = *from++) != 0)
+	       {
+		  if (ch == '(') nump++;
+		  else if (ch == ch1)
+		    {
+		       nump--;
+		       if (nump == 0) break;
+		    }
+	       }
 	     if (ch == 0) return NULL;
 	  }
 	else if (ch == ')') return NULL;
@@ -1012,8 +1027,8 @@
      }
    from = parse_from (from);
    
-   f = slrn_strchr (from, '@');
-   if ((f == NULL) 
+   if ((from == NULL) 
+       || (NULL == (f = slrn_strchr (from, '@')))
        || (f == from)
        || (0 == slrn_is_fqdn (f + 1)))
      {

**************** END OF art.c PATCH *************************

--- uudecode.c.orig	Mon Feb 19 16:52:18 1996
+++ uudecode.c	Wed Feb 21 23:31:00 1996
@@ -79,7 +79,7 @@
    FILE *fp, *outfp;
    char buf[4096];
 #ifdef __os2__
-   char olddir_buf[256]
+   char olddir_buf[256];
 #endif
      
    if (newdir == NULL)

**************** END OF uudecode.c PATCH *************************

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139




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