🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28231

slrn 0.9.2 released

#28231
From: da... John E. Davis
Date: Mon, 09 Dec 1996 00:00
113 lines
5254 bytes

slrn 0.9.2 has been released.  It is available from:

    ftp://space.mit.edu/pub/davis/slrn

as well as

    ftp://ftp.uni-stuttgart.de:/pub/unix/misc/slang/
    ftp://ftp.prz.tu-berlin.de/pub/unix/news/reader/slrn/
    ftp://ftp.ntua.gr/pub/lang/slang/
    
There have been a number of improvements in this version as well as
several bug fixes.  Here is the list of changes since 0.9.1.  If you
have created your own macros, pay special attention to the first item.

0.  The macro functions read_mini and read_mini_no_echo now take three
    arguments.  See README.macros for more information.  This change
    was necessary because the ``read input from user'' routines are
    now more flexible and support recall of previously entered text.

1.  Renamed `group_mode_hook' to `group_mode_startup_hook'.  Added a new
    hook `group_mode_hook' that is called every time group mode is
    re-entered.
2.  Oops.  A horrible bug that manifested itself when the quote string
    was not specified via `set quote_string' has been fixed.
3.  `set use_color' added so that `set use_color 0' may be used to
    turn off color support.
4.  The name of a header and its value may be be given a different
    colors using, e.g.,
    
        color headers "green" "white"
        color header_name "red" "white"
	
    This means that the header 'From: da...@space.mit.edu' will appear
    with 'From:' in red/white and the rest will appear as green/white.
5.  It is now possible to customize the keybindings of the command
    prompt.  The defaults are:
    
setkey readline bol		 "^A"		% Beginning of line
setkey readline eol		 "^E"		% End of line
setkey readline right		 "\e[C"		% Move right
setkey readline left		 "\e[D"		% Move left
setkey readline bdel		 "^H"		% Delete backward
setkey readline bdel		 "^?"		% Delete Backward
setkey readline del		 "^D"		% Delete Foreword
setkey readline deleol		 "^K"		% Delete to End of line
setkey readline trim		 "\e/"		% Trim whitespace
setkey readline quoted_insert	 "^Q"		% Quoted insert

    The name of the keymap is `readline'.

6.  New intrinsic functions for macros include:

      thread_size              % Returns number of headers in thread
      collapse_thread          % Collapse current thread
      uncollapse_thread        % Uncollapse current thread
      is_thread_collapsed      % Returns non-zero if current thread is collapsed
      get_header_tag_number   
      article_as_string        % Returns whole article as a string
      tt_send                  % Send argument to terminal
      header_next_unread       % goto next unread header
      input_pending            % Wait for input or timeout
      getkey                   % read keyboard character
      ungetkey                 % push back keyboard character
      set_input_string         % provide answer to prompt
      get_yes_no_cancel        % get response from user
      
    See README.macros for more information.

7.  New .slrnrc variable macro_directory controls where macro file are
    loaded from.  For example, 
    
        set macro_dir "News/macros,/usr/local/lib/slrn/macros"
	interpret "util.sl"
	interpret "tin.sl"
	
    will search for the macro files in $HOME/News/macros,
    /usr/local/lib/slrn/macros, and, as a last resort, in the home
    directory ($HOME).

8.  Now possible to add custom headers to followups and replies.  The
    actual headers are controlled by new slrn.rc variables:
    
         set reply_custom_headers "X-Bla: Bla bla"
         set followup_custom_headers "X-Bla: Bla bla"
	 
    The string assigned to these variables may contain the format
    specifiers of the 'followup' variable.  This idea was presented to
    me by John Goerzen <jgoe...@complete.org>.
    
9.  Several people have sent me patches for customization of high/low
    score thresholds.  The following .slrnrc variables are now available:
    
          set min_high_score 1
	  set max_low_score 0
	  set kill_score -9999

    One might want to set these on a group by group basis.  This is
    possible via a macro.  The best way to do this is to put the
    appropriate statements in a 'pre_article_mode_hook' described below.
    
10. New hooks for macros:

        resize_screen_hook : called when screen size changes
	pre_article_mode_hook: called before grabbing headers from server
	  in article mode.

-- 
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: <slrn5antth.otl.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn5antth.otl.davis@aluche.mit.edu>
Subject: slrn 0.9.2 released
Date: Mon, 09 Dec 1996 00:00:00 +0000
From: da...@space.mit.edu (John E. Davis)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 203122872
Organization: Center for Space Research
Keywords: slrn newsreader slang
Reply-to: da...@space.mit.edu
Newsgroups: news.software.readers,alt.lang.s-lang,comp.os.linux.misc