🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #19193

Re: slrn feature requests

#19193
From: John E. Davis
Date: Wed, 14 Feb 1996 00:00
53 lines
2411 bytes
On 11 Feb 1996 21:05:55 GMT, Sean V. Kelley <skelley@sedona.intel.com>
wrote:
 : I recently tried Slrn, and am impressed with it.  However, I would
 : like to have the option to define save directories according to the
 : newsgroup I am in.  This feature is possible with both Tin and Trn.

Currently slrn allows you to specify one directory where all non-decoded
messages are saved.  The default is:

    set save_directory "News"
    
In that directory, slrn will append messages to a file that you specify.
The file defaults to one based on the name of the newsgroup, e.g.,
News.software.readers.  Are you saying that you want, e.g,

   News/
   News/news/
   News/news/software/
   News/news/software/readers/
   News/news/software/readers/10014
   News/news/software/readers/10213
       .
       .

where the filename is based on the server id?  Something like this will
become possible once the slang interpreter is hooked into slrn (The
interpreter is part of the slang library--- slrn has not linked it in yet).
I hope to start interfacing the interpreter for 0.8.7.  When the interpreter
becomes available, more complex things will be possible, e.g., signature
files based on newsgroup name, user-definable key-functions.  For example,
there will be an article mode hook.  In it, one could do:

   define article_mode_hook (group)
   {
      if (string_match (group, "binaries"))
        {
	   set ("sorting_method", 3);
	   set ("show_thread_subject", 1);
	}
	
      if (string_match (group, "^comp"))
        {
	   set ("signature", ".signature-geek");
	}
      else set ("signature", ".signature");
   }

--John
       
   


Technical Details
Message-ID: <slrn4i4aaq.c00.davis@wiwaxia.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-mail
References: <slrn4hc4ih.eef.jkseppan@myntti.Helsinki.FI> <slrn4hcfha.apb.nkraft@bkhouse.cts.com> <slrn4hnmr2.2ku.jbn@mystery-train.cu-online.com> <4fllnj$gd7@chnews.ch.intel.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4i4aaq.c00.davis@wiwaxia.mit.edu>
Subject: Re: slrn feature requests
Date: Wed, 14 Feb 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn4hc4ih.eef.jkseppan@myntti.Helsinki.FI> <slrn4hcfha.apb.nkraft@bkhouse.cts.com> <slrn4hnmr2.2ku.jbn@mystery-train.cu-online.com> <4fllnj$gd7@chnews.ch.intel.com>
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: 139382880
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers