🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
18 messages
18 total messages Started by Jouni K Seppanen Mon, 05 Feb 1996 00:00
slrn feature requests
#18718
Author: Jouni K Seppanen
Date: Mon, 05 Feb 1996 00:00
15 lines
1138 bytes
Two more features I would like to see in slrn:

1. A key for "Quick Quit", like 'Q' in a lot of programs, would be
really helpful on a slow modem link, for example.
2. An indicator for incoming mail might be handy, when you're waiting
for an important piece of e-mail and trying to pass time reading news.

Thanks,

-- 
Jouni K Seppanen, Helsinki, Finland
http://www.helsinki.fi/~jkseppan/ (finger jkseppan@kruuna)


Re: slrn feature requests
#18725
Author: Norman Kraft
Date: Mon, 05 Feb 1996 00:00
38 lines
2243 bytes
On 5 Feb 1996 14:21:49 GMT, Jouni K Seppanen <jkseppan@cc.Helsinki.FI> wrote:
 >Two more features I would like to see in slrn:
 >
 >1. A key for "Quick Quit", like 'Q' in a lot of programs, would be
 >really helpful on a slow modem link, for example.
 >2. An indicator for incoming mail might be handy, when you're waiting
 >for an important piece of e-mail and trying to pass time reading news.

Good ideas, especially if that "Quick Quit" key lets you abandon
long article transfers. There is nothing worse than accidentally
hitting enter over a 12,000 line uuencoded binary article only to
find that the article reading code doesn't check the keyboard.
I've been meaning to hack this in...

Another thing I added to my slrn that might help others is that
when a series of articles are tagged for download in a binary
group (say alt.binaries.fonts, where I might tag 10 or 15 files),
I've changed the "Reading..." status line (in art.c) to include
the subject of the article being read and total lines. Thus,
instead of having a status line of "Reading...10 lines", etc, it
looks more like this:

Reading (10/700) "Palatino Font in TTF format (1/3)"

At least this way when I'm popping back and forth between virtual
consoles, I can get some idea of how far along things are and
whether or not I have time for coffee. :) 

Norm.

----------------------------------------------------------------------
Norman Kraft                 | INET   : nkraft@bkhouse.cts.com 
Argus Computing              |
San Diego, CA                | Linux, the choice of a GNU generation!
----------------------------------------------------------------------


Re: slrn feature requests
#18756
Author: John Caruso
Date: Tue, 06 Feb 1996 00:00
30 lines
2154 bytes
On 5 Feb 1996 17:26:36 GMT, Norman Kraft <nkraft@bkhouse.cts.com> wrote:
>
>Good ideas, especially if that "Quick Quit" key lets you abandon
>long article transfers. There is nothing worse than accidentally
>hitting enter over a 12,000 line uuencoded binary article only to
>find that the article reading code doesn't check the keyboard.

Absolutely.  This is a feature sorely lacking in slrn right now.  I often
run into it when I hit "n" at the last article in the article window, so
I don't see that the next article is thousands of lines long.  Minutes
later I've got the full text of an article I don't want to see.  John's
usual response is that reconnecting NNTP causes too much overhead, but
how can that traffic come even close to the amount of traffic generated
by a huge article transfer?  And knews interrupts NNTP transfers with no
apparent ill effects, so the counterexample is already there.

Please, add CTRL-C interruption of article transfers.  Also, there is a
problem with the current CTRL-Z code.  It looks as though the interrupt
isn't being reset after it's caught once; you only get one CTRL-Z, and
if you resume after that you can't CTRL-Z again during that operation.
This happens during an article read, group read, or a "get new news".

--
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: jcaruso@sr.csg.com


Re: slrn feature requests
#18772
Author: Yeechang Lee
Date: Tue, 06 Feb 1996 00:00
13 lines
1097 bytes
John Caruso <jcaruso@sr.csg.com> wrote:
|Please, add CTRL-C interruption of article transfers.

Nah; make it C-g, in like with the GNUS/Emacs paradigm slrn already
adheres to.
-- 
http://www.columbia.edu/~ylee/      _.
icbm://40.83.-73.91/            __./ |
                               /___. |___
                        PERTH------>\*./


Re: slrn feature requests
#18881
Author: Anthony D. Martin
Date: Thu, 08 Feb 1996 00:00
22 lines
1787 bytes
In article <slrn4hff7e.47e.jcaruso@raptor.sr.csg.com>, John Caruso wrote:
 : Absolutely.  This is a feature sorely lacking in slrn right now.  I often
 : run into it when I hit "n" at the last article in the article window, so
 : I don't see that the next article is thousands of lines long.  Minutes

This could be avoided if the slrn article window behaved like GNUS.
Specifically, in GNUS, when you hit "n" the article window scrolls up,
rather than the pointer moving down.  This keeps the currently selected
article centered in the article window, and you can always see the next
article.  This is one feature of GNUS that is missing from slrn.

As long as we are requesting features, how about adding mail handling
capability to slrn.  It seems that most of the needed code already exists.
I can even filter the mail myself into separate files if necessary.  All that
slrn would have to do is treat each mail file as another group.  How different
is news from mail anyway?  Also, isn't there a theory that any decent
program eventually grows to the point where it can read mail? :-)

Tony.


Re: slrn feature requests
#18897
Author: John E. Davis
Date: Thu, 08 Feb 1996 00:00
58 lines
2976 bytes
On 6 Feb 1996 20:39:55 GMT, John Caruso <jcaruso@sr.csg.com>
wrote:
 : On 5 Feb 1996 17:26:36 GMT, Norman Kraft <nkraft@bkhouse.cts.com> wrote:
 : Absolutely.  This is a feature sorely lacking in slrn right now.  I often
 : run into it when I hit "n" at the last article in the article window, so
 : I don't see that the next article is thousands of lines long.  Minutes
 
I am not suggesting that this is a solution but for the time being, you may
want to mark articles with many lines as read, e.g.,

    Score: -100
    Lines: 1000

will assign a score of -100 to the article if the article has more than
1000 lines.  How do you feel about some sort of variable that controls the
minimum number of lines that an article must have before asking the the user
for confirmation to read the article?  That is, query the user with
something like:

   This article has 2100 lines.  Do you still want to read it? ([y]/n)

 : later I've got the full text of an article I don't want to see.  John's
 : usual response is that reconnecting NNTP causes too much overhead, but
 : how can that traffic come even close to the amount of traffic generated
 : by a huge article transfer?  And knews interrupts NNTP transfers with no
 : apparent ill effects, so the counterexample is already there.
 
This is on my TODO list.  What I have heard is that such a disconnect puts
extra load on the server because of the way some servers timeout.  I do not
know much about things on the server side but I feel that it is up to the
server to manage dropped connections properly.

 : Please, add CTRL-C interruption of article transfers.  Also, there is a
 : problem with the current CTRL-Z code.  It looks as though the interrupt
 : isn't being reset after it's caught once; you only get one CTRL-Z, and
 : if you resume after that you can't CTRL-Z again during that operation.
 
Oops.  Use this in slrn.c instead of the version already there:

void slrn_suspend (int sig)
{
#ifdef SIGSTOP
   int init = Slrn_TT_Initialized;
   slrn_reset_display (sig);
   kill(getpid(),SIGSTOP);
   slrn_init_display (init, sig);
#ifdef USE_RESUME_SMG
   if (Slrn_Suspension_Ok) SLtty_set_suspend_state (1);
#endif
#else
   slrn_error ("Not implemented.");
#endif
}

--John


Re: slrn feature requests
#18933
Author: John Caruso
Date: Fri, 09 Feb 1996 00:00
27 lines
1975 bytes
On 8 Feb 1996 04:30:20 GMT, John E. Davis <davis@space.mit.edu> wrote:
>How do you feel about some sort of variable that controls the
>minimum number of lines that an article must have before asking the the user
>for confirmation to read the article?  That is, query the user with
>something like:
>
>   This article has 2100 lines.  Do you still want to read it? ([y]/n)

Hmm...it would be useful as a temporary solution, but I occasionally
have lockups even in the middle of short article transfers.  These are
usually caused by a router in the stream deep-sixing a packet, and as
such new connections go at normal speed--it's just this "hung" connection
that's affected because it's waiting on a TCP/IP timeout.  So a size
cutoff would only solve half of the problem...being able to interrupt a
transfer and reconnect on the next request would take care of everything.

(BTW, I've always been impressed with slrn's ability to reconnect after
an NNTP session is dropped, without losing context...nifty!)

--
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: jcaruso@sr.csg.com


Re: slrn feature requests
#18976
Author: J.B. Nicholson-Owens
Date: Sat, 10 Feb 1996 00:00
46 lines
3176 bytes
On 5 Feb 1996 14:21:49 GMT, Jouni K Seppanen <jkseppan@cc.Helsinki.FI> wrote:
> 1. A key for "Quick Quit", like 'Q' in a lot of programs, would be
> really helpful on a slow modem link, for example.
> 2. An indicator for incoming mail might be handy, when you're waiting
> for an important piece of e-mail and trying to pass time reading news.

On 5 Feb 1996 17:26:36 GMT, Norman Kraft <nkraft@bkhouse.cts.com> replied:
> Good ideas, especially if that "Quick Quit" key lets you abandon
> long article transfers. There is nothing worse than accidentally
> hitting enter over a 12,000 line uuencoded binary article only to
> find that the article reading code doesn't check the keyboard.
> I've been meaning to hack this in...

I think it's a bad idea.  I think aborting a transfer with ^G (slrn's
'cancel' keystroke) is a good idea, but I certainly don't want to quit the
newsreader just because I cancel downloading an article.  If you want to
quit the newsreader any more quickly than slrn already does, you would have
to eliminate saving the newsrc, which is obviously a bad idea.

> Another thing I added to my slrn that might help others is that
> when a series of articles are tagged for download in a binary
> group (say alt.binaries.fonts, where I might tag 10 or 15 files),
> I've changed the "Reading..." status line (in art.c) to include
> the subject of the article being read and total lines. Thus,
> instead of having a status line of "Reading...10 lines", etc, it
> looks more like this:
> 
> Reading (10/700) "Palatino Font in TTF format (1/3)"

Once the slang interpreter is put into slrn, we should gain the ability to
customize all the messages (including making on-line help sensitive to our
key mappings).

As for a mail notifier, I also think this is a bad idea.  In my opinion,
there are ample programs to use to have more than one screen on a terminal
("screen" or "iscreen", for example).  One could easily run this with slrn
in one screen and a mail application in another where the mail app monitors
your mailbox and updates the screen with the new mail when it comes in (thus
causing screen to send you a message that the mail screen has changed).  I
think slrn's display is busy enough just keeping track of various aspects of
news, we don't need the code or screen cluttered with tracking email as
well.  This would be another good thing you could code in slang, if you
really want it.


Re: slrn feature requests
#18983
Author: Alain Knaff
Date: Sat, 10 Feb 1996 00:00
20 lines
1571 bytes
In <slrn4hnmr2.2ku.jbn@mystery-train.cu-online.com>, J.B. Nicholson-Owens <jbn@mystery-train.cu-online.com> wrote:
:I think it's a bad idea.  I think aborting a transfer with ^G (slrn's
:'cancel' keystroke) is a good idea, but I certainly don't want to quit the
:newsreader just because I cancel downloading an article.  

 I think these are two different functions being discussed here: one
quits the newsreader in one keystroke, and the other allows to abort
long actions.

:If you want to
:quit the newsreader any more quickly than slrn already does, you would have
:to eliminate saving the newsrc, which is obviously a bad idea.
 "quick" means here "in one keystroke". Real time is unimportant
here. Indeed, for quitting slrn now, you have to first leave the
article mode, then leave the groups mode, and confirm by typing y.

 Alain


Re: slrn feature requests
#19012
Author: Howard Goldstein
Date: Sat, 10 Feb 1996 00:00
21 lines
1498 bytes
On 6 Feb 1996 20:39:55 GMT, John Caruso <jcaruso@sr.csg.com> wrote:
 : problem with the current CTRL-Z code.  It looks as though the interrupt
 : isn't being reset after it's caught once; you only get one CTRL-Z, and
 : if you resume after that you can't CTRL-Z again during that operation.
 : This happens during an article read, group read, or a "get new news".

What shell you are using?  I re-binded (rebound?) slrn's idea of the
suspend key off to something else and let bash handle process
suspension with its own ^Z handling.  Seems to work reliably even when
invoking slrn from a shell script (^Z was broken completely when slrn
handled it after coming from a script)

(see .slrnrc's two 'suspend' bindings)



-- 
Howard Goldstein              <hg@n2wx.ampr.org>     http://www.tapr.org/~n2wx/


Re: slrn feature requests
#19040
Author: Heikki Kantola
Date: Sun, 11 Feb 1996 00:00
18 lines
1604 bytes
Alain Knaff <knaff@imag.fr> provided the following
for the eyes of news.software.readers:
> "quick" means here "in one keystroke". Real time is unimportant
>here. Indeed, for quitting slrn now, you have to first leave the
>article mode, then leave the groups mode, and confirm by typing y.

The confirming y can be omitted if you have "set confirm_actions 0" in
.slrnrc, but that only eliminates one level of three, so I'm still 
joining the choir begging for quick quit key for the article mode. ;)

-- 
Heikki Kantola aka Hezu@IRC,          /// Ihmisel�m� ei ole ollenkaan
Computer Linguistics Student         ///  niin monimutkaista kuin milt� 
at the University of Helsinki    \\\///   se n�ytt�� - se on paljon 
E-Mail: Heikki.Kantola@Helsinki.FI\///    monimutkaisempaa. 


Re: slrn feature requests
#19053
Author: Sean V. Kelley
Date: Sun, 11 Feb 1996 00:00
13 lines
1118 bytes
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.


-- 
Sean V. Kelley                       skelley@sedona.intel.com
Intel, Corp., CH6-311                         
5000 W. Chandler Blvd.               Views expressed are solely
Chandler, AZ  85226 USA              those of the author.


Re: slrn feature requests
#19118
Author: Jouni K Seppanen
Date: Tue, 13 Feb 1996 00:00
32 lines
2114 bytes
In article <slrn4hnmr2.2ku.jbn@mystery-train.cu-online.com>,
J.B. Nicholson-Owens wrote:
>> Good ideas, especially if that "Quick Quit" key lets you abandon
>> long article transfers.
>
>I think it's a bad idea.  I think aborting a transfer with ^G (slrn's
>'cancel' keystroke) is a good idea, but I certainly don't want to quit the
>newsreader just because I cancel downloading an article.

What I meant in my original post was that I would like one single key,
such as capital Q, to get me out of slrn, no matter which mode it's
in. I don't think it should be the same as the key to abort a long
article transfer -- ^G might be the right one for that.

>As for a mail notifier, I also think this is a bad idea. 
 [...]
>I think slrn's display is busy enough just keeping track of various aspects of
>news, we don't need the code or screen cluttered with tracking email as
>well.

I don't think it would be a lot of code, and it doesn't have to take
up a lot of space on the screen. For example, on the uppermost line it
says something like "slrn 0.8.5 ** ..." -- why not use the asterisks
as the mail notifier? It might change to "slrn 0.8.5 !! ..." (or
whatever) when you receive new mail.

-- 
Jouni K Seppanen, Helsinki, Finland
http://www.helsinki.fi/~jkseppan/ (finger jkseppan@kruuna)


Re: slrn feature requests
#19119
Author: John E. Davis
Date: Tue, 13 Feb 1996 00:00
13 lines
1182 bytes
On 9 Feb 1996 18:29:39 GMT, John Caruso <jcaruso@sr.csg.com>
wrote:
 : (BTW, I've always been impressed with slrn's ability to reconnect after
 : an NNTP session is dropped, without losing context...nifty!)

Of course this will nolonger be the case when I add the ability to drop a
connection at the touch of a key.  The details of this will need to be
worked out.  I need to find the time first.

--John


Re: slrn feature requests
#19141
Author: 0000-Admin(0000)
Date: Tue, 13 Feb 1996 00:00
24 lines
1775 bytes
On 13 Feb 1996 00:28:46 GMT, John E. Davis <davis@space.mit.edu> wrote:

> : (BTW, I've always been impressed with slrn's ability to reconnect after
> : an NNTP session is dropped, without losing context...nifty!)
>
>Of course this will nolonger be the case when I add the ability to drop a
>connection at the touch of a key.  The details of this will need to be
>worked out.

Why change this behavior?  I'd think this would still be the right thing
to do if the NNTP connection is dropped unexpectedly.

If the user types CTRL-C to cancel an article/group transfer, you could
terminate the NNTP connection and then either reconnect immediately (without
restarting the cancelled operation) or reconnect on the next user action.

--
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: jcaruso@sr.csg.com


Re: slrn feature requests
#19193
Author: 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
       
   


Re: slrn feature requests
#19365
Author: J.B. Nicholson-Owens
Date: Mon, 19 Feb 1996 00:00
17 lines
1649 bytes
On 13 Feb 1996 17:46:37 GMT, 0000-Admin(0000) <> wrote:
> Why change this behavior?  I'd think this would still be the right thing
> to do if the NNTP connection is dropped unexpectedly.

I agree, in fact, I would like it if slrn never prompted me to reconnect.
I'd prefer it either automatically reconnected and continued with normal
operations or saved the files it needs to and quit gracefully.

> If the user types CTRL-C to cancel an article/group transfer, you could
> terminate the NNTP connection and then either reconnect immediately (without
> restarting the cancelled operation) or reconnect on the next user action.

I don't mind this with one slight change -- I'd prefer it if C-g (not C-c)
were kept as the universal slrn cancel.


Re: slrn feature requests
#19415
Author: J.B. Nicholson-Owens
Date: Wed, 21 Feb 1996 00:00
18 lines
1788 bytes
On 13 Feb 1996 16:58:16 GMT, Jouni K Seppanen <jkseppan@cc.Helsinki.FI> wrote:
> I don't think it would be a lot of code, and it doesn't have to take
> up a lot of space on the screen. For example, on the uppermost line it
> says something like "slrn 0.8.5 ** ..." -- why not use the asterisks
> as the mail notifier? It might change to "slrn 0.8.5 !! ..." (or
> whatever) when you receive new mail.

I prefer a clearer display, without the subtle and cryptic readouts typical
of most Unix applications.  I also like to keep application functions
separate (communicating over established interprocess channels), which is
why I suggest using the S-Lang slrn version (the next version, I believe) to
get this readout. I highly suggest using screen (aka iscreen).  You could
easily run this on most any Unix box and with any terminal.  This would
allow both of us to be satisfied, as screen would notify you of changes
immediately as well as keeping slrn and your favorite mail reader separate.


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