Thread View: news.software.readers
9 messages
9 total messages
Started by Nile Evil Bastard
Mon, 04 Oct 1999 00:00
[slrn] Saving .jnewsrc in article mode?
Author: Nile Evil Bastard
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
29 lines
1520 bytes
1520 bytes
slrn 0.9.5.7 and NT4sp5 don't seem to like each other a lot - I've had two
blue screens. I'm not writing about that right now [1], but an annoyance that
comes with it: when you're halfway through a 300-post newsgroup, and it
bluescreens and your .jnewsrc isn't written ... bugger! bugger!
I tried dropping the following into my slrn.rc -
setkey article save_newsrc "\eX"
but it just came back with
S-Lang Error: Undefined Name: save_newsrc is undefined
- how annoying :-)
So. Is there any way to save my .jnewsrc in article mode? Is there any very
good reason why I shouldn't be trying to?
[1] in fact, finding this sort of thing is part of my job *aieeeeee*
--
http://netizen.com.au/ http://www.caube.org.au/
"Welcome to the internet. Try not to be such a fuckhead on your next visit."
- Jim Dugan
Re: [slrn] Saving .jnewsrc in article mode?
Author: Eric S.
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
26 lines
1492 bytes
1492 bytes
On 4 Oct 1999 12:38:29 +1000, nile-eb@iname.com wrote: > >slrn 0.9.5.7 and NT4sp5 don't seem to like each other a lot - I've had two <snip> > >So. Is there any way to save my .jnewsrc in article mode? Is there any very >good reason why I shouldn't be trying to? > According to the man page for slrn 0.9.5.3 for Linux, X is a default keybinding always available (article mode, or elsewhere) which will save your newsrc. If you're using a slrn for WinDOS port or something, I dunno. But I believe you said before you're running it on a *nix box via a telnet session, so capital X ought to work. > >[1] in fact, finding this sort of thing is part of my job *aieeeeee* > Now, that's gotta suck. 8^) Eric Strawser
Re: [slrn] Saving .jnewsrc in article mode?
Author: Dawn Owens-Nicholson
Date: Fri, 08 Oct 1999 00:00
Date: Fri, 08 Oct 1999 00:00
7 lines
880 bytes
880 bytes
Nile Evil Bastard wrote: > So. Is there any way to save my .jnewsrc in article mode? No. You would have to quit to group mode, save the newsrc and re-enter group mode in the same group. One could do this with a macro.
Re: [slrn] Saving .jnewsrc in article mode?
Author: Dawn Owens-Nicholson
Date: Fri, 08 Oct 1999 00:00
Date: Fri, 08 Oct 1999 00:00
14 lines
1212 bytes
1212 bytes
Eric S. wrote: > According to the man page for slrn 0.9.5.3 for Linux, X is a default > keybinding always available (article mode, or elsewhere) which will > save your newsrc. Actually, neither "x" nor "X" in article mode will save one's newsrc in article mode; they will do something wholly unrelated. One can only save the newsrc in slrn from group mode. The manpage reflects this: These keybindings may be used at the newsgroup level: [...other keybindings deleted...] X Save .newsrc
Re: [slrn] Saving .jnewsrc in article mode?
Author: Eric S.
Date: Sat, 09 Oct 1999 00:00
Date: Sat, 09 Oct 1999 00:00
25 lines
1610 bytes
1610 bytes
On 8 Oct 1999 21:30:52 GMT, bluemoon@ux6.cso.uiuc.edu wrote: >Eric S. wrote: >> According to the man page for slrn 0.9.5.3 for Linux, X is a default >> keybinding always available (article mode, or elsewhere) which will >> save your newsrc. > >Actually, neither "x" nor "X" in article mode will save one's newsrc in >article mode; they will do something wholly unrelated. One can only save >the newsrc in slrn from group mode. The manpage reflects this: > > These keybindings may be used at the newsgroup level: > [...other keybindings deleted...] > X Save .newsrc You're quite correct. I mis-read the man page. My appologies if I mis-lead anyone. Do you know if that can be successfully altered in .slrnrc? Eric -- #include <sig.h>
Re: [slrn] Saving .jnewsrc in article mode?
Author: Dawn Owens-Nicholson
Date: Sun, 10 Oct 1999 00:00
Date: Sun, 10 Oct 1999 00:00
7 lines
970 bytes
970 bytes
Eric S. wrote: > Do you know if that [saving the newsrc from article mode] can be > successfully altered in .slrnrc? I answered this in <slrn7vso8e.shs.bluemoon@ux6.cso.uiuc.edu>.
Re: [slrn] Saving .jnewsrc in article mode?
Author: Nile Evil Bastard
Date: Sun, 10 Oct 1999 00:00
Date: Sun, 10 Oct 1999 00:00
21 lines
1377 bytes
1377 bytes
On 8 Oct 1999 21:24:38 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote: :Nile Evil Bastard wrote: :> So. Is there any way to save my .jnewsrc in article mode? :No. You would have to quit to group mode, save the newsrc and re-enter :group mode in the same group. One could do this with a macro. That would be a nuisance (though it's been what I've been doing so far). Is there any Very Good Reason not to save a .jnewsrc in group mode? -- http://netizen.com.au/ http://www.caube.org.au/ "Welcome to the internet. Try not to be such a fuckhead on your next visit." - Jim Dugan
Re: [slrn] Saving .jnewsrc in article mode?
Author: Dawn Owens-Nicholson
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
12 lines
1245 bytes
1245 bytes
[I posted some code]
Now that I think about it, this can probably be shortened to:
public define group_mode_hook () { if (GROUPS_DIRTY) call ("save_newsrc"); }
because the First_Time stuff was there because there was no
group_mode_startup_hook() when this was initially written (and with all the
static stuff gone, there's no point to naming the namespace). I believe it
was put there to prevent writing the newsrc when you first started slrn.
Re: [slrn] Saving .jnewsrc in article mode?
Author: Dawn Owens-Nicholson
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
18 lines
1354 bytes
1354 bytes
Nile Evil Bastard wrote:
> Is there any Very Good Reason not to save a .jnewsrc in group mode?
Only that you can't save your newsrc from article mode now. Perhaps in the
future slrn will allow saving one's newsrc from article mode. In the
interim, if you want your newsrc saved automatically every time you leave
group mode (via the group_mode_hook()), this code from JED should do the
trick:
implements ("my");
static variable First_Time = 1;
public define group_mode_hook ()
{
if (andelse { not (First_Time) } { GROUPS_DIRTY }) call ("save_newsrc");
First_Time = 0;
}
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