Louie Crew's Tricks:nn:Finding a Group You Want

Finding an nn Group You Want


The standard way is to enter nn, and at the first menu, or at any other
menu to type

      G

That is known as the 'go to' command.  Whe you enter it, nn will ask you
for a group name.  If you enter just a 'string' (i.e., a piece of a word
or up to one whole word), nn will suggest, one by one, each group that
has that string in its name.  Of course, if you access a group, then you
will not see the full list of groups that have that string of text.  
I recomment saying 'no' to each suggestion until you have seen the full 
lists; then return to one or more of the groups that you found most 
interesting.

G  searches only the group names, however, not the one-line descriptions
of the groups, where you are far more likely to find matches with
your string.     To search both the name and the descriptions, you
can create a little routine at your pegasus> prompt that will 
do the search for you.

1) With emacs, open a file named        .g

2) Put as the only line in .g this line


     fgrep -i $1 /usr/lib/news/newsgroups | pg

3) Save the file .g
4) At the pegasus prompt, type

     chmod +x .g

That will make .g "executable"; that it, from then on you can use .g
to activate your searches.  If for example, you type from pegasus>:

     .g baseball

you will get a screen listing of all groups that have 'baseball' in 
their names or in their descriptions.

If a listing gets longer than one string, trap it in the 'pg' filter; that
is, force the list to pause one screen at a time, using this version
of the .g command:

     .g baseball | pg

The '|' appears on keyboards in different places.  It is not a colon
but sometimes looks like one.  Its normally over the backslash (\)
character.

Enjoy.



Send mail to: lcrew@andromeda.rutgers.edu