🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by da... John E. Davis Tue, 26 Mar 1996 00:00
SLRN: 0.8.7 released
#20163
Author: da... John E. Davis
Date: Tue, 26 Mar 1996 00:00
179 lines
9010 bytes
Version 0.8.7 of the slrn newsreader is available from space.mit.edu in
pub/davis/slrn.  Slrn is also available in Europe at ftp.uni-stuttgart.de in
/pub/unix/misc/slang.

For images of slrn in action, see the slrn web page at
http://space.mit.edu/~davis/slrn.html.

The main new features in this release include a `configure' script to
facilitate building slrn under Unix systems and `thread selectors'. The
thread selectors allow one to move to any header visible on the screen with
one or two keystrokes.  More detailed changes follow below.

SLRN is an NNTP newsreader with the following features:

  * Runs under Unix, VMS, and OS/2
  * True referenced-based threading
  * Score (Kill) file support with scores that can be set to expire
  * 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
  * Built-in support for MIME
  * Smart screen updating
  * Online help which is also customizable
  * Automatic reconnect if server drops connection
  * Fast on slow modem connections.  It does not read the whole active file
     like many other newsreaders.
  * Compile with TERM support under Linux
  * XTerm mouse support with clickable buttons
  * Easy uudecoding of articles

Here is a brief list of changes/additions:

Changes since 0.8.6
0.  Under Unix there is a new `configure' script for building slrn.
1.  ``Header Numbers'' add for more efficient article selection.  This is
    enabled by default and may be disabled by adding
    
        set use_header_numbers 0
	
    in your .slrnrc file.  In addition, the color of these numbers may be
    controlled via something like
    
        color header_number "green" "white"
	
    The numbers appear at the left margin of the header window.  To goto a
    particular numbered header, e.g., 12, simply press `1' then `2' followed
    by RETURN, SPACE, etc...
2.  The function ``xpunge'' has been added for article mode.  The default
    binding of this function is to the `x' key.  It removes already read
    articles from the list.
3.  If slrn does not read the active file, then it will now attempt to use
    the `xgtitle' command to query the server for newsgroups matching a
    pattern.  (This affects the `L' key in group-mode).
Changes since 0.8.5
-1. New distribution structure
0.  Thanks to Jay Maynard (jmay...@nwpros.com), slrn now runs under OS/2.  
    Since this is the first OS/2 version, it should be regarded as ALPHA.
1.  New .slrnrc configuration variable: prompt_next_group.  If 0, slrn will
    not provide the opportunity to use up/down arrow keys to select the next
    group.  Instead, pressing a key that performs a goto next group action,
    e.g., the Next-Group mouse button, will simply put you in the headers of
    the next group in the group list.
2.  When the mouse is clicked on a button at the top of the display, the
    button will ``flash''.  The color that is used to simulate the flash may
    be specified by using, e.g., 
    
         set color menu_press blue yellow
	 
    in your .slrnrc file.
3.  New groups are displayed with an `N' in the flags column.
4.  `ESC 1 L' will hide unsubscribed groups  (`L' with a prefix argument).
5.  The `?' key may be used in help mode to re-start help.
6.  OS/2 port thanks to Jay Maynard <jmay...@admin5.hsc.uth.tmc.edu>.
    Note: this port is still considered to be in its alpha stage.
7.  slrn will nolonger run unless the user has a username and a FQDN.
8.  New article mode functions (Thanks to Alain...@imag.fr (Alain Knaff)):
      fast_quit                       % quit news reader from article mode
      skip_to_prev_group              %
    None of these function have default bindings.
9.  When replying, slrn will warn the user if the email address appears
    invalid.
10. New configuration variable:

       set use_metamail 0
       
    If non-zero, metamail will be called to process MIME articles that 
    slrn does not support.

Changes since 0.8.4
1.  Small bug fixes (nothing major).
2.  Cosmetic change where one can more easily see the progress of the
    download of tagged articles.  In addition the server name is printed on
    the top status line.
3.  The `*' (toggle_header_tag) function has been changed.  If used on a
    collapsed thread, it will tag the entire thread.  In addition, after
    pressing `*', the pointer moves down one header.
4.  -m command line option forces XTerm mouse reporting to be turned on.
5.  When the mouse is enabled, ``buttons'' also appear on the top status
    line.  Simply click on them with the mouse.  Perhaps in the future,
    these buttons will become menus.

Changes since 0.8.3
0.  The slrn makefile has changed.  Now it asks for a location to put slrn
    object files and it asks for the location of the slang library file.
    The nice thing about this is that it is easy to compile slrn under
    multiple architectures.  The down side is that some makes will not work
    with the Makefile.  If your make fails, use Makefile.old.  Since I do
    not plan to continue support for Makefile.old, please look into
    installing GNUmake.
1.  .newsrc file is now created in mode where only user has read permission
    to it.
2.  If a prefix argument is given to the subscribe/unsubscribe commands, the
    user will be prompted for a group pattern which will be used, e.g., 
    pressing `ESC 1 s' and entering `*linux*' at the prompt will result in
    a subscription to all newsgroups of form `*linux*'.
3.  If a prefix argument is given to the `K' (create_score) function, the
    editor will be called to edit the score file-- no questions asked.
4.  New .slrnrc variable: query_read_group_cutoff
    Whenever slrn enters a group with `query_read_group_cutoff' or more
    unread articles in it, it will prompt for how many to read.  The default
    is 100.  If set to 0 or less than 0, slrn will not prompt at all, i.e.,
    
        set query_read_group_cutoff 0

5.  It is now possible to have articles automatically wrapped by adding 4 to
    the wrap flags value.  See the slrn.rc file.
6.  VMS changes: some patches added, ``makefiles'' fixed

Changes since 0.8.2
1.  If slrn cannot find a fully qualified domain name, it will not run.
    This name can be specified in the .slrnrc file so there is no excuse for
    not having one.  There are too many articles already floating around
    usenet with bad hostnames and I do not want slrn to contribute to this.
2.  Bug in authorization fixed
3.  Oops.  If one were editing a file from within slrn and the window was
    resized, slrn would re-draw the window!  That is fixed.
4.  article wrapping added-- press `w' in article mode to wrap/unwrap.  The
    variable `wrap_flags' may be used to control whether or not headers or
    quoted material is wrapped, e.g.,
    
        set wrap_flags 1    % Wrap headers
	set wrap_flags 2    % Wrap quoted material
	set wrap_flags 3    % Wrap headers and quoted material
	
    The default is to wrap everything (3).

5.  slrn may be started as in `slrn -h server.name:XXX' where XXX in an
    integer that represents a port number. 

6.  `set sendmail_command' may be used in the .slrnrc file to specify an
    alternative mail program.  The default is: 
    
          "/usr/lib/sendmail -oi -t -oem -odb"
	  
    See config.h for selecting a different default.
       
7.  ESC u in group mode may be used to Un-Catchup on a group.


-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Re: SLRN: 0.8.7 released
#20184
Author: da... John E. Davis
Date: Wed, 27 Mar 1996 00:00
28 lines
1850 bytes
On 27 Mar 1996 19:06:16 GMT, Alain Knaff <kn...@choiseul.inrialpes.fr>
wrote:
 : :3.  If slrn does not read the active file, then it will now attempt to use
 : :    the `xgtitle' command to query the server for newsgroups matching a
 : :    pattern.  (This affects the `L' key in group-mode).
 : 
 :  Thanks very much for putting this in. However, I noticed a small bug:
 : When I use L* (to get all groups), the listing only includes the first
 : few (apparently until it happens upon a group which is already in the
 : .newsrc)
 
I do not see how this is possible.  For example, look at the function
`process_xgtitle_info' in group.c--- all information returned by the server
is processed.  However, group names that the server returns that are already
present in your newsrc file are marked as unhidden but they are not
re-arranged in the list.  Perhaps this is the effect that you are seeing.

 :  Another tidbit: In mime.c, the macro definition of isalnum lacked the
 : backslashes at the end of its continued lines (this is around line
 : 83).

Yea, someone else also pointed this out.  Hopefully most systems already
define this macro so most people will not notice.

--John

Re: SLRN: 0.8.7 released
#20191
Author: kn... Alain Knaff
Date: Wed, 27 Mar 1996 00:00
21 lines
1349 bytes
In <slrn4lgvf...@wiwaxia.mit.edu>, John E. Davis <da...@space.mit.edu> wrote:
[...]
:3.  If slrn does not read the active file, then it will now attempt to use
:    the `xgtitle' command to query the server for newsgroups matching a
:    pattern.  (This affects the `L' key in group-mode).

 Thanks very much for putting this in. However, I noticed a small bug:
When I use L* (to get all groups), the listing only includes the first
few (apparently until it happens upon a group which is already in the
newsrc)

 Another tidbit: In mime.c, the macro definition of isalnum lacked the
backslashes at the end of its continued lines (this is around line
83).

 Best wishes,

 Alain

Re: SLRN: 0.8.7 released
#20192
Author: jmay... Jay Maynard
Date: Thu, 28 Mar 1996 00:00
20 lines
1745 bytes
On 26 Mar 1996 23:30:07 GMT, John E. Davis <da...@space.mit.edu> wrote:
>Version 0.8.7 of the slrn newsreader is available from space.mit.edu in
>pub/davis/slrn.  Slrn is also available in Europe at ftp.uni-stuttgart.de in
>/pub/unix/misc/slang.

A .zip file containing the compiled OS/2 binary, as well as the pertinent
documentation files from the source code, has been uploaded to ftp.cdrom.com
in directory os2/incoming, as slrn0871.zip.use.this.one. (Yeah, I know...I
caught a bug after uploading the original.) It should be moved to the
os2/network/tcpip directory in a few days, as slrn0871.zip. The OS/2 version
has nearly all of the features of the Unix version; the few restrictions are
documented in the README.os2 file.
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain

Re: SLRN: 0.8.7 released
#20201
Author: ru... R. Smith
Date: Thu, 28 Mar 1996 00:00
16 lines
1091 bytes
In article <slrn4lgvf...@wiwaxia.mit.edu>, John E. Davis wrote:
>Version 0.8.7 of the slrn newsreader is available from space.mit.edu in
>pub/davis/slrn.  Slrn is also available in Europe at ftp.uni-stuttgart.de in
>/pub/unix/misc/slang.
>
>For images of slrn in action, see the slrn web page at
>http://space.mit.edu/~davis/slrn.html.

And I have to ask, once again:  could we have article sorting by
score value?  Pretty please?  This is an strn feature I really miss.

-R


Re: SLRN: 0.8.7 released
#20217
Author: da... John E. Davis
Date: Thu, 28 Mar 1996 00:00
32 lines
1569 bytes
On 28 Mar 1996 19:24:43 GMT, R. Smith <ru...@littlewood.math.okstate.edu>
wrote:
 : And I have to ask, once again:  could we have article sorting by
 : score value?  Pretty please?  This is an strn feature I really miss.

Here is a quick hack.  Hopefully this is a step closer to what you want.
Replace slrn/src/art.c:header_subj_cmp with this version:

static int header_subj_cmp (Slrn_Header_Type **ap, Slrn_Header_Type **bp)
{
   int cmp;
   Slrn_Header_Type *a = *ap, *b = *bp;
   int ahigh, bhigh;
   
   ahigh = (0 != (a->flags & (HEADER_HIGH_SCORE | FAKE_HEADER_HIGH_SCORE)));
   bhigh = (0 != (b->flags & (HEADER_HIGH_SCORE | FAKE_HEADER_HIGH_SCORE)));
   
   if (ahigh == bhigh)
     {
	cmp = subject_cmp ((unsigned char *) (a->subject),
			   (unsigned char *) (b->subject));
	if (!cmp) return a->number - b->number;
     }
   else cmp = bhigh - ahigh;
   
   return cmp;
}

--John

Re: SLRN: 0.8.7 released
#20226
Author: Alain Knaff
Date: Thu, 28 Mar 1996 00:00
32 lines
2109 bytes
In <slrn4lj8o7.nbm.davis@wiwaxia.mit.edu>, John E. Davis <davis@space.mit.edu> wrote:
:On 27 Mar 1996 19:06:16 GMT, Alain Knaff <knaff@choiseul.inrialpes.fr>
:wrote:
: : :3.  If slrn does not read the active file, then it will now attempt to use
: : :    the `xgtitle' command to query the server for newsgroups matching a
: : :    pattern.  (This affects the `L' key in group-mode).
: : 
: :  Thanks very much for putting this in. However, I noticed a small bug:
: : When I use L* (to get all groups), the listing only includes the first
: : few (apparently until it happens upon a group which is already in the
: : .newsrc)
: 
:I do not see how this is possible.  For example, look at the function
:`process_xgtitle_info' in group.c--- all information returned by the server
:is processed.  However, group names that the server returns that are already
:present in your newsrc file are marked as unhidden but they are not
:re-arranged in the list.  Perhaps this is the effect that you are seeing.

 Actually, I had forgotten to include 'set use_xgtitle 1' into my
.slrnrc, and misinterpreted the result. Now everything works fine.

-- 
 Linux - Where do you want to fly today ?
 Windows 95 - Makes a grown man cry

 Today I found a letter in my mailbox. On the envelope, it said "Gas Bill",
and I thought it was an excellent idea :)

 Alain


Re: SLRN: 0.8.7 released
#20241
Author: ru... R. Smith
Date: Fri, 29 Mar 1996 00:00
44 lines
1926 bytes
In article <slrn4lm67...@wiwaxia.mit.edu>, John E. Davis wrote:
>On 28 Mar 1996 19:24:43 GMT, R. Smith <ru...@littlewood.math.okstate.edu>
>wrote:
> : And I have to ask, once again:  could we have article sorting by
> : score value?  Pretty please?  This is an strn feature I really miss.
>
>Here is a quick hack.  Hopefully this is a step closer to what you want.
>Replace slrn/src/art.c:header_subj_cmp with this version:
>
>static int header_subj_cmp (Slrn_Header_Type **ap, Slrn_Header_Type **bp)
>{
>   int cmp;
>   Slrn_Header_Type *a = *ap, *b = *bp;
>   int ahigh, bhigh;
>   
>   ahigh = (0 != (a->flags & (HEADER_HIGH_SCORE | FAKE_HEADER_HIGH_SCORE)));
>   bhigh = (0 != (b->flags & (HEADER_HIGH_SCORE | FAKE_HEADER_HIGH_SCORE)));
>   
>   if (ahigh == bhigh)
>     {
>	cmp = subject_cmp ((unsigned char *) (a->subject),
>			   (unsigned char *) (b->subject));
>	if (!cmp) return a->number - b->number;
>     }
>   else cmp = bhigh - ahigh;
>   
>   return cmp;
>}
>
>--John
>


For the record, this works fine, once you remember to set sorting_method
to 2 or 3.  I'm not sure I'd recommend it as a permanent method, but. :)

-R

-- 
Russ Smith
16i9477F24BA6E9E2C7[d64%P64/d0<y]sylyx

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