🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #253372

Re: [slrn] mark read all groups

#253372
From: John E. Davis
Date: Sun, 10 Feb 2013 04:05
41 lines
2710 bytes
On 9 Feb 2013 21:37:23 GMT, notbob <notbob@nothome.com>
wrote:
> Is there a single keystroke that marks all groups in my list as read, so I
> don't gotta c-y down the list?  If not, there should be!

There is not such a function but creating one should be easy.  In the
meantime, you might try this from group mode:

  1.  Goto the first group.
  2.  Press Ctrl-X Escape.  This should produce a S-Lang> prompt.
  3.  Enter the following at the S-Lang> prompt:

        loop(100) { set_input_chars("y"); call("catchup");}

  4.  If you have more than 100 groups, you can just repeat that.

This assumes that you have not changed the default value of the
confirm_actions variable.  If you have, then you should
omit the `set_input_chars("y")` statement.  As a reminder, here is the
documentation for confirm_actions:

  6.13.  confirm_actions

  Type: integer
  Default: 31

  This variable decides in which situations slrn will ask you to confirm
  an action. It has a bitmapped value which can be the sum of any
  combination of the following numbers:

          1   Confirm marking groups as read or un-read.
          2   Confirm printing an article.
          4   Confirm posts, followups, replies and supersedes.
          8   Confirm leaving a group by following a news: URL.
          16  Confirm quitting slrn.

  Thus, the default means that the user is always asked for
  confirmation.

I hope this helps.
--John
Technical Details
Message-ID: <slrnkhe74f.cla.jed@aluche.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
References: <slrnkhdg85.321.notbob@nbleet.hcc.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnkhe74f.cla.jed@aluche.mit.edu>
Subject: Re: [slrn] mark read all groups
Date: Sun, 10 Feb 2013 04:05:00 +0000
From: "John E. Davis" <jed@jedsoft.org>
References: <slrnkhdg85.321.notbob@nbleet.hcc.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 41
Reply-To: davis@space.mit.edu
Injection-Date: Sun, 10 Feb 2013 04:05:00 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="92d961b6f86ecac271f561441e0a0caa";
 logging-data="3757"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18EJrZfw4QWuplmbXag3N1+"
User-Agent: slrn/pre1.0.2-1 (Linux)
Cancel-Lock: sha1:zXY8YqgSEsd4Mz2sZsHkrnfqoQc=
X-Original-Bytes: 2493