Thread View: news.software.nn
1 messages
1 total messages
Started by gupta
Mon, 15 Oct 1990 06:50
'Introduction to nn' document
Author: gupta
Date: Mon, 15 Oct 1990 06:50
Date: Mon, 15 Oct 1990 06:50
448 lines
18136 bytes
18136 bytes
I am attaching an 'Introduction to nn' document that I wrote for an nn intro
class. It was originally done in MS Word, so there may be an occasional funny
character. Please send all corrections/comments/suggestions to rohit@uiuc.edu
This document is also available via ftp-anon to ux1.cso.uiuc.edu as doc/net/nn.
Rohit
BTW, if you wish to use at your site then feel free to do so. You may need to
modify it a bit to remove the UIUC references. Please mention the original
author (Rohit Gupta), email address (rohit@uiuc.edu), and organization
(University of Illinois Computing Services Office).
-------------------------------- cut here -----------------------------
Introduction to nn
Rohit Gupta
(217)244-1205
rohit@uiuc.edu
University of Illinois at Urbana-Champaign
Computing Services Office
last update: October 15, 1990
What is nn?
Nn stands for No News and is a program for reading Net News. Net
News is a worldwide bulletin board system consisting of hundreds of
newsgroups. With nn you can read articles from these newsgroups, write
your own articles, and reply to articles. Newsgroups are named in a
hierarchical fashion. Some sample newsgroup names are: rec.sport.basketball,
rec.arts.movies, soc.culture.french, soc.culture.japan, comp.unix.admin, and
alt.tv.simpsons.
There are three popular programs for reading Net News. They are
notes, rn, and nn. Notes was developed at the University of Illinois and is
used extensively on the University of Illinois campus. Unfortunately the
architecture of notes requires storing all articles on each machine that uses
notes.
Rn and nn, on the other hand, use a client-server relationship. In this
set-up, one machine is the news server and stores all articles. Other
machines can then run the client program and it will retrieve the articles
from the news server.
Because of the ever-increasing amount of Net News traffic, CSO has
decided to switch from the notes architecture to the client-server
architecture of rn and nn. CSO has chosen to support nn because it is more
similar to notes than rn.
You may be wondering why it is called No News. That is part of its
larger title: No News is Good News. The philosophy behind the design of nn
is to minimize the amount of time spent in reading news. Thus, no news is
good news because you don't have to spend any time reading news.
Nn modes: Selection and Reading
Nn has two modes: selection mode and reading mode. When you first
enter a newsgroup you are in selection mode. From this screen you select
which articles you would like to read. Once this is done, you enter reading
mode to read the articles.
The following commands will work in both modes (a ^ indicates
depressing the control key):
? HELP!!! This will display a help page.
^L Redraw the screen.
! Shell escape
Q Quit nn.
:command Where command is an nn command to be executed. Some
sample nn commands are:
:bug to report a bug in the nn program
:help provide online help
:q! quit nn without updating anything
Selection Mode
The following page shows a sample selection mode screen. This is
what you will see whenever you enter a newsgroup. Please note the
following information:
1. The newsgroup name is in the top left corner: rec.music.beatles.
2. The number of articles is in the top right corner. There are 99
unread articles in this newsgroup. We have a total of 130 unread
articles in 2 newsgroups.
3. Each article has four elements associated with it:
A. An article id. This is a letter or digit in the left column.
B. The author of the article.
C. The number of lines in the article.
D. The subject of the article. If there are one or more greater
than signs ('>') before the subject then that article is a reply to
someone's posting. A hyphen ('-') indicates that the subject is
identical to the subject of the previous article.
4. The bottom line displays some useful information. The 'Top 18%'
indicates that there are further pages from which to select articles.
In selection mode you select which articles you wish to read by
pressing the appropriate article id key. There are several ways to do this:
1. If you wish to select a particular article, press the article id key.
2. If you wish to select an article and all of its replies, first press
the article id key for the base posting, and then press * to select all
associated replies.
3. Use a hyphen to select a range of articles.
Here are some examples:
a* will select articles (a) through (d)
e-m will select articles (e) through (m)
o will select article (o)
q* will select articles (q) and (r).
o pressing 'o' again will cause (o) to be un-selected
You can tell if an article is selected because it will be high-lighted...
Newsgroup: rec.music.beatles Articles: 99 of 130/2
a David Deisley 41 >Rock and Roll Circus
b snopes 23 -
c Mark Miller 25 -
d Mark Miller 2 -
e Nevin Liber 14 >>Call for Urban Legends about the Fabs
f Nevin Liber 12 Young kids ARE listening to the Fab Four
g Jim Kendall 19 >
h snopes 28 -
i Gary Swift 13 >
j Teresa Nicholls 20 >>
k snopes 30 -
l Ron Rejmaniak 25 >>>
m Dan Weinreb 11 >
n Nevin Liber 10 All this talk about SFF
o Michael Simpson 8 9 october
p CHRIS_PATRIC_SMO 11 >>Info on Unsurpassed Masters?
q Karen Pepper 27 >Lennon's photographer
r Jocee Kipp 24 -
s Drifter... 15 Eleanor Rigby
-- 22:23 -- SELECT -- help:? -----Top 18%-----
Attributes
...which quite conveniently brings us to the subject of attributes. Each
article has an 'article attribute' associated with it. This attribute indicates
the status of the article (have you seen it? have you read it? etc.). The
attribute is shown either by highlighting the article line, or placing a single
character following the article id.
In most cases, the initial display of articles has the unread attribute
associated with each article. This is indicated by a blank space after the
article id. In our example you can see that all of the articles are marked
as unread.
When you select an article it will be high-lighted (if your terminal
cannot do highlighting then it will be marked with '*'). This is the selected
attribute. Articles will remain selected if you mark them selected and then
leave the newsgroup without reading them.
An article is marked read after you have read it. These articles will
be marked permanently read when you leave the newsgroup and will not
be displayed the next time you enter the newsgroup. The read attribute is
indicated by '.'
One final attribute is the seen attribute. This indicates that an
article has been presented but not read. These will be marked read when you
leave the newsgroup.
There are several other article attributes, but they are beyond the
scope of this course.
This brief introduction to attributes was necessary to understand
some of the following selection mode commands:
Z Enter reading mode immediately (normally reading mode is
entered after all articles have been selected). When all
selected articles have been read, return to the current group.
Selected articles will be marked read. Unread articles are
not changed.
X Similar to Z, except that all unmarked articles are marked
seen. When all selected articles have been read, advance
to the next newsgroup. This is useful to skip all of the
articles in a large newsgroup without having to go through all
of the selection mode menu pages.
(space) Continue to the next menu page. If you are on the last menu
page then (space) will put you in reading mode. If no articles
were selected then advance to the next newsgroup. All unread
articles will be marked seen.
(return) Similar to (space), except that unread articles will remain
marked unread.
> Goto next menu page.
< Goto previous menu page.
$ Goto last menu page.
^ Goto first menu page.
Reading Mode
In reading mode the selected articles are displayed one at a time.
Each article is marked read after you have read it. You will enter the next
newsgroup after reading the last selected article (or the current newsgroup
if you used the Z command).
The following are some of the commands that are available in
reading mode:
(space) Scroll one page forward. If you are on the final page of an
article, then scroll to the next article.
(backspace) Scroll one page backward.
d Scroll one half page forward.
u Scroll one half page backward.
^ Move to the first page of the article.
$ Move to the last page of the article.
/regexp Search forward for text matching the pattern regexp. For
example, use /foo to search the for the string 'foo' in the
current article.
D Turn rot13 decryption on or off for the current article.
n Move to the next selected article. Current article is marked
as read.
l Leave a selected article and go to the next article. This is
useful if you want to respond to an article, but you would
first like to see if any of the existing responses say what you
are planning to say.
= Return to selection mode. Articles read will be marked read.
k Kill current subject. Skips rest of article and all articles
with the same subject heading. Skipped articles are marked read.
K Similar to k, but kills the subject permanently (more on this
later).
* Selects all articles with same subject as current article. Can
be used to select a base note, read it, and then select the
responses only if you find the base note interesting.
N Skip the rest of the selected and unread articles and go to the
next newsgroup.
X Mark all articles in current group as read and go to the next
newsgroup.
There are three commands for saving articles. These can be invoked
from either reading mode or selection mode:
S Save article including full article header.
O Save article with a short header.
W Save article without a header.
When using one of these three commands, nn will give you a default
file name. You can kill this and enter your own. You can also associate a file
name with a particular newsgroup via your .nn/init file (this file will be
discussed later).
Posting Articles
Posting and responding to articles can be done from either reading
mode or selection mode. Two important notes concerning posting:
1. Be aware of general network etiquette. Take a look at the
newsgroup news.announce.newusers for articles about 'netiquette.'
2. Use a test newsgroup when learning how to post articles. Use a
local one if available (we have a uiuc.test newsgroup at the Univ of
Illinois). Otherwise, use alt.test or misc.test.
The following commands are available for posting and responding.
The first three give you the option of including the current article.
R Reply through electronic mail to the author of the article. This
is the preferred way to respond unless you think your article
will be of general interest.
F Follow-up with an article in the same newsgroup.
M Mail a letter to someone.
:post Post a new article to any newsgroup. News offers two features
that are not available via notes: cross-posting and distribution
control. Cross-posting means that you can post the same article
to more than one group. Do this by entering a comma separated
list of newsgroups when nn asks for the newsgroup.
Distribution refers to who will see it. Sometimes the issue may
be of interest only to the local community. In these cases you
should choose as small a distribution as possible. This helps
reduce network congestion. At the University of Illinois,
we have the following possible distributions: uiuc, cmi
(Shampoo-Banana area), il, usa, na (continent), and world.
When you are done editing your response you will be prompted with
several options. The two that are used the most often are (s)end to send
the letter or post the article and (a)bort to throw the letter/article away.
Three VIFs (Very Important Files)
In this section we will discuss three important files: your kill file,
the .newsrc file, and the .nn/init file.
As was mentioned earlier, you can use the K command to kill a
subject permanently. Articles of this subject heading will no longer be
displayed. Nn also has an auto-select feature where you can specify that
certain articles automatically be marked as selected.
Nn will ask you several questions after you press 'K'. The first one is
whether you would like to (k)ill or (s)elect. The next question asks if you
wish to perform the action based upon (s)ubject or (n)ame. If you choose
name then you must enter the name.
You will then be asked if you wish for this to apply to the current
(g)roup only or (a)ll groups. The final question is how long should this
entry remain in your kill file. Each question has a default answer which
will be used if (return) is pressed. In addition, pressing (return) in reply to
the first question will perform a default action of killing all articles with
the same subject for 30 days.
The .newsrc file contains a list of all 900+ newsgroups that are
available to you. Each newsgroup name is followed by a : or !. A colon
indicates that you are currently subscribed to that group. An exclamation
point indicates that you are currently unsubscribed to that group. When
you initially run nn it will subscribe you to every single newsgroup!
The .newsrc file keeps track of which articles you have read.
Following the colon or exclamation point are the article numbers that you
have read in that particular newsgroup.
The .nn/init file allows you to customize nn. You can set certain
variables, define macros, customize your article header presentation,
remap keys, and indicate the desired presentation sequence of articles.
Unfortunately, a detailed discussion of the .nn/init file is beyond the scope
of this course. Interested users should consult the manual page for nn.
What Next?
Finally we're ready to experiment with nn! There are three common
ways to invoke nn:
nn
nn -g
nn -aN [-g] (where N is a number)
For starters, simply type nn. This normally sequences you through all
of the groups that you are subscribed to. Unfortunately there is one slight
problem: you are initially subscribed to every newsgroup!
To remedy this, first enter Q to exit nn. Then edit your .newsrc and
do a global substitute to replace all colons with exclamation points. In vi:
:%s/:/!
Next pick out two or three newsgroups to subscribe to. Go to the
appropriate line and change the exclamation point back to a colon. Then
exit and save your .newsrc.
This is the only time you'll have to do this. Now type nn. You will see
that it displays one of the newsgroups that you selected. From here you
should be able to use this handout to experiment with nn.
The -g option is used when you wish to go to a specific group. You
can also use G from within nn to do the same thing. Nn will prompt you for
the group name. Nn will ask 'number of articles?' after you enter the
newsgroup name. At this point enter the number of articles which you
would like to read or (a) to see all articles. If you use G then you should
answer (j)ump instead of (a)ll.
The -aN is used to limit the display to a maximum of N articles. For
example, the following will display the last 10 articles in each newsgroup:
nn -a10
This is handy for getting up to date if you have not read NetNews for
a while.
One other command that you will find handy is the U command. This
is given from within nn and it will unsubscribe you to the current group.
In order to subscribe to a group, use either the -g option when
invoking nn OR the G command from within nn to go to the group. This will
jump to the group. From within this group use the U command and nn will
resubscribe you to that group.
I'd like to leave you with an advanced command that shows the
power of nn. Nn provides a way to search ALL newsgroups for a particular
subject or a particular author! You cannot do this in other newsreaders
(such as rn).
The format of the command is:
nn -mxX -sSubject all or nn -mxX -nName all
For example, to search for all article posted about pizza, type:
nn -mxX -spizza all
The -n and -s options cannot be used together! The meaning of the
various option flags is left as an exercise for you.
That's it! Experiment with nn and practice posting to a test
newsgroup. If you're feeling particularly adventuresome, you may want to
try to tackle the manual page for nn (its about 80 pages!).
If you have any questions concerning nn, feel free to contact me
(preferably via email) or to contact the CSO Consultants at 333-6133.
Good luck!
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