Thread View: news.software.readers
3 messages
3 total messages
Started by Jeff Haferman
Fri, 27 Feb 1998 00:00
slrn: 2 beginner questions
Author: Jeff Haferman
Date: Fri, 27 Feb 1998 00:00
Date: Fri, 27 Feb 1998 00:00
24 lines
1212 bytes
1212 bytes
I'm using the .slrnrc that came with the distribution (I'm
running on Solaris 2.5.1 X-Windows with fvwm window manager,
which I think is irrelevant for these questions).
2 questions:
1) I do not care to use the mouse for reading news. I
want the cut-and-paste functionality (copy by drag
and clicking left mouse button, paste by clicking
2nd button) but the .slrnrc changes this. How
do I get the desired behavior?
2) I would like the default behavior at the group level to
not display a group after I have read (or marked as read)
all articles in the group. I do this now by hitting
'l' twice.
Jeff
Re: slrn: 2 beginner questions
Author: Preben 'Peppe' Guldberg
Date: Fri, 27 Feb 1998 00:00
Date: Fri, 27 Feb 1998 00:00
53 lines
2435 bytes
2435 bytes
Thus wrote Jeff Haferman <haferman@table.jps.net>:
> I'm using the .slrnrc that came with the distribution (I'm
> running on Solaris 2.5.1 X-Windows with fvwm window manager,
> which I think is irrelevant for these questions).
> 2 questions:
> 1) I do not care to use the mouse for reading news. I
> want the cut-and-paste functionality (copy by drag
> and clicking left mouse button, paste by clicking
> 2nd button) but the .slrnrc changes this. How
> do I get the desired behavior?
I have the following lines in my .slrnrc:
% Enable xterm mouse support: 1 to enable, 0 to disable
set mouse 0
Works like a charm.
> 2) I would like the default behavior at the group level to
> not display a group after I have read (or marked as read)
> all articles in the group. I do this now by hitting
> 'l' twice.
I am not aware of a solution to this. I think it can be done with a
little magic slang. Have a look at doc/README.macros and doc/slrn.sl
in the distribution.
If you put the line
interpret ".slrn.sl"
in your .slrnrc and create a file ~/.slrn.sl with the following lines
define group_mode_hook ()
{
call ("toggle_hidden");
call ("toggle_hidden");
}
I think you will have the desired effect. It corresponds to pressing
"l" twice every time you enter group mode.
Peppe
--
Preben Guldberg __/-\__ The woods are lovely, dark and deep
c928400@student.dtu.dk (o o) But I have promises to keep
----------------------oOOo (_) oOOo-- And miles to go before I sleep.
http://www.student.dtu.dk/~c928400 --Robert Frost
Re: slrn: 2 beginner questions
Author: Preben 'Peppe' Guldberg
Date: Sun, 01 Mar 1998 00:00
Date: Sun, 01 Mar 1998 00:00
56 lines
2610 bytes
2610 bytes
Thus wrote I, Preben 'Peppe' Guldberg <c928400@student.dtu.dk>:
> Thus wrote Jeff Haferman <haferman@table.jps.net>:
[--- snip ---]
> > 2) I would like the default behavior at the group level to
> > not display a group after I have read (or marked as read)
> > all articles in the group. I do this now by hitting
> > 'l' twice.
[--- snip ---]
> define group_mode_hook ()
> {
> call ("toggle_hidden");
> call ("toggle_hidden");
> }
> I think you will have the desired effect. It corresponds to pressing
> "l" twice every time you enter group mode.
Well, that was what I thought when I posted this.
While testing this I just used "quit" to leave article mode and it
worked fine. But when using "skip_to_next_group", I, for one reason or
another, will not always go to the next group.
If I read a long list of newsgroups I will not get to see all of
them. When I "quit" article mode there is still some groups with new
articles. While reading I have _not_ called "refresh_groups".
I suspect that toggle_hidden is called when I go from one newsgroup to
the next with skip_to_next_group and that some syncing brings me to
the wrong group.
Does anyone have an idea what is going on?
Anyway, I put down a different answer to the question (just for the
record :-)
define quit_n_hide ()
{
call ("quit");
call ("toggle_hidden");
call ("toggle_hidden");
}
definekey ("quit_n_hide", "q", "article");
Peppe
--
Preben Guldberg __/-\__ The woods are lovely, dark and deep
c928400@student.dtu.dk (o o) But I have promises to keep
----------------------oOOo (_) oOOo-- And miles to go before I sleep.
http://www.student.dtu.dk/~c928400 --Robert Frost
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