🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
7 messages
7 total messages Started by Masoud Majidi Mon, 06 Jan 1992 17:03
selecting all articles in a newsgroup
#2294
Author: Masoud Majidi
Date: Mon, 06 Jan 1992 17:03
11 lines
919 bytes
Hi netters,

I would like, by default, select all the articles in a newsgroup
(select for reading) I know that I can go to each newsgroup and type
=. to select all the articles but I was wondering if I could put
something in my init file to do the job.

Thanks a lot,

Masoud Majidi(majidi@paul.rutgers.edu)
Re: selecting all articles in a newsgroup
#2292
Author: Chris Sherman
Date: Tue, 07 Jan 1992 08:01
44 lines
1931 bytes
In <Jan.6.12.03.16.1992.24478@paul.rutgers.edu> majidi@paul.rutgers.edu (Masoud Majidi) writes:


>Hi netters,

>I would like, by default, select all the articles in a newsgroup
>(select for reading) I know that I can go to each newsgroup and type
>=. to select all the articles but I was wondering if I could put
>something in my init file to do the job.

>Thanks a lot,

How about:

define 1
  find ".*"
end
map menu A macro 1


All this means is create a macro called '1', and have a find command
as the body of the macro.  '.*' will catch everything that '.' will,
plus all the nil subjects.  Then map key 'A' to the macro.


Here is another macro which I find useful:

map #0 ^[ [ 4 ~
define 1
  'J' 'A' yes
end
map menu #0 macro 1

This maps a function key (you will have to find the characters to
your function keys on your own) so that when you hit it in the menu,
it will mark all the articles as read. 

Hope this helps...

-- 
     ____/     /     /     __  /    _  _/    ____/
    /         /     /     /   /      /     /          Chris Sherman
   /         ___   /        _/      /          /
 _____/   __/   __/   __/ _\    _____/   _____/           sherman@unx.sas.com
Re: selecting all articles in a newsgroup
#2299
Author: Gary Morris
Date: Tue, 07 Jan 1992 19:54
34 lines
1909 bytes
In <sherman.694771285@foster> sherman@unx.sas.com (Chris Sherman) writes:
>In <Jan.6.12.03.16.1992.24478@paul.rutgers.edu> majidi@paul.rutgers.edu (Masoud Majidi) writes:
>>I would like, by default, select all the articles in a newsgroup
>>(select for reading) I know that I can go to each newsgroup and type
>>=. to select all the articles but I was wondering if I could put
>>something in my init file to do the job.

>How about:

>define 1
>  find ".*"
>end
>map menu A macro 1

I have a similar definition, this makes the ";" key select all articles
in the current newsgroup and then immediately start reading them.

map menu ; (
    find "^"	# select all articles
    read-skip	# immediately read all selected articles
end

However, Masoud asked for something that would select them by "default", for
that you want a kill file entry.  The following line will select all articles
in comp.lang.ada, change it to whatever group you want, and put it in your
kill file (~/.nn/kill).

comp.lang.ada:+s/:^

--GaryM
-- 
Gary Morris                  Internet: garym@telesoft.com
KK6YB                        UUCP:     ucsd!telesoft!garym
TeleSoft, San Diego, CA      Phone:    +1 619-457-2700
Re: selecting all articles in a newsgroup
#2300
Author: Rudolf Baumann
Date: Tue, 07 Jan 1992 20:39
21 lines
1503 bytes
majidi@paul.rutgers.edu (Masoud Majidi) writes:


>Hi netters,

>I would like, by default, select all the articles in a newsgroup
>(select for reading) I know that I can go to each newsgroup and type
>=. to select all the articles but I was wondering if I could put
>something in my init file to do the job.

I am using the following in my init file:
on entry ch.sun-managers comp.sys.sun. alt.sys.sun
	:set auto-read-mode-limit -1
end

Ruedi
--
Rudolf E. Baumann                                    ruba@molbio.ethz.ch
Institut fuer Molekularbiologie & Biophysik          MOLEKULA@CZHETH5A.bitnet
ETH Hoenggerberg (HPM G6)                            Tel. ++41 1 377 33 97
CH-8093 Zuerich/Switzerland                          Fax  ++41 1 371 48 73
Re: selecting all articles in a newsgroup
#2311
Author: Richard M. Mathews
Date: Wed, 08 Jan 1992 18:26
18 lines
1546 bytes
majidi@paul.rutgers.edu (Masoud Majidi) writes:
>I would like, by default, select all the articles in a newsgroup
>(select for reading) I know that I can go to each newsgroup and type
>=. to select all the articles but I was wondering if I could put
>something in my init file to do the job.

I have lines such as the following in my kill file:
	sci.physics:+s/:^
This selects all articles with the regular expression "^".  Note that "^"
works better than "." because the latter misses some articles which don't
have any characters in the subject to match the dot.  The same goes for
using the "=^" command rather than the "=." command to manually select
all articles.

Richard M. Mathews			D efend
richard@locus.com			 E stonian-Latvian-Lithuanian
lcc!richard@seas.ucla.edu		  I ndependence
..!{uunet|ucla-se}!lcc!richard
Re: selecting all articles in a newsgroup
#2334
Author: Brian Excarnate
Date: Sun, 12 Jan 1992 08:27
21 lines
1322 bytes
Me too!!

Here is how I autoselect all articles in certain groups (except those articles
that are automatically KILLED!)

on entry rec.humor.funny comp.sys.mac.announce clari.feature.dave_barry clari.feature.miss_manners talk.bizarre
	find ".*"
end

cdr@stolaf.edu helped me with the .* versus the . and Kim Storm also
mentioned ^ (both these already mentioned by other posters).

The "on entry" command can be used to do several things, for instance, I
like to read some groups sorted by age, and others sorted by subject, so
on entry I get what I want.


Brian
No news is NOT good news, but nn is still better!
-- 
Suspecious mind
Re: selecting all articles in a newsgroup
#2379
Author: Daniel Cohen
Date: Tue, 21 Jan 1992 20:57
37 lines
2326 bytes
In <1992Jan08.182642.2420202@locus.com> richard@locus.com (Richard M. Mathews) writes:

>majidi@paul.rutgers.edu (Masoud Majidi) writes:
>>I would like, by default, select all the articles in a newsgroup
>>(select for reading) I know that I can go to each newsgroup and type
>>=. to select all the articles but I was wondering if I could put
>>something in my init file to do the job.
>
>I have lines such as the following in my kill file:
>	sci.physics:+s/:^
>This selects all articles with the regular expression "^".  Note that "^"
>works better than "." because the latter misses some articles which don't
>have any characters in the subject to match the dot.  The same goes for
>using the "=^" command rather than the "=." command to manually select
>all articles.


I do this, except I do it by including a group entry action in the
group presentation sequence. It could also be done with an "on entry"
command group, or, as you point out, with a kill file entry.

Questions:

1) Is there any reason to choose one of these methods over another?

2) What I would prefer is to auto-select only those articles that
were not previously marked as leave-next. I think I can do this
the other way around - using JJJN (which will select only those
articles which WERE previously marked as leave-next) so how do I do
the converse?


--
Daniel Cohen              Department of Computer Science 
Email: dc@dcs.qmw.ac.uk   Queen Mary and Westfield College
Tel: +44 71 975 5245/4/9  Mile End Road, London E1 4NS, UK
Fax: +44 81 980 6533      *** Glory, Glory, Hallelujah ***
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