Thread View: news.software.readers
14 messages
14 total messages
Started by Larry Gagnon
Thu, 01 Apr 2004 16:05
[slrn] mark all newsgroups read?
Author: Larry Gagnon
Date: Thu, 01 Apr 2004 16:05
Date: Thu, 01 Apr 2004 16:05
9 lines
1206 bytes
1206 bytes
Is there a way to mark all newgroups read? At present I just go down my list of a dozen or so newsgroups hitting the "c" key at each group. Is there perhaps an easier way to do it? Larry Gagnon -- ******************************** to reply via email remove "fake"
Re: [slrn] mark all newsgroups read?
Author: Stephen Chadfield
Date: Thu, 01 Apr 2004 21:20
Date: Thu, 01 Apr 2004 21:20
11 lines
1381 bytes
1381 bytes
Larry Gagnon <lagagnon@fakeuniserve.com> wrote: > Is there a way to mark all newgroups read? At present I just go down my > list of a dozen or so newsgroups hitting the "c" key at each group. Is > there perhaps an easier way to do it? If you don't want to read any newsgroups wouldn't it be easier to simply not start slrn in the first place ;-) -- Stephen Chadfield http://www.chadfield.com/
Re: [slrn] mark all newsgroups read?
Author: DC
Date: Thu, 01 Apr 2004 21:27
Date: Thu, 01 Apr 2004 21:27
15 lines
1853 bytes
1853 bytes
Stephen Chadfield wrote: > Larry Gagnon <lagagnon@fakeuniserve.com> wrote: >> Is there a way to mark all newgroups read? At present I just go down my >> list of a dozen or so newsgroups hitting the "c" key at each group. Is >> there perhaps an easier way to do it? > If you don't want to read any newsgroups wouldn't it be easier to simply > not start slrn in the first place ;-) Excellent answer! }:O) -- DC Registered Linux User #1000111011000111001 Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] mark all newsgroups read?
Author: Blinky the Shark
Date: Thu, 01 Apr 2004 21:54
Date: Thu, 01 Apr 2004 21:54
20 lines
1823 bytes
1823 bytes
Stephen Chadfield wrote: > Larry Gagnon <lagagnon@fakeuniserve.com> wrote: >> Is there a way to mark all newgroups read? At present I just go down >> my list of a dozen or so newsgroups hitting the "c" key at each >> group. Is there perhaps an easier way to do it? > If you don't want to read any newsgroups wouldn't it be easier to > simply not start slrn in the first place ;-) It's not running slrn that's the problem. The problem is that it's allowed him to subscribe to newsgroups. Didn't someone come up with a patch to keep that from happening? Okay, maybe it was a macro. :) -- Blinky Linux RU 4892F http://linuxnotjustforgeeks.org http://blinkynet.net http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: [slrn] mark all newsgroups read?
Author: Larry Gagnon
Date: Fri, 02 Apr 2004 07:08
Date: Fri, 02 Apr 2004 07:08
23 lines
1972 bytes
1972 bytes
On 1 Apr 2004 21:27:18 GMT, DC <dcmoose@myrealbox.com> wrote: > Stephen Chadfield wrote: >> Larry Gagnon <lagagnon@fakeuniserve.com> wrote: >>> Is there a way to mark all newgroups read? At present I just go down my >>> list of a dozen or so newsgroups hitting the "c" key at each group. Is >>> there perhaps an easier way to do it? > >> If you don't want to read any newsgroups wouldn't it be easier to simply >> not start slrn in the first place ;-) > > Excellent answer! }:O) > I thought I had asked a reasonable question in order to receive a reasonable response, but perhaps not. AFTER I have read the articles I wish to read in all newsgroups I would like to do an quick "mark all newsgroups read", rather than do a "c" for each specific subscribed newsgroup. Is that possible? Larry Gagnon -- ******************************** to reply via email remove "fake"
Re: [slrn] mark all newsgroups read?
Author: Blinky the Shark
Date: Fri, 02 Apr 2004 07:25
Date: Fri, 02 Apr 2004 07:25
32 lines
2378 bytes
2378 bytes
Larry Gagnon wrote: > On 1 Apr 2004 21:27:18 GMT, DC <dcmoose@myrealbox.com> wrote: >> Stephen Chadfield wrote: >>> Larry Gagnon <lagagnon@fakeuniserve.com> wrote: >>>> Is there a way to mark all newgroups read? At present I just go down my >>>> list of a dozen or so newsgroups hitting the "c" key at each group. Is >>>> there perhaps an easier way to do it? >>> If you don't want to read any newsgroups wouldn't it be easier to simply >>> not start slrn in the first place ;-) >> Excellent answer! }:O) > I thought I had asked a reasonable question in order to receive a > reasonable response, but perhaps not. AFTER I have read the articles I > wish to read in all newsgroups I would like to do an quick "mark all > newsgroups read", rather than do a "c" for each specific subscribed > newsgroup. Is that possible? When I (and I suspect I'm not alone) am finished with a group, I do a c on the way out: c [enter] q I don't even think about it; it just happens. :) Then I don't need to c down the list after the last group. -- Blinky Linux RU 4892F http://linuxnotjustforgeeks.org http://blinkynet.net http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: [slrn] mark all newsgroups read?
Author: Allodoxaphobia
Date: Fri, 02 Apr 2004 23:00
Date: Fri, 02 Apr 2004 23:00
37 lines
2628 bytes
2628 bytes
On 2 Apr 2004 07:25:47 GMT, Blinky the Shark hath writ: > Larry Gagnon wrote: >> On 1 Apr 2004 21:27:18 GMT, DC <dcmoose@myrealbox.com> wrote: >>> Stephen Chadfield wrote: >>>> Larry Gagnon <lagagnon@fakeuniserve.com> wrote: >>>>> Is there a way to mark all newgroups read? At present I just go down my >>>>> list of a dozen or so newsgroups hitting the "c" key at each group. Is >>>>> there perhaps an easier way to do it? > >>>> If you don't want to read any newsgroups wouldn't it be easier to simply >>>> not start slrn in the first place ;-) > >>> Excellent answer! }:O) > >> I thought I had asked a reasonable question in order to receive a >> reasonable response, but perhaps not. AFTER I have read the articles I >> wish to read in all newsgroups I would like to do an quick "mark all >> newsgroups read", rather than do a "c" for each specific subscribed >> newsgroup. Is that possible? > > When I (and I suspect I'm not alone) am finished with a group, I do a > > c on the way out: c [enter] q > > I don't even think about it; it just happens. :) > > Then I don't need to c down the list after the last group. Yep. I use "cnn" to leave each group as I've finished with it. In ZOC (on OS/2) I defined F10 to send that sequence... Jonesy -- | Marvin L Jones | jonz | W3DHJ | OS/2 | Gunnison, Colorado | @ | Jonesy | linux __ | 7,703' -- 2,345m | config.com | DM68mn SK
Re: [slrn] mark all newsgroups read?
Author: W. Citoan
Date: Sat, 03 Apr 2004 00:56
Date: Sat, 03 Apr 2004 00:56
36 lines
2515 bytes
2515 bytes
On Fri, 02 Apr 2004 07:08:26 -0000, Larry Gagnon wrote:
>
> I thought I had asked a reasonable question in order to receive a
> reasonable response, but perhaps not. AFTER I have read the articles
> I wish to read in all newsgroups I would like to do an quick "mark
> all newsgroups read", rather than do a "c" for each specific
> subscribed newsgroup. Is that possible?
Your question was quite understandable. People were just having fun
with you. I wouldn't take it too seriously.
You might be able to do what you want with a macro, but I'm not sure.
I'd think a better approach would be to do something similar to what
Allodoxaphobia suggested. Create a macro that combines catchup and
either quit or next group. Something along the lines of:
define my_quit_group ()
{
call("catchup_all");
call("quit");
}
definekey("my_quit_group", "q", "article");
That is completely untested. You'll need to play with it.
You may not want to use the default "q" key or I'd suggest you provide
another keymap that allows you to quit without catching up. Because
sooner or later you'll want that option.
Take a look at:
http://slrn.sourceforge.net/docs/manual.txt
http://slrn.sourceforge.net/docs/slrnfuns.txt
- W. Citoan
--
What signature?
Re: [slrn] mark all newsgroups read?
Author: bjenkins
Date: Sat, 03 Apr 2004 06:32
Date: Sat, 03 Apr 2004 06:32
40 lines
3106 bytes
3106 bytes
In article <slrnc6rs57.qll.bit-bucket@localhost.config.com>, Allodoxaphobia wrote: > On 2 Apr 2004 07:25:47 GMT, Blinky the Shark hath writ: >> Larry Gagnon wrote: >>> On 1 Apr 2004 21:27:18 GMT, DC <dcmoose@myrealbox.com> wrote: >>>> Stephen Chadfield wrote: >>>>> Larry Gagnon <lagagnon@fakeuniserve.com> wrote: >>>>>> Is there a way to mark all newgroups read? At present I just go down my >>>>>> list of a dozen or so newsgroups hitting the "c" key at each group. Is >>>>>> there perhaps an easier way to do it? >> >>>>> If you don't want to read any newsgroups wouldn't it be easier to simply >>>>> not start slrn in the first place ;-) >> >>>> Excellent answer! }:O) >> >>> I thought I had asked a reasonable question in order to receive a >>> reasonable response, but perhaps not. AFTER I have read the articles I >>> wish to read in all newsgroups I would like to do an quick "mark all >>> newsgroups read", rather than do a "c" for each specific subscribed >>> newsgroup. Is that possible? >> >> When I (and I suspect I'm not alone) am finished with a group, I do a >> >> c on the way out: c [enter] q >> >> I don't even think about it; it just happens. :) >> >> Then I don't need to c down the list after the last group. > > Yep. > I use "cnn" to leave each group as I've finished with it. > In ZOC (on OS/2) I defined F10 to send that sequence... > > Jonesy The original question is legit, and I've had it myself. The situation arises when you start slrn for the first time, and you get many groups, each with many unread outdated articles. The question is simply "How can I bring everything up to date in one simple operation?" I'd like to know myself.
Re: [slrn] mark all newsgroups read?
Author: Keith
Date: Sat, 03 Apr 2004 22:05
Date: Sat, 03 Apr 2004 22:05
19 lines
1757 bytes
1757 bytes
On Thu, 01 Apr 2004 16:05:14 -0000, Larry Gagnon <lagagnon@fakeuniserve.com> wrote: > Is there a way to mark all newgroups read? At present I just go down my > list of a dozen or so newsgroups hitting the "c" key at each group. Is > there perhaps an easier way to do it? > > Larry Gagnon > If you go back to group view mode then press c for more then 1 second SLRN will mark all groups read as it scrolls down through the groups. It can do about 100 groups in 1 second. -- Best Regards, Keith NW Oregon Radio http://kilowatt-radio.org/ Pax melior est quam iustissimum bellum. Replace spam.b2547b7d with wvi dot com & del _
Re: [slrn] mark all newsgroups read?
Author: notbob
Date: Mon, 05 Apr 2004 18:13
Date: Mon, 05 Apr 2004 18:13
16 lines
1574 bytes
1574 bytes
On 2004-04-03, Keith <kilo_watt_radio@spam.b2547b7d> wrote: > If you go back to group view mode then press c for > more then 1 second SLRN will mark all groups read > as it scrolls down through the groups. It can do > about 100 groups in 1 second. This does not work for me (slrn 9.8.0). When I try, I get the usual: Mark news.software.readers as read? [Y]es, No .....and must repond before moving to next group. Can this default confirmation be disabled in .slrnrc? I didn't see it in the default .slrnrc file. What is the setting? nb
Re: [slrn] mark all newsgroups read?
Author: Jens Wahnes
Date: Mon, 05 Apr 2004 20:10
Date: Mon, 05 Apr 2004 20:10
14 lines
1378 bytes
1378 bytes
notbob wrote: > .....and must repond before moving to next group. Can this default > confirmation be disabled in .slrnrc? Yes, have a look at the manual to see what confirm_actions does. In your case, putting set confirm_actions 30 into your .slrnrc should be sufficient. Jens
Re: [slrn] mark all newsgroups read?
Author: notbob
Date: Mon, 05 Apr 2004 23:31
Date: Mon, 05 Apr 2004 23:31
12 lines
1361 bytes
1361 bytes
On 2004-04-05, Jens Wahnes <jewa@gmx.net> wrote: > > Yes, have a look at the manual to see what confirm_actions does. In > your case, putting > > set confirm_actions 30 > > into your .slrnrc should be sufficient. ...and so it is. thank you, Jens. nb
Re: [slrn] mark all newsgroups read?
Author: J.B. Nicholson-Owens
Date: Mon, 12 Apr 2004 19:04
Date: Mon, 12 Apr 2004 19:04
64 lines
2991 bytes
2991 bytes
Larry Gagnon wrote:
> Is there a way to mark all newgroups read? At present I just go down my
> list of a dozen or so newsgroups hitting the "c" key at each group. Is
> there perhaps an easier way to do it?
This might be easier for you:
#v+
implements ("my");
static define catchup_all_groups ()
{
% Preserve the prefix argument and leave it available for use inside
% this function. Restore the prefix argument when this macro returns.
variable prefix_argument = get_prefix_arg ();
reset_prefix_arg ();
EXIT_BLOCK
{
if (prefix_argument !=-1) set_prefix_argument (prefix_argument);
}
variable
starting_group = current_newsgroup (),
previous_confirm_actions = get_variable_value ("confirm_actions"),
last_catchup_group = "";
% If no groups are listed, there's nothing to do.
if (starting_group == "") return ();
% Turn off confirmation. We'll reset it back later.
set_integer_variable ("confirm_actions", 0);
% This is where the groups are all marked read.
call ("bob");
do
{
last_catchup_group = current_newsgroup ();
call ("catchup");
}
while (last_catchup_group != current_newsgroup ());
% Reset confirmation and current newsgroup giving the appearance the
% cursor never moved and the preferences remain untouched.
set_integer_variable ("confirm_actions", previous_confirm_actions);
set_input_string (starting_group);
call ("add_group");
}
#v-
Save the code (everything between the #v+ and #v- marks) into a file
("~/my_macros.sl") and then load the file from your slrnrc by appending the
following lines to your slrnrc:
interpret "my_macros.sl"
setkey group my->catchup_all_groups "%"
As you can see, this will load the functions in the file and assign a key
to catchup_all_groups() in the "my" namespace. In the future you can add
more macros to this file (and this namespace) without clobbering anything
else.
Happy newsreading.
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